/* =================================================================
   Ortho Farshad — Ever Smile
   Refined luxury medical · Dark theme
   Mobile-first · vanilla CSS
   ================================================================= */

:root {
  /* Surfaces */
  --bg:        #0E0F12;
  --bg-2:      #14161B;
  --surface:   #181B21;
  --surface-2: #1F232B;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  /* Text */
  --ink:       #F4F1EB;   /* porcelain */
  --ink-soft:  #C7C3BB;
  --ink-mut:   #8E8A82;

  /* Accent — muted gold */
  --gold:      #C9A86A;
  --gold-2:    #E0C488;
  --gold-deep: #A8854A;
  --gold-glow: rgba(201, 168, 106, 0.28);

  /* Whisper of eucalyptus (health hint, used sparingly) */
  --sage:      #8FB7A6;

  /* Radii / shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow:    0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.85);

  /* Layout */
  --maxw: 1200px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 240ms;

  /* z-index scale */
  --z-nav: 50;
  --z-fab: 60;
  --z-top: 80;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip; /* hard guard against horizontal scroll / shrink-to-fit; clip keeps position:sticky working */
}

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, iframe, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed; left: 50%; top: 0; transform: translate(-50%, -130%);
  background: var(--gold); color: #1a1206; padding: .6rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: var(--z-top); transition: transform var(--dur) var(--ease); font-weight: 600;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.section__title {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 700; line-height: 1.08; letter-spacing: -0.018em;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  color: var(--ink);
  text-wrap: balance;
}
.section__lead {
  color: var(--ink-soft); max-width: 56ch; margin-top: 1rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

/* ---------- Buttons ---------- */
.btn {
  --b-pad-y: .82rem; --b-pad-x: 1.45rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--b-pad-y) var(--b-pad-x); border-radius: 999px;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  cursor: pointer; white-space: normal; text-align: center; max-width: 100%; position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  min-height: 48px;
}
.btn--lg { --b-pad-y: 1rem; --b-pad-x: 1.85rem; font-size: 1.02rem; min-height: 54px; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 28%, var(--gold-2) 43%, #FFF1CE 50%, var(--gold-2) 57%, var(--gold) 72%, var(--gold-deep) 100%);
  background-size: 220% 100%;
  animation: goldFlow 6.5s linear infinite;   /* continuous "liquid gold" glint */
  color: #1a1206; font-weight: 700; overflow: hidden;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .3);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .78),       /* crisp dome top highlight */
    inset 0 -9px 14px rgba(110, 66, 14, .5),         /* dome curvature / bottom shade */
    0 6px 0 var(--gold-deep),                        /* 3D side — the button's thickness */
    0 9px 0 #6f521c,                                 /* darker base of the thickness */
    0 16px 22px -6px rgba(0, 0, 0, .55),             /* drop shadow under the raised button */
    0 18px 40px -12px var(--gold-glow);              /* gold glow */
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
/* light sweep across the button on hover */
.btn--gold::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .45) 50%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .6s var(--ease);
}
.btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05) saturate(1.04);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .82),
    inset 0 -9px 14px rgba(110, 66, 14, .5),
    0 7px 0 var(--gold-deep),                        /* taller side on lift */
    0 11px 0 #6f521c,
    0 24px 30px -6px rgba(0, 0, 0, .55),
    0 28px 52px -12px var(--gold-glow);
}
.btn--gold:hover::before { transform: translateX(130%); }
.btn--gold:active {
  transform: translateY(8px);                        /* presses DOWN onto its base */
  filter: brightness(.99);
  color: #1bff8c;                                    /* label glows green on press */
  text-shadow: 0 0 7px rgba(34, 255, 140, .9), 0 0 18px rgba(34, 255, 140, .55);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, .5),
    inset 0 -4px 9px rgba(110, 66, 14, .55),
    0 0 0 var(--gold-deep),                          /* thickness collapses — fully pressed */
    0 1px 0 #6f521c,
    0 3px 7px rgba(0, 0, 0, .5);
  transition-duration: .07s;
}

