/* =========================================================
   Dr. Gavril Elena — Medicină Dentară · Brașov
   Palette: Brașov roof terracotta · limestone cream · Carpathian pine
   ========================================================= */

:root {
  --cream: #f4eee6;
  --cream-2: #ebe2d6;
  --sand: #e2d2bd;
  --ink: #1c1916;
  --ink-2: #4a433c;
  --ink-3: #6a6058;
  --terra: #b04a31;
  --terra-d: #973b25;
  --terra-l: #e9a58f;
  --pine: #1f3a33;
  --pine-l: #2c5047;
  --line: rgba(28, 25, 22, 0.14);
  --line-l: rgba(255, 255, 255, 0.18);

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --r-lg: 32px;
  --r-md: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
section[id] { scroll-margin-top: 24px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* global grain */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.07;
  mix-blend-mode: multiply;
  z-index: 200;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--terra); color: var(--cream); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0;
  text-wrap: balance;
}
.h2 em, .hero__title em, .contact__title em, .footer__claim em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.14em;
  color: var(--terra);
}
.h2--light { color: var(--cream); }
.h2--light em { color: var(--sand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 99px;
  background: var(--terra);
  color: var(--cream);
  letter-spacing: 0.06em;
}
.eyebrow--light { color: var(--cream); }
.eyebrow--light .eyebrow__num { background: var(--cream); color: var(--terra-d); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head__lead { margin: 22px 0 0; max-width: 520px; color: var(--ink-2); font-size: 1.08rem; }
.section-head--light .section-head__lead { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease), background 0.3s, box-shadow 0.4s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--terra { --bg: var(--terra); box-shadow: 0 14px 30px -16px rgba(28, 25, 22, 0.45); }
.btn--terra:hover { --bg: var(--terra-d); }
.btn--ink:hover { --bg: var(--pine); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); }
.btn--sm { padding: 11px 18px; font-size: 0.88rem; gap: 8px; }
.btn--sm svg { width: 15px; height: 15px; fill: currentColor; }
.btn--sm:hover svg { transform: rotate(-12deg); }
.link-arrow { font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- Tape & stickers (nod to the reference) ---------- */
.tape {
  position: absolute;
  width: 96px;
  height: 30px;
  background: rgba(236, 226, 206, 0.82);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  clip-path: polygon(3% 0, 97% 4%, 100% 30%, 96% 55%, 100% 80%, 97% 100%, 2% 96%, 0 70%, 4% 45%, 0 18%);
  backdrop-filter: blur(2px);
  z-index: 3;
}
.tape--tl { top: -14px; left: -22px; transform: rotate(-32deg); }
.tape--tr { top: -12px; right: -20px; transform: rotate(28deg); }
.tape--float { opacity: 0.7; }
.tape--float.t1 { top: 5%; right: 7%; transform: rotate(-24deg); width: 130px; }
.tape--float.t2 { bottom: 4%; left: 4%; transform: rotate(18deg); width: 110px; }

/* ---------- Film texture (plastic-wrap feel) ---------- */
.film {
  --film-bg: var(--terra);
  position: relative;
  isolation: isolate;
  background-color: var(--film-bg);
  color: var(--cream);
  overflow: clip; /* clip (not hidden) keeps position: sticky working inside */
}
.film::before, .film::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.film::before {
  background-image:
    linear-gradient(112deg, transparent 0 14%, rgba(255,255,255,.13) 19%, transparent 24% 46%, rgba(255,255,255,.09) 50%, transparent 55%),
    linear-gradient(64deg, transparent 0 28%, rgba(0,0,0,.10) 33%, transparent 38% 68%, rgba(255,255,255,.08) 73%, transparent 79%),
    linear-gradient(160deg, transparent 0 60%, rgba(255,255,255,.07) 64%, transparent 70%),
    radial-gradient(120% 80% at 15% 0%, rgba(255,255,255,.16), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(0,0,0,.18), transparent 60%);
}
.film::after { background-image: var(--noise); opacity: 0.22; mix-blend-mode: overlay; }

/* ---------- Curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: var(--ink); color: var(--cream);
}
.curtain__mark { display: flex; align-items: center; gap: 18px; }
.curtain .mono { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.06em; color: var(--terra-l); }
.curtain__line { width: 0; height: 1px; background: rgba(244,238,230,.5); }
.curtain__txt { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0; }
.js .curtain { display: grid; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  z-index: 100;
  width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 9px 9px 9px 14px;
  border-radius: 999px;
  background: rgba(244, 238, 230, 0.74);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(28,25,22,.08), 0 10px 30px -18px rgba(28,25,22,.4);
  transform: translateX(-50%);
  transition: transform 0.6s var(--ease), background 0.3s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mono {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--terra); color: var(--cream);
  font-family: var(--f-display); font-weight: 800; font-size: 14px; letter-spacing: -0.06em;
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: -0.03em; }
.brand__txt small { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.brand--light .brand__txt small { color: rgba(244,238,230,.6); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 9px 15px; border-radius: 99px; font-size: 0.92rem; font-weight: 600; transition: background 0.25s; }
.nav__links a:hover { background: rgba(28,25,22,.07); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 24px;
  padding: 120px var(--gutter) 40px;
  background: var(--ink); color: var(--cream);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-open .nav { background: rgba(244,238,230,.95); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -0.05em; line-height: 1.15; }
.menu__phone { font-family: var(--f-display); color: var(--terra-l); font-size: 1.3rem; }
.menu__meta { margin: 0; color: rgba(244,238,230,.6); font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 15vh, 160px); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: calc(100svh - 230px);
  padding-bottom: 56px;
}
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 28px; padding: 8px 16px 8px 12px;
  border-radius: 99px;
  background: rgba(255,255,255,.55);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.86rem; font-weight: 600;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); position: relative; }
.status.is-open .status__dot { background: #3e9b6b; }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid #3e9b6b; animation: ping 2s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.1vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-size: 1.1em; }
.hero__lead { max-width: 520px; margin: 30px 0 0; font-size: 1.12rem; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.hero__proof p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.hero__proof strong { color: var(--ink); }
.stars { color: var(--terra); letter-spacing: 2px; font-size: 1rem; }

.hero__visual { position: relative; justify-self: end; width: min(100%, 480px); }
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background: var(--sand);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.arch--hero { aspect-ratio: 4 / 5.3; box-shadow: 0 40px 80px -40px rgba(120, 50, 30, 0.55); }

.sticker {
  position: absolute;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(28,25,22,.45);
}
.sticker--rating {
  left: -44px; bottom: 56px;
  display: grid; justify-items: start;
  padding: 18px 22px 16px;
  transform: rotate(-6deg);
}
.sticker__big { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.06em; }
.sticker__stars { color: var(--terra); letter-spacing: 2px; margin-top: 6px; }
.sticker__small { font-size: 0.78rem; color: var(--ink-3); font-weight: 600; }

.badge-rotate { position: absolute; top: -26px; right: -26px; width: 136px; height: 136px; }
.badge-rotate svg { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge-rotate text { font-family: var(--f-display); font-size: 13.4px; font-weight: 600; letter-spacing: 2.2px; fill: var(--ink); }
.badge-rotate::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 16px 34px -18px rgba(28,25,22,.5); z-index: -1; }
.badge-rotate__core {
  position: absolute; inset: 34px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--terra); color: var(--cream);
}
.badge-rotate__core svg { width: 30px; height: 30px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 2rem); letter-spacing: -0.04em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--terra-l); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(100px, 14vw, 190px) 0 clamp(70px, 9vw, 120px); }
.manifesto__text {
  margin: 0;
  max-width: 1120px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.5vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}
.manifesto__text .w { opacity: 0.14; transition: opacity 0.2s linear; }
.manifesto__foot {
  display: flex; align-items: center; gap: 28px;
  margin-top: clamp(48px, 6vw, 80px);
  margin-left: auto;
  max-width: 560px;
}
.manifesto__foot p { margin: 0; color: var(--ink-2); }
.mini-arch { flex: none; width: 112px; aspect-ratio: 3 / 4; border-radius: 99px 99px 16px 16px; overflow: hidden; }
.mini-arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats { padding-bottom: clamp(80px, 10vw, 140px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 28px 26px 0 0; border-top: 1.5px solid var(--ink); }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat__val { display: flex; align-items: flex-start; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 1; letter-spacing: -0.07em; }
.stat__unit { font-family: var(--f-display); font-weight: 700; color: var(--terra); font-size: clamp(1.2rem, 2vw, 1.8rem); margin-left: 4px; }
.stat p { margin: 14px 0 0; color: var(--ink-2); font-size: 0.95rem; max-width: 220px; }

/* ---------- Process — stacking cards ---------- */
.process { padding: clamp(100px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.stack { max-width: 780px; margin-inline: auto; }
.card {
  --bg: rgba(140, 50, 28, 0.55);
  position: sticky;
  top: calc(120px + var(--i) * 26px);
  min-height: 340px;
  margin-bottom: 14vh;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line-l), 0 30px 60px -30px rgba(40, 10, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-origin: 50% 0;
  display: flex; flex-direction: column;
}
.card:last-child { margin-bottom: 0; }
.card--cream { --bg: var(--cream); color: var(--ink); }
.card--pine { --bg: var(--pine); }
.card--sand { --bg: var(--sand); color: var(--ink); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.card__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 18px;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px var(--line-l);
}
.card--cream .card__icon, .card--sand .card__icon { background: var(--terra); box-shadow: none; color: var(--cream); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .8; letter-spacing: -0.08em; opacity: .22; }
.card h3 { margin: 48px 0 12px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -0.045em; line-height: 1.05; }
.card p { margin: 0; max-width: 520px; opacity: .88; font-size: 1.05rem; }

/* ---------- Services ---------- */
.services { padding: clamp(100px, 12vw, 170px) 0; position: relative; }
.svc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc__item { border-top: 1px solid var(--line); }
.svc__row {
  width: 100%;
  display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; gap: 16px;
  padding: clamp(20px, 2.6vw, 30px) 0;
  text-align: left;
}
.svc__n { font-family: var(--f-display); font-size: 0.85rem; font-weight: 600; color: var(--ink-3); }
.svc__name {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.35rem, 3.3vw, 2.7rem); letter-spacing: -0.05em; line-height: 1.05;
  transition: transform 0.6s var(--ease), color 0.3s;
}
.svc__plus { position: relative; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .3s, transform .5s var(--ease); }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.svc__row:hover .svc__name, .svc__item.is-open .svc__name { color: var(--terra); transform: translateX(14px); }
.svc__item.is-open .svc__plus { background: var(--ink); color: var(--cream); transform: rotate(180deg); }
.svc__item.is-open .svc__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.svc__body > p { overflow: hidden; margin: 0; padding-left: 86px; max-width: 720px; color: var(--ink-2); font-size: 1.05rem; }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__item.is-open .svc__body > p { padding-bottom: 28px; }
.svc__note { margin: 28px 0 0; color: var(--ink-3); font-size: .92rem; }
.svc__note a { color: var(--terra); font-weight: 700; }
.svc__preview {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: 240px; aspect-ratio: 3 / 4;
  border-radius: 999px 999px 22px 22px;
  overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg);
  transition: opacity .35s, transform .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(28,25,22,.5);
}
.svc__preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.svc__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reel (expanding video) ---------- */
.reel { height: 240vh; position: relative; }
.reel__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.reel__frame { position: absolute; inset: 0; clip-path: inset(14% 22% 14% 22% round 48px); }
.reel__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,25,22,.15) 30%, rgba(28,25,22,.75)); }
.reel__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 90px); max-width: 1280px; margin-inline: auto; }

