:root {
  --sand-50: #f7f5f0;
  --sand-100: #efe9df;
  --sand-200: #e1d7c6;
  --mineral-500: #d97706;
  --mineral-600: #b45309;
  --mineral-700: #92400e;
  --slate-900: #0b1324;
  --ink-700: #1f2937;
  --ink-500: #475569;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Vazirmatn", "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--sand-50);
  color: var(--slate-900);
}

.theme-toggle {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--sand-200);
  background: #fff;
  color: var(--ink-700);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-family: "Vazirmatn", "Segoe UI", "Helvetica Neue", sans-serif;
}

.theme-toggle--sidebar {
  margin-top: auto;
  align-self: center;
}

html[data-theme="dark"] body {
  background: #0b1324;
  color: #e5e7eb;
}

html[data-theme="dark"] .page-bg {
  background:
    radial-gradient(circle at 10% 20%, rgba(217, 119, 6, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(11, 19, 36, 0.9), rgba(15, 23, 42, 0.98));
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .card--image,
html[data-theme="dark"] .card--media,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .mine-filter,
html[data-theme="dark"] .faq {
  background: rgba(18, 22, 28, 0.96);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .text-slate-600,
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .footer-link,
html[data-theme="dark"] .toast__body,
html[data-theme="dark"] .faq p {
  color: #d6d3ce;
}

html[data-theme="dark"] .toast {
  background: rgba(28, 25, 23, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .toast__title {
  color: #f5f5f4;
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .footer-title,
html[data-theme="dark"] .faq summary,
html[data-theme="dark"] .faq summary::marker {
  color: #f5f5f4;
}

html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card a,
html[data-theme="dark"] .card p {
  color: #e7e5e4;
}

.card a {
  text-decoration: none;
}

.card a,
.card a:visited,
.card a:hover,
.card a:active,
.card a:focus {
  text-decoration: none;
  color: inherit;
}

html[data-theme="dark"] .input,
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .theme-toggle {
  background: #1c1917;
  color: #e7e5e4;
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-theme="dark"] .input::placeholder {
  color: #94a3b8;
}

html[data-theme="dark"] .mine-search-form .input {
  background-color: #1c1917;
  color: #f5f5f4;
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="dark"] .mine-search-form .input::placeholder {
  color: #cbd5e1;
}

html[data-theme="dark"] .eyebrow {
  color: #f59e0b;
}

html[data-theme="dark"] .sidebar,
html[data-theme="dark"] .footer-bottom {
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-theme="dark"] .sidebar {
  background: rgba(16, 18, 22, 0.95);
}

html[data-theme="dark"] .sidebar__tagline {
  color: #cbd5f5;
}

html[data-theme="dark"] a.nav-link,
html[data-theme="dark"] a.nav-link:link,
html[data-theme="dark"] a.nav-link:visited,
html[data-theme="dark"] a.nav-link:hover,
html[data-theme="dark"] a.nav-link:active,
html[data-theme="dark"] a.nav-link:focus {
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f4 !important;
  text-decoration: none !important;
}

html[data-theme="dark"] a.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #f5f5f4 !important;
}

html[data-theme="dark"] .logo-mark {
  background: #0f172a;
  color: #e2e8f0;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.container {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.relative {
  position: relative;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.top-6 {
  top: 1.5rem;
}

.right-6 {
  right: 1.5rem;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.min-h-screen {
  min-height: 100vh;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.grid {
  display: grid;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.overflow-hidden {
  overflow: hidden;
}

.bg-sand-50 {
  background: var(--sand-50);
}

.bg-white\\/70 {
  background: rgba(255, 255, 255, 0.7);
}

.bg-white\\/80 {
  background: rgba(255, 255, 255, 0.8);
}

.bg-white\\/60 {
  background: rgba(255, 255, 255, 0.6);
}

.border-b {
  border-bottom: 1px solid var(--sand-100);
}

.border-t {
  border-top: 1px solid var(--sand-100);
}

.border-sand-100 {
  border-color: var(--sand-100);
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-slate-500 {
  color: #64748b;
}

.text-slate-600 {
  color: #475569;
}

.text-slate-900 {
  color: var(--slate-900);
}

.text-white {
  color: #fff;
}

.text-white\\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-mineral-600 {
  color: var(--mineral-600);
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.25em;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

@media (min-width: 768px) {
  .md\\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.font-display {
  font-family: "Vazirmatn", "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: -0.01em;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(217, 119, 6, 0.08), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(15, 23, 42, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 245, 240, 0.9));
  pointer-events: none;
  z-index: 0;
}

.site-content {
  position: relative;
  z-index: 1;
}

.sidebar {
  position: static;
  width: 100%;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--sand-100);
  backdrop-filter: blur(10px);
  z-index: 30;
}

.sidebar__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

a.sidebar__logo,
a.sidebar__logo:link,
a.sidebar__logo:visited,
a.sidebar__logo:hover,
a.sidebar__logo:active,
a.sidebar__logo:focus {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  text-decoration: none !important;
  color: inherit !important;
}

.sidebar__tagline {
  max-width: 14rem;
}

.sidebar__nav {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

.sidebar__nav .nav-link {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid transparent;
  min-width: 140px;
  justify-content: center;
}

.sidebar__nav .nav-link:hover {
  border-color: var(--sand-100);
}

.sidebar__cta {
  margin-top: 1.5rem;
}

.sidebar__lang {
  margin-top: 1.25rem;
}

.hero-glow {
  position: absolute;
  inset: -10% 0 auto 0;
  height: 260px;
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.18), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--mineral-700);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-primary,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
a.btn-primary:focus {
  background: linear-gradient(135deg, var(--mineral-500), var(--mineral-700));
  color: #fff !important;
  text-decoration: none !important;
}

.btn-secondary {
  background: #fff;
  border-color: var(--sand-200);
  color: var(--ink-700);
}

.btn-light {
  background: #fff;
  color: var(--mineral-700);
  border-color: rgba(255, 255, 255, 0.4);
}

.stat {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-900);
}

.hero-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.hero-card__image {
  height: 220px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(11, 19, 36, 0.7), rgba(217, 119, 6, 0.6)),
    url("/static/images/hero-card.svg");
  background-size: cover;
  background-position: center;
}

.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.hero-media__image {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-media__badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--slate-900);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.hero-media__badge span {
  color: var(--mineral-700);
  font-weight: 700;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 700;
  color: var(--slate-900);
}

.section-head {
  text-align: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mineral-600);
  font-weight: 600;
}

.card {
  padding: 1.6rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--sand-100);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.services-grid {
  --services-gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--services-gap);
}

.services-grid > * {
  width: 100%;
}

.services-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc((100% - var(--services-gap)) / 2);
  justify-self: center;
}

.service-card__body {
  padding: 1.4rem 1.6rem 1.6rem;
}

.card--image {
  padding: 0;
  overflow: hidden;
}

.card-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sand-100);
}

.card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.mine-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sand-100);
}

.mine-gallery__viewport {
  overflow: hidden;
  width: 100%;
}

.mine-gallery__track {
  display: flex;
  direction: ltr;
  transition: transform 0.28s ease;
}

.mine-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
}

.mine-gallery__slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.mine-gallery__slide figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 19, 36, 0.72);
  color: #fff;
  font-size: 0.8rem;
}