/* Secondary buttons — Apple-style frosted glass */
.btn--ghost {
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  color: var(--ink); border: 1px solid rgba(255,255,255,.2);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),       /* specular top rim */
    inset 0 -8px 18px rgba(255,255,255,.04),     /* soft inner glow */
    0 10px 28px -12px rgba(0,0,0,.6);            /* float shadow */
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border-color: rgba(224,196,136,.5); color: var(--gold-2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -8px 18px rgba(255,255,255,.06),
    0 16px 36px -12px rgba(0,0,0,.6),
    0 0 24px -8px var(--gold-glow);              /* gold halo on hover */
}
.btn--ghost:active {
  transform: translateY(1px) scale(.99);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: inset 0 2px 8px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.25);
  transition-duration: .08s;
}

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  transition: background-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 15, 18, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }

.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: 'Spectral', serif; font-weight: 600; font-size: 1.25rem; color: #1a1206;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 6px 18px -6px var(--gold-glow); flex: none;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name { font-family: 'Spectral', serif; font-size: 1.1rem; font-weight: 600; }
.nav__sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mut); }

.nav__links { display: none; gap: 1.6rem; }
.nav__links a {
  font-size: .92rem; color: var(--ink-soft); position: relative; padding: .3rem 0;
  transition: color var(--dur) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: .6rem; }
.nav__cta { display: none; }

