/* ════════════════════════════════════════════════════════════
   Zana Agani — Dental Studio · Hero
   Scroll photo-journey through the clinic with timed captions.
   Palette pulled from the interiors: microcement greige, white oak,
   warm marble, deep ink. Warm & light — never the dark default.
   ════════════════════════════════════════════════════════════ */

:root {
  /* Monochrome — black & white branding, light base. Photos stay in color. */
  --cream:        #f5f5f4;   /* near-white page background (loader / after-hero) */
  --cream-soft:   #ffffff;
  --sand:         #e6e6e6;
  --oak:          #d8d8d6;   /* light silver — on-photo accent (eyebrows / em) */
  --ink:          #141414;
  --ink-soft:     #3a3a3a;
  --muted:        #8a8a8a;
  --accent:       #6f6f6f;   /* mid grey for thin lines / light-bg accents */
  --accent-deep:  #2b2b2b;

  --ff-sans:      'Outfit', system-ui, -apple-system, sans-serif;
  --ff-display:   'Cormorant Garamond', 'Times New Roman', serif;

  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* While the loader is up, lock scroll */
html.is-loading,
html.is-loading body {
  overflow: hidden;
  height: 100%;
}

img { display: block; max-width: 100%; }

/* ── ZA logo (real mark, transparent PNG) ────────────────── */
/* On the light loader it sits as-is (near-black). Over the photos
   it's flipped to white via brightness(0) invert(1) + shadow. */
.loader__logo {
  width: clamp(150px, 22vmin, 230px);
  height: auto;
  user-select: none;
  pointer-events: none;
}
.hero__welcome-logo {
  width: clamp(220px, 30vmin, 380px);
  height: auto;
  filter: brightness(0) invert(1)
          drop-shadow(0 22px 60px rgba(0,0,0,0.55))
          drop-shadow(0 2px 12px rgba(0,0,0,0.35));
  user-select: none;
  pointer-events: none;
  animation: welcomeRise 1.2s var(--ease-out) 0s both;
}
.hero__brand-logo {
  width: clamp(54px, 7vmin, 84px);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}

/* ═══════════════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  overflow: hidden;
}

.loader__halo {
  position: absolute;
  width: 90vmin;
  height: 90vmin;
  border-radius: 50%;
  background: radial-gradient(circle at center,
              rgba(228, 228, 228, 0.95) 0%,
              rgba(228, 228, 228, 0.5)  38%,
              rgba(228, 228, 228, 0)    70%);
  filter: blur(8px);
  animation: haloFloat 6s ease-in-out infinite alternate;
}

@keyframes haloFloat {
  0%   { transform: scale(1)    translateY(0); }
  100% { transform: scale(1.04) translateY(-1%); }
}

.loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  animation: loaderRise 1.1s var(--ease-out) 0.05s both;
}

@keyframes loaderRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loader__sub {
  font-family: var(--ff-sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.42em;
}

.loader__bar {
  width: 180px;
  height: 1px;
  background: rgba(28, 24, 21, 0.12);
  overflow: hidden;
  margin-top: 0.4rem;
}

.loader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width 220ms ease-out;
  will-change: width;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--ink);
  overflow: hidden;
}

/* ── Photo layers ────────────────────────────────────────── */
.hero__photos {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
  transform: scale(1.02);
  backface-visibility: hidden;
}

/* ── Scrim — directional + edge darkening so white text reads
      over the bright clinic photos. Center stays bright. ───── */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.50) 0%,
      rgba(0, 0, 0, 0.14) 22%,
      rgba(0, 0, 0, 0.00) 45%,
      rgba(0, 0, 0, 0.00) 55%,
      rgba(0, 0, 0, 0.14) 78%,
      rgba(0, 0, 0, 0.50) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.24) 0%,
      rgba(0, 0, 0, 0.00) 24%,
      rgba(0, 0, 0, 0.00) 72%,
      rgba(0, 0, 0, 0.38) 100%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
              rgba(0, 0, 0, 0) 48%,
              rgba(0, 0, 0, 0.34) 100%);
}

