/* =========================================================================
   EBRU — Taxi & Limousinenfahrten
   Dark, photo-led design system.
   Palette : near-black ground · warm bone text · gold used sparingly as accent
   Type    : Fraunces (display) + Archivo (UI/body), both self-hosted
   Motion  : transform / opacity / clip-path only — compositor friendly
   ========================================================================= */

/* ---------- 0. TYPEFACES (self-hosted, same origin) ----------
   Fraunces  — variable editorial serif (opsz/wght/SOFT/WONK)
   Archivo   — variable grotesque, Swiss-adjacent
   Served from our own origin so there is no third-party DNS + TLS handshake
   on the critical path. unicode-range means latin-ext only downloads when a
   Turkish/extended glyph actually appears.                                   */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. TOKENS ---------- */
:root {
  /* Ground */
  --ink:          #000000;   /* page base                */
  --ink-2:        #0D0D0D;   /* raised surface           */
  --ink-3:        #171717;

  /* Accent — gold is RARE. It reads as precious only when it is not the
     default. Reserved for display headings, kickers, icons and the CTA. */
  --gold:         #C9A227;   /* button fill (dark text sits on it) */
  --gold-soft:    #E4C57E;   /* display headings — 11.0:1          */
  --gold-deep:    #8A6D14;
  --gold-tint:    rgba(217,179,108,.12);

  /* Text — warm bone, not white and not gold. Two distinct materials on the
     page (gold + bone) is what makes the gold look expensive. */
  --fg:           #DAD3C4;   /* body      — 12.4:1 */
  --fg-muted:     #ABA394;   /* secondary —  7.7:1 */
  --fg-dim:       #8B8477;   /* placeholders — 5.3:1 */

  /* Surfaces (glass over photography) */
  --surface:      rgba(255,255,255,.045);
  --surface-2:    rgba(255,255,255,.075);
  --surface-solid:#0A0A0A;
  --border:       rgba(217,179,108,.18);
  --border-2:     rgba(255,255,255,.10);

  /* Semantic */
  --danger:       #F08A7E;
  --danger-bg:    rgba(240,138,126,.10);
  --success:      #7FD8AE;
  --success-bg:   rgba(127,216,174,.10);
  --whatsapp:     #25D366;

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Hoefler Text', Georgia, serif;
  --font-body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  --fs-3xl:  clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);

  /* Spacing — 4/8 rhythm */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  --sh-1: 0 2px 10px rgba(0,0,0,.35);
  --sh-2: 0 8px 28px rgba(0,0,0,.45);
  --sh-3: 0 18px 56px rgba(0,0,0,.55);
  --sh-gold: 0 6px 24px rgba(201,162,39,.32);

  --e-out:  cubic-bezier(.16, 1, .3, 1);
  --e-io:   cubic-bezier(.4, 0, .2, 1);
  --t-fast: .18s;
  --t-base: .28s;
  --t-slow: .5s;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --z-header: 100;
  --z-float: 90;
  --z-bar: 95;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }

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

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

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px;
  z-index: 1000; background: var(--gold); color: #0A0A0A;
  padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--t-fast) var(--e-out);
}
.skip-link:focus { top: var(--sp-4); }

