/* ==========================================================================
   White Owl — editorial travel identity
   Manrope throughout: light weights with tight tracking for display, 400 for text.
   ========================================================================== */

:root {
  --paper:      #fbfcfd;
  --paper-alt:  #f1f6fa;
  --white:      #ffffff;
  --ink:        #0d2233;
  --night:      #0f3c5e;
  --night-deep: #08202f;
  --sky:        #4fb8e0;
  --sky-deep:   #2b8fbc;
  --line:       #d9e5ed;
  --line-soft:  #e9f0f5;
  --muted:      #5a7383;
  --numeral:    #bcd2e0;

  --pad:   clamp(1.25rem, 5vw, 4.5rem);
  --ease:  cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 84px;

  /* Type tokens. type-sans.css overrides just these two plus a handful of
     optical adjustments, so both variants share one stylesheet. */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-text:    'Manrope', system-ui, -apple-system, sans-serif;
}

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

html { font-size: 17px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ===== TYPE ===== */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); }
h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* Deck — the supporting paragraph under a heading. Replaces label-clutter. */
.deck {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}
.deck-lg {
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-weight: 300;
}

/* Micro-label. Deliberately rare: hero locator + destinations band only. */
.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-deep);
}

/* Editorial numeral used in place of icons */
.numeral {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.9vw, 2.5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--numeral);
  transition: color 260ms var(--ease);
  font-variant-numeric: lining-nums;
}

.meta {
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.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;
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ===== LAYOUT ===== */

.wrap    { max-width: 1220px; margin: 0 auto; padding: 0 var(--pad); }
.wrap-nr { max-width: 780px;  margin: 0 auto; padding: 0 var(--pad); }
.section       { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.center { text-align: center; }

.grid   { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.rule { height: 1px; background: var(--line); border: 0; }

/* Contact page: form beside an info aside. A class, not an inline style, so the
   mobile breakpoint can actually reach it. */
.grid-aside {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

/* ===== ANIMATION =====
   Scroll entrances run long (~700ms) for a calm, editorial feel.
   Hover/UI transitions stay at 240ms. Both share the same easing. */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Heading slides up from behind a mask. Wraps whole block, so it is
   translation-safe (no manual line breaks). */
.mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.mask > * {
  display: block;
  transform: translateY(102%);
  transition: transform 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in .mask > *, .mask.in > * { transform: none; }

/* Hairline that draws itself in */
.draw {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in .draw, .draw.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .mask > *, .draw {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-bg { animation: none !important; }
}

/* ===== NAV =====
   No backdrop-filter: it would establish a containing block and trap the
   fixed-position mobile panel inside the nav box. */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(13, 34, 51, 0.06);
}

.nav-logo { display: flex; align-items: center; gap: 0.65rem; }
.nav-logo img { width: 40px; height: 40px; }
.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--night);
}

.nav-links { display: flex; align-items: center; gap: 2.2rem; }
/* Only the nav keeps its buttons on one line; elsewhere long CTAs may wrap. */
.nav-links .btn { white-space: nowrap; }

/* :not(.btn) keeps this off the CTA — the earlier version of this rule beat
   .btn-primary on specificity and rendered the CTA navy-on-navy. */
.nav-links > a:not(.btn) {
  position: relative;
  font-size: 0.94rem;
  color: var(--ink);
  white-space: nowrap;
  padding: 0.3rem 0;
  transition: color 240ms var(--ease);
}
.nav-links > a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--sky-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--sky-deep); }
.nav-links > a:not(.btn):hover::after,
.nav-links > a.active::after { transform: scaleX(1); }
.nav-links > a.active { color: var(--sky-deep); }

.lang-switch {
  display: flex; align-items: center; gap: 0.2rem;
  font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--muted);
}
.lang-switch a {
  padding: 0.25rem 0.4rem;
  color: var(--muted);
  transition: color 240ms var(--ease);
}
.lang-switch a.active { color: var(--night); font-weight: 600; }
.lang-switch a:hover { color: var(--sky-deep); }

.nav-toggle { display: none; width: 28px; height: 18px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--night);
  transition: transform 300ms var(--ease), opacity 240ms var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

main { padding-top: var(--nav-h); }

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background 260ms var(--ease), color 260ms var(--ease),
              border-color 260ms var(--ease), transform 260ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--sky); color: var(--night); }
.btn-primary:hover { background: var(--night); color: var(--white); }

.btn-ink { background: var(--night); color: var(--white); }
.btn-ink:hover { background: var(--sky); color: var(--night); }

.btn-outline {
  border: 1px solid var(--night);
  color: var(--night);
  background: transparent;
}
.btn-outline:hover { background: var(--night); color: var(--white); }