/* ---------- Doctor ---------- */
.doctor { padding: clamp(100px, 12vw, 170px) 0; overflow-x: clip; }
.doctor__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.doctor__visual { position: relative; }
.arch--doc { aspect-ratio: 4 / 5; }
.sig-card {
  position: absolute; right: -28px; bottom: 40px;
  display: grid; gap: 2px; padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--pine); color: var(--cream);
  box-shadow: 0 30px 60px -24px rgba(31,58,51,.7);
  transform: rotate(3deg);
}
.sig-card__mono { font-family: var(--f-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--terra-l); }
.sig-card__name { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; margin-top: 6px; }
.sig-card__role { font-size: .82rem; opacity: .7; }
.doctor__quote {
  margin: 30px 0 26px;
  padding-left: 22px;
  border-left: 2px solid var(--terra);
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.3; color: var(--ink);
}
.ticks { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4eee6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Horizontal gallery ---------- */
.hgallery { background: var(--cream-2); overflow: hidden; }
.hgallery__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 60px; }
.hgallery__head { margin-bottom: 40px; }
.hgallery__track { display: flex; gap: 22px; padding-inline: var(--gutter); width: max-content; align-items: flex-end; }
.hg { position: relative; margin: 0; height: min(58vh, 540px); border-radius: var(--r-md); overflow: hidden; flex: none; background: var(--sand); }
.hg--tall { aspect-ratio: 3 / 4; }
.hg--wide { aspect-ratio: 4 / 3; }
.hg--video { aspect-ratio: 9 / 14; border-radius: 999px 999px var(--r-md) var(--r-md); }
.hg img, .hg video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hg:hover img, .hg:hover video { transform: scale(1.06); }
.hg figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 8px 14px; border-radius: 99px;
  background: rgba(244,238,230,.88); backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 700;
}