.hero__bottom-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 9vh;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg,
              rgba(245, 245, 244, 0) 0%,
              rgba(245, 245, 244, 0.35) 65%,
              var(--cream) 100%);
}

/* ── Welcome moment ──────────────────────────────────────── */
.hero__welcome {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero__welcome::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center,
              rgba(0, 0, 0, 0.5) 0%,
              rgba(0, 0, 0, 0.3) 38%,
              rgba(0, 0, 0, 0)   70%);
  z-index: -1;
}

.hero__welcome-eyebrow {
  font-family: var(--ff-sans);
  font-size: clamp(0.7rem, 0.85vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 1.6rem;
  padding-left: 0.6em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.6);
  animation: welcomeFadeIn 1.0s var(--ease-out) 0.2s both;
}

.hero__welcome-name {
  font-family: var(--ff-sans);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 1rem;
  padding-left: 0.55em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.7);
  animation: welcomeFadeIn 1.0s var(--ease-out) 0.35s both;
}

.hero__welcome-tag {
  margin-top: 2.4rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.6);
  animation: welcomeFadeIn 1.0s var(--ease-out) 0.55s both;
}

@keyframes welcomeRise {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
@keyframes welcomeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Floating brand mark, top-left ───────────────────────── */
.hero__brand {
  position: absolute;
  top: 1.4rem;
  left: 1.9rem;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}


/* ── Skip walkthrough ────────────────────────────────────── */
.hero__skip {
  position: absolute;
  bottom: 2rem;
  right: 1.75rem;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem 0.55rem 1rem;
  background: rgba(20, 14, 10, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
  animation: welcomeFadeIn 1.0s var(--ease-out) 0.8s both;
}

.hero__skip:hover {
  background: rgba(20, 14, 10, 0.5);
  border-color: var(--oak);
  color: var(--oak);
  transform: translateY(-1px);
}
.hero__skip:active { transform: translateY(0) scale(0.98); }
.hero__skip:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

.hero__skip-arrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0;
  transition: transform 0.35s var(--ease-out);
}
.hero__skip:hover .hero__skip-arrow { transform: translateX(3px); }

@media (max-width: 768px) {
  .hero__skip {
    bottom: 1.25rem; right: 1.1rem;
    padding: 0.45rem 0.75rem 0.45rem 0.85rem;
    font-size: 0.55rem; letter-spacing: 0.28em; gap: 0.45rem;
  }
  .hero__skip-arrow { font-size: 0.75rem; }
}

/* ── Scroll hint ─────────────────────────────────────────── */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  pointer-events: none;
}

.hero__scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding-left: 0.45em;
}

.hero__scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg,
              rgba(255, 255, 255, 0.72) 0%,
              rgba(255, 255, 255, 0) 100%);
  animation: scrollHint 2.4s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50%      { transform: scaleY(1);    opacity: 1;   }
}

/* ── Timed captions ──────────────────────────────────────── */
.hero__caption {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: clamp(280px, 38vw, 560px);
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero__caption[data-align="left"]  { left: 6vw;  transform-origin: left center; }
.hero__caption[data-align="right"] { right: 6vw; text-align: right; transform-origin: right center; }

.hero__caption-eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 1.1rem;
  padding-left: 0.4em;
  position: relative;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero__caption[data-align="left"] .hero__caption-eyebrow::before,
.hero__caption[data-align="right"] .hero__caption-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--oak);
  opacity: 0.6;
}

.hero__caption[data-align="left"]  .hero__caption-eyebrow::before { right: 100%; margin-right: 12px; }
.hero__caption[data-align="right"] .hero__caption-eyebrow::after  { left:  100%; margin-left:  12px; }

.hero__caption-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.5);
}

.hero__caption-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--oak);
}