.mine-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  direction: ltr;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--slate-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mine-gallery__arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mine-gallery__arrow--prev {
  left: 1rem;
}

.mine-gallery__arrow--next {
  right: 1rem;
}

.mine-gallery__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
}

.mine-gallery__arrow:focus-visible {
  outline: 3px solid rgba(217, 119, 6, 0.28);
  outline-offset: 3px;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(11, 19, 36, 0.85);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, 0.12);
  color: var(--mineral-700);
  font-size: 1.2rem;
  font-weight: 700;
}

.timeline-step {
  padding: 1.4rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed var(--sand-200);
}

.process-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--sand-100);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.process-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.process-card__body {
  padding: 1.2rem 1.3rem 1.5rem;
}

.process-card h3 {
  margin: 0.4rem 0 0.3rem;
  font-weight: 700;
  color: var(--slate-900);
}

.process-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.95rem;
}

.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-grid .card {
  width: 100%;
  padding: 2rem;
  min-height: 200px;
}

.mines-grid {
  --mines-gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--mines-gap);
}

.mines-grid > * {
  width: 100%;
}

.mines-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc((100% - var(--mines-gap)) / 2);
  justify-self: center;
}

.mines-grid > .mine-card--center {
  grid-column: 1 / -1;
  width: calc((100% - var(--mines-gap)) / 2);
  max-width: calc((100% - var(--mines-gap)) / 2);
  justify-self: center;
  margin-inline: auto;
}

.mine-search-form {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.mine-search-form .input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
  color: var(--slate-900);
  font-family: "Vazirmatn", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.8;
}

.mine-search-form .input::placeholder {
  color: #64748b;
  opacity: 1;
  font-size: 1rem;
  font-weight: 600;
}

.mine-search-form select.input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    left 1.4rem center,
    left 1rem center;
  background-size:
    9px 9px,
    9px 9px;
  background-repeat: no-repeat;
  padding-left: 3rem;
  padding-right: 1.35rem;
}