/* ---------- Reviews ---------- */
.reviews { padding: clamp(100px, 12vw, 170px) 0; }
.reviews__grid { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 20px; align-items: stretch; }
.score { display: flex; flex-direction: column; padding: 34px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-l); background: rgba(255,255,255,.06); }
.score__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 8vw, 6.6rem); line-height: .9; letter-spacing: -0.08em; }
.score__stars { color: var(--cream); letter-spacing: 3px; font-size: 1.2rem; margin-top: 12px; }
.score p { margin: 8px 0 auto; padding-bottom: 30px; }
.quote { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 34px; border-radius: var(--r-lg); background: var(--pine); }
.quote--big { background: var(--cream); color: var(--ink); transform: rotate(-1.2deg); }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.32; }
.quote--big blockquote { font-size: clamp(1.45rem, 2.6vw, 2.2rem); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption small { display: block; font-size: .8rem; opacity: .7; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--terra); color: var(--cream); font-family: var(--f-display); font-weight: 700; font-size: 13px; }
.quote:not(.quote--big) .avatar { background: var(--cream); color: var(--pine); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(100px, 12vw, 170px) 0; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.35rem); letter-spacing: -0.035em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream-2); font-family: var(--f-body); font-weight: 500; font-size: 1.3rem;
  transition: transform .45s var(--ease), background .3s, color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--terra); color: var(--cream); }