.wrap {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* One place to tune the whole icon system. These are inheritable SVG
   presentation properties, so they pass through <use> into the sprite.
   1.4 on a 24-unit grid ≈ 1.28 px at 22 px — fine line work, not chunky. */
.ico {
  width: 22px; height: 22px; flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-sm { width: 18px; height: 18px; stroke-width: 1.5; }
.num { font-variant-numeric: tabular-nums; }
.ta-right { text-align: right; }

/* ---------- 3. STACKING ---------- */
.site-header, main, .site-footer, .callbar, .wa-float, .to-top { position: relative; z-index: 2; }
.site-header { z-index: var(--z-header); }

/* ---------- 4. TYPOGRAPHY BLOCKS ---------- */
.kicker {
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: var(--sp-3);
}

/* Fraunces carries its character in the SOFT (terminal softness) and WONK
   (alternate wonky forms) axes. Left at defaults it reads like any other
   high-contrast serif, so every display size sets them deliberately. */
.sec-title, .card h3, .pstep h3, .area-col h3, .final-inner h2,
.stat-title, .pricing-main h3, .pricing-side h3 {
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 18, 'WONK' 0;
}

.sec-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1.14;
  letter-spacing: -.018em;
  color: var(--gold-soft);
}
.sec-lead {
  margin-top: var(--sp-4);
  font-size: var(--fs-md);
  color: var(--fg-muted);
  max-width: 60ch;
}
.sec-head { max-width: 680px; margin-bottom: var(--sp-7); }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .sec-lead { margin-inline: auto; }

.section { padding-block: clamp(72px, 10vw, 136px); }

/* ---------- 5. SECTION MEDIA (reveal mask) ---------- */
.has-media { position: relative; isolation: isolate; overflow: hidden; }

.sec-media {
  position: absolute; inset: 0;
  z-index: -1;
  /* driven from scene.js */
  --m: 42%; --r: 140px; --o: 0; --y: 6%;
  clip-path: inset(var(--m) var(--m) var(--m) var(--m) round var(--r));
  opacity: var(--o);
  transform: translate3d(0, var(--y), 0);
  /* no will-change: clip-path is not compositor-accelerated, so the hint only
     pins five full-screen layers in memory without buying any smoothness */
}
.sec-media picture, .sec-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
/* Copy sits on different sides from section to section, so the wash is even
   rather than side-weighted — strong enough for text anywhere, light enough
   that the photograph still reads. Edges melt into the page so sections join. */
.sec-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,0) 85%, var(--ink) 100%),
    linear-gradient(90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.70) 50%, rgba(0,0,0,.76) 100%);
}
.has-media.is-centered .sec-scrim {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 84%, var(--ink) 100%),
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.78) 50%, rgba(0,0,0,.72) 100%);
}

/* belt and braces for body copy that lands on a bright reflection */
.has-media .sec-lead,
.has-media .area-note,
.has-media .about-quote p { text-shadow: 0 1px 14px rgba(0,0,0,.95); }

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--e-io),
              color var(--t-fast) var(--e-io),
              border-color var(--t-fast) var(--e-io),
              box-shadow var(--t-base) var(--e-out),
              transform var(--t-fast) var(--e-out);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: 80ms; }

.btn-lg { min-height: 56px; padding: 16px 32px; font-size: var(--fs-base); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: var(--fs-sm); }

.btn-gold { background: var(--gold); color: #0A0A0A; box-shadow: var(--sh-gold); }
.btn-gold:hover { background: #D8B133; box-shadow: 0 10px 30px rgba(201,162,39,.42); }

.btn-dark {
  background: rgba(14,14,14,.86); color: var(--fg);
  border: 1px solid var(--border);
}
.btn-dark:hover { background: rgba(217,179,108,.16); border-color: var(--gold-soft); }

.btn-ghost {
  color: var(--fg);
  border: 1px solid rgba(218,211,196,.3);
  background: rgba(14,14,14,.55);
}
.btn-ghost:hover { background: rgba(218,211,196,.12); border-color: rgba(218,211,196,.55); }

.btn-ghost-dark {
  color: var(--fg); border: 1px solid var(--border-2);
  background: var(--surface);
}
.btn-ghost-dark:hover { background: var(--surface-2); border-color: var(--border); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.icon-btn {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: var(--fg);
  transition: background-color var(--t-fast) var(--e-io);
}
.icon-btn:hover { background: rgba(218,211,196,.12); }

/* ---------- 7. HEADER ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--fg);
  transition: background-color var(--t-base) var(--e-io),
              box-shadow var(--t-base) var(--e-io),
              height var(--t-base) var(--e-io),
              opacity .45s var(--e-io),
              transform .55s var(--e-out);
}
/* hidden while the hero photo is still a small window */
.site-header.is-veiled {
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
}
/* keyboard users must always be able to tab into the navigation */
.site-header.is-veiled:focus-within {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,0));
  opacity: 1; transition: opacity var(--t-base) var(--e-io);
  pointer-events: none;
}
.site-header.is-stuck {
  height: 66px;
  background: rgba(0,0,0,.9);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(217,179,108,.16), 0 8px 30px rgba(0,0,0,.5);
}
.site-header.is-stuck::before { opacity: 0; }

.header-inner { display: flex; align-items: center; gap: var(--sp-5); width: 100%; }

.brand { display: flex; align-items: center; gap: var(--sp-3); margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500; letter-spacing: .06em;
  color: var(--gold-soft);
}
.brand-sub {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-muted);
}

