/* Zein Dent Clinic · zeindent.ro
   Culorile vin din logo: dintele (albastru -> turcoaz) si textul ZEIN DENT (violet).
   --grad = gradientul dintelui, pe butoane si accente; --deep = violetul textului din logo.
   Colturi: containere 28px, carduri 20px, campuri 14px, butoane pastila.
   Straturi (z-index): 10 header, 20 bara mobila, 30 meniu, 40 banner cookie. */

:root {
  --logo-blue: #4080e0;
  --logo-teal: #20d0d0;
  --logo-violet: #503080;
  --bg: #f4f6fb;
  --bg-2: #e9eef9;
  --surface: #fcfdff;
  --surface-2: #f6f8fd;
  --ink: #1b1840;
  --ink-2: #39375e;
  --muted: #5d6080;
  --line: rgb(40 36 100 / 0.1);
  --line-2: rgb(40 36 100 / 0.18);
  --accent: #2f5fc9;
  --accent-hover: #244fb0;
  --accent-ink: #ffffff;
  --accent-2: #0c8790;
  --accent-soft: #e0e9fb;
  --accent-tint: #ecf2fd;
  --teal-soft: #dcf5f4;
  --grad: linear-gradient(120deg, #2f5fc9 0%, #2a73cf 40%, #0c8790 100%);
  --grad-text: linear-gradient(100deg, #3a6ee0 10%, #14aeb3 90%);
  --glow: #20d0d0;
  --deep: #23154f;
  --deep-2: #3b2680;
  --on-deep: #f1efff;
  --star: #e3a008;
  --shadow-sm: 0 1px 2px rgb(40 30 110 / 0.06), 0 2px 8px -2px rgb(40 30 110 / 0.08);
  --shadow: 0 1px 2px rgb(40 30 110 / 0.05), 0 18px 40px -18px rgb(40 40 120 / 0.28);
  --shadow-lg: 0 30px 80px -30px rgb(35 30 110 / 0.42);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --font-d: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-b: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c20;
    --bg-2: #121331;
    --surface: #16183a;
    --surface-2: #131535;
    --ink: #ecebff;
    --ink-2: #c9c8e8;
    --muted: #9c9cc4;
    --line: rgb(220 220 255 / 0.1);
    --line-2: rgb(220 220 255 / 0.18);
    --accent: #7ea6ff;
    --accent-hover: #a3c0ff;
    --accent-ink: #0b0b24;
    --accent-2: #3fd6d6;
    --accent-soft: #1f2a5a;
    --accent-tint: #191f47;
    --teal-soft: #123b44;
    --grad: linear-gradient(120deg, #6f9bff 0%, #4fb6f0 45%, #2fd2cf 100%);
    --grad-text: linear-gradient(100deg, #86aaff 10%, #3fe0dc 90%);
    --deep: #1d1347;
    --deep-2: #33236f;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 30px 80px -30px rgb(0 0 0 / 0.75);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--font-b);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 650; line-height: 1.06; letter-spacing: -0.028em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); letter-spacing: -0.04em; font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3.15rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
p, li { text-wrap: pretty; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px) clamp(80px, 11vw, 148px); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 58ch; line-height: 1.55; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 18px; color: var(--muted); max-width: 60ch; font-size: 1.125rem; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); }

/* ---------- butoane ---------- */
.btn {
  --b-bg: var(--grad); --b-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); background-size: 160% 100%; background-position: 0% 50%; color: var(--b-fg); font-weight: 600; font-size: 1rem; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-position .5s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
  box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--accent) 75%, transparent);
}
.btn:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--accent-2) 70%, transparent); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic-move { transform: translateX(3px); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.btn-light { --b-bg: var(--on-deep); --b-fg: var(--deep); box-shadow: none; }
.btn-light:hover { background: #fff; box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.is-scrolled .site-header { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand-name { font-family: var(--font-d); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1; }
.brand-name small { white-space: nowrap; display: block; font-family: var(--font-b); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 10px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.header-phone:hover { background: var(--bg-2); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }

.live { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--accent-2); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #13b8a6; box-shadow: 0 0 0 0 rgb(19 184 166 / .5); }
@media (prefers-reduced-motion: no-preference) { .live i { animation: pulse 2.2s infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(19 184 166 / .5); } 70% { box-shadow: 0 0 0 9px rgb(19 184 166 / 0); } 100% { box-shadow: 0 0 0 0 rgb(19 184 166 / 0); } }

.mobile-menu { position: fixed; inset: 0; z-index: 30; background: var(--bg); padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 24px; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-d); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.mobile-menu .mm-cta { display: grid; gap: 12px; margin-top: 28px; }
.mobile-menu .mm-cta .btn { width: 100%; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero .lead { margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; inset: 8% -10% -6% 12%; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 38%, transparent), transparent 75%); filter: blur(20px); z-index: -1; }
.hero-card {
  position: absolute; left: clamp(-56px, -4vw, -24px); bottom: 36px; width: min(300px, 78%);
  padding: 18px 20px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid color-mix(in srgb, #fff 60%, transparent);
  box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / .5);
}
.hero-card p { margin: 6px 0 12px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.4; }
.hero-card a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero-card a .ic { color: var(--accent); }
@media (prefers-reduced-transparency: reduce) { .hero-card { background: var(--surface); backdrop-filter: none; } }

/* ---------- repere (trust strip) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fact { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-family: var(--font-d); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; display: flex; align-items: center; gap: 8px; }
.fact b .ic { color: var(--star); width: 0.8em; height: 0.8em; }
.fact span { color: var(--muted); font-size: 0.9375rem; }

/* ---------- bento servicii ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; grid-auto-flow: dense; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 260px; padding: 28px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.tile p { margin: 0; color: var(--muted); font-size: 0.975rem; max-width: 40ch; }
.tile .go { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.tile:hover .go { transform: rotate(-45deg); background: var(--grad); color: var(--accent-ink); border-color: transparent; }
.tile .t-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-soft); color: var(--accent-2); margin-bottom: auto; }
.tile .t-ic .ic { width: 26px; height: 26px; }
.tile-photo { color: #fff; border: 0; min-height: 320px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 30 32 / 0) 30%, rgb(6 30 32 / .55) 62%, rgb(6 30 32 / .9)); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-photo p { color: rgb(234 247 245 / .86); }
.tile-photo .go { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .25); backdrop-filter: blur(8px); }
.tile-deep { background: radial-gradient(120% 100% at 100% 0%, var(--deep-2), var(--deep)); color: var(--on-deep); border: 0; }
.tile-deep p { color: rgb(234 247 245 / .78); }
.tile-deep .go { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .18); }
.tile-deep .portrait { position: absolute; right: -10px; bottom: 0; height: 108%; width: auto; z-index: -1; filter: drop-shadow(0 20px 30px rgb(0 0 0 / .35)); transition: transform .8s var(--ease); }
.tile-deep:hover .portrait { transform: translateY(-6px); }
.tile-deep .tile-text { max-width: 58%; }
.tile-tint { background: linear-gradient(160deg, var(--accent-tint), var(--surface) 70%); }
.t-implant { grid-column: span 7; grid-row: span 2; min-height: 560px; }
.t-implant h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.t-radiologie, .t-estetica { grid-column: span 5; }
.t-generala, .t-pedodontie, .t-endodontie { grid-column: span 4; }
.t-ortodontie { grid-column: span 5; }
.t-chirurgie { grid-column: span 7; min-height: 300px; }
.chip-price { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .24); backdrop-filter: blur(6px); }

/* ---------- poveste implant (sticky) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-media { position: sticky; top: calc(var(--header-h) + 32px); }
.story-frame { border-radius: var(--r-xl); overflow: hidden; background: #0b1416; box-shadow: var(--shadow-lg); position: relative; }
.story-frame img { width: 100%; aspect-ratio: 1260 / 800; object-fit: cover; filter: contrast(1.05); }
.story-frame figcaption { padding: 14px 18px; font-size: 0.875rem; color: #a9c2c1; border-top: 1px solid rgb(255 255 255 / .08); }
.story-steps { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.story-steps::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); border-radius: 2px; }
.story-steps li { position: relative; padding: 0 0 36px 48px; transition: opacity .5s var(--ease); }
.js .story-steps li { opacity: .55; }
.js .story-steps li.is-on { opacity: 1; }
.story-steps li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.story-steps li.is-on::before { background: var(--grad); border-color: transparent; transform: scale(1.15); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.story-steps h3 { margin-bottom: 8px; }
.story-steps p { color: var(--muted); margin: 0; max-width: 46ch; }
.price-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 32px; }
.price-pill { display: flex; flex-direction: column; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); min-width: 150px; }
.price-pill span { font-size: 0.8125rem; color: var(--muted); }
.price-pill b { font-family: var(--font-d); font-size: 1.35rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- medic ---------- */
.doctor { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.doctor-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 6; background: radial-gradient(110% 90% at 30% 0%, var(--deep-2), var(--deep) 70%); isolation: isolate; }
.doctor-visual::before { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 45%, transparent), transparent); z-index: -1; }
.doctor-visual img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 84%; width: auto; max-width: none; }
.doctor-visual .tag { position: absolute; left: 20px; top: 20px; color: var(--on-deep); font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.doctor-visual .tag small { display: block; font-family: var(--font-b); font-weight: 500; font-size: 0.8125rem; opacity: .75; letter-spacing: 0; }
.quote { margin: 32px 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent); }
.quote p { font-family: var(--font-d); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 500; }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.9375rem; }
.creds { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.creds li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.creds .ic { color: var(--accent); margin-top: 3px; }

/* ---------- echipa ---------- */
.team { border-radius: var(--r-xl); background: radial-gradient(70% 90% at 10% 0%, var(--teal-soft), transparent 60%), radial-gradient(70% 90% at 100% 10%, color-mix(in srgb, var(--logo-violet) 14%, var(--accent-soft)), transparent 65%), var(--accent-soft); padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px) 0; overflow: hidden; position: relative; }
.team-head { max-width: 640px; margin-bottom: 8px; }
.team-head p { max-width: 44ch; color: var(--ink-2); margin: 0; }
.team-photo { margin: 0 auto; max-width: 1100px; }
.team-photo img { width: 100%; }