.faq__list details p { margin: -6px 0 26px; max-width: 620px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { --film-bg: var(--pine); padding: clamp(100px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); }
.contact__hero { text-align: center; margin-bottom: clamp(56px, 7vw, 96px); }
.contact__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 9vw, 8.6rem); line-height: .92; letter-spacing: -0.07em; }
.contact__title em { color: var(--terra-l); }
.contact__phone {
  display: inline-block; margin-top: 34px;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2.6rem); letter-spacing: -0.04em;
  padding: 14px 34px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(244,238,230,.5);
  transition: background .35s, color .35s;
}
.contact__phone:hover { background: var(--cream); color: var(--pine); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; }
.panel { padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-l); }
.panel__title { margin: 0 0 20px; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.04em; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; font-size: .95rem; }
.hours li:nth-child(n+6) { opacity: .78; }
.hours li.is-today { background: var(--cream); color: var(--pine); font-weight: 700; opacity: 1; }
.panel__addr { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-l); font-size: .95rem; }
.panel__addr p { margin: 0 0 12px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__hint { margin: -10px 0 4px; font-size: .88rem; opacity: .85; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.form input, .form select {
  width: 100%; padding: 13px 16px;
  border: 0; border-radius: 14px;
  background: rgba(244,238,230,.1); color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line-l);
  font: 500 1rem var(--f-body);
  transition: box-shadow .25s, background .25s;
}
.form input::placeholder { color: rgba(244,238,230,.45); }
.form select option { color: var(--ink); background: var(--cream); }
.form input:focus, .form select:focus { outline: none; background: rgba(244,238,230,.16); box-shadow: inset 0 0 0 1.5px var(--terra-l); }
.form .btn { justify-content: center; margin-top: 6px; }
.form__error { margin: 0; color: var(--terra-l); font-size: .88rem; font-weight: 600; }
.panel--map { padding: 0; overflow: hidden; min-height: 360px; }
.panel--map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.4) sepia(.25) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-top: 80px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__claim { margin: 22px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.04em; }
.footer__claim em { color: var(--terra-l); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 48px; }
.footer__cols h4 { margin: 0 0 12px; font-family: var(--f-display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,238,230,.5); font-weight: 600; }
.footer__cols a, .footer__cols p { display: block; margin: 0 0 8px; font-size: .95rem; color: rgba(244,238,230,.85); }
.footer__cols a:hover { color: var(--terra-l); }
.footer__word {
  margin-top: 60px;
  font-family: var(--f-display); font-weight: 800;
  font-size: 16.5vw; line-height: .78; letter-spacing: -0.08em;
  white-space: nowrap; text-align: center; color: var(--cream);
  transform: translateY(8%);
}
.footer__word em { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -0.03em; color: var(--terra); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(244,238,230,.12); font-size: .85rem; color: rgba(244,238,230,.6); background: var(--ink); }
.footer__bottom p { margin: 0; }