.hero__caption-sub {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 40ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.hero__caption[data-align="right"] .hero__caption-sub { margin-left: auto; }

/* ── Final brand card ────────────────────────────────────── */
.hero__final {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero__final-eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 1.4rem;
  padding-left: 0.5em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero__final-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero__final-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--oak);
}

.hero__final-sub {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  max-width: 38ch;
  text-shadow: 0 1px 18px rgba(0,0,0,0.5);
}

.hero__final-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  pointer-events: auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --pad-y: 0.95rem;
  --pad-x: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
  will-change: transform;
}

.btn--solid { background: #fff; color: var(--ink); }
.btn--solid:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }
.btn--solid:active { transform: scale(0.98); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-1px); }
.btn--ghost:active { transform: scale(0.98); }

/* ═══════════════════════════════════════════════════════════
   AFTER-HERO sentinel
   ═══════════════════════════════════════════════════════════ */
.after-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 6rem 2rem;
}

.after-hero__inner { text-align: center; max-width: 640px; }

.after-hero__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-left: 0.45em;
}

.after-hero__text {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero__brand      { top: 1.1rem; left: 1.2rem; }

  .hero__caption {
    top: auto;
    bottom: 20vh;
    width: calc(100% - 2.4rem);
    left: 1.2rem !important;
    right: 1.2rem !important;
    text-align: left !important;
  }
  .hero__caption[data-align="right"] .hero__caption-sub { margin-left: 0; }
  .hero__caption[data-align="right"] .hero__caption-eyebrow::after { display: none; }
  .hero__caption[data-align="left"]  .hero__caption-eyebrow::before { display: none; }
  .hero__caption-eyebrow { padding-left: 0; }
  .hero__caption-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero__caption-sub   { font-size: 0.85rem; max-width: 34ch; }

  .hero__final       { padding: 0 1.4rem; }
  .hero__final-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero__final-sub   { font-size: 0.9rem; }
  .btn               { --pad-y: 0.8rem; --pad-x: 1.4rem; font-size: 0.65rem; }
  .hero__scroll-hint { bottom: 1.4rem; }

  .hero__welcome-eyebrow { font-size: 0.65rem; letter-spacing: 0.5em; margin-bottom: 1.2rem; }
  .hero__welcome-logo    { width: clamp(200px, 58vw, 300px); }
  .hero__welcome-name    { font-size: 0.7rem; letter-spacing: 0.45em; margin-top: 0.7rem; }
  .hero__welcome-tag     { margin-top: 1.6rem; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .loader__halo,
  .hero__scroll-line { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   ▓▓▓  SITE  —  everything below the hero  ▓▓▓
   Black-&-white editorial system that extends the hero's own
   visual grammar (Cormorant titles, Outfit eyebrows, hairline
   rules). Photos stay in colour; UI stays monochrome.
   ════════════════════════════════════════════════════════════ */

:root {
  --line:        rgba(20, 20, 20, 0.10);
  --line-strong: rgba(20, 20, 20, 0.18);
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.08);
  --ink-em:      #5f5f5f;               /* italic accent on light bg */
  --maxw:        1280px;
  --gutter:      clamp(1.25rem, 5vw, 4rem);
  --pad-section: clamp(5rem, 10vw, 9rem);
  --nav-h:       86px;
}

body { background: var(--cream); }

a { color: inherit; }
::selection { background: var(--ink); color: var(--cream); }

/* ── Layout primitives ──────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--pad-section); }
.section--white { background: var(--cream-soft); }
.section--cream { background: var(--cream); }
.section--ink   { background: var(--ink); color: #fff; }

/* ── Section header (mirrors hero caption grammar) ──────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--ff-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  padding-left: 0.42em;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.section--ink .eyebrow { color: var(--oak); }
.section--ink .eyebrow::before { background: var(--oak); }

.sec-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

.sec-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 1.4rem;
}
.section--ink .sec-title { color: #fff; }
.sec-title em { font-style: italic; font-weight: 300; color: var(--ink-em); }
.section--ink .sec-title em { color: var(--oak); }

.sec-sub {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 1.5rem;
}
.section--ink .sec-sub { color: rgba(255, 255, 255, 0.82); }

/* ── Light-background button variants (extend hero .btn) ────── */
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #000; transform: translateY(-1px); }
.btn--ink:active { transform: scale(0.98); }

.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--line:active { transform: scale(0.98); }

.btn--sm { --pad-y: 0.7rem; --pad-x: 1.25rem; font-size: 0.62rem; letter-spacing: 0.24em; }

/* Text link with animated rule */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.link-more .link-more__arrow { transition: transform 0.4s var(--ease-out); }
.link-more:hover .link-more__arrow { transform: translateX(5px); }

/* ── Scroll-reveal utility (toggled by IntersectionObserver) ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal--left  { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal.is-in  { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ════════════════════════════════════════════════════════════
   NAV — hidden over the hero, fades to a solid cream bar after it
   ════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(245, 245, 244, 0.82);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}
.nav.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
/* Inner pages: solid from the top */
.page-inner .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav__logo img { height: 62px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-left: auto;
  list-style: none;
}
.nav__links a {
  position: relative;
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1.1rem; }

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.lang__btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.38rem 0.62rem;
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.lang__btn.is-active { background: var(--ink); color: var(--cream); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 6vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__top img { height: 52px; }
.mobile-menu__close {
  appearance: none; background: transparent; border: 0;
  font-size: 1.8rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.mobile-menu__links {
  list-style: none;
  margin-top: auto; margin-bottom: auto;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.mobile-menu__links a {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-menu__links a em { font-style: italic; color: var(--ink-em); }
.mobile-menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* ════════════════════════════════════════════════════════════
   SUB-HERO (inner page banner)
   ════════════════════════════════════════════════════════════ */
.subhero {
  position: relative;
  min-height: 56vh;
  min-height: 56dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  background: var(--ink);
}
.subhero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.04);
}
.subhero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.62) 100%);
}
.subhero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; }
.subhero .eyebrow { color: var(--oak); }
.subhero .eyebrow::before { background: var(--oak); }
.subhero__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1;
  color: #fff;
  margin-top: 1.2rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.subhero__title em { font-style: italic; font-weight: 300; color: var(--oak); }
