/* ===== Maa Narmada Technology — Theme ===== */
:root {
  --bg: #0d0d09;
  --bg-soft: #131310;
  --card: #1b1c1d;
  --card-border: #565151;
  --shape: #3a3b3c;
  --line: #535455;
  --body: #cfcbbf;
  --body-muted: rgba(207, 203, 191, 0.55);
  --heading: #f2e782;
  --accent: #eee27d;
  --accent-dim: #fffb96;
  --accent-light: #d4c863;
  --gold-gradient: linear-gradient(132deg, #d2ac47 5%, #f7ef8a 45%, #ae8625 85%);
  --heading-gradient: linear-gradient(112deg, #ae8625 5%, #f7ef8a 45%, #d2ac47 85%);
  --font-heading: "Prata", serif;
  --font-body: "Raleway", sans-serif;
  --radius: 6px;
  --radius-sm: 3px;
  --container: 1140px;
  --header-h: 116px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(210, 172, 71, 0.13), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(238, 226, 125, 0.05), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(174, 134, 37, 0.06), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dim); }
ul, ol { list-style: none; }
em { font-style: italic; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: var(--heading);
}

.gold-text {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1em;
  line-height: 1.4;
  padding: 0.7em 1.6em;
  min-height: 2.75em;
  min-width: min(100%, 12em);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 4px 18px rgba(210, 172, 71, 0.25);
}
.btn-gold:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(210, 172, 71, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: rgba(238, 226, 125, 0.1);
  color: var(--accent-dim);
  transform: translateY(-2px);
}

.btn-lg { padding: 0.85em 2em; font-size: 1.05em; }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.85em; min-width: auto; min-height: 2.4em; }
.btn-icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-text-short { display: none; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(13, 13, 9, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(13, 13, 9, 0.92);
  border-bottom-color: rgba(86, 81, 81, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(var(--container), 92%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--heading);
  margin-right: auto;
}
.brand-logo { height: 100px; width: auto; }

.header-nav {
  display: flex;
  gap: 1.4rem;
}
.header-nav a {
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 110px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(210, 172, 71, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 860px; }

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 640px;
  margin: 0 auto 2.4rem;
  color: var(--body);
}
.hero-lead strong { color: var(--heading); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(27, 28, 29, 0.55), rgba(13, 13, 9, 0.2));
  border-top: 1px solid rgba(86, 81, 81, 0.25);
  border-bottom: 1px solid rgba(86, 81, 81, 0.25);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin: 0.9rem 0 1.1rem;
}
.section-head p { color: var(--body); }
.section-head strong { color: var(--heading); }

.section-note,
.section-intro {
  max-width: 780px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--body-muted);
}
.section-intro { margin-top: 0; margin-bottom: 2.5rem; }

.sub-heading {
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin: 3rem 0 2rem;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold-gradient);
  padding: 0.4em 1.1em;
  border-radius: 999px;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: var(--card);
  border: 1px solid rgba(86, 81, 81, 0.6);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-light);
}
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.stat-card h3 {
  font-size: 1.1rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.stat-card p { font-size: 0.92rem; color: var(--body-muted); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: var(--card);
  border: 1px solid rgba(86, 81, 81, 0.6);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}
.service-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.service-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #000;
  background: var(--gold-gradient);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
}
.service-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.4rem 0 0.6rem;
}
.service-card p { margin-bottom: 0.9rem; font-size: 0.97rem; }
.service-card p:last-child { margin-bottom: 0; }
.service-card strong { color: var(--heading); }

.check-list li {
  position: relative;
  padding: 0.45em 0 0.45em 1.8em;
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(86, 81, 81, 0.35);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.check-list strong { color: var(--heading); }

.numbered-list li {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(86, 81, 81, 0.35);
}
.numbered-list li:last-child { border-bottom: 0; }
.numbered-list strong { color: var(--heading); display: block; margin-bottom: 0.25rem; }
.numbered-list p { font-size: 0.92rem; color: var(--body-muted); margin: 0; }

.num-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
}
.num-pill.lg {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* AI mock graphic */
.mock-ai {
  background: #121210;
  border: 1px solid rgba(86, 81, 81, 0.7);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.mock-ai-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1.1rem;
}
.mock-ai-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--shape);
}
.mock-ai-bar span:first-child { background: #d2ac47; }
.mock-ai-line {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--shape), rgba(58, 59, 60, 0.4));
  margin-bottom: 0.7rem;
}
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; }
.w60 { width: 60%; } .w50 { width: 50%; }
.mock-ai-answer {
  border: 1px solid rgba(238, 226, 125, 0.45);
  background: rgba(238, 226, 125, 0.06);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1rem 0;
}
.mock-ai-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.mock-ai-source {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--heading);
}