.mine-search-form select.input::-ms-expand {
  display: none;
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.filter-actions .btn {
  min-height: 48px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mines-grid {
    grid-template-columns: 1fr;
  }

  .mines-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }

  .mines-grid > .mine-card--center {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
  }

  .filter-actions {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .filter-actions .btn {
    flex: 1 1 140px;
  }
}

.mines-more {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

.services-more {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.timeline-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mineral-600);
  font-weight: 700;
}

.faq {
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--sand-200);
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--slate-900);
}

.faq p {
  margin-top: 0.75rem;
  color: var(--ink-500);
  font-size: 0.95rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b1324, #1f2937);
  box-shadow: var(--shadow-soft);
}

.cta-band p {
  color: #ffffff;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--slate-900);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

a.nav-link,
a.nav-link:link,
a.nav-link:visited,
a.nav-link:hover,
a.nav-link:active,
a.nav-link:focus {
  color: var(--ink-700) !important;
  text-decoration: none !important;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

a.nav-link:hover {
  background: var(--sand-100);
  color: var(--slate-900) !important;
}

.input {
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: #fff;
}

.contact-card {
  margin: 2rem auto 0;
  max-width: 860px;
  padding: 2rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--sand-100);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  width: 100%;
}

.contact-form > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
}

.contact-form textarea {
  min-height: 150px;
  border-radius: 20px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.footer-link {
  display: block;
  color: var(--ink-500);
  margin: 0.35rem 0;
}

.footer-link:hover {
  color: var(--slate-900);
}

.footer-grid {
  display: grid;
  gap: 2.75rem;
  grid-template-columns: 1.6fr 0.9fr 1.1fr 1.1fr;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-note {
  margin: 0.4rem 0 0.9rem;
  line-height: 1.7;
}

.contact-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 0.5rem;
}

.contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, 0.12);
  color: var(--mineral-700);
  font-size: 0.95rem;
}

.social-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--sand-200);
  color: var(--ink-700);
  font-size: 0.85rem;
  background: #fff;
}

.social-link:hover {
  color: var(--mineral-700);
  border-color: var(--sand-100);
}

.footer-form {
  flex-wrap: nowrap;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand-100);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
}

.toast-stack {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  z-index: 50;
  width: min(440px, calc(100% - 2rem));
  display: grid;
  gap: 0.75rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(225, 215, 198, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  text-align: right;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}

.toast__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.toast__title {
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--slate-900);
}

.toast__body {
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.8;
}

.toast--hide {
  opacity: 0;
  transform: translateY(-8px);
}

@media (max-width: 768px) {
  .hero-card {
    padding: 1.4rem;
  }

  .hero-media__image {
    height: 300px;
  }

  .mine-gallery__slide img {
    height: 260px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cta-band {
    padding: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-form {
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    border-bottom: none;
    border-left: 1px solid var(--sand-100);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-content {
    margin-right: 260px;
    width: calc(100% - 260px);
    overflow-x: hidden;
  }
}
@media (min-width: 640px) {
  .sm\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\\:text-3xl {
    font-size: 1.875rem;
  }

  .md\\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Global centering */
body,
main,
section,
footer,
header {
  text-align: center;
}

.services-grid,
.mines-grid,
.value-grid {
  justify-items: center;
}

.card,
.card--image,
.card--media {
  text-align: center;
}

.footer-grid,
.contact-list,
.social-row,
.footer-bottom,
.mines-more {
  justify-items: center;
  justify-content: center;
  text-align: center;
}

.sidebar,
.sidebar__brand,
.sidebar__nav,
.sidebar__cta,
.sidebar__lang {
  text-align: center;
  justify-content: center;
  align-items: center;
}
.card h3,
.card p {
  text-decoration: none;
}

.card h3 a,
.card p a {
  text-decoration: none;
  color: inherit;
}
.card a,
.card a * {
  text-decoration: none !important;
  color: inherit;
}

/* Anchors that themselves have the `card` class (e.g. <a class="card" href="...">) */
a.card,
a.card:visited,
a.card:hover,
a.card:active,
a.card:focus {
  text-decoration: none !important;
  color: inherit;
}

/* Also ensure descendants inside an anchor.card don't show underlines */
a.card * {
  text-decoration: none !important;
  color: inherit;
}

/* Stronger reset for any link state and browsers that color links */
a.card:link,
a.card:visited,
a.card:active,
a.card:hover,
a.card:focus {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-text-decoration-color: transparent !important;
  text-decoration-color: transparent !important;
}

/* Prevent underlines from appearing on child text nodes in some browsers */
a.card * {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-text-decoration-color: transparent !important;
  text-decoration-color: transparent !important;
}