/* The emblem already carries its own gold ring, so it needs no frame of its own.
   Its detail is illegible below ~40px, hence the wordmark alongside it. */
.brand-logo {
  width: 52px; height: 52px; flex: none;
  object-fit: contain;
  transition: transform var(--t-base) var(--e-out), filter var(--t-base) var(--e-io);
}
.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(217,179,108,.45));
}
.footer-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: var(--sp-3); }

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav a {
  position: relative;
  display: flex; align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: var(--fs-sm); font-weight: 500;
  color: rgba(218,211,196,.84);
  padding: 6px 2px;
  transition: color var(--t-fast) var(--e-io);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px;
  height: 1.5px; background: var(--gold-soft);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--e-out);
}
.nav a:hover { color: var(--gold-soft); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--gold-soft); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

.lang {
  display: flex; align-items: center; gap: 2px;
  padding: 3px 6px 3px 8px;
  border: 1px solid rgba(218,211,196,.24);
  border-radius: var(--r-pill);
}
.lang-in-nav { display: none; }
.lang-globe { width: 15px; height: 15px; color: var(--fg-muted); margin-right: 3px; }
.lang-btn {
  min-width: 40px; min-height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 8px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--fg-muted);
  transition: background-color var(--t-fast) var(--e-io), color var(--t-fast) var(--e-io);
}
.lang-btn:hover { color: var(--fg); }
.lang-btn.is-active { background: var(--gold); color: #0A0A0A; }

/* ---------- 8. HERO — smooth-scroll bloom ---------- */
.hero {
  position: relative;
  height: 205vh;              /* scroll runway for the bloom */
  --p: 0;                     /* 0 → 1, written by scene.js  */
}
.hero-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  /* keep the vertically-centred copy clear of the fixed header */
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .45;
}
/* On a pure black ground a single warm halo reads as candlelight.
   A second, cooler glow would just look like a smudge, so there isn't one. */
.hero-glow-a {
  width: 62vw; height: 62vw; max-width: 820px; max-height: 820px;
  top: -20%; right: -14%;
  background: radial-gradient(circle, rgba(201,162,39,.26), rgba(201,162,39,0) 70%);
  animation: drift-a 26s var(--e-io) infinite alternate;
}
.hero-glow-b { display: none; }
@keyframes drift-a { to { transform: translate3d(-4%, 5%, 0) scale(1.1); } }

/* the photo opens from a centred window to full bleed */
.hero-photo {
  position: absolute; inset: 0;
  z-index: -1;
  clip-path: polygon(
    calc(25% - 25% * var(--p)) calc(25% - 25% * var(--p)),
    calc(75% + 25% * var(--p)) calc(25% - 25% * var(--p)),
    calc(75% + 25% * var(--p)) calc(75% + 25% * var(--p)),
    calc(25% - 25% * var(--p)) calc(75% + 25% * var(--p))
  );
  will-change: clip-path;
}
.hero-photo picture, .hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
/* Scale the <img> only — the <picture> is its containing block, so scaling both
   would square the factor (0.66 → 0.44) and open gaps inside the clip window.
   Grows with the opening frame instead of zooming out of it: the window spans
   50%+50p of the stage, so the picture must stay above 0.5+0.5p to cover it. */
.hero-photo img {
  transform: scale(calc(.66 + .34 * var(--p)));
  will-change: transform;
}
/* This frame is already a dark night shot, so the wash is lighter than the
   section scrims — just enough to seat the gold copy on the left. */
.hero-photo-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.16) 42%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.20) 60%, rgba(0,0,0,.08) 100%);
}

.hero-inner { position: relative; z-index: 1; }

/* The copy stays out of the opening frame and rises in as the photo grows.
   Scoped to .js so the text is simply visible when JavaScript never runs. */