.btn-light {
  border: 1px solid rgba(251, 252, 253, 0.45);
  color: var(--white);
  background: transparent;
}
.btn-light:hover { background: var(--white); color: var(--night); border-color: var(--white); }

.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.74rem; }

/* Text link with a rule that slides in */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase;
  font-weight: 500; color: var(--night);
  padding-bottom: 0.35rem;
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--night);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0.25); }
.link-arrow svg { transition: transform 300ms var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: kenburns 22s var(--ease) forwards;
}
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,32,47,0.44) 0%, rgba(8,32,47,0.22) 26%,
                    rgba(8,32,47,0.58) 58%, rgba(8,32,47,0.88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-content h1 { color: var(--white); }
/* White, not celeste: over a bright sky the accent loses all contrast. */
.hero-content .label { color: rgba(251,252,253,0.9); }
.hero-content .deck { color: rgba(251,252,253,0.84); max-width: 540px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Subpage hero */
.page-hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex; align-items: flex-end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-content { max-width: 780px; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }


/* ===== DARK BAND ===== */

.band-dark { background: var(--night); color: var(--white); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .deck, .band-dark .muted-text { color: rgba(251,252,253,0.72); }
.band-dark .label { color: var(--sky); }
.band-dark .numeral { color: rgba(251,252,253,0.26); }
.band-dark .rule { background: rgba(251,252,253,0.16); }

.band-deep { background: var(--night-deep); color: var(--white); }
.band-alt  { background: var(--paper-alt); }
.band-white{ background: var(--white); }

/* ===== STATS ===== */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
}
.band-dark .stats { border-top-color: rgba(251,252,253,0.18); }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.9vw, 3.1rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sky-deep);
  display: block;
  margin-bottom: 0.5rem;
}
.band-dark .stat b { color: var(--sky); }
.stat span { font-size: 0.86rem; color: var(--muted); }
.band-dark .stat span { color: rgba(251,252,253,0.68); }

/* ===== EDITORIAL INDEX LIST (replaces the emoji card grid) ===== */

.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 1.5fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 300ms var(--ease);
}
.index-row h3 { transition: transform 300ms var(--ease), color 300ms var(--ease); }
.index-row p { color: var(--muted); font-size: 0.97rem; }
a.index-row:hover { background: linear-gradient(90deg, rgba(79,184,224,0.07), transparent 70%); }
a.index-row:hover h3 { transform: translateX(6px); color: var(--sky-deep); }
a.index-row:hover .numeral { color: var(--sky); }

/* ===== DESTINATION TILES ===== */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  display: flex; align-items: flex-end;
  color: var(--white);
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,32,47,0) 22%, rgba(8,32,47,0.5) 60%, rgba(8,32,47,0.92) 100%);
}
.tile-body { position: relative; z-index: 2; padding: 1.8rem; }
.tile-body h3 { color: var(--white); margin-bottom: 0.3rem; }
.tile-body p { font-size: 0.88rem; color: rgba(251,252,253,0.8); }

/* ===== JOURNEY CARD ===== */

.journey { display: flex; flex-direction: column; }
.journey-img {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1.3rem;
  aspect-ratio: 4 / 3;
}
.journey-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.journey:hover .journey-img img { transform: scale(1.05); }
.journey h3 { margin: 0.55rem 0 0.5rem; }
.journey p:not(.meta) { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.1rem; }
.journey .link-arrow { align-self: flex-start; margin-top: auto; }

/* ===== FEATURE ROW (alternating image + text) ===== */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feature-img { overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; }
.feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1000ms var(--ease);
}
.feature:hover .feature-img img { transform: scale(1.04); }
.feature.flip .feature-img { order: 2; }

.feature-head {
  display: flex; align-items: baseline; gap: 1.1rem;
  margin-bottom: 0.9rem;
}
.feature-meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  padding: 1rem 0;
  margin: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ===== SPEC LIST ===== */

.spec-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.99rem;
}
.spec-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.72em;
  width: 8px; height: 1px;
  background: var(--sky-deep);
}

/* ===== PROCESS STEPS ===== */

.step { position: relative; padding-top: 1.6rem; }
.step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--sky);
  transform-origin: left;
}
.step .numeral { display: block; margin-bottom: 0.6rem; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ===== QUOTES (hairlines, not boxes) ===== */

.quote { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: -0.015em;
  font-style: normal;
  margin-bottom: 0.9rem;
}
.quote cite { font-style: normal; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.band-dark .quote { border-top-color: rgba(251,252,253,0.18); }
.band-dark .quote cite { color: rgba(251,252,253,0.6); }

/* ===== FAQ ===== */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0;
  font-size: 1.04rem; font-weight: 400;
  transition: color 240ms var(--ease);
}
.faq-q:hover { color: var(--sky-deep); }
.faq-icon { position: relative; width: 13px; height: 13px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--sky-deep);
  transition: transform 300ms var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon::after { transform: rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease); }