.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: none; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--terra); color: var(--cream);
  box-shadow: 0 16px 30px -12px rgba(28,25,22,.45);
}
.fab svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Reveal helpers (JS adds states) ---------- */
.js .reveal-up { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .score { grid-column: 1 / -1; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .panel--map { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { justify-self: center; width: min(88%, 420px); margin-top: 12px; }
  .sticker--rating { left: -18px; bottom: 30px; }
  .badge-rotate { width: 110px; height: 110px; top: -18px; right: -14px; }
  .badge-rotate__core { inset: 28px; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .doctor__grid, .faq__grid { grid-template-columns: 1fr; }
  .doctor__visual { width: min(90%, 440px); }
  .sig-card { right: -12px; }
  .doctor__visual { margin-inline: auto; }
  .svc__row { grid-template-columns: 40px 1fr 40px; }
  .svc__plus { width: 40px; height: 40px; }
  .svc__body > p { padding-left: 56px; }
  .svc__preview { display: none; }
  .reel__frame { clip-path: inset(10% 6% 10% 6% round 32px); }
  .manifesto__foot { margin-left: 0; }
  .fab { display: grid; }
}
@media (max-width: 640px) {
  .reviews__grid, .contact__grid { grid-template-columns: 1fr; }
  .quote--big { transform: none; }
  .card { min-height: 300px; top: calc(96px + var(--i) * 16px); }
  .card h3 { margin-top: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .manifesto__foot { flex-direction: column; align-items: flex-start; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .brand__txt small { display: none; }
}
/* Gallery without pinning (touch / reduced motion): native horizontal scroll */
.no-pin .hgallery__pin { min-height: 0; padding: 100px 0 80px; }
.no-pin .hgallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.no-pin .hgallery__track::-webkit-scrollbar { display: none; }
.no-pin .hg { scroll-snap-align: center; height: min(62vh, 440px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal-up { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
  .reel { height: auto; }
  .reel__sticky { position: relative; height: 80vh; }
  .reel__frame { clip-path: none; }
}

/* ---------- Floating actions: WhatsApp (all screens) + call (mobile) ---------- */
.fabs {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.fabs .fab { position: relative; right: auto; bottom: auto; }
.fab--call { display: none; }
.fab--wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; min-width: 60px; height: 60px; padding: 0 18px;
  border-radius: 999px;
  background: #1f7a4a; color: #fff;
  box-shadow: 0 16px 30px -12px rgba(28, 25, 22, 0.5);
  transition: transform .5s var(--ease), background .3s;
}
.fab--wa:hover { transform: translateY(-3px); background: #17663c; }
.fab--wa svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.fab__label { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.fab--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(31, 122, 74, .45);
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.fab--wa { position: relative; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,122,74,.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31,122,74,0); } }

.btn--wa { --bg: #1f7a4a; --fg: #fff; }
.btn--wa:hover { --bg: #17663c; }
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover svg { transform: none; }

@media (max-width: 860px) {
  .fab--call { display: grid; }
  .fab__label { display: none; }
  .fab--wa { width: 60px; padding: 0; }
}

/* ---------- Service photos inside the accordion (mobile / touch) ---------- */
.svc__inner { overflow: hidden; min-height: 0; padding-left: 86px; }
.svc__inner p { margin: 0; max-width: 720px; color: var(--ink-2); font-size: 1.05rem; }
.svc__item.is-open .svc__inner { padding-bottom: 28px; }
.svc__photo { display: none; }
@media (max-width: 860px), (pointer: coarse) {
  .svc__photo {
    display: block;
    width: 100%; max-width: 520px; aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: 2px 0 16px;
    border-radius: 160px 160px 18px 18px;
    background: var(--sand);
    transform: scale(.94); opacity: 0;
    transition: transform .7s var(--ease), opacity .5s;
  }
  .svc__item.is-open .svc__photo { transform: none; opacity: 1; }
}
@media (max-width: 860px) { .svc__inner { padding-left: 56px; } }
@media (max-width: 420px) { .svc__inner { padding-left: 0; } }

/* Intro curtain on narrow screens: stack instead of overflowing */
@media (max-width: 640px) {
  .curtain__mark { flex-direction: column; gap: 14px; text-align: center; padding-inline: 16px; }
  .curtain__txt { white-space: nowrap; font-size: 10px; letter-spacing: .2em; }
}