.lang { display: flex; gap: 2px; background: rgba(255,255,255,.05); padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.lang__btn {
  font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-mut);
  padding: .35rem .6rem; border-radius: 999px; min-width: 38px;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { background: var(--gold); color: #1a1206; }

.nav__burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; border-radius: 12px; padding: 0 11px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
}
.nav__burger span { height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(14, 15, 18, 0.97); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: .5rem var(--pad) 1.5rem;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .nav__links.is-open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
}
@media (min-width: 901px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding-top: clamp(7rem, 16vw, 10rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero__glow {
  position: absolute; top: -10%; right: -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, var(--gold-glow), transparent 62%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 901px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }

.hero__title {
  font-family: 'Spectral', serif; font-weight: 700; letter-spacing: -0.024em;
  font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1.02; margin-top: .3rem;
  text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 30%, #D9D3C8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle { color: var(--ink-soft); font-size: clamp(1.05rem, 2.5vw, 1.25rem); max-width: 48ch; margin-top: 1.3rem; }

.hero__trust { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2rem); margin-top: 2rem; flex-wrap: wrap; }
.trust { display: flex; flex-direction: column; }
.trust__num { font-family: 'Spectral', serif; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; color: var(--gold-2); line-height: 1; }
.trust__label { font-size: .85rem; color: var(--ink-mut); letter-spacing: .04em; margin-top: .35rem; text-transform: uppercase; }
.trust__divider { width: 1px; height: 44px; background: var(--line-2); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__location { display: flex; align-items: center; justify-content: flex-start; gap: .35rem; margin-top: 1rem; font-size: .875rem; color: var(--ink-mut); }

.hero__media { position: relative; justify-self: center; max-width: 460px; width: 100%; }
.hero__photo-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  background: var(--surface); aspect-ratio: 4 / 5;
}
.hero__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,15,18,.55));
}
.hero__badge {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: rgba(20, 22, 27, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: var(--r); padding: .75rem 1.1rem;
  display: flex; flex-direction: column;
}
.hero__badge-name { font-family: 'Spectral', serif; font-weight: 600; font-size: 1.05rem; }
.hero__badge-role { font-size: .78rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }

/* =================================================================
   SECTION SHELL
   ================================================================= */
.section { padding-block: var(--section-y); position: relative; }
.section__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.section__cta { margin-top: clamp(2.5rem, 6vw, 3.5rem); text-align: center; }
.section__note { margin-top: 1rem; color: var(--ink-mut); font-size: .9rem; max-width: 50ch; margin-inline: auto; }

/* Alternating surface */
.process, .cases, .reviews { background: var(--bg-2); }
.process { border-block: 1px solid var(--line); }
.cases { border-block: 1px solid var(--line); }

/* =================================================================
   PROCESS STEPS
   ================================================================= */
.steps { display: grid; gap: 1.2rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 620px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.8rem 1.5rem; overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--surface-2); }
.step__num { position: absolute; top: 1rem; right: 1.2rem; font-family: 'Spectral', serif; font-size: 2.6rem; color: rgba(255,255,255,.06); font-weight: 600; }
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(201,168,106,.12); border: 1px solid rgba(201,168,106,.25); color: var(--gold-2); margin-bottom: 1.2rem; }
.step__icon svg { width: 26px; height: 26px; }
.step__title { font-family: 'Spectral', serif; font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.step__text { color: var(--ink-soft); font-size: .95rem; }

/* =================================================================
   SERVICES CARDS
   ================================================================= */
.cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.card--featured { border-color: rgba(201,168,106,.5); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.card__tag {
  position: absolute; top: -11px; left: 1.5rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #1a1206; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  padding: .3rem .7rem; border-radius: 999px;
}
.card__title { font-family: 'Spectral', serif; font-size: 1.4rem; font-weight: 600; }
.card__desc { color: var(--ink-soft); font-size: .92rem; flex-grow: 1; }
.card__price { font-size: 1rem; color: var(--ink-mut); padding-top: .6rem; border-top: 1px solid var(--line); margin-top: .4rem; }
.card__price strong { color: var(--gold-2); font-size: 1.15rem; font-family: 'Spectral', serif; }

/* Sale price: struck anchor (old) above, discounted price big in gold */
.card__price--sale { display: flex; flex-direction: column; gap: .15rem; }
.card__price-old {
  font-size: 1rem; color: var(--ink-mut); text-decoration: line-through;
  text-decoration-color: var(--gold-deep); text-decoration-thickness: 1.5px;
}
.card__price-new {
  font-family: 'Spectral', serif; font-weight: 700; font-size: 1.75rem;
  line-height: 1; color: var(--gold-2); letter-spacing: -0.01em;
}
.card__price-note { font-size: .78rem; color: var(--ink-mut); margin-top: .15rem; }
/* Two-price card (e.g. self-ligating: metal / sapphire) */
.card__price--multi { display: flex; flex-direction: column; gap: .45rem; }
.card__price-row { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.card__price-row > span { color: var(--ink-soft); font-size: .9rem; }
.card__price-row strong { color: var(--gold-2); font-family: 'Spectral', serif; font-size: 1.05rem; white-space: nowrap; }
.services__price-note { font-size: .875rem; color: var(--ink-mut); text-align: center; margin-top: 1.2rem; max-width: 56ch; margin-left: auto; margin-right: auto; }
.card__price-row strong span { color: var(--ink-mut); font-size: .82rem; font-family: 'Manrope', sans-serif; font-weight: 500; }

/* =================================================================
   BEFORE / AFTER CASES
   ================================================================= */
.cases__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cases__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cases__grid { grid-template-columns: repeat(3, 1fr); } }

.case { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }

/* --- 3-stage photo grid inside each case card --- */
.case__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.case__photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}

.case__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Stage label overlays (visible on desktop, hidden on mobile active-photo) */
.case__stage-lbl {
  position: absolute;
  bottom: .5rem; left: 50%;
  transform: translateX(-50%);
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(14,15,18,.65);
  color: var(--ink);
  white-space: nowrap;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.case__stage-lbl--aft { color: var(--gold-2); }

/* --- Mobile switcher (hidden on desktop) --- */
.case__switcher { display: none; }

.case__cap { display: flex; align-items: center; padding: .9rem 1.2rem; }
.case__type { font-weight: 600; font-size: .95rem; }

/* --- Cases accordion (mobile, injected by JS) --- */
.case__toggle { display: none; }
.case__body { display: contents; } /* transparent on desktop */

@media (max-width: 767px) {
  .case__body { display: block; } /* restore as real box on mobile */

  .case--accordion { border-radius: var(--r); }
  .case--accordion .case__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    padding: 1rem 1.2rem;
    background: none;
    border: none;
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    line-height: 1.3;
  }
  .case--accordion .case__toggle:hover { color: var(--gold); }
  .case__chevron {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 300ms ease;
  }
  .case--accordion:not(.case--collapsed) .case__chevron {
    transform: rotate(180deg);
  }
  .case--accordion .case__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 380ms ease;
  }
  .case--accordion:not(.case--collapsed) .case__body {
    max-height: 1000px;
  }
}