.js .hero-inner {
  --reveal: clamp(0, calc((var(--p) - .06) * 5), 1);   /* full by p ≈ 0.26 */
  opacity: var(--reveal);
  transform: translate3d(0, calc((1 - var(--reveal)) * 26px), 0);
  will-change: opacity, transform;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-soft);
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(217,179,108,.32);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  margin-bottom: var(--sp-5);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-soft);
  animation: pulse 2.6s var(--e-io) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217,179,108,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(217,179,108,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,179,108,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 16ch;
  color: var(--gold-soft);
  text-shadow: 0 2px 30px rgba(0,0,0,.85);
  /* the one place the wonky alternates are allowed out */
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 32, 'WONK' 1;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, #F0D9A0, #C9A227 55%, #EBCE8E);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-lead {
  margin-top: var(--sp-5);
  max-width: 52ch;
  font-size: clamp(1rem, .95rem + .35vw, 1.1875rem);
  color: rgba(218,211,196,.92);
  text-shadow: 0 1px 18px rgba(0,0,0,.9);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }

.hero-chips {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(217,179,108,.2);
}
.hero-chips li {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(218,211,196,.86);
}
.hero-chips .ico { color: var(--gold-soft); }

.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(180deg, rgba(0,0,0,0), var(--ink));
  pointer-events: none; z-index: 0;
}

/* ---------- 9. VALUE BAND ---------- */
.stats-band {
  position: relative; z-index: 2;
  border-block: 1px solid var(--border);
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding-block: var(--sp-7);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding-inline: var(--sp-3); position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: var(--border);
}
.stat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: var(--sp-3);
  border-radius: 50%;
  border: 1px solid rgba(217,179,108,.38);
  color: var(--gold-soft);
}
.stat-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--gold-soft);
  line-height: 1.25;
}
.stat-label {
  display: block; margin-top: var(--sp-2);
  font-size: var(--fs-xs); letter-spacing: .04em;
  color: var(--fg-muted);
}

/* ---------- 10. SERVICE CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
}
/* Repeated surfaces use a slightly more opaque fill instead of backdrop-filter:
   over the dark scrim it looks identical and costs nothing to composite. */
.card {
  position: relative;
  background: rgba(14,14,14,.80);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-io),
              background-color var(--t-base) var(--e-io);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: rgba(217,179,108,.42);
  background: rgba(14,14,14,.9);
}

.card-num {
  position: absolute; top: var(--sp-5); right: var(--sp-6);
  font-family: var(--font-display);
  font-size: 2.4rem; line-height: 1;
  color: rgba(217,179,108,.16);
  transition: color var(--t-base) var(--e-io);
  pointer-events: none;
}
.card:hover .card-num { color: rgba(217,179,108,.42); }

.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--gold-tint);
  border: 1px solid rgba(217,179,108,.24);
  color: var(--gold-soft);
  margin-bottom: var(--sp-5);
  transition: transform var(--t-base) var(--e-out);
}
.card:hover .card-ico { transform: scale(1.06) rotate(-3deg); }

.card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
  color: var(--gold-soft);
}
.card p { color: var(--fg-muted); font-size: var(--fs-sm); }

.card-list {
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--border-2);
  display: grid; gap: var(--sp-2);
}
.card-list li {
  position: relative; padding-left: 24px;
  font-size: var(--fs-sm); color: var(--fg);
}
.card-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}

/* ---------- 11. PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}
.pstep { position: relative; padding-top: var(--sp-6); }
.pstep::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--border);
}
.pstep-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217,179,108,.45);
  color: var(--gold-soft);
  font-family: var(--font-display); font-size: 1.2rem;
  margin-bottom: var(--sp-4);
}
.pstep h3 {
  font-family: var(--font-display); font-size: var(--fs-xl);
  margin-bottom: var(--sp-3); color: var(--gold-soft);
}
.pstep p { color: var(--fg-muted); font-size: var(--fs-sm); }

/* ---------- 12. ON BOARD ---------- */
/* An editorial ledger, not a row of boxes: hairline rules and air do the work. */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  column-gap: clamp(40px, 6vw, 88px);
  max-width: 940px;
  margin-inline: auto;
}
.board-item {
  display: flex; align-items: center; gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-2);
  border-top: 1px solid var(--border-2);
  font-size: var(--fs-md);
  color: var(--fg);
  transition: color var(--t-base) var(--e-io), border-color var(--t-base) var(--e-io);
}
.board-item:hover { color: var(--gold-soft); border-color: rgba(217,179,108,.45); }
.board-item .ico { color: var(--gold-soft); flex: none; }