/* ---------- urgente ---------- */
.urgent { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.urgent::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 28%, transparent), transparent); pointer-events: none; }
.urgent-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--grad); color: var(--accent-ink); }
.urgent-ic .ic { width: 34px; height: 34px; }
.urgent h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.urgent p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.urgent-actions { display: grid; gap: 10px; justify-items: end; position: relative; z-index: 1; }

/* ---------- recenzii ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 18px; }
.score b { font-family: var(--font-d); font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: .9; }
.stars { display: flex; gap: 2px; color: var(--star); }
.stars .ic { width: 18px; height: 18px; }
.score small { display: block; color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
.masonry { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.review blockquote { margin: 14px 0 18px; font-size: 1.03rem; line-height: 1.55; color: var(--ink-2); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; }
.review .av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-d); font-weight: 700; }
.review figcaption span { color: var(--muted); display: block; font-size: 0.8125rem; }
.review:nth-child(3n+2) { background: var(--accent-tint); }

/* ---------- tarife teaser ---------- */
.prices-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-tile { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; min-height: 200px; }
.price-tile span { color: var(--muted); font-size: 0.9375rem; }
.price-tile b { font-family: var(--font-d); font-size: clamp(2rem, 3.2vw, 2.7rem); letter-spacing: -0.04em; line-height: 1; margin-top: auto; font-variant-numeric: tabular-nums; }
.price-tile b small { font-size: 0.5em; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.price-tile.feat { background: radial-gradient(120% 120% at 100% 0%, var(--deep-2), var(--deep)); color: var(--on-deep); border: 0; }
.price-tile.feat span, .price-tile.feat b small { color: rgb(234 247 245 / .75); }
.note { font-size: 0.875rem; color: var(--muted); margin-top: 20px; }

/* ---------- intrebari ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side p { color: var(--muted); margin: 18px 0 28px; max-width: 40ch; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-d); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { transition: transform .35s var(--ease); color: var(--accent); }
.qa details[open] summary .ic { transform: rotate(180deg); }
.qa details p { margin: -6px 0 26px; color: var(--ink-2); max-width: 62ch; }

/* ---------- programare + contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 20px; }
.card { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 44px); }
.booking h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 10px; }
.booking > p { color: var(--muted); margin-bottom: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 24px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-weight: 600; font-size: 0.9375rem; padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 0.9375rem; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.input[aria-invalid="true"] { border-color: #c2412d; }
textarea.input { min-height: 96px; resize: vertical; }
.help { font-size: 0.8125rem; color: var(--muted); }
.err { font-size: 0.875rem; color: #b5381f; font-weight: 500; }
@media (prefers-color-scheme: dark) { .err { color: #ff9a85; } .input[aria-invalid="true"] { border-color: #ff9a85; } }
.preview { margin: 4px 0 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--accent-tint); border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); font-size: 0.9375rem; color: var(--ink-2); white-space: pre-line; }
.preview b { display: block; font-size: 0.8125rem; color: var(--accent); margin-bottom: 6px; }
.send { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-note { display: flex; gap: 10px; margin-top: 18px; font-size: 0.8125rem; color: var(--muted); }
.privacy-note .ic { color: var(--accent); margin-top: 2px; }

.info { display: grid; gap: 20px; align-content: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list .i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--accent-2); }
.info-list b { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.info-list a, .info-list span { font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 300px; background: var(--bg-2); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background:
  radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 40%),
  repeating-linear-gradient(0deg, transparent 0 38px, var(--line) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, var(--line) 38px 39px), var(--bg-2); }
.map-ph .pin { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 12px 30px -10px var(--accent); }
.map-ph p { margin: 0; font-size: 0.875rem; color: var(--muted); max-width: 34ch; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.f-grid h4 { font-family: var(--font-b); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-grid a, .f-grid button.linklike { text-decoration: none; color: var(--ink-2); font-size: 0.9375rem; }
.f-grid a:hover, .f-grid button.linklike:hover { color: var(--ink); text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.f-about p { color: var(--muted); font-size: 0.9375rem; max-width: 36ch; margin-top: 16px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--grad); color: var(--accent-ink); border-color: transparent; }
.f-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; font-size: 0.8125rem; color: var(--muted); }
.f-legal p { margin: 0; max-width: 80ch; }
.anpc { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.anpc a { display: block; border-radius: 6px; }
.anpc img { width: 201px; height: 50px; }
.anpc .anpc-txt { display: inline-flex; align-items: center; min-height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 600; font-size: 0.8125rem; text-decoration: none; color: var(--ink-2); }

/* ---------- bara mobila ---------- */
.mobile-bar { display: none; }

/* ---------- banner cookie ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: min(420px, calc(100vw - 32px)); padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.consent p { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 14px; }
.consent .row { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .row .btn { flex: 1 1 auto; }
.consent .toggle { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.875rem; }
.consent .toggle:last-of-type { margin-bottom: 14px; }
.switch { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; flex: none; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch:checked { background: var(--grad); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { opacity: .6; cursor: not-allowed; }
.consent-enter { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- pagini interioare ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.875rem; color: var(--muted); margin-bottom: 24px; padding: 0; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.page-hero { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); margin-bottom: 20px; }
.page-hero .lead { margin-bottom: 32px; }
.ph-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-portrait { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; background: radial-gradient(110% 100% at 20% 0%, var(--deep-2), var(--deep) 70%); isolation: isolate; }
.ph-portrait::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 40%, transparent), transparent); z-index: -1; }
.ph-portrait img { position: absolute; bottom: 0; right: 6%; height: 104%; width: auto; max-width: none; filter: drop-shadow(0 24px 40px rgb(0 0 0 / .35)); }
.ph-portrait .ph-ic { position: absolute; left: 24px; top: 24px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgb(255 255 255 / .12); color: var(--on-deep); border: 1px solid rgb(255 255 255 / .2); }
.ph-portrait .ph-ic .ic { width: 30px; height: 30px; }
.quick { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.quick span { display: inline-flex; align-items: center; gap: 8px; }
.quick .ic { color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.checklist { list-style: none; margin: 0; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.checklist h3 { font-size: 1.15rem; margin-bottom: 4px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist .ic { color: var(--accent); margin-top: 3px; }

.timeline { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; counter-reset: st; }
.timeline li { list-style: none; position: relative; padding: 36px 24px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line-2); }
.timeline li::after { content: ""; position: absolute; top: -7px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px var(--bg); }
.timeline h3 { font-size: 1.2rem; margin-bottom: 10px; }
.timeline p { color: var(--muted); font-size: 0.975rem; margin: 0; max-width: 32ch; }
.timeline-wrap { padding-left: 0; margin: 0; }

.plist { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.plist-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.plist-head h3 { font-size: 1.25rem; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px clamp(20px, 3vw, 32px); }
.prow:nth-child(even) { background: var(--surface-2); }
.prow span { color: var(--ink-2); }
.prow b { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rel .ic { width: 28px; height: 28px; color: var(--accent); }
.rel p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); background: radial-gradient(120% 140% at 100% 0%, var(--deep-2), var(--deep) 60%); color: var(--on-deep); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -300px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 40%, transparent), transparent); z-index: -1; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.cta-band p { margin: 0; color: rgb(234 247 245 / .8); max-width: 52ch; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { --b-fg: var(--on-deep); border-color: rgb(255 255 255 / .3); }
.cta-band .btn-ghost:hover { background: rgb(255 255 255 / .08); border-color: var(--on-deep); }

/* tarife */
.tarife-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cat-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.cat-nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.9375rem; display: flex; justify-content: space-between; }
.cat-nav a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-nav a:hover, .cat-nav a.is-on { background: var(--surface); color: var(--ink); }
.search { position: relative; margin-bottom: 28px; }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 50px; min-height: 58px; font-size: 1.0625rem; border-radius: 999px; background: var(--surface); }
.tarife-cats { display: grid; gap: 24px; }
.empty { text-align: center; padding: 48px 24px; border-radius: var(--r-xl); border: 1px dashed var(--line-2); color: var(--muted); }
.empty b { display: block; color: var(--ink); font-family: var(--font-d); font-size: 1.3rem; margin-bottom: 6px; }
mark { background: color-mix(in srgb, var(--glow) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

/* urgente */
.u-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.big-phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-d); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; text-decoration: none; color: var(--accent); margin: 8px 0 24px; font-variant-numeric: tabular-nums; }
.big-phone .ic { width: .8em; height: .8em; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.case h3 { margin-bottom: 10px; font-size: 1.25rem; }
.case p { margin: 0; color: var(--ink-2); }
.case:first-child { background: var(--accent-tint); }
.alert { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r-lg); background: color-mix(in srgb, #e05a3a 9%, var(--surface)); border: 1px solid color-mix(in srgb, #e05a3a 30%, transparent); margin-top: 24px; }
.alert .ic { color: #c2412d; width: 26px; height: 26px; }
.alert p { margin: 0; color: var(--ink-2); }

/* legal */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.9rem; }
.toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: var(--muted); }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { text-decoration: underline; }
.doc { max-width: 72ch; }
.doc h2 { font-size: 1.5rem; margin: 44px 0 14px; letter-spacing: -0.02em; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1em; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; }
.doc .box { padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin: 16px 0; }
.updated { font-size: 0.875rem; color: var(--muted); margin-top: 40px; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-content: center; text-align: center; justify-items: center; gap: 20px; }
.nf b { font-family: var(--font-d); font-size: clamp(6rem, 18vw, 12rem); line-height: .85; letter-spacing: -0.06em; color: var(--accent); }

/* ---------- animatii de intrare ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .hero-anim > * { animation: up 1s var(--ease) both; }
  .hero-anim > *:nth-child(2) { animation-delay: .08s; }
  .hero-anim > *:nth-child(3) { animation-delay: .16s; }
  .hero-anim > *:nth-child(4) { animation-delay: .24s; }
  .hero-frame img { animation: zoom 1.6s var(--ease) both; }
  .hero-frame { animation: reveal 1.2s var(--ease) both; }
  .hero-card { animation: up 1s .45s var(--ease) both; }
  @keyframes up { from { opacity: 0; transform: translateY(24px); } }
  @keyframes zoom { from { transform: scale(1.12); } }
  @keyframes reveal { from { clip-path: inset(12% 6% 12% 6% round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
}

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .header-actions .live { display: none; }
}
@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; }
  .header-phone span { display: none; }
}
@media (max-width: 1060px) {
  .nav, .header-actions .live, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .t-implant { grid-column: span 6; grid-row: auto; min-height: 460px; }
  .t-radiologie, .t-estetica, .t-generala, .t-pedodontie, .t-endodontie, .t-ortodontie { grid-column: span 3; }
  .t-chirurgie { grid-column: span 6; }
  .prices-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .tarife-layout { grid-template-columns: 1fr; }
  .cat-nav { position: static; display: flex; overflow-x: auto; gap: 6px; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cat-nav a { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); scroll-snap-align: start; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .hero-grid, .page-hero-grid, .story, .doctor, .faq, .contact, .split, .u-hero, .legal { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 560px; }
  .hero-card { left: 16px; bottom: 16px; }
  .story-media, .faq-side, .toc { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .urgent { grid-template-columns: minmax(0, 1fr); }
  .urgent-actions { justify-items: start; }
  .doctor-visual { max-width: 480px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline li { padding: 0 0 28px 36px; }
  .timeline li::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .timeline li::after { top: 4px; }
  .related, .cases { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { min-height: 50px; width: 100%; padding: 0 12px; }
  body { padding-bottom: 76px; }
  .consent { bottom: 86px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > .tile { grid-column: auto; }
  .t-implant { min-height: 420px; }
  .tile-deep .tile-text { max-width: 62%; }
  .prices-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .price-tile { padding: 20px; min-height: 160px; }
  .f-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .header-actions .btn { display: none; }
  .send .btn { flex: 1 1 100%; }
  .prow { flex-direction: column; gap: 2px; }
  .reviews-head { align-items: start; }
  .fact { padding: 22px 16px; }
}

/* ajustari dupa verificarea vizuala */
.info { display: flex; flex-direction: column; }
.info .map { flex: 1 1 auto; min-height: 320px; }
.f-grid li { font-size: 0.9375rem; color: var(--ink-2); }
.cat-nav a span { margin-left: 10px; }
.plist-head h2, .plist-head h3 { flex: 1 1 auto; }
.plist-head .link-arrow { white-space: nowrap; font-size: 0.9375rem; }
@media (max-width: 640px) {
  .prow { flex-direction: row; gap: 16px; align-items: baseline; }
  .prow span { font-size: 0.9375rem; }
  .plist-head { padding: 18px 20px; }
  .plist-head .link-arrow { font-size: 0.875rem; }
  .tile-deep .portrait { height: 82%; right: -36px; opacity: .95; }
  .tile-deep .tile-text { max-width: 58%; position: relative; }
  .tile-deep .tile-text p { font-size: 0.9rem; }
  .team { padding-bottom: 0; }
  .team-photo { overflow: hidden; margin-inline: calc(clamp(20px, 4vw, 56px) * -1); }
  .team-photo img { width: 175%; max-width: none; margin-left: -37.5%; }
}
.hero, .page-hero { overflow-x: clip; }
.doc { overflow-wrap: anywhere; }
@media (max-width: 640px) { .doc table { display: block; overflow-x: auto; } .doc th, .doc td { min-width: 120px; } }

/* =========================================================
   Ritm de sectiuni: fiecare sectiune are fundalul ei si urca
   peste cea anterioara ca o foaie (colturi 44px).
   ========================================================= */
:root {
  --sec-white: #fcfdff;
  --sec-tint: linear-gradient(180deg, #eaf0fc, #f2f5fc);
  --sec-teal: linear-gradient(180deg, #e3f6f5, #eef5fb 70%);
  --sec-lilac: linear-gradient(180deg, #efeafc, #f1f3fc 75%);
  --sec-deep: radial-gradient(90% 70% at 85% 10%, #3b2680 0%, transparent 60%), radial-gradient(70% 60% at 10% 90%, #0e4f63 0%, transparent 60%), #120c33;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sec-white: #11132e;
    --sec-tint: linear-gradient(180deg, #141a3e, #10132f);
    --sec-teal: linear-gradient(180deg, #0f2a35, #10172f 70%);
    --sec-lilac: linear-gradient(180deg, #1c1645, #121434 75%);
    --sec-deep: radial-gradient(90% 70% at 85% 10%, #2e1d68 0%, transparent 60%), radial-gradient(70% 60% at 10% 90%, #0b3f50 0%, transparent 60%), #08061c;
  }
}
.sec { position: relative; padding-block: clamp(84px, 10vw, 140px) clamp(110px, 12vw, 170px); }
.sheet { position: relative; border-radius: 44px 44px 0 0; margin-top: -44px; box-shadow: 0 -24px 60px -36px rgb(30 20 100 / 0.35); }
.bg-white { background: var(--sec-white); }
.bg-tint { background: var(--sec-tint); }
.bg-teal { background: var(--sec-teal); }
.bg-lilac { background: var(--sec-lilac); }
.bg-deep { background: var(--sec-deep); color: var(--on-deep); }
.bg-mesh-soft { background: radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--logo-teal) 16%, transparent), transparent 70%), radial-gradient(60% 60% at 100% 30%, color-mix(in srgb, var(--logo-blue) 16%, transparent), transparent 70%), radial-gradient(50% 50% at 50% 100%, color-mix(in srgb, var(--logo-violet) 12%, transparent), transparent 70%), var(--sec-white); }
.bg-lilac .team { background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1px solid color-mix(in srgb, #fff 60%, transparent); }
.p-home .site-footer { margin-top: -44px; border-radius: 44px 44px 0 0; position: relative; padding-top: clamp(96px, 9vw, 120px); box-shadow: 0 -24px 60px -36px rgb(30 20 100 / 0.3); }

/* granulatie fina peste tot site-ul (strat fix, fara evenimente) */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { body::after { mix-blend-mode: screen; opacity: 0.035; } }

/* ---------- hero: gradient mesh in culorile logo-ului ---------- */
.bg-mesh { position: relative; isolation: isolate; padding-bottom: clamp(90px, 9vw, 120px); }
.mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.mesh i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -18vw; background: radial-gradient(closest-side, #8fb3ff, transparent); }
.mesh i:nth-child(2) { width: 40vw; height: 40vw; right: -8vw; top: 4vw; background: radial-gradient(closest-side, #7fe9e4, transparent); }
.mesh i:nth-child(3) { width: 36vw; height: 36vw; left: 30vw; bottom: -16vw; background: radial-gradient(closest-side, #c3a8ff, transparent); opacity: 0.4; }
@media (prefers-color-scheme: dark) { .mesh i { opacity: 0.3; } }
@media (prefers-reduced-motion: no-preference) {
  .mesh i:nth-child(1) { animation: drift1 22s ease-in-out infinite alternate; }
  .mesh i:nth-child(2) { animation: drift2 26s ease-in-out infinite alternate; }
  .mesh i:nth-child(3) { animation: drift1 30s ease-in-out infinite alternate-reverse; }
  @keyframes drift1 { to { transform: translate(8vw, 5vw) scale(1.12); } }
  @keyframes drift2 { to { transform: translate(-7vw, 6vw) scale(0.92); } }
}
.bg-mesh .facts { margin-top: clamp(48px, 6vw, 72px); background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid color-mix(in srgb, #fff 55%, transparent); border-radius: var(--r-lg); }
@media (prefers-color-scheme: dark) { .bg-mesh .facts { border-color: var(--line); } }

/* titlul hero: cuvintele urca dintr-o masca, pe rand */
.words .wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.words .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-anim > h1.words { animation: none; }
  .words .w { animation: wordUp 1s var(--ease) both; animation-delay: calc(0.1s + var(--i) * 70ms); }
  @keyframes wordUp { from { transform: translateY(105%); } }
}

/* parallax discret pe poza din hero (animatie legata de derulare, fara JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-media { animation: heroPar linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes heroPar { to { transform: translateY(14%); } }
  }
}

/* ---------- banda cu tehnologii (singura bucla continua din pagina) ---------- */
.marquee { margin-top: clamp(40px, 5vw, 56px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; width: max-content; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); font-weight: 500; font-size: 0.9375rem; white-space: nowrap; color: var(--ink-2); }
.marquee li .ic { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 45s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; } .marquee li[aria-hidden] { display: none; } .marquee { mask-image: none; -webkit-mask-image: none; } }

/* ---------- carduri: lumina care urmareste cursorul ---------- */
.tile-tint2 { background: linear-gradient(160deg, color-mix(in srgb, var(--logo-violet) 9%, var(--surface)), var(--surface) 70%); }
.tile-tint3 { background: linear-gradient(160deg, color-mix(in srgb, var(--logo-blue) 11%, var(--surface)), var(--surface) 70%); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--logo-teal) 22%, transparent), transparent 60%); }
.tile > :not(img) { position: relative; z-index: 1; }
.tile > .go { position: absolute; }
@media (hover: hover) and (pointer: fine) { .tile:hover::before { opacity: 1; } }

/* ---------- implant 3D, controlat de derulare ---------- */
.impl3d { padding: 0; }
.impl3d-track { height: 560vh; position: relative; }
.impl3d-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.impl3d-stage { position: absolute; inset: 0; }
.impl3d-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.impl3d.is-3d canvas { opacity: 1; }
.impl3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: opacity .8s var(--ease); }
.impl3d.is-3d .impl3d-poster { opacity: 0; }
.impl3d-loading { position: absolute; right: 8%; bottom: 10%; display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: rgb(241 239 255 / .7); opacity: 0; transition: opacity .4s ease; }
.impl3d.is-loading .impl3d-loading { opacity: 1; }
.impl3d-loading span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .25); border-top-color: var(--logo-teal); }
@media (prefers-reduced-motion: no-preference) { .impl3d-loading span { animation: spin 0.9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
.impl3d-ui { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.impl3d-copy { width: min(430px, 40%); pointer-events: auto; }
.impl3d-copy .eyebrow { color: #7fe9e4; }
.impl3d-copy h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 28px; }
.impl3d-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.impl3d-steps li { padding: 14px 18px; border-radius: 16px; border: 1px solid transparent; transition: background-color .5s var(--ease), border-color .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); opacity: .45; }
.impl3d-steps li.is-on { opacity: 1; background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .12); transform: translateX(6px); }
.impl3d-steps h3 { font-size: 1.15rem; color: #fff; }
.impl3d-steps p { margin: 6px 0 0; font-size: 0.9375rem; color: rgb(241 239 255 / .78); display: none; }
.impl3d-steps li.is-on p { display: block; }
.impl3d-progress { margin-top: 24px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .12); overflow: hidden; }
.impl3d-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--logo-blue), var(--logo-teal)); transform-origin: left; transform: scaleX(0); }
.impl3d-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px clamp(110px, 12vw, 160px); position: relative; }
.impl3d-after .price-pills { margin: 0; }
.bg-deep .price-pill { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); }
.bg-deep .price-pill span { color: rgb(241 239 255 / .7); }
.bg-deep .price-pill b { color: #fff; }
.impl3d-after .btn-light { --b-bg: #fff; --b-fg: #1b1840; }
@media (max-width: 860px) {
  .impl3d-track { height: 480vh; }
  .impl3d-ui { align-items: flex-end; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .impl3d-copy { width: 100%; }
  .impl3d-copy h2 { font-size: 1.6rem; margin-bottom: 14px; }
  .impl3d-copy .eyebrow { margin-bottom: 8px; }
  .impl3d-steps li { display: none; padding: 14px 16px; transform: none !important; background: rgb(18 12 51 / .72) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .impl3d-steps li.is-on { display: block; }
  .impl3d-poster { object-position: 78% 20%; }
}