/* =================================================================
   ABOUT
   ================================================================= */
.about__grid { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
@media (min-width: 901px) { .about__grid { grid-template-columns: .85fr 1.15fr; } }

.about__media { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); position: relative; }
@media (min-width: 901px) { .about__media { position: sticky; top: 96px; } }
.about__media img { width: 100%; aspect-ratio: 7 / 8.5; object-fit: cover; }

.about__text { margin-top: 1.4rem; display: grid; gap: 1rem; color: var(--ink-soft); }
.about__insta { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.5rem; color: var(--gold); text-decoration: none; font-size: .95rem; font-weight: 500; line-height: 1.3; transition: opacity .2s; flex-wrap: wrap; }
.about__insta:hover { opacity: .75; }
.about__insta svg { flex-shrink: 0; }
.about__stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 5vw, 3rem); margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.astat { display: flex; flex-direction: column; }
.astat__num { font-family: 'Spectral', serif; font-size: clamp(1.8rem, 4.5vw, 2.4rem); font-weight: 600; color: var(--gold-2); line-height: 1; }
.astat__label { font-size: .82rem; color: var(--ink-mut); margin-top: .4rem; max-width: 14ch; }

.about__certs-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mut); margin-bottom: .9rem; }
.certs {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .8rem; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.certs::-webkit-scrollbar { height: 6px; }
.certs::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.cert {
  flex: 0 0 auto; width: 150px; aspect-ratio: 5 / 7; border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2); scroll-snap-align: start;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cert:hover { transform: translateY(-3px); border-color: var(--gold); }
.cert img { width: 100%; height: 100%; object-fit: contain; }
.cert { cursor: pointer; padding: 0; appearance: none; -webkit-appearance: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-sm);
  box-shadow: 0 8px 40px rgba(0,0,0,.6); object-fit: contain; }
.lightbox__close { position: fixed; top: 1.2rem; right: 1.4rem; background: none; border: none;
  color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox__close:hover { opacity: 1; }
.about__cta { margin-top: 2rem; }

/* =================================================================
   REVIEWS
   ================================================================= */
.reviews__track {
  display: flex; gap: 1.2rem; overflow-x: auto; padding: .5rem var(--pad) 1.5rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 86%; max-width: 380px; scroll-snap-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) { .review { flex-basis: 46%; } }
@media (min-width: 1000px) { .review { flex-basis: 31%; } }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.review blockquote { color: var(--ink-soft); font-family: 'Spectral', Georgia, serif; font-size: 1.08rem; line-height: 1.55; flex-grow: 1; font-style: italic; }
.review__author { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: .92rem; }
.review__author img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 1px solid var(--line-2); background: var(--surface-2); }

