/* ==========================================================================
   Amin Ajit Kumar - Modern, Fast, Mobile-Optimized CSS
   Design System: Forest Emerald, Antique Gold, Deep Slate
   ========================================================================== */

:root {
  --primary: #0b3326;
  --primary-light: #165b44;
  --primary-dark: #061e16;
  --gold: #d99b11;
  --gold-hover: #b8820c;
  --gold-light: #fff5df;
  --wa: #25d366;
  --wa-dark: #128c7e;

  --bg: #fbfbf9;
  --surface: #ffffff;
  --surface-alt: #f4f6f3;
  --border: #e2e8e3;
  --border-light: #edf2ee;

  --text: #1a221e;
  --text-muted: #56635c;
  --text-light: #7b8a82;
  --text-white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(11, 51, 38, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 51, 38, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 51, 38, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --gutter: 1.25rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  flex-shrink: 0;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Utilities & Containers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-gold {
  color: var(--gold);
}

.small {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--gold);
  color: #000;
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: -0.2em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.logo-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav ul a:hover,
.main-nav ul a[aria-current="page"] {
  color: var(--primary-light);
}

.btn.nav-cta-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--primary);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.nav-toggle .i-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .i-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .i-close {
  display: inline;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 1.25rem;
  }
  .main-nav a {
    font-size: 0.9rem;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }
  .btn.header-call {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-sm);
  }
  .btn.header-call span {
    display: none;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav ul a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
  }
  .btn.nav-cta-mobile {
    display: flex;
    margin-top: 1rem;
  }
}

@media (max-width: 420px) {
  :root {
    --header-h: 64px;
    --gutter: 1rem;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .brand {
    gap: 0.55rem;
  }
  .brand-text strong {
    font-size: 1rem;
  }
  .brand-text small {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.4rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.btn .icon {
  vertical-align: middle;
}

.btn-gold {
  background: var(--gold);
  color: #1a1600;
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(217, 155, 17, 0.35);
}

.btn-wa {
  background: var(--wa);
  color: #ffffff;
}

.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  border-color: var(--border);
  background: var(--surface);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--surface-alt);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* Section headings used beside content (docs, faq, contact) */
.side-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.side-head > p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.section-dark .side-head > p {
  color: #cad8d1;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #061e16 0%, #0b3326 60%, #165b44 100%);
  color: #ffffff;
  padding: 4.5rem 0 0;
  overflow: hidden;
}

.topo-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 155, 17, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  color: #f7d58a;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.hero-hindi {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffd880;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: #d1ded7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  list-style: none;
  font-size: 0.9rem;
  color: #e0eae4;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.hero-trust li,
.hero-trust a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust .icon {
  color: var(--gold);
}

.hero-visual {
  position: relative;
  padding-bottom: 2rem;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.15);
  aspect-ratio: 4 / 3;
}

.hero-photo picture,
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sample Plot Card */
.plot-card {
  position: absolute;
  bottom: 0;
  left: -28px;
  background: var(--surface);
  color: var(--text);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 260px;
}

.plot-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.25);
}

.plot-svg {
  display: block;
  width: 100%;
  height: 90px;
  border-radius: var(--radius-sm);
  background: #fbfbf9;
  font-size: 10px;
  font-weight: 600;
  fill: var(--primary);
  color: var(--primary);
}

.plot-fill {
  fill: rgba(31, 122, 85, 0.12);
}

.plot-line {
  stroke: var(--primary-light);
  stroke-width: 2;
  fill: none;
}

.plot-pts circle {
  fill: var(--gold);
}

.plot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.plot-stats b {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.3;
}

.plot-stats span {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.float-badge {
  position: absolute;
  top: 16px;
  right: -14px;
  background: var(--gold);
  color: #1a1600;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--shadow-md);
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 0;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  white-space: nowrap;
  animation: scrollMarquee 45s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #d1ded7;
  font-weight: 600;
}

.marquee-track .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 3rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    padding-bottom: 0;
  }
  .plot-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(300px, 88%);
    margin: -3.5rem auto 0;
  }
  .float-badge {
    top: 12px;
    right: auto;
    left: 12px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 2.25rem;
  }
  .hero-chip {
    font-size: 0.78rem;
  }
  .hero-hindi {
    font-size: 1rem;
  }
  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .hero-trust {
    flex-direction: column;
    gap: 0.6rem;
  }
  .marquee {
    margin-top: 2.5rem;
  }
}

/* Stats */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 680px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--surface-alt);
}

.section-dark {
  position: relative;
  background: #061e16;
  color: #ffffff;
  overflow: hidden;
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-dark .section-head p {
  color: #cad8d1;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  .section-head {
    margin-bottom: 2rem;
  }
  .section-head p {
    font-size: 1rem;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-light);
  color: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

/* whole card is clickable */
.service-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.service-hindi {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-hover);
  margin-bottom: 0.9rem;
}

.service-card p:not(.service-hindi) {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.service-card:hover .service-more {
  color: var(--gold-hover);
}

@media (max-width: 560px) {
  .service-card {
    padding: 1.5rem 1.25rem;
  }
  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
  }
  .service-card h3 {
    font-size: 1.15rem;
  }
}