/* ---------- 13. ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-media { position: relative; }
.portrait {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--border);
  box-shadow: var(--sh-3);
  position: relative;
}
/* direct child only — the emblem inside the placeholder must not be cropped */
.portrait > img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder is the default state; it disappears on its own as soon as an
   <img> is added to the figure, so swapping in the real photo is a one-line edit. */
.portrait-fallback {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-4);
}
/* the real photo, once added, wins over the emblem plate */
.portrait:has(> img) .portrait-fallback { display: none; }
.portrait.is-empty .portrait-fallback { display: flex; }
.portrait-logo {
  width: min(72%, 300px); height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.55));
}

.portrait-badge {
  position: absolute;
  right: clamp(-16px, -1vw, 0px); bottom: clamp(16px, 4vw, 40px);
  display: flex; align-items: center; gap: var(--sp-3);
  background: rgba(14,14,14,.9);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-3);
  max-width: 280px;
}
.portrait-badge .ico { color: var(--gold-soft); }
.portrait-badge strong { display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--fg); }
.portrait-badge span { display: block; font-size: var(--fs-xs); color: var(--fg-muted); }

.about-body .sec-lead + .sec-lead { margin-top: var(--sp-4); }

.about-quote {
  margin: var(--sp-5) 0;
  padding-left: var(--sp-5);
  border-left: 2px solid var(--gold);
}
.about-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  line-height: 1.45;
  color: var(--gold-soft);
}

.contact-cards {
  margin-top: var(--sp-6);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-3);
}
.contact-card {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: 72px;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(14,14,14,.80);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: transform var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-io);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: rgba(217,179,108,.42); }
.contact-card .ico { color: var(--gold-soft); flex: none; }
.contact-card small {
  display: block;
  font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-muted);
}
.contact-card strong {
  display: block; margin-top: 2px;
  font-size: var(--fs-md); font-weight: 600;
  color: var(--fg);
  overflow-wrap: anywhere;
}

/* ---------- 14. AREA ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.area-col {
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  background: rgba(14,14,14,.76);
  transition: border-color var(--t-base) var(--e-io), transform var(--t-base) var(--e-out);
}
.area-col:hover { border-color: rgba(217,179,108,.5); transform: translateY(-3px); }
.area-col h3 {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
  color: var(--gold-soft);
}
.area-col h3 .ico { color: var(--gold-soft); }
.area-col p { color: var(--fg-muted); font-size: var(--fs-sm); line-height: 1.9; }

.area-note {
  margin-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}

/* ---------- 15. PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.pricing-main h3, .pricing-side h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-5);
  color: var(--gold-soft);
}
.pricing-list { display: grid; gap: var(--sp-4); }
.pricing-list li {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border-2);
}
.pricing-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pl-ico {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: var(--r-sm);
  background: var(--gold-tint);
  border: 1px solid rgba(217,179,108,.22);
  color: var(--gold-soft);
}
.pricing-list strong { display: block; font-size: var(--fs-md); font-weight: 600; color: var(--fg); }
.pricing-list span { display: block; margin-top: 2px; font-size: var(--fs-sm); color: var(--fg-muted); }

.pricing-side {
  background: rgba(14,14,14,.78);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-3);
}
.promise { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.promise li {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  font-size: var(--fs-sm); color: var(--fg);
}
.promise .ico { color: var(--gold-soft); margin-top: 3px; flex: none; }
.pricing-side .btn { width: 100%; }

/* ---------- 16. BOOKING ---------- */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.direct { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
.direct-item {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4);
  background: rgba(14,14,14,.82);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: transform var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-io);
}
.direct-item:hover { transform: translateX(4px); box-shadow: var(--sh-2); border-color: rgba(217,179,108,.42); }
.direct-ico {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  border-radius: var(--r-sm);
  background: var(--gold-tint);
  border: 1px solid rgba(217,179,108,.22);
  color: var(--gold-soft);
}
.direct-wa .direct-ico { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.3); color: var(--whatsapp); }
.direct-text { display: flex; flex-direction: column; min-width: 0; }
.direct-text strong { font-size: var(--fs-sm); font-weight: 600; color: var(--fg); }
.direct-text span { font-size: var(--fs-sm); color: var(--fg-muted); overflow-wrap: anywhere; }
.direct-arrow { margin-left: auto; color: var(--fg-muted); transition: transform var(--t-base) var(--e-out); }
.direct-item:hover .direct-arrow { transform: translateX(3px); }