.reviews__controls { display: flex; gap: .8rem; justify-content: center; margin-top: 1.5rem; }
.rev-btn {
  width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rev-btn:hover { background: var(--surface-2); border-color: var(--gold); color: var(--gold-2); }
.rev-btn svg { width: 22px; height: 22px; }

/* =================================================================
   CONTACTS
   ================================================================= */
.contacts__grid { display: grid; gap: clamp(2rem, 6vw, 3.5rem); align-items: start; }
@media (min-width: 901px) { .contacts__grid { grid-template-columns: 1.1fr .9fr; } }

.contacts__list { display: grid; gap: 1.2rem; margin: 1.8rem 0; }
.contacts__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contacts__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(201,168,106,.12); border: 1px solid rgba(201,168,106,.25); color: var(--gold-2); }
.contacts__ico svg { width: 22px; height: 22px; }
.contacts__phone { font-size: 1.25rem; font-weight: 600; color: var(--ink); transition: color var(--dur) var(--ease); }
.contacts__phone:hover { color: var(--gold-2); }

.messengers { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.msg {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); font-size: .9rem; font-weight: 600;
  min-height: 46px; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.msg svg { width: 20px; height: 20px; }
.msg:hover { transform: translateY(-2px); background: var(--surface-2); }
.msg--tg:hover { border-color: #2AABEE; color: #2AABEE; }
.msg--vb:hover { border-color: #7360F2; color: #7360F2; }
.msg--ig:hover { border-color: #E1306C; color: #E1306C; }

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); min-height: 260px; }
.map iframe { display: block; width: 100%; filter: grayscale(.3) contrast(1.05) brightness(.92); }

/* Form */
.contacts__form-wrap { position: relative; }
.form {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow); position: sticky; top: 96px;
}
.form__title { font-family: 'Spectral', serif; font-size: 1.6rem; font-weight: 600; margin-bottom: 1rem; }
.form__perks { list-style: none; padding: 0; display: grid; gap: .65rem; margin-bottom: 1.4rem; }
.form__perks li { display: grid; gap: .15rem; padding-left: 1.2rem; position: relative; }
.form__perks li::before { content: '✓'; position: absolute; left: 0; top: .05em; color: var(--gold-2); font-size: .85rem; font-weight: 700; }
.form__perks li strong { font-weight: 600; font-size: .9rem; }
.form__perks li span { font-size: .82rem; color: var(--ink-soft); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: .45rem; font-weight: 500; }
.field input {
  width: 100%; padding: .9rem 1rem; border-radius: var(--r-sm); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); min-height: 50px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder { color: var(--ink-mut); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.field__err { display: none; color: #E5837C; font-size: .8rem; margin-top: .4rem; }
.field.is-invalid input { border-color: #E5837C; }
.field.is-invalid .field__err { display: block; }

.form__success {
  margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--r-sm); text-align: center;
  background: rgba(143,183,166,.14); border: 1px solid rgba(143,183,166,.4); color: var(--sage); font-weight: 600;
}
.form__error {
  margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--r-sm); text-align: center;
  background: rgba(200,80,80,.10); border: 1px solid rgba(200,80,80,.35); color: #d66; font-weight: 600;
}
.form__policy { margin-top: 1rem; font-size: .76rem; color: var(--ink-mut); text-align: center; }
.form__note { margin-top: .6rem; font-size: .81rem; color: var(--ink-mut); text-align: center; }
.form .btn { margin-top: .4rem; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 3rem; }
.footer__inner { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1fr auto; align-items: center; row-gap: 1.2rem; } }
.footer__brand { display: flex; align-items: center; gap: .8rem; }
.footer__brand strong { display: block; font-family: 'Spectral', serif; }
.footer__brand span { font-size: .82rem; color: var(--ink-mut); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__links a { font-size: .9rem; color: var(--ink-soft); transition: color var(--dur) var(--ease); }
.footer__links a:hover { color: var(--gold-2); }
.footer__copy { font-size: .8rem; color: var(--ink-mut); grid-column: 1 / -1; }

/* =================================================================
   FLOATING ACTION BUTTON
   ================================================================= */
.fab { position: fixed; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem); z-index: var(--z-fab); display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.fab__menu { display: flex; flex-direction: column; gap: .6rem; }
.fab__menu[hidden] { display: none; }
.fab__item {
  width: 50px; height: 50px; border-radius: 999px; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow); transform: scale(.6); opacity: 0;
  animation: fabIn .28s var(--ease) forwards;
}
.fab__item svg { width: 24px; height: 24px; }
.fab__item--tg { background: #2AABEE; }
.fab__item--vb { background: #7360F2; }
.fab__item:nth-child(1) { animation-delay: .02s; }
.fab__item:nth-child(2) { animation-delay: .06s; }
.fab__item:nth-child(3) { animation-delay: .10s; }
@keyframes fabIn { to { transform: scale(1); opacity: 1; } }

.fab__main {
  width: 62px; height: 62px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 28%, var(--gold-2) 43%, #FFF1CE 50%, var(--gold-2) 57%, var(--gold) 72%, var(--gold-deep) 100%);
  background-size: 220% 100%; animation: goldFlow 6.5s linear infinite;
  color: #1a1206; position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),         /* glossy top */
    inset 0 -2px 5px rgba(120,78,20,.4),          /* bottom bevel */
    0 6px 14px rgba(0,0,0,.35),
    0 14px 34px -8px var(--gold-glow);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease);
}
.fab__main:hover {
  transform: scale(1.08) translateY(-1px); filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    inset 0 -2px 5px rgba(120,78,20,.4),
    0 8px 18px rgba(0,0,0,.38),
    0 20px 44px -8px var(--gold-glow);
}
.fab__main:active {
  transform: scale(.96); filter: brightness(.97);
  box-shadow:
    inset 0 2px 6px rgba(90,58,12,.55),           /* pressed-in */
    inset 0 1px 0 rgba(255,255,255,.25),
    0 4px 10px rgba(0,0,0,.4);
  transition-duration: .06s;
}
.fab__main svg { width: 28px; height: 28px; position: absolute; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.fab__ico-close { opacity: 0; transform: rotate(-90deg); }
.fab__main[aria-expanded="true"] .fab__ico-chat { opacity: 0; transform: rotate(90deg); }
.fab__main[aria-expanded="true"] .fab__ico-close { opacity: 1; transform: rotate(0); }
/* Subtle attention pulse */
.fab__main::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--gold);
  animation: fabPulse 2.6s var(--ease) infinite;
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: .6; } 70%,100% { transform: scale(1.5); opacity: 0; } }