/* 4 Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}

.step-no {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.step h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.step p {
  font-size: 0.92rem;
  color: #cad8d1;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    padding: 1.25rem;
  }
  .step-no {
    grid-row: span 2;
    font-size: 1.8rem;
    margin: 0;
  }
}

/* Area Converter */
.converter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
}

.conv-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.conv-title .icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.conv-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: block;
}

.field span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(22, 91, 68, 0.12);
}

.conv-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary);
  transition: background-color 0.2s, border-color 0.2s;
}

.chip:hover {
  background: var(--gold-light);
  border-color: var(--gold);
}

.conv-note {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
}

.conv-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-content: start;
}

.conv-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.conv-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.conv-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}

.conv-card strong {
  font-size: 1.35rem;
  color: var(--primary);
  line-height: 1.25;
  margin: 0.2rem 0 0.1rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.conv-card small {
  font-size: 0.72rem;
  color: var(--gold-hover);
  font-weight: 700;
}

.center-link {
  text-align: center;
  margin-top: 1.75rem;
}

.center-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--primary-light);
}

.center-link a:hover {
  color: var(--gold-hover);
}

@media (max-width: 860px) {
  .converter {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }
}

@media (max-width: 380px) {
  .converter {
    padding: 1.15rem;
  }
  .conv-card strong {
    font-size: 1.15rem;
  }
}