.faq-a p { padding-bottom: 1.5rem; color: var(--muted); max-width: 62ch; }

/* ===== FORM ===== */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.field input, .field select, .field textarea {
  padding: 0.8rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 240ms var(--ease);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--sky-deep);
}
.field input::placeholder, .field textarea::placeholder { color: #a9bcc7; }
.field select { appearance: none; cursor: pointer; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }
.form-success {
  display: none;
  margin-top: 1.2rem;
  padding: 1.1rem 1.3rem;
  border-left: 2px solid var(--sky);
  background: rgba(79,184,224,0.09);
  font-size: 0.95rem;
}
.form-success.show { display: block; }

/* ===== INFO PANEL ===== */

.info-panel { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.info-panel + .info-panel { margin-top: 1.8rem; }
.info-panel h3 { margin-bottom: 1rem; }
.info-row { margin-bottom: 1rem; }
.info-row p:not(.meta) { font-size: 0.98rem; }

/* ===== WHATSAPP FLOAT ===== */

.wa-float {
  position: fixed; right: 1.7rem; bottom: 1.7rem; z-index: 300;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(8, 32, 47, 0.22);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(8, 32, 47, 0.3); }

/* ===== FULL BLEED ===== */

.full-bleed { position: relative; overflow: hidden; height: clamp(300px, 52vh, 560px); }
.full-bleed img { width: 100%; height: 100%; object-fit: cover; }

/* ===== LEGAL PROSE ===== */

.prose { display: flex; flex-direction: column; gap: 1.1rem; }
.prose h2 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 500; margin-top: 1.6rem; }
.prose a { color: var(--sky-deep); border-bottom: 1px solid var(--line); }
.prose a:hover { border-bottom-color: var(--sky-deep); }

/* ===== FOOTER ===== */

footer { background: var(--night-deep); color: rgba(251,252,253,0.76); padding: clamp(3rem,6vw,5rem) 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(251,252,253,0.14);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 1.1rem;
}
.footer-grid ul li { margin-bottom: 0.7rem; font-size: 0.94rem; }
.footer-grid a { transition: color 240ms var(--ease); }
.footer-grid a:hover { color: var(--sky); }
.footer-logo { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1.1rem; }
.footer-logo img { width: 38px; height: 38px; }
.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white);
}
.footer-bottom {
  padding-top: 1.7rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.82rem; color: rgba(251,252,253,0.55);
}
.footer-bottom a:hover { color: var(--sky); }

/* ==========================================================================
   RESPONSIVE — max-width blocks in descending order so later rules only ever
   narrow the layout further. Keep them sorted when adding new ones.
   ========================================================================== */

/* ===== NAV: off-canvas below the desktop layout's natural width =====
   Measured: the horizontal nav needs ~1030px (logo + 4 links + language
   switch + CTA). Below that the labels wrapped to two lines, so every
   tablet width was broken. The panel takes over at 1080px, which keeps a
   comfortable margin and covers tablet portrait and landscape. */

@media (max-width: 1080px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--paper);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.7rem;
    padding: 2rem var(--pad) 4rem;
    transform: translateX(100%);
    transition: transform 380ms var(--ease);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a:not(.btn) {
    font-size: clamp(1.3rem, 3.2vw, 1.7rem);
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .lang-switch { font-size: 0.9rem; }
  .nav-links .btn { width: 100%; max-width: 22rem; }
  .nav-toggle { display: block; }

  /* Four columns would leave ~190px each here, too narrow for these headings. */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

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

@media (max-width: 860px) {
  html { font-size: 16px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .grid-aside { grid-template-columns: 1fr; }
  .feature.flip .feature-img { order: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 9; }
  .index-row { grid-template-columns: 3.5rem 1fr; row-gap: 0.5rem; }
  .index-row p { grid-column: 2; }
}

@media (max-width: 599px) {
  :root { --nav-h: 72px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .index-row { grid-template-columns: 2.6rem 1fr; gap: 1.2rem; padding: 1.6rem 0; }
  .feature-meta { gap: 1rem; }
  .btn { padding: 0.9rem 1.4rem; }
  .center > .btn { display: flex; width: 100%; }
  .wa-float { right: 1rem; bottom: 1rem; width: 50px; height: 50px; }
}