/* =================================================================
   SCROLL REVEAL
   ================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children inside grids */
.steps .step, .cards .card, .cases__grid .case { transition-delay: calc(var(--i, 0) * 70ms); }

/* =================================================================
   MOBILE-FIRST ADAPTATION
   Explicit single-column + touch-friendly layer.
   Placed after the min-width column rules so it wins at <=768.
   ================================================================= */
@media (max-width: 768px) {
  :root {
    --section-y: clamp(3rem, 9vw, 4.25rem);
    --pad: clamp(1rem, 5vw, 1.4rem);
  }

  /* --- All multi-column grids collapse to one column --- */
  .steps,
  .cards,
  .cases__grid,
  .about__grid,
  .contacts__grid,
  .hero__inner { grid-template-columns: 1fr !important; }

  /* --- HERO: hide the doctor card until a real photo exists --- */
  .hero { padding-top: 6.5rem; }
  .hero__media { display: none !important; }
  .hero__glow { width: 90vw; height: 90vw; top: -6%; }
  .hero__content { text-align: left; }
  .hero__location { justify-content: center; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: .7rem; }
  .hero__actions .btn { width: 100%; }

  /* --- Buttons: full width, finger-friendly --- */
  .btn { width: 100%; }
  .nav__cta { width: auto; } /* hidden on mobile anyway */
  .lang { flex: none; }
  .section__cta .btn,
  .about__cta .btn,
  .form .btn { width: 100%; max-width: 420px; }
  .section__cta .btn { margin-inline: auto; }

  /* --- Sticky off on mobile (avoid awkward pinning) --- */
  .about__media,
  .form { position: static; top: auto; }

  /* --- Cards / steps: comfier inner padding --- */
  .step, .card { padding: 1.5rem 1.3rem; }

  /* --- Cases: single photo + switcher on narrow phones --- */
  .case__photos { grid-template-columns: 1fr; gap: 0; }
  .case__photo { display: none; }
  .case__photo:first-child { display: block; }        /* pre-JS fallback */
  .case--js .case__photo { display: none; }
  .case--js .case__photo.is-active { display: block; }
  .case__stage-lbl { display: none; }                /* hidden in single-photo mode */

  .case__switcher {
    display: block;
    padding: .85rem 1.1rem .35rem;
  }

  .case__sw-track {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
  }

  .case__sw-track::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--line-2);
    border-radius: 2px;
  }

  .case__sw-fill {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    height: 4px; width: 0%;
    background: var(--gold);
    border-radius: 2px;
    pointer-events: none;
    transition: width .12s ease;
  }

  .case__sw-range {
    position: relative; z-index: 2;
    width: 100%; height: 28px;
    -webkit-appearance: none; appearance: none;
    background: transparent; outline: none;
    cursor: pointer; margin: 0; padding: 0;
  }

  .case__sw-range::-webkit-slider-runnable-track {
    height: 28px; background: transparent;
  }
  .case__sw-range::-moz-range-track {
    height: 4px; background: transparent;
  }
  .case__sw-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--bg);
    box-shadow: 0 2px 8px rgba(0,0,0,.45);
    margin-top: -11px;
  }
  .case__sw-range::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--bg);
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
  }

  .case__sw-labels {
    display: flex;
    justify-content: space-between;
    font-size: .68rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--ink-mut);
    margin-top: .3rem;
    padding: 0 2px;
  }

  /* --- Reviews show one card at a time with a peek --- */
  .review { flex-basis: 88%; }

  /* --- Messengers stretch to two-up --- */
  .messengers { gap: .6rem; }
  .msg { flex: 1 1 calc(50% - .3rem); justify-content: center; }

  /* --- About stats wrap evenly --- */
  .about__stats { gap: 1.4rem 2rem; }
}