/* Document Checklist */
.docs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tab {
  text-align: left;
  padding: 0.95rem 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.tab:hover {
  border-color: var(--primary-light);
}

.tab[aria-expanded="true"] {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.panel[hidden] {
  display: none;
}

.panel-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.panel-top h3 {
  font-size: 1.2rem;
  color: var(--primary);
}

.progress-text {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.progress {
  height: 6px;
  background: var(--surface-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}

.check-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.check-list li {
  border-bottom: 1px solid var(--border-light);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.check-list input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check-list .box {
  width: 22px;
  height: 22px;
  margin-top: 0.05rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: background-color 0.2s, border-color 0.2s;
}

.check-list .box .icon {
  width: 14px;
  height: 14px;
}

.check-list input:checked + .box {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
}

.check-list input:focus-visible + .box {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .docs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .tab {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
  }
  .panel-inner {
    padding: 1.35rem;
  }
  .panel-inner .btn {
    width: 100%;
  }
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.why-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.proof-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  background: var(--surface);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.proof-box img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  color: #f4b41a;
}

.stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.stars b {
  margin-left: 0.4rem;
  color: var(--text);
  font-size: 0.92rem;
}

.proof-box p {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.why-quote {
  background: var(--surface);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.35rem;
  margin-top: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.why-quote p {
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.why-quote span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.why-content .section-head {
  margin-bottom: 2rem;
}

.why-list {
  display: grid;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.why-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-media {
    order: 2;
  }
}

/* Gallery */
.gallery-grid {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(4, 20, 15, 0.85), transparent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .gallery-grid {
    columns: 2;
    column-gap: 0.6rem;
  }
  .gallery-item {
    margin-bottom: 0.6rem;
    border-radius: var(--radius-sm);
  }
  .gallery-cap {
    display: none;
  }
}

/* Lightbox */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgba(4, 20, 15, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

html:has(.lightbox[open]) {
  overflow: hidden;
}

.lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: min(1100px, calc(100% - 9rem));
}

.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  max-height: calc(100dvh - 8rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lb-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  font-size: 0.92rem;
  color: #e0eae4;
}

.lb-count {
  flex-shrink: 0;
  color: #9cb1a6;
  font-variant-numeric: tabular-nums;
}

.lb-btn {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lb-btn .icon {
  width: 24px;
  height: 24px;
}

.lb-close {
  top: 1rem;
  right: 1rem;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev {
  left: 1.25rem;
}

.lb-next {
  right: 1.25rem;
}

.lb-btn[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .lb-figure {
    max-width: calc(100% - 1.5rem);
  }
  .lb-figure img {
    max-height: calc(100vh - 10rem);
    max-height: calc(100dvh - 10rem);
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }
  .lb-prev {
    left: calc(50% - 60px);
  }
  .lb-next {
    right: calc(50% - 60px);
  }
}

/* Service Areas Chips */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  justify-content: center;
}

.area-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.area-chips .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

@media (max-width: 560px) {
  .area-chips {
    gap: 0.5rem;
  }
  .area-chips li {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
  }
  /* keep the SEO text in the page, but show only the area name on phones */
  .chip-prefix {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* FAQs */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3.5rem;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  text-align: left;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item summary i::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.faq-item summary i::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

.faq-item[open] summary i::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-body {
  padding: 0 1.35rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.prose .faq-body p {
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .faq-side {
    position: static;
  }
}

@media (max-width: 560px) {
  .faq-item summary {
    padding: 1rem 1.1rem;
    font-size: 0.97rem;
  }
  .faq-body {
    padding: 0 1.1rem 1.1rem;
  }
}

/* Contact & Form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0 0 2rem;
  display: grid;
  gap: 1.25rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-list li > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list li > div {
  min-width: 0;
}

.contact-list small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9cb1a6;
  font-weight: 700;
}

.contact-list a,
.contact-list b {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
}

.contact-list a:hover {
  color: var(--gold);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--surface);
  color: var(--text);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form h3 {
  font-size: 1.4rem;
  color: var(--primary);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .contact-form {
    padding: 1.5rem 1.25rem;
  }
  .map-wrap {
    height: 200px;
  }
}

/* CTA Band */
.cta-band {
  background: var(--primary);
  color: #ffffff;
  padding: 3.5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: #d1ded7;
  font-size: 1.02rem;
}

.cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cta-band {
    padding: 2.75rem 0;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* Footer */
.site-footer {
  position: relative;
  background: #04140f;
  color: #ffffff;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.brand-light strong {
  color: #ffffff;
}

.brand-light small {
  color: #9cb1a6;
}

.footer-brand p {
  color: #9cb1a6;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 340px;
}

.google-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  transition: background-color 0.2s;
}

.google-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}

.google-pill.dark {
  justify-content: center;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links,
.footer-areas {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #d1ded7;
}

.footer-areas {
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.footer-links a:hover,
.footer-nap a:hover {
  color: var(--gold);
}

.footer-nap {
  font-style: normal;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d1ded7;
}

.footer-nap a,
.footer-nap span {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-nap .icon {
  margin-top: 0.15rem;
  color: var(--gold);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #7b8a82;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-areas {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Mobile Quick Bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.mobile-bar a + a {
  border-left: 1px solid var(--border-light);
}

.mobile-bar .icon {
  width: 20px;
  height: 20px;
}

.mobile-bar .mb-wa {
  color: var(--wa-dark);
}

@media (max-width: 768px) {
  .mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }
}

/* Floating WhatsApp (Desktop) */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--wa);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wa-float .icon {
  width: 20px;
  height: 20px;
}

.wa-float:hover {
  transform: translateY(-3px);
  background: var(--wa-dark);
}

@media (max-width: 768px) {
  .wa-float {
    display: none;
  }
}

/* Service Detail Page Layout */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #061e16 0%, #0b3326 100%);
  color: #ffffff;
  padding: 3rem 0 3.5rem;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-top: 1.25rem;
}

.page-hero .hero-lead {
  margin-bottom: 1.5rem;
}

.page-hero .hero-ctas {
  margin-bottom: 0;
}

.page-hero-inner {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.page-hero-inner h1 {
  margin-top: 0;
}

.page-icon {
  width: 72px;
  height: 72px;
  background: var(--gold);
  color: #1a1600;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-icon svg {
  width: 36px;
  height: 36px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.25rem 0.5rem;
  font-size: 0.85rem;
  color: #9cb1a6;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb li[aria-current] {
  color: #e0eae4;
}

.breadcrumb li::after {
  content: '›';
  margin-left: 0.5rem;
  color: #63776d;
}

.breadcrumb li:last-child::after {
  content: '';
}

@media (max-width: 640px) {
  .page-hero {
    padding: 2rem 0 2.5rem;
  }
  .page-hero-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .page-icon {
    width: 56px;
    height: 56px;
  }
  .page-icon svg {
    width: 28px;
    height: 28px;
  }
  .page-hero .hero-ctas .btn {
    flex: 1 1 100%;
  }
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3.5rem;
  align-items: start;
}

.prose {
  min-width: 0;
}

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  color: var(--primary);
  margin: 2.5rem 0 1rem;
}

.prose > p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.answer-box {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  padding: 1.35rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

.answer-box strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold-hover);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.answer-box p {
  margin: 0;
  color: #2b2300;
  font-weight: 500;
  font-size: 1rem;
}

.tick-list,
.doc-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tick-list li,
.doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
}

.tick-list .icon,
.doc-list .icon {
  margin-top: 0.15rem;
}

.tick-list .icon {
  color: var(--primary-light);
}

.doc-list .icon {
  color: var(--gold);
}

.mini-steps {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.mini-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mini-steps li > span {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mini-steps h3 {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.mini-steps p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sidebar {
  display: grid;
  gap: 1.5rem;
}

.side-card {
  background: var(--primary);
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.9rem;
}

.side-card h2 {
  font-size: 1.2rem;
}

.side-card p {
  color: #d1ded7;
  font-size: 0.92rem;
}

.side-card.light {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.side-card.light h2 {
  color: var(--primary);
}

.side-card.light p {
  color: var(--text-muted);
}

.side-links {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.side-links a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--primary);
}

.side-links .icon {
  color: var(--gold);
}

.side-links a:hover {
  color: var(--gold-hover);
}

@media (max-width: 960px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sidebar {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
}

/* Tables */
.tables-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  overflow-x: auto;
}

.table-card h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.table-card .small {
  margin-top: 0.75rem;
}

.sub-title {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--primary);
  margin: 3rem 0 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

th, td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

thead th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--primary);
}

tbody th {
  font-weight: 700;
  color: var(--primary);
}

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

@media (max-width: 560px) {
  .table-card {
    padding: 1.15rem;
  }
  th, td {
    padding: 0.55rem 0.5rem;
  }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track {
    animation: none;
  }
}