/* ===== Growth Formula ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  background: var(--card);
  border: 1px solid rgba(86, 81, 81, 0.6);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pillar-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}
.pillar-card h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--heading);
  margin-bottom: 0.7rem;
}
.pillar-card p { font-size: 0.95rem; color: var(--body); }

.quote {
  max-width: 780px;
  margin: 3.5rem auto;
  padding: 2rem 2.4rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--heading);
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  background: rgba(27, 28, 29, 0.6);
  border-radius: var(--radius);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid rgba(86, 81, 81, 0.6);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.step:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}
.step .num-pill { margin: 0 auto 0.9rem; }
.step h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.86rem; color: var(--body-muted); }

/* ===== Why Us ===== */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.commitment-card {
  background: var(--card);
  border: 1px solid rgba(86, 81, 81, 0.6);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.commitment-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}
.commitment-card h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--heading);
  margin-bottom: 0.7rem;
}
.commitment-card p { font-size: 0.9rem; color: var(--body-muted); }

.breakdown {
  max-width: 780px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 2.2rem;
  background: rgba(27, 28, 29, 0.6);
  border: 1px solid rgba(86, 81, 81, 0.5);
  border-radius: var(--radius);
}
.breakdown h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.breakdown h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.breakdown em { color: var(--heading); }

/* ===== Local ===== */
.local-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.local-feature {
  padding: 1.2rem 0;
  border-bottom: 1px dashed rgba(86, 81, 81, 0.4);
}
.local-feature:first-child { padding-top: 0; }
.local-feature h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--heading);
  margin-bottom: 0.4rem;
}
.local-feature p { font-size: 0.95rem; color: var(--body-muted); }

.mock-dash {
  background: #121210;
  border: 1px solid rgba(86, 81, 81, 0.7);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.mock-dash-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.8rem 1rem;
  background: var(--card);
  border-bottom: 1px solid rgba(86, 81, 81, 0.5);
}
.mock-dash-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--shape);
}
.mock-dash-head .dot:first-child { background: #d2ac47; }
.mock-dash-title {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.mock-dash-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.6rem;
  align-items: center;
}
.mock-score { text-align: center; }
.mock-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  box-shadow: 0 0 24px rgba(238, 226, 125, 0.2);
}
.mock-ring strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--heading);
  line-height: 1;
}
.mock-ring span { color: var(--accent); font-size: 0.8rem; letter-spacing: 2px; }
.mock-score p { font-size: 0.78rem; color: var(--body-muted); }
.mock-rows { display: grid; gap: 0.6rem; }
.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  padding: 0.55rem 0.8rem;
  background: rgba(58, 59, 60, 0.35);
  border: 1px solid rgba(86, 81, 81, 0.4);
  border-radius: var(--radius-sm);
}
.mock-row b { color: var(--heading); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.how-card {
  background: var(--card);
  border: 1px solid rgba(86, 81, 81, 0.6);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.how-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}
.how-card .num-pill { margin: 0 auto 1rem; }
.how-card h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.how-card p { font-size: 0.9rem; color: var(--body-muted); }

/* ===== CTA ===== */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 110px 0;
}
.cta-glow {
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(210, 172, 71, 0.14), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 760px; }
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 1rem 0 1.3rem;
}
.cta-inner p { margin-bottom: 1.1rem; }
.cta-inner strong { color: var(--heading); }
.cta-inner .hero-cta { margin-top: 2.2rem; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(86, 81, 81, 0.4);
  background: rgba(19, 19, 16, 0.8);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-right: auto;
}
.footer-brand img { height: 44px; width: auto; }
.footer-brand strong {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 400;
  font-size: 0.95rem;
  display: block;
}
.footer-brand p { font-size: 0.8rem; color: var(--body-muted); }
.footer-contact { display: flex; gap: 1.2rem; }
.footer-contact a { font-weight: 600; font-size: 0.9rem; }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--body-muted);
  border-top: 1px solid rgba(86, 81, 81, 0.3);
  padding-top: 1.4rem;
  margin-top: 0.5rem;
}

/* ===== WhatsApp FAB ===== */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(238, 226, 125, 0.5);
  animation: fabPulse 2.4s infinite;
  transition: transform 0.2s ease;
}
.wa-fab:hover { color: #000; transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }
@keyframes fabPulse {
  0% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(238, 226, 125, 0.45); }
  70% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 16px rgba(238, 226, 125, 0); }
  100% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(238, 226, 125, 0); }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .commitments-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .header-nav { display: none; }
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pillars-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .local-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .header-actions .btn-outline { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .cta-section { padding: 80px 0; }
  .hero { padding: calc(var(--header-h) + 56px) 0 72px; }
  .hero-cta .btn { width: 100%; }
  .service-card { padding: 1.6rem; }
  .commitments-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quote { padding: 1.5rem; }
  .mock-dash-body { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .brand-logo { height: 82px; }
  .btn-text-full { display: none; }
  .btn-text-short { display: inline; }

  .header-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 13, 9, 0.97);
    border-bottom: 1px solid rgba(86, 81, 81, 0.5);
    padding: 0.5rem 0;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header-nav a {
    padding: 0.9rem 6%;
    border-bottom: 1px solid rgba(86, 81, 81, 0.25);
  }
  .header-nav a:last-child { border-bottom: 0; }
}