/* --- About photo on mobile (single-column below 901px) ---
   `minmax(0, 1fr)` keeps the grid from blowing out to the image's intrinsic
   ~700px width (the min-width:auto track trap). The portrait shows in FULL,
   uncropped, at its natural aspect ratio — no height cap / object-fit crop. --- */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr) !important; }
  .about__media { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  .about__media img { width: 100% !important; height: auto !important; aspect-ratio: auto !important; object-fit: cover !important; }
}

@media (max-width: 480px) {
  :root {
    --section-y: clamp(2.6rem, 11vw, 3.5rem);
    --pad: 1.05rem;
  }

  .nav__inner { height: 64px; }
  .nav__sub { display: none; }            /* keep brand compact */
  .hero { padding-top: 5.75rem; }

  /* Tighter typography rhythm on small phones */
  .hero__subtitle { font-size: 1rem; }
  .section__lead { font-size: 1rem; }

  /* Messengers stack full-width for easy tapping */
  .msg { flex-basis: 100%; }

  /* Reviews nearly full-bleed */
  .review { flex-basis: 92%; padding: 1.5rem; }

  /* Step number watermark a bit smaller */
  .step__num { font-size: 2.1rem; }

  /* Certificates strip: slightly smaller tiles */
  .cert { width: 130px; }

  /* Form padding */
  .form { padding: 1.4rem; }
}

/* Very small / old Android (<=360px): never let anything overflow */
@media (max-width: 360px) {
  :root { --pad: .9rem; }
  .nav__brand { gap: .5rem; }
  .nav__name { font-size: 1rem; }
  .trust__num { font-size: 1.9rem; }
}

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .fab__main::after { display: none; }
}

/* =================================================================
   PRINT / fallback when JS off
   ================================================================= */