.form-shell {
  background: rgba(10,10,10,.86);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--sh-3);
  padding: clamp(24px, 3.5vw, 44px);
}

.steps { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.step { display: flex; align-items: center; gap: var(--sp-2); flex: 1; min-width: 0; }
.step-num {
  display: grid; place-items: center;
  width: 28px; height: 28px; flex: none;
  border-radius: 50%;
  background: var(--surface-2); color: var(--fg-muted);
  font-size: var(--fs-xs); font-weight: 600;
  transition: background-color var(--t-base) var(--e-io), color var(--t-base) var(--e-io);
}
.step-label { font-size: var(--fs-xs); color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; }
.step.is-active .step-num { background: var(--gold); color: #0A0A0A; }
.step.is-active .step-label { color: var(--gold-soft); font-weight: 600; }
.step.is-done .step-num { background: rgba(217,179,108,.24); color: var(--gold-soft); }

.progress { height: 3px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; margin-bottom: var(--sp-6); }
.progress-bar {
  display: block; height: 100%; width: 33.33%;
  background: var(--gold);
  border-radius: inherit;
  transition: width var(--t-slow) var(--e-out);
}

.panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.panel.is-active { animation: panel-in .35s var(--e-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: var(--sp-5); }
.field label {
  display: block; margin-bottom: var(--sp-2);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--fg);
}
.req { color: var(--danger); }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  font-size: var(--fs-base);      /* 16px — prevents iOS auto-zoom */
  color: var(--fg);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--e-io), box-shadow var(--t-fast) var(--e-io), background-color var(--t-fast) var(--e-io);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-dim); }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9AE78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5 12 15.5 18 9.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field select option { background: var(--surface-solid); color: var(--fg); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(217,179,108,.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(201,162,39,.24);
}
.field .hint { margin-top: 6px; font-size: var(--fs-xs); color: var(--fg-muted); }

.err { display: none; margin-top: 6px; font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }
.err::before { content: "⚠ "; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--danger);
  background: var(--danger-bg);
}
.field.has-error .err, .err.is-shown { display: block; animation: shake .3s var(--e-io); }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.checks { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.check {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--border-2); border-radius: var(--r-sm);
  font-size: var(--fs-sm); cursor: pointer; color: var(--fg);
  transition: background-color var(--t-fast) var(--e-io), border-color var(--t-fast) var(--e-io);
}
.check:hover { background: var(--surface); border-color: var(--border); }
.check input {
  width: 20px; height: 20px; flex: none; margin-top: 2px;
  accent-color: var(--gold); cursor: pointer;
}
.check-privacy { margin-bottom: var(--sp-2); }

.summary {
  margin: 0 0 var(--sp-5);
  padding: var(--sp-5);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
}
.summary dt { color: var(--fg-muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--fg); overflow-wrap: anywhere; }

.form-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.form-send { flex-direction: column; align-items: stretch; gap: var(--sp-4); }
.send-actions { display: flex; align-items: stretch; gap: var(--sp-3); }
.send-actions .btn { flex: 1 1 0; justify-content: center; }
.btn-back-send { align-self: flex-start; }
.send-hint {
  margin: var(--sp-4) 0 var(--sp-3);
  color: var(--fg-dim); font-size: var(--fs-sm); line-height: 1.6;
}
@media (max-width: 520px) {
  .send-actions { flex-direction: column; }
  .send-actions .btn { width: 100%; }
  .btn-back-send { align-self: stretch; }
}

.spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(14,14,14,.3);
  border-top-color: #0A0A0A;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .spinner { display: block; }
.btn.is-loading { pointer-events: none; opacity: .8; }

.form-status {
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  display: none;
}
.form-status.is-ok    { display: block; background: var(--success-bg); color: var(--success); border: 1px solid rgba(127,216,174,.32); }
.form-status.is-error { display: block; background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(240,138,126,.32); }
.form-status a { text-decoration: underline; font-weight: 600; }

/* ---------- 17. FAQ ---------- */
.faq-wrap { max-width: 820px; }
.accordion { display: grid; gap: var(--sp-3); }
.acc {
  background: rgba(14,14,14,.80);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--e-out), border-color var(--t-base) var(--e-io);
}
.acc[open] { box-shadow: var(--sh-2); border-color: rgba(217,179,108,.4); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5);
  min-height: 60px;
  font-size: var(--fs-md); font-weight: 600;
  color: var(--fg);
  cursor: pointer; list-style: none;
  transition: background-color var(--t-fast) var(--e-io), color var(--t-fast) var(--e-io);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--surface); color: var(--gold-soft); }