.subhero__sub {
  margin-top: 1.4rem;
  max-width: 52ch;
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 18px rgba(0,0,0,0.5);
}

/* ════════════════════════════════════════════════════════════
   INTRO / PHILOSOPHY  — asymmetric editorial band
   ════════════════════════════════════════════════════════════ */
.intro__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.intro__statement {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.intro__statement em { font-style: italic; color: var(--ink-em); }
.intro__aside { padding-top: 0.6rem; }
.intro__aside p {
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.intro__aside p + p { margin-top: 1.1rem; }
.intro__sign {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.intro__sign-name {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}
.intro__sign-role {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   KINETIC MARQUEE  — service keywords as a quiet divider band
   ════════════════════════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(0.9rem, 1.8vw, 1.5rem);
  background: var(--cream);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeMove 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  color: var(--ink-em);
  padding-inline: clamp(1.4rem, 3vw, 2.6rem);
}
.marquee__item::after { content: "—"; color: var(--oak); margin-left: clamp(1.4rem, 3vw, 2.6rem); }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ════════════════════════════════════════════════════════════
   SERVICES  — editorial alternating list (no card grid)
   ════════════════════════════════════════════════════════════ */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.7rem, 3.4vw, 2.7rem) clamp(0.5rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.45s var(--ease-out), padding-left 0.45s var(--ease-out);
}
.svc-row:hover { background: var(--cream-soft); padding-left: clamp(1rem, 2.6vw, 2.2rem); }
.svc-row__num {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  align-self: start;
  padding-top: 0.4rem;
}
.svc-row__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: var(--ink);
  transition: color 0.4s var(--ease-out);
}
.svc-row:hover .svc-row__title { color: var(--ink-em); }
.svc-row__desc {
  margin-top: 0.55rem;
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}
.svc-row__arrow {
  font-size: 1.4rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.svc-row:hover .svc-row__arrow { opacity: 1; transform: translateX(0); color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   STATS  — count-up strip on ink
   ════════════════════════════════════════════════════════════ */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stat { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid rgba(255, 255, 255, 0.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__num .stat__suffix { color: var(--oak); }
.stat__label {
  margin-top: 0.9rem;
  font-family: var(--ff-sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* ════════════════════════════════════════════════════════════
   APPROACH  — sticky header + numbered list
   ════════════════════════════════════════════════════════════ */
.approach__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.approach__head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.approach__items { border-top: 1px solid var(--line); }
.approach__item {
  display: grid;
  grid-template-columns: minmax(64px, auto) 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-block: clamp(1.8rem, 3.6vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.approach__num {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--ink-em);
}
.approach__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: var(--ink);
}
.approach__desc {
  margin-top: 0.5rem;
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ════════════════════════════════════════════════════════════
   GALLERY  — asymmetric mosaic of the real clinic photos
   ════════════════════════════════════════════════════════════ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 14vw, 200px);
  gap: clamp(0.5rem, 1vw, 0.9rem);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.28) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute;
  left: 1rem; bottom: 0.85rem;
  z-index: 2;
  font-family: var(--ff-sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }
.gallery__item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-column: span 3; }
.gallery__item:nth-child(3) { grid-column: span 3; }
.gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item:nth-child(7) { grid-column: span 2; }
.gallery__item:nth-child(8) { grid-column: span 2; }

/* ════════════════════════════════════════════════════════════
   ABOUT  — portrait placeholder + bio + credentials
   ════════════════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.about__portrait { position: relative; }
.about__portrait::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--line-strong);
  z-index: 0;
}
/* On-brand portrait placeholder (drop a real <img> in to replace) */
.portrait-ph {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 90% at 30% 20%, #efefee 0%, #e2e2e1 60%, #d6d6d4 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-ph img { width: 46%; opacity: 0.16; filter: grayscale(1); }
.portrait-ph__label {
  position: absolute;
  left: 0; right: 0; bottom: 1.3rem;
  text-align: center;
  font-family: var(--ff-sans);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__bio { font-weight: 300; font-size: 1.04rem; line-height: 1.78; color: var(--ink-soft); }
.about__bio + .about__bio { margin-top: 1.1rem; }
.creds { list-style: none; margin-top: 2rem; display: grid; gap: 0.9rem; }
.creds li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  font-size: 0.96rem; color: var(--ink); line-height: 1.5;
}
.creds__mark {
  flex-shrink: 0;
  width: 7px; height: 7px;
  margin-top: 0.5rem;
  background: var(--ink);
  transform: rotate(45deg);
}

/* ════════════════════════════════════════════════════════════
   BEFORE & AFTER  — placeholder comparison frames
   ════════════════════════════════════════════════════════════ */
.ba__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.ba__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sand);
}
.ba__half {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.ba__half--before { background: linear-gradient(160deg, #e4e4e3, #d4d4d2); }
.ba__half--after  { background: linear-gradient(160deg, #f3f3f2, #e6e6e5); }
.ba__half span {
  font-family: var(--ff-sans);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.ba__item::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
  z-index: 2;
}
.ba__item::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--cream-soft);
  z-index: 3;
}
.ba__note {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS  — featured quote + offset supporting quotes
   ════════════════════════════════════════════════════════════ */
.testi__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.testi__mark {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--oak);
}
.testi__feature blockquote {
  font-family: var(--ff-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  line-height: 1.32;
  color: var(--ink);
  margin-top: 1.4rem;
}
.testi__author { margin-top: 1.8rem; }
.testi__author strong {
  display: block;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.testi__author span {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.testi__list { display: grid; }
.testi__mini { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.testi__mini:last-child { border-bottom: 1px solid var(--line); }
.testi__mini p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.testi__mini cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   FAQ  — accordion (grid-rows 0fr→1fr)
   ════════════════════════════════════════════════════════════ */
.faq__list { max-width: 900px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: clamp(1.2rem, 2.5vw, 1.7rem);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink);
  transition: color 0.3s var(--ease-out);
}
.faq__q:hover { color: var(--ink-em); }
.faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__icon span {
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out);
}
.faq__icon span:last-child { transform: rotate(90deg); }
.faq__item.is-open .faq__icon span:last-child { transform: rotate(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding-bottom: 1.5rem;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 72ch;
}

/* ════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════ */
.cta-band { text-align: center; }
.cta-band .sec-title { margin-top: 1.2rem; }
.cta-band__actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   LOCATION & MAP  (greyscale map = on-brand)
   ════════════════════════════════════════════════════════════ */
.loc__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.loc__map {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.loc__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.04);
}
.loc__details { display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.loc__row {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.loc__row:last-child { border-bottom: 0; padding-bottom: 0; }
.loc__icon {
  flex-shrink: 0; width: 22px; height: 22px;
  color: var(--ink-em); margin-top: 0.15rem;
}
.loc__icon svg { width: 100%; height: 100%; }
.loc__row strong {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.loc__row p, .loc__row a { font-size: 1rem; color: var(--ink); line-height: 1.5; text-decoration: none; }
.loc__row a:hover { color: var(--ink-em); }

/* ════════════════════════════════════════════════════════════
   CONTACT / BOOKING FORM
   ════════════════════════════════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__aside p { margin-top: 1.5rem; font-weight: 300; font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.contact__quick { margin-top: 2rem; display: grid; gap: 1rem; }
.contact__quick a {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.98rem; color: var(--ink); text-decoration: none;
}
.contact__quick a span { color: var(--muted); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; }

.form { display: grid; gap: 1.1rem; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  font-family: var(--ff-sans);
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #b3b3b1; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 0.4rem; }
.form__status {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  line-height: 1.5;
  min-height: 1.2em;
  color: var(--ink-soft);
}
.form__status[data-state="success"] { color: var(--ink); }
.form__status[data-state="error"]   { color: #9a2b2b; }
.form__status[data-state="pending"] { color: var(--muted); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.66); }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.footer__brand img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__brand p { margin-top: 1.3rem; max-width: 34ch; font-size: 0.92rem; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }
.footer__socials { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.footer__social {
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.footer__social svg { width: 17px; height: 17px; }
.footer__social:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.footer__col h4 {
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.2rem;
}
.footer__col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer__col a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.58); text-decoration: none; transition: color 0.3s var(--ease-out); }
.footer__col a:hover { color: #fff; }
.footer__col li.is-text { font-size: 0.92rem; color: rgba(255, 255, 255, 0.58); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.76rem; color: rgba(255, 255, 255, 0.45);
}
.footer__bottom a { text-decoration: none; color: inherit; }
.footer__bottom a:hover { color: rgba(255, 255, 255, 0.8); }

/* ════════════════════════════════════════════════════════════
   FLOATING  — WhatsApp, back-to-top, cookie banner
   ════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 850;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); background: #1da851; }

.to-top {
  position: fixed;
  right: 1.4rem; bottom: calc(1.4rem + 54px + 0.7rem);
  z-index: 850;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.35s var(--ease-out), background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.to-top svg { width: 16px; height: 16px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.cookie {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  z-index: 1100;
  width: min(92vw, 640px);
  background: var(--cream-soft);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1.4rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.cookie.is-in { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cookie p { flex: 1 1 230px; font-size: 0.85rem; line-height: 1.55; color: var(--ink-soft); }
.cookie__actions { display: flex; gap: 0.6rem; }

/* ── WhatsApp chat popup (sits above the float, monochrome) ── */
.wa-popup {
  position: fixed;
  right: 1.4rem;
  bottom: 9.5rem;
  width: 300px;
  z-index: 860;
  background: var(--cream-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.wa-popup.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-popup__close {
  position: absolute;
  top: 0.55rem; right: 0.7rem;
  z-index: 2;
  background: none; border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem; line-height: 1;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
.wa-popup__close:hover { color: #fff; }
.wa-popup__header { background: #075E54; padding: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.wa-popup__avatar {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.wa-popup__avatar svg { width: 22px; height: 22px; }
.wa-popup__info { display: flex; flex-direction: column; gap: 0.18rem; }
.wa-popup__info strong { font-family: var(--ff-sans); font-size: 0.85rem; font-weight: 600; color: #fff; }
.wa-popup__status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; color: rgba(255, 255, 255, 0.7); }
.wa-popup__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25D366; }
.wa-popup__message { padding: 1rem; background: #ECE5DD; }
.wa-popup__bubble {
  max-width: 92%;
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 0.75rem 1rem;
  font-size: 0.86rem; line-height: 1.5;
  color: var(--ink-soft);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.wa-popup__cta {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: #25D366;
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease-out);
}
.wa-popup__cta svg { width: 16px; height: 16px; }
.wa-popup__cta:hover { background: #1da851; color: #fff; }
@media (max-width: 480px) { .wa-popup { width: calc(100vw - 2.8rem); } }
@media (max-width: 768px) { .wa-popup { display: none !important; } }

/* ════════════════════════════════════════════════════════════
   SITE RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .intro__grid,
  .approach__grid,
  .about__grid,
  .testi__grid,
  .contact__grid,
  .loc__grid { grid-template-columns: 1fr; }
  .approach__head { position: static; }
  .about__portrait { max-width: 460px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__actions .lang,
  .nav__actions .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__actions { margin-left: auto; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 22vw, 180px); }
}

@media (max-width: 760px) {
  .svc-row { grid-template-columns: auto 1fr; }
  .svc-row__arrow { display: none; }
  .svc-row:hover { padding-left: clamp(0.5rem, 2vw, 1.6rem); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .testi__mark { font-size: 4rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(1) { grid-column: span 2; }
  .gallery__item:nth-child(5) { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cookie { left: 1rem; right: 1rem; width: auto; transform: translateX(0) translateY(20px); }
  .cookie.is-in { transform: translateX(0) translateY(0); }
}

@media (max-width: 460px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
  .ba__grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   INNER-PAGE COMPONENTS  (about / services)
   ════════════════════════════════════════════════════════════ */
/* Values — 2×2 editorial grid, hairline dividers, no cards */
.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.value__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--ink);
}
.value__desc {
  margin-top: 0.6rem;
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* Service detail rows — alternating media / text */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}
.svc-detail:nth-child(even) .svc-detail__media { order: -1; }
.svc-detail__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.svc-detail__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.svc-detail:hover .svc-detail__media img { transform: scale(1.04); }
.svc-detail__num {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.svc-detail__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  color: var(--ink);
  margin-top: 0.8rem;
}
.svc-detail__long {
  margin-top: 1.1rem;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}
.svc-meta { margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.svc-meta__item { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.svc-meta__item strong {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.svc-meta__item p { font-weight: 300; font-size: 0.96rem; line-height: 1.6; color: var(--ink); }
.svc-free {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-family: var(--ff-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-em);
}
.svc-free::before { content: ""; width: 7px; height: 7px; background: var(--ink-em); transform: rotate(45deg); }

@media (max-width: 860px) {
  .values__grid { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; gap: clamp(1.5rem, 5vw, 2.5rem); }
  .svc-detail:nth-child(even) .svc-detail__media { order: 0; }
}