.no-js .reveal { opacity: 1; transform: none; }

/* =================================================================
   WHY US
   ================================================================= */
.why { background: var(--bg-2); border-block: 1px solid var(--line); }
.why__grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: repeat(4, 1fr); } }
.why__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem 1.5rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.why__card:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--surface-2); }
.why__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(201,168,106,.12); border: 1px solid rgba(201,168,106,.25); color: var(--gold-2); margin-bottom: 1.2rem;
}
.why__icon svg { width: 26px; height: 26px; }
.why__title { font-family: 'Spectral', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.why__text { color: var(--ink-soft); font-size: .95rem; }

/* =================================================================
   FAQ (native <details> accordion)
   ================================================================= */
.faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq__item:hover { border-color: var(--line-2); }
.faq__item[open] { border-color: rgba(201,168,106,.45); background: var(--surface-2); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
  padding: 1.2rem 1.4rem; font-family: 'Spectral', serif; font-size: 1.1rem; font-weight: 600; color: var(--ink);
  list-style: none; user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold-2); }
.faq__ico { position: relative; flex: none; width: 22px; height: 22px; }
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--gold-2); border-radius: 2px;
}
.faq__ico::before { width: 13px; height: 2px; }
.faq__ico::after { width: 2px; height: 13px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.faq__item[open] .faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: .98rem; line-height: 1.65; }
.faq__a p { max-width: 70ch; }
.faq__item[open] .faq__a { animation: faqReveal .26s var(--ease); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =================================================================
   MAP placeholder hint (shows until the iframe lazy-loads)
   ================================================================= */
.map { position: relative; display: grid; }
.map__hint {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; align-content: center; gap: .5rem;
  color: var(--ink-mut); text-align: center; padding: 1rem;
}
.map__hint svg { width: 30px; height: 30px; color: var(--gold-2); }
.map__hint span { font-size: .85rem; letter-spacing: .02em; }
.map iframe { position: relative; z-index: 1; }

/* =================================================================
   STICKY MOBILE CTA BAR
   ================================================================= */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 0 16px calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }
  .mobile-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-cta__btn {
    display: block; width: 100%; height: 52px;
    line-height: 52px; text-align: center; padding: 0;
    font-size: clamp(0.72rem, 4vw, 1rem);
    white-space: nowrap; overflow: hidden;
  }
  /* keep page content above the fixed button */
  body { padding-bottom: calc(52px + 12px + env(safe-area-inset-bottom, 0px) + 8px); }
  /* hide FAB on mobile */
  .fab { display: none; }
}
@media (min-width: 768px) {
  .mobile-cta { display: none !important; }
}

/* =================================================================
   "Liquid gold" continuous glint for gold buttons + FAB
   (alive without hover — the mobile "wow")
   ================================================================= */
@keyframes goldFlow {
  0%   { background-position: 175% 50%; }
  100% { background-position: -75% 50%; }
}
/* Static, clean fallback when the user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn--gold, .fab__main { animation: none !important; background-position: 50% 50% !important; }
}

/* Hero CTA — compact, finger-friendly (>=48px); scoped to hero only */
.hero__actions .btn { --b-pad-y: .58rem; --b-pad-x: 1.5rem; min-height: 48px; font-size: .98rem; line-height: 1.25; }

/* Kyiv-metro badge: green "М" in a circle (hero eyebrow) */
.hero .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .14em .3em; }
.metro-m {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5em; height: 1.5em; border-radius: 50%;
  background: #fff; color: #15A24A;
  font-weight: 800; font-size: .88em; line-height: 1;
  letter-spacing: 0; text-transform: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

/* Nav logo image (white, transparent PNG) */
.nav__logo { height: 56px; width: auto; display: block; flex: none; }
@media (max-width: 768px) { .nav__logo { height: 48px; } }
/* Footer logo */
.footer__logo { height: 60px; width: auto; display: block; flex: none; }