.acc[open] summary { color: var(--gold-soft); }
.acc-ico { color: var(--gold-soft); flex: none; transition: transform var(--t-base) var(--e-out); }
.acc[open] .acc-ico { transform: rotate(180deg); }
.acc-body { padding: 0 var(--sp-5) var(--sp-5); color: var(--fg-muted); font-size: var(--fs-sm); }
.acc[open] .acc-body { animation: acc-in .3s var(--e-out) both; }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 18. FINAL CTA ---------- */
.final-cta {
  position: relative;
  padding-block: clamp(80px, 11vw, 150px);
  overflow: hidden;
  isolation: isolate;
}
.final-inner { text-align: center; max-width: 700px; margin-inline: auto; }
.final-logo {
  width: 88px; height: 88px; margin: 0 auto var(--sp-5);
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.5));
}
.final-inner h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  letter-spacing: -.02em;
  color: var(--gold-soft);
  text-shadow: 0 2px 24px rgba(0,0,0,.8);
}
.final-inner p { margin-top: var(--sp-4); color: rgba(218,211,196,.9); }
.final-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }

/* ---------- 19. FOOTER ---------- */
.site-footer {
  background: #000000;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  padding-top: var(--sp-8);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem; color: var(--gold-soft);
  letter-spacing: .06em;
  margin-bottom: var(--sp-2);
}
.footer-claim { max-width: 34ch; line-height: 1.7; }
.footer-col h3 {
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600; margin-bottom: var(--sp-4);
}
.footer-col ul { display: grid; gap: var(--sp-2); }
.footer-col a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding-block: 4px;
  transition: color var(--t-fast) var(--e-io);
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  align-items: center; justify-content: space-between;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border-2);
  font-size: var(--fs-xs);
}

/* ---------- 20. FLOATING ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px;
  z-index: var(--z-float);
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #128C7E; color: #fff;
  box-shadow: 0 6px 24px rgba(18,140,126,.5);
  transition: transform var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-out);
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 10px 30px rgba(18,140,126,.6); }
.wa-float:active { transform: scale(.96); }

.to-top {
  position: fixed; right: 20px; bottom: 88px;
  z-index: var(--z-float);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(14,14,14,.9); color: var(--gold-soft);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-base) var(--e-io),
              transform var(--t-base) var(--e-out),
              visibility var(--t-base);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(217,179,108,.2); }

.callbar {
  position: fixed; inset: auto 0 0 0;
  z-index: var(--z-bar);
  display: none;
  gap: 1px;
  background: rgba(217,179,108,.24);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 28px rgba(0,0,0,.6);
  transform: translateY(110%);
  transition: transform var(--t-base) var(--e-out);
}
.callbar.is-visible { transform: none; }
.callbar-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 58px;
  font-size: var(--fs-sm); font-weight: 600;
}
.callbar-call { background: var(--gold); color: #0A0A0A; }
.callbar-wa   { background: #128C7E; color: #04140F; }
.callbar-book { background: #0A0A0A; color: var(--gold-soft); }
.callbar-btn:active { filter: brightness(.94); }

/* ---------- 21. SCROLL REVEAL ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--e-out) var(--d, 0ms),
              transform .55s var(--e-out) var(--d, 0ms);
}

/* hero copy: pure CSS so it never waits on JS */
.hero-anim { animation: hero-in .7s var(--e-out) var(--d, 0ms) both; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid, .booking-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .portrait-badge { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-5); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .icon-btn { display: flex; }
  .header-actions .lang { display: none; }
  .lang-in-nav { display: flex; justify-content: center; align-self: center; margin-top: var(--sp-5); }
  /* Inside the drawer there is room, so hit the 44 px minimum unconditionally
     rather than trusting `pointer: coarse` — hybrids report a fine pointer. */
  .lang-in-nav .lang-btn { min-height: 44px; min-width: 46px; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    /* Fully opaque: the drawer is a fixed child of the sticky header, which
       carries its own backdrop-filter — a nested blur layer there lets the
       page shine through the panel in Chrome. */
    background: #050505;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--t-base) var(--e-io),
                transform var(--t-base) var(--e-out),
                visibility var(--t-base);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: var(--sp-4) 0;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--border-2);
  }
  .nav a::after { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .header-call span { display: none; }
  .header-call { padding: 10px; width: 44px; }
  .header-inner { gap: var(--sp-3); }
  .brand-name { font-size: 1.15rem; white-space: nowrap; }
  .brand-sub { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-4); }
  .stat + .stat::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }

  .callbar { display: flex; }
  .wa-float { display: none; }
  .to-top { bottom: calc(74px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  .lang-globe { display: none; }
  .lang { padding: 3px; }
  .brand-name { font-size: 1.05rem; }

  .hero { height: 170vh; }

  /* A 25% inset leaves a thin strip on a portrait phone — open wider so the
     photograph still reads. Scale follows: window half-width is .4+.1p, so the
     picture must stay above .8+.2p; .84+.16p keeps a margin. */
  .hero-photo {
    clip-path: polygon(
      calc(10% - 10% * var(--p)) calc(20% - 20% * var(--p)),
      calc(90% + 10% * var(--p)) calc(20% - 20% * var(--p)),
      calc(90% + 10% * var(--p)) calc(80% + 20% * var(--p)),
      calc(10% - 10% * var(--p)) calc(80% + 20% * var(--p))
    );
  }
  .hero-photo img { transform: scale(calc(.84 + .16 * var(--p))); }

  .hero-title { max-width: none; }
  .hero-cta { margin-top: var(--sp-6); }
  .hero-cta .btn { width: 100%; }
  .hero-chips { gap: var(--sp-3) var(--sp-4); margin-top: var(--sp-5); padding-top: var(--sp-4); }

  /* a smaller opening window reads better on a narrow screen */
  .sec-media { --m: 30%; }

  .row { grid-template-columns: 1fr; }
  .step-label { display: none; }
  .step { flex: none; }
  .steps { justify-content: flex-start; gap: var(--sp-3); }
  .summary { grid-template-columns: 1fr; gap: var(--sp-1); }
  .summary dt { font-size: var(--fs-xs); }
  .summary dd { margin-bottom: var(--sp-3); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .stat { display: flex; align-items: center; gap: var(--sp-4); text-align: left; padding-inline: 0; }
  .stat-ico { margin-bottom: 0; }
  .stat-title { font-size: var(--fs-md); }
  .card-num { font-size: 1.9rem; top: var(--sp-4); right: var(--sp-5); }
  .final-actions .btn { width: 100%; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; padding-block: calc(var(--header-h) + 32px) var(--sp-7); }
  .hero-photo { clip-path: none; }
  .hero-chips { display: none; }
  /* there is no scroll runway here, so --p never advances past 0 */
  .js .hero-inner { opacity: 1; transform: none; }
  .site-header.is-veiled { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- 23. ACCESSIBILITY / MOTION ---------- */
@media (pointer: coarse) {
  .lang-btn { min-height: 44px; min-width: 44px; }
  .check input { width: 22px; height: 22px; }
  .acc summary { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-glow { display: none; }
  /* show the photography plainly rather than animating it open */
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; min-height: 100svh; }
  .hero-photo { clip-path: none; }
  .hero-photo img { transform: none; }
  .js .hero-inner { opacity: 1; transform: none; }
  .sec-media { clip-path: none; opacity: 1; transform: none; }
  .btn:hover, .card:hover, .board-item:hover, .area-col:hover, .direct-item:hover, .contact-card:hover { transform: none; }
}

@media (prefers-contrast: more) {
  :root { --fg-muted: #E2CDA0; --border-2: rgba(218,211,196,.28); }
  .sec-scrim { background: rgba(0,0,0,.85); }
}

/* ---------- 24. PRINT ---------- */
@media print {
  #asmr, .site-header, .callbar, .wa-float, .to-top, .sec-media, .hero-photo, .hero-bg, .form-shell { display: none !important; }
  body, .hero, .final-cta { background: #fff !important; color: #000 !important; }
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; }
  .sec-title, .hero-title, .card h3, .final-inner h2, .kicker { color: #000 !important; }
  .js .reveal, .hero-anim, .js .hero-inner { opacity: 1 !important; transform: none !important; animation: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
}
