/* ──────────────────────────────────────────────────────────────────────────
   Dr. Dinu Dumitrașcu — foaie de stil
   Negru cald (onix) și auriu metalic intens, pe fond alb și șampanie. Tipografie: TeX Gyre Pagella
   (Palatino), o singură familie, cu cifre vechi în text și cifre tabelare în prețuri.
   ────────────────────────────────────────────────────────────────────────── */

@font-face { font-family: 'Pagella'; src: url('/fonts/pagella-regular.woff2') format('woff2'), url('/fonts/pagella-regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Pagella'; src: url('/fonts/pagella-italic.woff2') format('woff2'), url('/fonts/pagella-italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Pagella'; src: url('/fonts/pagella-bold.woff2') format('woff2'), url('/fonts/pagella-bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Pagella'; src: url('/fonts/pagella-bolditalic.woff2') format('woff2'), url('/fonts/pagella-bolditalic.woff') format('woff'); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #1f1a14;
  --ink-2: #463e34;
  --muted: #6b6b6b; /* 4,5:1 și pe carduri și pe fondul șampanie */
  --muted-tint: #6b665c;
  --paper: #ffffff;
  --champagne: #f8eed7;
  --champagne-2: #efe0bb;
  --bronze: #8a6420;
  --bronze-line: #c9a24a;
  --line: #ecdfc0;
  --on-ink: #f3ecdc;
  --on-ink-muted: #c9c1ae;

  --serif: 'Pagella', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-base: 1.125rem;
  --fs-m: 1.3125rem;
  --fs-l: 1.5rem;
  --fs-xl: clamp(1.75rem, 1.35rem + 1.5vw, 2.25rem);
  --fs-2xl: clamp(2.125rem, 1.5rem + 2.5vw, 3rem);
  --fs-3xl: clamp(2.5rem, 1.45rem + 4.3vw, 4.5rem);

  /* Spațiere în progresie φ */
  --s1: 0.375rem;
  --s2: 0.625rem;
  --s3: 1rem;
  --s4: 1.625rem;
  --s5: 2.625rem;
  --s6: 4.25rem;
  --s7: 6.875rem;

  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.75rem;
  --radius: 8px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.12; letter-spacing: -0.012em; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); }
h3, .h3 { font-size: var(--fs-l); }
p { margin: 0 0 var(--s3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
strong { font-weight: 700; }
code { font-family: inherit; background: var(--champagne); padding: 0 0.3em; border-radius: var(--radius); font-size: 0.95em; }

a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--bronze-line); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color 0.15s, color 0.15s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: var(--radius); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s3); top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: var(--s2) var(--s3); }
.skip:focus { top: var(--s3); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(45rem + 2 * var(--gutter)); }

.lead { font-size: var(--fs-m); line-height: 1.55; color: var(--ink); max-width: 36em; }
.muted { color: var(--muted); }
.section--tint .muted { color: var(--muted-tint); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.link { display: inline-block; font-size: var(--fs-base); color: var(--bronze); text-decoration-color: var(--bronze-line); }
.link:hover { color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: inherit; font-size: 1.0625rem; line-height: 1.2; text-decoration: none;
  border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--bronze); border-color: var(--bronze); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--champagne); }
.section--tint .btn--ghost:hover, .factsheet .btn--ghost:hover { background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.btn-row--stack { flex-direction: column; }
.btn-row--stack .btn { width: 100%; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.topbar { background: #2e271f; color: var(--on-ink); font-size: var(--fs-s); border-bottom: 1px solid rgba(212, 175, 55, 0.25); }
.topbar__inner { display: flex; justify-content: flex-end; gap: var(--s5); padding-block: 0.45rem; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 0.45em; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--bronze-line); }
.topbar .icon { color: var(--gold); }

/* ── Header + nav ────────────────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); } }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; line-height: 1.15; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
/* Monograma (provizorie) lângă nume */
.brand__mark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 2.875rem; height: 2.875rem; border: 1px solid var(--bronze-line); border-radius: 50%; font-size: 1.125rem; letter-spacing: -0.04em; color: var(--bronze); }
.brand__name { font-size: 1.375rem; letter-spacing: -0.01em; }
.brand__role { font-size: var(--fs-s); font-style: italic; color: var(--muted); }

.menu-toggle { display: none; }
.nav { display: flex; align-items: center; gap: var(--s4); height: 100%; }
.nav__list { display: flex; align-items: stretch; height: 100%; }
.nav__item { display: flex; align-items: center; }
.nav__link { display: block; padding: 0.5rem 0.8rem; text-decoration: none; font-size: 1.0625rem; white-space: nowrap; }
.nav__link:hover { color: var(--bronze); }
.nav__link[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 0.45em; }
.nav__expand { display: inline-flex; align-items: center; margin-left: -0.6rem; padding: 0.35rem; border: 0; background: none; color: inherit; cursor: pointer; border-radius: var(--radius); }
.nav__expand .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.nav__expand[aria-expanded='true'] .icon { transform: rotate(180deg); }
.nav__contact { display: none; }

/* Comutatorul de limbă: RO | EN, limba curentă evidențiată */
/* Un singur comutator: în dreapta headerului pe desktop, lângă butonul de meniu pe telefon */
.header__lang { display: flex; order: 1; }
.header__lang + .menu-toggle + .nav { margin-left: auto; }
.lang { display: flex; align-items: center; gap: 0.15rem; font-size: var(--fs-s); letter-spacing: 0.06em; }
.lang__item { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2.25rem; padding: 0 0.35rem; border-radius: var(--radius); text-decoration: none; color: var(--muted); }
.lang__item + .lang__item { position: relative; }
.lang__item + .lang__item::before { content: ''; position: absolute; left: -0.1rem; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
a.lang__item:hover { color: var(--bronze); }
.lang__item[aria-current] { color: var(--ink); font-weight: 700; }

.mega { display: none; }
.mega__inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: var(--s5); }
.mega__cat { font-style: italic; color: var(--bronze); margin-bottom: var(--s2); font-size: var(--fs-s); }
.mega ul li + li { margin-top: 0.35rem; }
.mega a { text-decoration: none; }
.mega a:hover { color: var(--bronze); text-decoration: underline; text-decoration-color: var(--bronze-line); }
.mega__col--aside { border-left: 1px solid var(--line); padding-left: var(--s4); }
.mega__note { color: var(--muted); font-size: var(--fs-s); }

@media (min-width: 68rem) {
  .nav__item--mega { position: static; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(20, 16, 12, 0.35);
    padding: var(--s5) 0;
  }
  .mega__inner { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega, .mega[data-open] { display: block; }
  .nav__item--mega[data-closed] .mega:not([data-open]) { display: none; }
}

@media (max-width: 67.99rem) {
  :root { --header-h: 4rem; }
  .brand__name { font-size: 1.2rem; }
  .brand__role { font-size: var(--fs-xs); }
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer;
  }
  .menu-toggle .icon { width: 1.5rem; height: 1.5rem; }
  .menu-toggle__close, .menu-toggle[aria-expanded='true'] .menu-toggle__open { display: none; }
  .menu-toggle[aria-expanded='true'] .menu-toggle__close { display: inline-flex; }

  /* backdrop-filter ar face din header blocul de referință pentru meniul fix și l-ar tăia la înălțimea headerului. */
  .header { background: #fff; backdrop-filter: none; }
  .header__inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); }
  .nav { flex-direction: column; align-items: stretch; width: 100%; height: auto; padding-bottom: var(--s3); }
  .js .nav {
    display: none; position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0;
    background: var(--paper); overflow-y: auto; padding: var(--s3) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
  .js .nav[data-open] { display: flex; }
  .nav__list { flex-direction: column; height: auto; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 0.85rem 0; font-size: var(--fs-m); }
  .nav__expand { margin: 0; width: 2.75rem; height: 2.75rem; justify-content: center; border: 1px solid var(--line); }
  /* Pe telefon procedurile se văd direct în meniu, fără să le mai deschizi */
  .mega, .mega[data-open] { display: block; width: 100%; padding: 0 0 var(--s3); }
  .nav__expand { display: none; }
  .mega__inner { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
  .mega__col--aside { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .nav__cta { margin-top: var(--s4); }
  .header__inner { column-gap: var(--s2); }
  .brand { flex: 1 1 0; min-width: 0; }
  .header__lang { order: 0; }
  .nav__contact { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s3); }
  .nav__contact a { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; color: var(--bronze); }
  .topbar { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding-block: var(--s6) var(--s7); }
.hero__grid { display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s6); align-items: center; }
.hero__who { font-style: italic; color: var(--bronze); font-size: var(--fs-m); margin-bottom: var(--s3); }
.hero__title { font-size: var(--fs-3xl); max-width: 17ch; line-height: 1.04; letter-spacing: -0.025em; }
.hero__lead { font-size: var(--fs-m); line-height: 1.55; max-width: 32em; margin-top: var(--s4); }
.hero__facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: var(--s3) var(--s5); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.hero__facts dt { font-size: var(--fs-s); font-style: italic; color: var(--muted); }
.hero__facts dd { font-size: var(--fs-base); line-height: 1.35; }

.study { margin: 0 auto; max-width: min(100%, calc(74vh * 0.618)); }
.study__svg { width: 100%; height: auto; background: var(--champagne); }
.study__svg .f { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.study__svg .iris { stroke-width: 1.4; }
.study__svg .g { fill: none; stroke: var(--bronze-line); stroke-width: 1; opacity: 0.85; }
.study__svg .g--short { opacity: 0.6; }
.study__svg .n { fill: none; stroke: var(--bronze); stroke-width: 1.2; }
.study__svg text { font-family: var(--serif); font-style: italic; font-size: 19px; fill: var(--bronze); }
.study__caption { margin-top: var(--s3); font-size: var(--fs-s); font-style: italic; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .study__face .f { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s cubic-bezier(0.55, 0.05, 0.25, 1) 0.15s forwards; }
  .study__guides { opacity: 0; animation: fade 1s ease 1.1s forwards; }
  .study__notes .n { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s ease 1.7s forwards; }
  .study__notes text { opacity: 0; animation: fade 0.8s ease 2.2s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding-block: var(--s7); }
.section--tint { background: var(--champagne); }
.section--rule { border-top: 1px solid var(--line); }
.section--flush { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s2) var(--s5); margin-bottom: var(--s5); }
.section-head h2 { grid-column: 1; }
.section-head__text { grid-column: 1; max-width: 38em; color: var(--muted); margin: 0; }
.section--tint .section-head__text { color: var(--muted-tint); }
.section-head .link { grid-column: 2; grid-row: 1 / span 2; align-self: end; white-space: nowrap; }

.split { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s4) var(--s6); align-items: start; }
.split > div:first-child h2 { margin-bottom: var(--s2); }

/* ── Frames (passe-partout) ──────────────────────────────────────────────── */
.frame { background: #fff; padding: clamp(0.4rem, 1vw, 0.6rem); border-radius: var(--radius-lg); }
.frame img { width: 100%; border-radius: calc(var(--radius-lg) - 0.4rem); }
.section--tint .frame, .factsheet .frame { background: var(--paper); border-color: var(--champagne-2); }

/* ── Procedure index ─────────────────────────────────────────────────────── */
.pindex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
.pindex__cat { font-size: var(--fs-m); font-style: italic; color: var(--bronze); padding-bottom: var(--s2); border-bottom: 1px solid var(--bronze-line); }
.pindex__item {
  display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--s4);
  padding: var(--s3) 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.pindex__name { font-size: var(--fs-l); line-height: 1.25; }
.pindex__sum { grid-column: 1; color: var(--muted); font-size: var(--fs-s); line-height: 1.5; margin-top: 0.2rem; }
.pindex__item:hover .pindex__name { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* ── About ───────────────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s6); align-items: center; }
.about__media { max-width: 26rem; }
.about__text h2, .about__text h1 { margin-bottom: var(--s3); }
.about__text .lead { margin-bottom: var(--s3); }
.checks { list-style: none; padding: 0; margin: var(--s3) 0 var(--s4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s4); }
.checks li { position: relative; padding-left: 1.6em; }
.checks li::before { content: ''; position: absolute; left: 0.15em; top: 0.35em; width: 0.9em; height: 0.5em; border-left: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: rotate(-45deg); }
.study--photo .photo { aspect-ratio: 618 / 1000; border-radius: calc(var(--radius-lg) - 1px); }
.slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease; }
.slides img.is-on { opacity: 1; }
/* Fotografie cu tonuri proprii: fără filtrul monocrom al setului */
.photo.photo--natural img { filter: none; }
.photo.photo--natural::after { display: none; }
/* Color, dar stins: saturație redusă și o urmă caldă, fără filtrul monocrom */
.photo.photo--estompat img { filter: saturate(0.5) sepia(0.15) contrast(0.92) brightness(1.05); }
.photo.photo--estompat::after { display: none; }
/* Portretul din hero se vede întreg, în proporțiile lui (4:5) */
.study:has(.photo--natural) { max-width: min(100%, calc(76vh * 0.8)); }
.study--photo .photo.photo--natural { aspect-ratio: 1122 / 1402; }
.quote { margin: var(--s5) 0; padding-top: var(--s3); position: relative; }
.quote::before { content: ''; position: absolute; top: 0; left: 0; width: 3rem; border-top: 1px solid var(--bronze); }
.quote p { font-size: var(--fs-xl); font-style: italic; line-height: 1.25; }
.quote footer { margin-top: var(--s2); font-size: var(--fs-s); color: var(--muted); }
.section--tint .quote footer { color: var(--muted-tint); }
.quote--large { max-width: 34rem; margin: var(--s6) auto 0; text-align: center; }
.quote--large::before { left: 50%; transform: translateX(-50%); }
.quote--large p { font-size: var(--fs-2xl); }

/* ── Principles ──────────────────────────────────────────────────────────── */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.principle { border-top: 1px solid var(--ink); padding-top: var(--s3); }
.principle h3 { margin-bottom: var(--s2); }
.principle p { color: var(--ink-2); }

/* ── Steps (secvențe reale) ──────────────────────────────────────────────── */
.steps { display: grid; gap: var(--s4); }
.steps__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: var(--s3); position: relative; }
.steps__num { grid-row: 1 / span 2; font-size: 2.25rem; line-height: 1; color: var(--bronze); font-style: italic; }
.steps__title { font-size: var(--fs-m); margin: 0.35rem 0 var(--s1); }
.steps__item p { color: var(--ink-2); }
.steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.steps--row .steps__item { display: block; padding-top: var(--s3); border-top: 1px solid var(--line); }
.steps--row .steps__item::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--bronze); transform: rotate(45deg); }
.steps--row .steps__num { display: block; font-size: var(--fs-2xl); margin-bottom: var(--s2); }

/* ── Before / after ──────────────────────────────────────────────────────── */
.feature-case { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s6); align-items: center; }
.feature-case__text h2 { margin-bottom: var(--s3); }
.feature-case__media { max-width: 32rem; justify-self: end; width: 100%; }

.case { margin: 0; }
.compare { position: relative; aspect-ratio: var(--raport, 4 / 5); overflow: hidden; background: var(--champagne); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.compare__img { width: 100%; height: 100%; object-fit: cover; }
/* Fotografiile pacienților: fără „salvează imaginea” la apăsare lungă, tras sau selectat */
.compare { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.compare__img { pointer-events: none; -webkit-user-drag: none; }
.compare__tag { position: absolute; top: var(--s2); font-size: var(--fs-xs); background: rgba(255, 255, 255, 0.9); padding: 0.15rem 0.5rem; border-radius: var(--radius); pointer-events: none; }
.compare__tag--before { left: var(--s2); }
.compare__tag--after { right: var(--s2); }
.compare__handle, .compare__range { display: none; }
.js .compare { display: block; touch-action: pan-y; }
.js .compare__img { position: absolute; inset: 0; }
.js .compare__after { clip-path: inset(0 0 0 var(--pos)); }
.js .compare__handle { display: block; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(20, 16, 12, 0.15); }
.js .compare__handle::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; border: 1px solid var(--bronze-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384652f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E");
  background-size: 1.25rem; background-position: center; background-repeat: no-repeat;
  box-shadow: 0 2px 10px rgba(20, 16, 12, 0.15);
}
.js .compare__range { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.js .compare:has(.compare__range:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 4px; }

.label { margin-top: var(--s3); }
.label__title { font-size: var(--fs-m); line-height: 1.3; }
.label__meta { font-style: italic; color: var(--muted); font-size: var(--fs-s); margin: 0.2rem 0 0; }
.section--tint .label__meta { color: var(--muted-tint); }
.label__note { font-size: var(--fs-s); margin: 0.2rem 0 0; }
.label__flag { display: inline-block; margin-top: var(--s2); font-size: var(--fs-xs); color: var(--bronze); border: 1px solid var(--bronze-line); padding: 0.05rem 0.45rem; border-radius: var(--radius); }
.disclaimer { margin-top: var(--s4); font-size: var(--fs-s); font-style: italic; color: var(--muted); max-width: 44em; }
.section--tint .disclaimer { color: var(--muted-tint); }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.cases .case[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.filters button, .chips a {
  font: inherit; font-size: var(--fs-s); padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-block;
}
.filters button:hover, .chips a:hover { border-color: var(--ink); }
.filters button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.empty { color: var(--muted); font-style: italic; }

/* ── Episodes ────────────────────────────────────────────────────────────── */
.episodes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.episodes--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode a { display: block; text-decoration: none; }
.cover { position: relative; aspect-ratio: 4 / 5; background: var(--champagne); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s3); transition: background-color 0.2s; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 92% 50%; }
.cover .photo { position: absolute; inset: 0; }
.cover__num { font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: 0.9; font-style: italic; color: var(--bronze); }
.cover__serie { font-size: var(--fs-xs); font-style: italic; color: var(--muted-tint); }
.episode a:hover .cover { background: var(--champagne-2); }
.episode__meta { display: block; margin-top: var(--s3); font-size: var(--fs-s); font-style: italic; color: var(--muted); }
.episode__title { display: block; margin-top: 0.2rem; font-size: 1.1875rem; line-height: 1.3; }
.episode a:hover .episode__title { text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 0.18em; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; font-size: var(--fs-m); line-height: 1.35; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--bronze); }
.faq__icon { width: 1.25rem; height: 1.25rem; color: var(--bronze); transition: transform 0.2s; }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item p { padding: 0 0 var(--s4); max-width: 40em; color: var(--ink-2); }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band { background: var(--ink); color: var(--on-ink); padding-block: var(--s6); }
.cta-band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s5) var(--s6); align-items: center; }
.cta-band h2 { color: var(--champagne); margin-bottom: var(--s3); }
.cta-band p { color: var(--on-ink-muted); max-width: 32em; }
.cta-band__list { display: grid; gap: var(--s2); }
.cta-band__list a { display: flex; align-items: center; gap: var(--s3); padding: var(--s3); border: 1px solid rgba(248, 238, 215, 0.22); border-radius: var(--radius); text-decoration: none; color: var(--on-ink); font-size: var(--fs-m); line-height: 1.25; transition: border-color 0.15s, background-color 0.15s; }
.cta-band__list a:hover { border-color: var(--champagne); background: rgba(248, 238, 215, 0.06); }
.cta-band__list .icon { width: 1.5rem; height: 1.5rem; color: var(--bronze-line); }
.cta-band__k { display: block; font-size: var(--fs-s); font-style: italic; color: var(--on-ink-muted); }
.cta-band :focus-visible { outline-color: var(--champagne); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { padding-block: var(--s6) var(--s4); font-size: var(--fs-s); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: var(--s5); }
.footer__name { font-size: var(--fs-l); line-height: 1.2; }
.footer__brand p { margin-bottom: var(--s1); }
.footer__head { font-style: italic; color: var(--bronze); margin-bottom: var(--s2); }
.footer ul li + li { margin-top: 0.3rem; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { text-decoration: underline; text-decoration-color: var(--bronze-line); }
.footer__contact a { overflow-wrap: anywhere; }
.footer__legal { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s5); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); line-height: 1.6; }
.footer__company { display: flex; flex-direction: column; font-style: normal; }
.footer__operator { color: var(--ink); }
.footer__disclaimer { justify-self: end; max-width: 32rem; margin: 0; text-align: right; font-style: italic; }
.footer__disclaimer:first-child { grid-column: 1 / -1; justify-self: start; text-align: left; }
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s1) var(--s4); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); margin: 0; }

.actionbar { display: none; }
.wa-float {
  position: fixed; right: var(--s4); bottom: var(--s4); z-index: 40;
  display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--ink); color: var(--champagne); box-shadow: 0 6px 20px rgba(20, 16, 12, 0.25); transition: background-color 0.15s;
}
.wa-float:hover { background: var(--bronze); }
.wa-float .icon { width: 1.6rem; height: 1.6rem; }

/* ── Page heads, breadcrumbs ─────────────────────────────────────────────── */
.page-head { padding-block: var(--s5) var(--s6); }
.page-head h1 { max-width: 18ch; }
.page-head__lead { margin-top: var(--s4); }
.page-head__cat { font-style: italic; color: var(--bronze); font-size: var(--fs-m); margin-bottom: var(--s2); }
.page-head__sub { font-size: var(--fs-m); font-style: italic; color: var(--muted); margin-top: var(--s2); }
.page-head--proc { padding-bottom: var(--s5); }
.page-head--about { padding-bottom: var(--s6); }
.page-head--404 { padding-block: var(--s7); }
.crumbs { margin-bottom: var(--s4); font-size: var(--fs-s); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.5rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--bronze-line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ── Procedure page ──────────────────────────────────────────────────────── */
.proc { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: var(--s6); align-items: start; padding-bottom: var(--s7); }
.proc__main > .lead { max-width: none; }
.proc__aside { position: sticky; top: calc(var(--header-h) + var(--s4)); }
.block { margin-top: var(--s6); }
.block > h2 { font-size: var(--fs-xl); margin-bottom: var(--s4); }
.block > .muted { font-size: var(--fs-s); margin-top: var(--s3); }

.factsheet { background: var(--champagne); padding: var(--s4); }
.factsheet__title { font-size: var(--fs-l); margin-bottom: var(--s3); }
.factsheet dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 0.55rem 0; border-bottom: 1px solid var(--champagne-2); }
.factsheet dt { color: #4f483e; font-size: 1rem; } /* 8,7:1 pe crem */
.factsheet dd { text-align: right; font-variant-numeric: lining-nums; }
.factsheet__prices { margin-top: var(--s4); }
.factsheet__prices h3 { font-size: var(--fs-m); font-style: italic; color: var(--bronze); margin-bottom: var(--s1); }
.factsheet__prices dd { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.factsheet__prices .link { margin-top: var(--s2); font-size: var(--fs-s); }
.factsheet .btn-row { margin-top: var(--s4); }
.factsheet .ticks li { color: var(--ink-2); }

.ticks { display: grid; gap: var(--s2); }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ''; position: absolute; left: 0.2rem; top: 0.62em; width: 0.4rem; height: 0.4rem; border: 1px solid var(--bronze); transform: rotate(45deg); }
.ticks--small li { font-size: var(--fs-s); }

.timeline { position: relative; display: grid; gap: var(--s3); }
.timeline li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.timeline--career li { grid-template-columns: minmax(0, 1fr); }
.timeline__when { font-style: italic; color: var(--bronze); font-variant-numeric: lining-nums; }
.section--tint .timeline li { border-color: var(--champagne-2); }

/* ── Prices ──────────────────────────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: var(--s6); align-items: start; padding-bottom: var(--s7); }
.prices__aside { position: sticky; top: calc(var(--header-h) + var(--s4)); }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: var(--s5); }
.price-table caption { text-align: left; font-size: var(--fs-xl); padding-bottom: var(--s2); border-bottom: 1px solid var(--bronze-line); }
.price-table thead th { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); text-align: left; padding: var(--s2) 0 0.3rem; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th { font-weight: 400; text-align: left; padding: 0.8rem var(--s3) 0.8rem 0; border-bottom: 1px solid var(--line); }
/* Numele care duc la pagina procedurii nu se deosebesc vizual de restul; sublinierea apare doar la hover/focus */
.price-table tbody th a { color: inherit; text-decoration: none; }
.price-table tbody th a:hover, .price-table tbody th a:focus-visible { text-decoration: underline; text-decoration-color: var(--bronze); }
.price-table td { text-align: right; white-space: nowrap; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: lining-nums tabular-nums; }

/* ── Articles ────────────────────────────────────────────────────────────── */
.article-list { display: grid; }
.article-row a { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s4); align-items: start; padding: var(--s4) 0; border-top: 1px solid var(--line); text-decoration: none; }
.article-row:last-child a { border-bottom: 1px solid var(--line); }
.cover--row { aspect-ratio: 1; padding: var(--s2); }
.cover--row .cover__num { font-size: 4.5rem; }
.article-row__meta { display: block; font-size: var(--fs-s); font-style: italic; color: var(--muted); }
.article-row__title { display: block; font-size: var(--fs-xl); line-height: 1.2; margin: var(--s1) 0 var(--s2); max-width: 26em; }
.article-row__desc { display: block; color: var(--ink-2); max-width: 38em; }
.article-row a:hover .article-row__title { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.article-row a:hover .cover { background: var(--champagne-2); }

.article__head { padding-top: var(--s5); }
.article__serie { font-style: italic; color: var(--bronze); margin-bottom: var(--s2); }
.article__head h1 { font-size: var(--fs-2xl); max-width: none; }
.article__meta { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-s); }
.cover--hero { aspect-ratio: 16 / 9; margin: var(--s5) 0; padding: var(--s4); }
.cover--hero .cover__num { font-size: clamp(6rem, 4rem + 8vw, 11rem); }
.notice { border: 1px solid var(--bronze-line); background: #fffaf0; padding: var(--s3) var(--s4); margin-bottom: var(--s5); font-size: var(--fs-s); }
.prose { font-size: 1.1875rem; line-height: 1.72; }
.prose p { margin-bottom: var(--s4); }
.prose h2 { font-size: var(--fs-xl); margin: var(--s5) 0 var(--s3); }
.prose h3 { margin: var(--s4) 0 var(--s2); }
.prose ul { margin: 0 0 var(--s4); display: grid; gap: var(--s1); }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ''; position: absolute; left: 0.2rem; top: 0.68em; width: 0.38rem; height: 0.38rem; border: 1px solid var(--bronze); transform: rotate(45deg); }
.prose blockquote { margin: var(--s5) 0; padding-left: var(--s4); border-left: 1px solid var(--bronze); font-style: italic; font-size: var(--fs-m); }
.prose .qa-q { margin-top: var(--s5); font-size: var(--fs-m); line-height: 1.4; }
.prose .qa-label { display: block; font-style: italic; font-size: var(--fs-s); color: var(--bronze); margin-bottom: 0.15rem; }
.prose--page { padding-bottom: var(--s7); }
.prose--page h2 { font-size: var(--fs-l); }
.author { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--s4); align-items: center; margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); }
.author__img .frame { padding: 0.4rem; }
.author__name { font-size: var(--fs-m); margin-bottom: var(--s1); }
.author p { color: var(--ink-2); font-size: var(--fs-s); margin-bottom: var(--s1); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s5) 0 var(--s7); }
.pager a { display: block; padding: var(--s3) 0; border-top: 1px solid var(--ink); text-decoration: none; line-height: 1.35; }
.pager a span { display: block; font-size: var(--fs-s); font-style: italic; color: var(--bronze); margin-bottom: var(--s1); }
.pager__next { text-align: right; }
.pager a:hover { color: var(--bronze); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s6); align-items: start; padding-top: var(--s6); padding-bottom: var(--s7); } /* spațiu după formular */
.methods { display: grid; }
.method { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--s3); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.method:first-child { border-top: 0; padding-top: 0; }
.method__icon { width: 2.75rem; height: 2.75rem; padding: 0.65rem; border-radius: 50%; background: var(--champagne); color: var(--bronze); }
.method h3 { font-size: var(--fs-s); font-style: italic; color: var(--muted); margin-bottom: 0.15rem; }
.method__value { font-size: var(--fs-l); line-height: 1.3; text-decoration-color: var(--bronze-line); overflow-wrap: anywhere; }
.method__value--text { margin: 0; }
.method__help { font-size: var(--fs-s); color: var(--muted); margin: var(--s1) 0 0; max-width: 32em; }
.method__links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); margin: var(--s2) 0 0; }
.method__links .link { font-size: var(--fs-s); }
.hours { margin-top: var(--s3); padding: var(--s4); background: var(--champagne); border-radius: var(--radius-lg); }
.hours h3 { display: flex; align-items: center; gap: 0.5em; font-size: var(--fs-m); margin-bottom: var(--s2); }
.hours h3 .icon { color: var(--bronze); }
.hours dl > div { display: flex; justify-content: space-between; gap: var(--s3); padding: 0.45rem 0; border-bottom: 1px solid var(--champagne-2); }
.hours dl > div:last-child { border-bottom: 0; }
.hours dt { color: var(--muted-tint); }
.hours dd { font-variant-numeric: lining-nums tabular-nums; text-align: right; }
.contact__map { position: sticky; top: calc(var(--header-h) + var(--s4)); }
.map { display: block; text-decoration: none; }
.frame--map { display: block; }
.frame--map img { aspect-ratio: 1200 / 760; object-fit: cover; }
.map__cta { display: inline-flex; align-items: center; gap: 0.5em; margin-top: var(--s3); color: var(--bronze); text-decoration: underline; text-decoration-color: var(--bronze-line); text-underline-offset: 0.2em; }
.map:hover .map__cta { color: var(--ink); }
.map:hover .frame { border-color: var(--bronze-line); }
.cabinet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.cabinet img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 40rem) { .cabinet { grid-template-columns: 1fr; gap: var(--s3); } }


/* ══════════════════════════════════════════════════════════════════════════
   Strat „shiny”: foiță aurie, profunzime, animații
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --gold: #d4af37;
  --gold-light: #ecd27a;
  --foil: linear-gradient(115deg, #8a6420 0%, #c9952b 16%, #f6df8d 36%, #fff6d2 44%, #e2b84a 56%, #b8862b 78%, #e8c45a 100%);
  --foil-soft: linear-gradient(115deg, #c9952b 0%, #e8c45a 22%, #fbeaa6 42%, #fff8de 50%, #e8c45a 66%, #c9952b 100%);
  --night: radial-gradient(1100px 620px at 78% 30%, rgba(212, 175, 55, 0.18), transparent 62%), radial-gradient(700px 500px at 6% 100%, rgba(212, 175, 55, 0.09), transparent 60%), linear-gradient(180deg, #3d342a 0%, #2e271f 100%);
  --on-night: #ece4d0;
  --on-night-muted: #c2b69b;
  --lift: 0 24px 48px -30px rgba(176, 130, 38, 0.6), 0 2px 6px -2px rgba(31, 26, 20, 0.08);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.foil-text, .steps__num, .cover__num {
  background: var(--foil); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header cu linie aurie */
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-line) 30%, #f3e2b6 50%, var(--bronze-line) 70%, transparent); }
.header { border-bottom-color: transparent; }

/* Butoane: foiță aurie cu reflex */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background-position 0.6s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s, color 0.15s, border-color 0.15s, background-color 0.15s; }
.btn--primary {
  background: var(--foil-soft); background-size: 220% 100%; background-position: 0% 50%;
  color: var(--ink); border-color: #b8955a;
}
/* textul butoanelor aurii: bold și puțin mai închis, ca să se citească bine pe auriu */
.btn--primary { font-weight: 700; color: #1a140d; }
/* Plat: aceleași culori aurii, fără umbră, strălucire sau ridicare; la hover gradientul doar alunecă */
.btn--primary:hover { background: var(--foil-soft); background-size: 220% 100%; background-position: 100% 50%; border-color: #a8823f; color: var(--ink); }
.btn--ghost:hover { transform: translateY(-1px); }

/* Hero întunecat */
.hero { background: var(--night); color: var(--on-night); padding-block: var(--s6) var(--s7); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-line), transparent); }
.hero__who { color: var(--gold-light); }
.hero__title { color: var(--champagne); }
.hero__lead { color: var(--on-night); }
.hero__facts { border-top-color: rgba(201, 169, 106, 0.28); }
/* Etichete clare: auriu deschis, majuscule mici, ca eticheta „PREȚ” de pe paginile procedurilor */
.hero__facts dt { color: var(--gold-light); font-style: normal; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__facts dd { color: var(--champagne); }
.hero .btn--ghost, .page-head .btn--ghost { color: var(--champagne); border-color: rgba(248, 238, 215, 0.45); }
.hero .btn--ghost:hover, .page-head .btn--ghost:hover { background: rgba(248, 238, 215, 0.08); border-color: var(--champagne); }
.hero :focus-visible, .page-head :focus-visible { outline-color: var(--gold-light); }

.study { position: relative; padding: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--foil); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), 0 0 60px -20px rgba(201, 169, 106, 0.25); }
.study__svg { background: radial-gradient(80% 60% at 50% 42%, #221c15 0%, #2e271f 70%); }
.study__svg .f { stroke: url(#foil-stroke); stroke-width: 2; }
.study__svg .g { stroke: rgba(201, 169, 106, 0.35); }
.study__svg .n { stroke: var(--gold-light); }
.study__svg text { fill: var(--gold-light); }
.study__caption { color: var(--on-night-muted); padding: var(--s2) var(--s3); background: #2e271f; margin: 0; }
.study::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(243, 226, 182, 0.22) 48%, rgba(255, 255, 255, 0.28) 50%, rgba(243, 226, 182, 0.22) 52%, transparent 62%);
  background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: screen;
}

/* Secțiuni */
.section--tint { background: radial-gradient(900px 480px at 12% 0%, rgba(255, 255, 255, 0.6), transparent 60%), radial-gradient(700px 420px at 100% 100%, rgba(201, 169, 106, 0.14), transparent 60%), var(--champagne); }
.section--rule { border-top: 0; position: relative; }
.section--rule::before { content: ''; position: absolute; top: 0; left: 50%; width: min(60rem, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--bronze-line), transparent); }

/* Rame cu bordură aurie */
.frame { border: 1px solid rgba(201, 149, 43, 0.2); box-shadow: 0 30px 60px -40px rgba(20, 16, 12, 0.45); }
.section--tint .frame, .factsheet .frame { background: #fff; }
/* Portretul medicului: fără ramă, doar colțuri rotunjite și umbră */
.about__media .frame, .author__img .frame { padding: 0; border: 0; background: none; overflow: hidden; }
.about__media .frame { box-shadow: 0 40px 70px -40px rgba(20, 16, 12, 0.5); }
.about__media .frame img, .author__img .frame img { border-radius: var(--radius-lg); }
.compare { border-radius: calc(var(--radius-lg) - 0.4rem); }
.page-head .frame { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75); }

/* Index de proceduri: carduri care se ridică */
.pindex__cat { border-bottom: 0; padding-bottom: 0; }
.pindex__list { display: grid; gap: 0.75rem; margin-top: var(--s3); }
.pindex__item {
  border: 1px solid rgba(201, 149, 43, 0.16); border-radius: var(--radius-lg); padding: var(--s3) var(--s4);
  background: linear-gradient(180deg, #ffffff, #fffbf0);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.pindex__item:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--lift); }
.pindex__item:hover .pindex__name { text-decoration: none; color: var(--bronze); }

/* Procedură cu ilustrație: o imagine în loc de card, cu numele peste ea, jos în stânga */
.pindex__feature { display: block; position: relative; text-decoration: none; color: inherit; }
.pindex__img { display: block; position: relative; aspect-ratio: 4 / 1; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(201, 149, 43, 0.16); transition: box-shadow 0.35s var(--ease-out), border-color 0.35s; }
.pindex__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
/* Voal deschis în colțul titlului, ca textul să se citească pe orice imagine */
.pindex__img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 0% 100%, rgba(255, 251, 240, 0.92) 0%, rgba(255, 251, 240, 0.55) 35%, rgba(255, 251, 240, 0) 60%); }
.pindex__feature .pindex__name { position: absolute; left: var(--s4); bottom: var(--s3); right: var(--s4); }
.pindex__feature:hover .pindex__img { border-color: var(--gold); box-shadow: var(--lift); }
.pindex__feature:hover .pindex__img img { transform: scale(1.04); }
.pindex__feature:hover .pindex__name { color: var(--bronze); }
.pindex__feature:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; border-radius: var(--radius-lg); }
/* Pe telefon coloana e îngustă: o fâșie 4:1 ar fi prea subțire */
@media (max-width: 30rem) { .pindex__img { aspect-ratio: 3 / 1; } }

/* Pagina procedurii: prețul de pornire în antet */
.page-head__price { display: inline-flex; align-items: baseline; gap: 0.6em; margin-top: var(--s4); padding: 0.45em 1em; border: 1px solid var(--bronze-line); border-radius: 999px; font-size: var(--fs-m); color: var(--champagne); background: rgba(248, 238, 215, 0.06); }
.page-head__price span { font-size: var(--fs-xs); font-style: italic; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light); }

/* Locuri pentru fotografiile înainte/după, până când cazurile sunt publicate */
.ba-ph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s3); }
.ba-ph__case { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 8 / 5; border: 1px dashed var(--bronze-line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #fffdf8, #f8eed7); }
.ba-ph__case span { display: flex; align-items: flex-end; padding: var(--s2) var(--s3); font-size: var(--fs-xs); font-style: italic; color: var(--bronze); }
.ba-ph__case span + span { border-left: 1px dashed var(--bronze-line); }
@media (max-width: 30rem) { .ba-ph { grid-template-columns: 1fr; } }

/* Formularul de programare (pagina Contact) */
.booking { background: var(--champagne); scroll-margin-top: var(--s5); }
.booking__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s5) var(--s6); align-items: start; }
.booking__intro h2 { margin-bottom: var(--s3); }
.booking__intro p + p { margin-top: var(--s3); }
.form { display: grid; gap: var(--s3); padding: var(--s4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: grid; gap: 0.35rem; }
.field__label { font-size: var(--fs-s); color: #4f483e; }
.field__opt { color: var(--muted); font-style: italic; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: 0.7rem 0.85rem; background: #fffdf8; border: 1px solid #d9c9a3; border-radius: var(--radius); }
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--bronze); }
.form__consent { display: grid; grid-template-columns: auto 1fr; gap: var(--s2); align-items: start; font-size: var(--fs-s); color: #4f483e; line-height: 1.5; }
.form__consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--bronze); }
.form .btn { justify-self: start; }
.form__trap { position: absolute; left: -9999px; }
.form__status { font-size: var(--fs-s); min-height: 1.5em; }
.form__status[data-kind="ok"] { color: #2f6b3a; }
.form__status[data-kind="err"] { color: #9a2f22; }
@media (max-width: 52rem) {
  .booking__inner { grid-template-columns: 1fr; }
  .form { padding: var(--s3); }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}

/* Prima pagină: toate procedurile într-un rând de imagini înalte, cu numele jos */
.prow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s5); }
.prow .pindex__img { aspect-ratio: 3 / 4; }
.prow .pindex__img::after { background: linear-gradient(0deg, rgba(255, 251, 240, 0.94) 0%, rgba(255, 251, 240, 0.7) 28%, rgba(255, 251, 240, 0) 55%); }
.prow .pindex__name { left: var(--s3); right: var(--s3); bottom: var(--s3); font-size: var(--fs-base); line-height: 1.2; }
@media (max-width: 64rem) { .prow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); } }
@media (max-width: 30rem) {
  .prow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .prow .pindex__img { aspect-ratio: 4 / 5; }
}

/* Principii ca plăci */
.principle { border: 1px solid rgba(201, 149, 43, 0.16); border-radius: var(--radius-lg); padding: var(--s4); background: linear-gradient(180deg, #fff, #fffcf5); position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.principle::before { content: ''; position: absolute; top: -1px; left: var(--s5); right: var(--s5); height: 2px; border-radius: 2px; background: var(--foil); }
.principle:hover { transform: translateY(-3px); box-shadow: var(--lift); }

/* Pași */
.steps__num { font-weight: 700; }
.steps--row .steps__item { border-top: 0; }
.steps--row .steps__item::after { content: ''; position: absolute; top: 0; left: 0; right: calc(-1 * var(--s4)); height: 1px; background: linear-gradient(90deg, var(--bronze-line), rgba(185, 152, 92, 0.15)); }
.steps--row .steps__item:last-child::after { right: 0; }
.steps--row .steps__item::before { background: var(--foil); width: 9px; height: 9px; top: -4px; z-index: 1; box-shadow: 0 0 0 4px var(--paper); }
.section--tint .steps--row .steps__item::before { box-shadow: 0 0 0 4px var(--champagne); }

/* Coperte episoade */
.cover { background: linear-gradient(160deg, #fbf4e3 0%, #f1e2bf 100%); border-radius: var(--radius-lg); box-shadow: none; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.9s var(--ease-out); pointer-events: none; }
.cover__num { font-weight: 700; }
.episode a:hover .cover, .article-row a:hover .cover { background: linear-gradient(160deg, #fbf4e3 0%, #ecd9ad 100%); transform: translateY(-4px); box-shadow: var(--lift); }
.episode a:hover .cover::after, .article-row a:hover .cover::after { transform: translateX(120%); }

/* Carduri înainte/după */
.case .frame { transition: box-shadow 0.4s var(--ease-out); }
.case:hover .frame { box-shadow: 0 40px 70px -40px rgba(132, 101, 47, 0.6); }

/* Fișa „Pe scurt” */
.factsheet { border: 1px solid rgba(201, 149, 43, 0.2); background: linear-gradient(170deg, #fffaf0, var(--champagne)); border-radius: var(--radius-lg); box-shadow: var(--lift); }

/* FAQ */
.faq__item[open] summary { color: var(--bronze); }

/* Bandă CTA */
.cta-band { background: var(--night); position: relative; }
.cta-band h2 { color: var(--on-ink); } /* aceeași culoare ca textul contactelor, fără gradient */
.cta-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-line), transparent); }
/* Contactele ca listă simplă, fără casete: rânduri despărțite de linii subțiri */
.cta-band__list { gap: 0; }
.cta-band__list li + li a { border-top: 1px solid rgba(201, 169, 106, 0.22); }
.cta-band__list a { border: 0; border-radius: 0; background: none; padding: var(--s3) 0; font-size: var(--fs-base); transition: color 0.2s; }
.cta-band__list a:hover { background: none; color: var(--gold-light); }
.cta-band__list .icon { width: 1.25rem; height: 1.25rem; }
.cta-band__k { font-size: var(--fs-xs); font-style: normal; text-transform: uppercase; letter-spacing: 0.08em; }

/* Antete de pagină întunecate */
.page-head { background: var(--night); color: var(--on-night); padding-block: var(--s5) var(--s6); position: relative; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-line), transparent); }
.page-head h1 { color: var(--champagne); }
.page-head .lead, .page-head p { color: var(--on-night); }
.page-head__cat { color: var(--gold-light); }
.page-head__sub { color: var(--on-night-muted); }
.page-head .crumbs { color: var(--on-night-muted); }
.page-head .crumbs li + li::before { color: rgba(201, 169, 106, 0.6); }
.page-head .chips a { background: transparent; color: var(--champagne); border-color: rgba(248, 238, 215, 0.35); }
.page-head .chips a:hover { border-color: var(--champagne); }
.page-head + .wrap, .page-head + .section--flush { padding-top: var(--s5); }
.page-head + .section--flush { padding-top: var(--s6); }

/* Buton WhatsApp plutitor */
.wa-float { background: radial-gradient(circle at 30% 25%, #2e261c, var(--ink)); box-shadow: 0 0 0 1px rgba(201, 169, 106, 0.45), 0 10px 26px -6px rgba(20, 16, 12, 0.45); }
.wa-float::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(201, 169, 106, 0.55); opacity: 0; }

.footer { position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 50%; width: min(70rem, 92%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--bronze-line), transparent); }

/* ── Animații ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* Intrarea în hero: o singură secvență la încărcare */
  .hero__text > *, .page-head .wrap > *, .page-head .about > * { animation: rise 0.5s var(--ease-out) both; }
  .hero__text > :nth-child(2), .page-head .wrap > :nth-child(2) { animation-delay: 0.04s; }
  .hero__text > :nth-child(3), .page-head .wrap > :nth-child(3) { animation-delay: 0.08s; }
  .hero__text > :nth-child(4), .page-head .wrap > :nth-child(4) { animation-delay: 0.12s; }
  .hero__text > :nth-child(5), .page-head .wrap > :nth-child(5) { animation-delay: 0.16s; }
  .hero__figure { animation: rise 0.5s var(--ease-out) both; }
  .study::after { animation: sheen 9s ease-in-out 2.6s infinite; }
  .wa-float::after { animation: halo 3.2s ease-out 3s 3; }

  /* Apariție la scroll (clasa .reveal o pune site.js) */
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sheen { 0% { background-position: 130% 0; } 22%, 100% { background-position: -30% 0; } }
@keyframes halo { 0% { opacity: 0.9; transform: scale(0.92); } 100% { opacity: 0; transform: scale(1.35); } }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 67.99rem) {
  .hero__grid { grid-template-columns: 1fr 0.8fr; gap: var(--s5); }
  .episodes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .episodes .episode:nth-child(n + 4) { display: none; }
  .steps--row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s5); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 52rem) {
  :root { --s7: 4.25rem; --s6: 3.25rem; }
  .hero { padding-top: var(--s5); }
  .hero__grid, .about, .feature-case, .split, .proc, .prices, .contact, .cta-band__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 22rem; width: 100%; margin-inline: auto; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .about__media { max-width: 18rem; }
  .about--head .about__media { order: 2; }
  .feature-case__media { justify-self: stretch; max-width: none; }
  .pindex, .principles, .cases { grid-template-columns: 1fr; }
  .principles { gap: var(--s4); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .link { grid-column: 1; grid-row: auto; justify-self: start; }
  .proc__aside, .prices__aside, .contact__map { position: static; }
  .episodes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: var(--s2); }
  .episodes .episode, .episodes .episode:nth-child(n + 4) { display: block; flex: 0 0 62%; scroll-snap-align: start; }
  .episodes--three .episode { flex-basis: 70%; }
  .timeline li { grid-template-columns: 1fr; gap: 0.15rem; }
  .article-row a { grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--s3); }
  .cover--row .cover__num { font-size: 3rem; }
  .cover--row .cover__serie { display: none; }
  .article-row__title { font-size: var(--fs-l); }
  .pager { grid-template-columns: 1fr; }
  .pager__next { text-align: left; }
  /* Pe telefon, fișa „Pe scurt” (durată, prețuri, programare) urcă imediat după introducere, nu la finalul paginii. */
  .proc { row-gap: 0; }
  .proc__main { display: contents; }
  .proc__main > * { order: 2; }
  .proc__main > .lead { order: 0; }
  .proc__aside { order: 1; margin-top: var(--s5); }
  .episodes { scroll-padding-inline: var(--gutter); }
  .crumbs a { display: inline-block; padding-block: 0.35rem; }
}

@media (max-width: 40rem) {
  .steps--row { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; gap: var(--s2); }
  .pindex__item { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .wa-float { display: none; }
  body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
  .actionbar {
    display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--ink); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(248, 238, 215, 0.15);
  }
  .actionbar a { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.55rem 0.25rem; color: var(--on-ink); text-decoration: none; font-size: var(--fs-xs); }
  .actionbar a + a { border-left: 1px solid rgba(248, 238, 215, 0.15); }
  /* Butonul de meniu din bară: doar cu JS, altfel n-ar avea ce deschide */
  .actionbar .icon { width: 1.35rem; height: 1.35rem; color: var(--bronze-line); }
  .actionbar :focus-visible { outline-color: var(--champagne); outline-offset: -3px; }
  .price-table tbody th { padding-right: var(--s2); }

  /* Portretul din hero, mai scund, ca să nu ocupe un ecran întreg */
  .hero__figure { max-width: 20rem; }
  .study--photo .photo { aspect-ratio: 4 / 5; }
  .pindex__item { padding: var(--s3); }
  .steps__item { grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--s2); }
  .steps__num { font-size: 1.875rem; }
  .factsheet, .hours { padding: var(--s3); }
  .method__value { font-size: var(--fs-m); }
  .faq__item summary { font-size: var(--fs-base); }

  /* Subsol: proceduri și pagini pe două coloane, legături cu zonă de atingere mai mare */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
  .footer__brand { grid-column: 1 / -1; }
  .footer ul li + li { margin-top: 0; }
  .footer ul a { display: inline-block; padding-block: 0.4rem; }
  .footer__links a { display: inline-block; padding-block: 0.3rem; }
  .footer__legal { grid-template-columns: 1fr; }
  .footer__disclaimer { justify-self: start; text-align: left; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .header, .actionbar, .wa-float, .cta-band, .footer__grid { display: none; }
  .section--tint, .factsheet { background: none; }
}

.reviewed { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-s); font-style: italic; color: var(--muted); }

/* Linia dintre pași nu iese din coloană când pașii sunt pe un singur rând sau două */
@media (max-width: 67.99rem) {
  .steps--row .steps__item::after { right: 0; }
}
html, body { overflow-x: clip; }

/* ══════════════════════════════════════════════════════════════════════════
   Fotografii: tratament monocrom auriu, ca imaginile de stoc să pară din același set
   ══════════════════════════════════════════════════════════════════════════ */
.photo { position: relative; margin: 0; overflow: hidden; background: #221c15; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.96); }
.photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, #e2c88f, #84652f); mix-blend-mode: color; opacity: 0.6; }
.photo__credit { position: absolute; right: 0.75rem; bottom: 0.5rem; z-index: 2; font-size: 0.6875rem; font-style: italic; color: rgba(248, 238, 215, 0.72); }
.photo__credit a { color: inherit; text-decoration-color: rgba(248, 238, 215, 0.35); }

/* Antet de pagină cu fotografie în dreapta, topită în fundal */
.page-head--photo { overflow: hidden; isolation: isolate; }
.page-head--photo > .wrap { position: relative; z-index: 1; }
.page-head__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 0; background: transparent; }
.page-head__photo img { opacity: 0.82; }
.page-head__photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #14100c 0%, rgba(20, 16, 12, 0.82) 22%, rgba(20, 16, 12, 0.25) 62%, rgba(20, 16, 12, 0.05) 100%), linear-gradient(0deg, rgba(46, 39, 31, 0.55), transparent 40%);
}
.page-head--photo h1, .page-head--photo .page-head__lead { max-width: min(30em, 58%); }
.page-head--photo h1 { max-width: min(14ch, 58%); }
.page-head__lead--proc { margin-top: var(--s3); font-size: var(--fs-m); line-height: 1.5; }
.page-head--proc { padding-block: var(--s6) var(--s6); }

/* Miniaturi în indexul de proceduri */
.pindex__item { grid-template-columns: 4.75rem minmax(0, 1fr); column-gap: var(--s3); align-items: start; }
.pindex__thumb { grid-column: 1; grid-row: 1 / span 2; width: 4.75rem; height: 4.75rem; border-radius: 12px; }
.pindex__thumb img { transition: transform 0.7s var(--ease-out); }
.pindex__item:hover .pindex__thumb img { transform: scale(1.08); }
.pindex__name { grid-column: 2; }
.pindex__sum { grid-column: 2; }

/* Bandă editorială cu citat */
.editorial { position: relative; display: grid; align-items: center; min-height: clamp(26rem, 64vh, 40rem); background: #2e271f; color: var(--champagne); overflow: hidden; isolation: isolate; }
.editorial__photo { position: absolute; inset: 0; z-index: -2; }
.editorial__photo img { transform: scale(1.06); transition: transform 2.8s var(--ease-out); }
.editorial:has(.is-in) .editorial__photo img, html:not(.js) .editorial__photo img { transform: none; }
.editorial::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(46, 39, 31, 0.94) 0%, rgba(46, 39, 31, 0.7) 45%, rgba(46, 39, 31, 0.25) 100%); }
.editorial::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-line), transparent); }
.editorial__inner { padding-block: var(--s6); }
/* Pe ecran lat fotografia stă în dreapta (citatul are fundalul lui) și se topește spre stânga */
@media (min-width: 52.01rem) {
  .editorial__photo { left: 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
  .editorial::before { background: linear-gradient(90deg, rgba(46, 39, 31, 0.96) 0%, rgba(46, 39, 31, 0.9) 42%, rgba(46, 39, 31, 0.35) 62%, rgba(46, 39, 31, 0.15) 100%); }
}
.editorial__quote { margin: 0 0 var(--s4); }
.editorial__quote p { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1.04; font-style: italic; letter-spacing: -0.02em; max-width: 12ch; background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.editorial__quote footer { margin-top: var(--s3); color: var(--on-night-muted); font-size: var(--fs-s); font-style: italic; }
.editorial .btn--ghost { color: var(--champagne); border-color: rgba(248, 238, 215, 0.45); }
.editorial .btn--ghost:hover { background: rgba(248, 238, 215, 0.08); border-color: var(--champagne); }
.editorial :focus-visible { outline-color: var(--gold-light); }

@media (max-width: 52rem) {
  .page-head__photo { width: 100%; }
  .page-head__photo img { opacity: 0.5; }
  .page-head__photo::before { background: linear-gradient(180deg, rgba(20, 16, 12, 0.55), rgba(20, 16, 12, 0.92) 70%); }
  .page-head--photo h1, .page-head--photo .page-head__lead { max-width: none; }
  .editorial::before { background: linear-gradient(180deg, rgba(46, 39, 31, 0.6), rgba(46, 39, 31, 0.9)); }
}
@media (max-width: 40rem) {
  .pindex__item { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .pindex__thumb { width: 3.75rem; height: 3.75rem; grid-row: 1 / span 3; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial__photo img { transform: none; }
}

/* Fotografia din antet se topește prin mască, fără margine vizibilă */
.page-head__photo { background: transparent; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 62%); }
.page-head__photo::before { background: linear-gradient(0deg, rgba(46, 39, 31, 0.5), transparent 45%); }
@media (max-width: 52rem) {
  .page-head__photo { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%); }
  .page-head__photo::before { background: rgba(20, 16, 12, 0.45); }
}

/* ══════════════════════════════════════════════════════════════════════════
   Bandă închisă cu contrast mai mare (hero + antetele de pagină)
   Fond mai închis, text aproape alb, fotografia topită în dreapta.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --band: #241e17;
  --on-band: #fbf7ee;
  --on-band-title: #fff3d6;
  --on-band-muted: #e3d9c2;
}
.hero, .page-head { background: radial-gradient(900px 520px at 85% 25%, rgba(212, 175, 55, 0.14), transparent 65%), var(--band); color: var(--on-band); border-bottom: 2px solid #b8955a; }
.hero::before, .page-head::after { display: none; }
.hero__title, .page-head h1 { color: var(--on-band-title); }
.hero__lead, .page-head .lead, .page-head p { color: var(--on-band); }
.hero__who, .page-head__cat, .page-head__sub, .article__serie { color: var(--gold-light); }
.hero__facts { border-top-color: rgba(201, 162, 74, 0.45); }
.hero__facts dt { color: var(--on-band-muted); }
.hero__facts dd { color: var(--on-band); }
.page-head .crumbs { color: var(--on-band-muted); }
.page-head .crumbs a { color: var(--on-band-muted); text-decoration: underline; text-decoration-color: rgba(227, 217, 194, 0.5); text-underline-offset: 0.2em; }
.page-head .crumbs a:hover { color: #fff; text-decoration-color: currentColor; }
.page-head .crumbs li + li::before { color: #c9a24a; }
.page-head .article__meta { color: var(--on-band-muted); }
.page-head__photo img { opacity: 0.62; }
.photo__credit { padding: 0.1rem 0.5rem; border-radius: 4px; background: rgba(20, 16, 12, 0.7); font-size: 0.75rem; color: #ece4d0; }

/* Hero: portretele (femeie / bărbat) se alternează în dreapta, topite în fundal */
.hero--photo { isolation: isolate; }
.hero--photo > .wrap { position: relative; z-index: 1; }
.hero--photo .hero__grid { grid-template-columns: minmax(0, 38rem); }
/* Fotografie reală în hero: aproape fără estompare; masca o ascunde doar sub text */
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.5) 30%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.5) 30%, #000 48%); }
.hero__photo .slides { position: absolute; inset: 0; background: transparent; }
.hero__photo .slides img.is-on { opacity: 0.95; }
.hero__photo img { filter: sepia(0.1); }
.page-head__photo--portrait img { filter: sepia(0.35); }

/* Antete cu imagine proprie: portretul (Despre) și harta (Contact) */
.page-head__photo--portrait { width: 44%; }
.page-head__photo--portrait img { opacity: 0.78; object-position: 50% 20%; }
.page-head--about { padding-bottom: var(--s6); }
.page-head--about .page-head__lead, .page-head--photo .page-head__lead { margin-top: var(--s4); }
.article__head h1 { max-width: min(22ch, 60%); }
.article__head { padding-top: var(--s5); }
.article__body { padding-top: var(--s5); }

@media (max-width: 52rem) {
  .hero__photo { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%); }
  .hero__photo .slides img.is-on { opacity: 0.35; }
  .page-head__photo--portrait { width: 100%; }
  .page-head__photo--portrait img { opacity: 0.4; }
  /* Masca estompează partea de jos a fotografiei, deci creditul urcă sus */
  .page-head__photo .photo__credit { top: 0.5rem; bottom: auto; }
  .article__head h1 { max-width: none; }
}

/* ── Carduri: același stil ca procedurile, folosit și în restul paginilor ── */
.methods { gap: var(--s3); }
.method, .method:first-child { padding: var(--s3) var(--s4); border: 1px solid rgba(201, 149, 43, 0.16); border-radius: var(--radius-lg); background: linear-gradient(180deg, #ffffff, #fffbf0); }
.timeline--career { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.timeline--career li { padding: var(--s3) var(--s4); border: 1px solid rgba(201, 149, 43, 0.16); border-radius: var(--radius-lg); background: linear-gradient(180deg, #ffffff, #fffbf0); }
.article-list { display: grid; gap: var(--s3); }
.article-row a, .article-row:last-child a { padding: var(--s4); border: 1px solid rgba(201, 149, 43, 0.16); border-radius: var(--radius-lg); background: linear-gradient(180deg, #ffffff, #fffbf0); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s; }
.article-row a:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--lift); }
.empty { padding: var(--s5) var(--s4); border: 1px solid rgba(201, 149, 43, 0.16); border-radius: var(--radius-lg); background: linear-gradient(180deg, #ffffff, #fffbf0); color: var(--ink-2); font-size: var(--fs-m); text-align: center; }
.prose .qa-q { padding: var(--s3) var(--s4); border: 1px solid rgba(201, 149, 43, 0.16); border-radius: var(--radius-lg); background: linear-gradient(180deg, #ffffff, #fffbf0); }
@media (max-width: 40rem) {
  .timeline--career { grid-template-columns: 1fr; }
  .article-row a, .article-row:last-child a { padding: var(--s3); }
}

/* ══════════════════════════════════════════════════════════════════════════
   Prima pagină pe telefon (varianta C): portretul pe tot ecranul, text minim
   jos, un singur buton; monograma lângă nume în header.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 40rem) {
  .brand__mark { width: 2.375rem; height: 2.375rem; font-size: 0.9375rem; }
  /* Cu meniul în dreapta sus, numele trebuie să încapă pe un rând */
  .brand__name { font-size: 1.0625rem; white-space: nowrap; }
  .brand__role { white-space: nowrap; }
  .header__inner { gap: var(--s2); }

  .hero--photo { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - var(--header-h) - 3.75rem - env(safe-area-inset-bottom)); padding-block: var(--s6) var(--s4); }
  .hero__photo { -webkit-mask-image: none; mask-image: none; }
  /* fotografia se estompează treptat sub titlu și buton */
  .hero__photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(36, 30, 23, 0.0) 32.0%, rgba(36, 30, 23, 0.055) 33.5%, rgba(36, 30, 23, 0.111) 35.0%, rgba(36, 30, 23, 0.168) 36.5%, rgba(36, 30, 23, 0.226) 38.0%, rgba(36, 30, 23, 0.284) 39.5%, rgba(36, 30, 23, 0.341) 41.0%, rgba(36, 30, 23, 0.399) 42.5%, rgba(36, 30, 23, 0.455) 44.0%, rgba(36, 30, 23, 0.511) 45.5%, rgba(36, 30, 23, 0.565) 47.0%, rgba(36, 30, 23, 0.617) 48.5%, rgba(36, 30, 23, 0.668) 50.0%, rgba(36, 30, 23, 0.715) 51.5%, rgba(36, 30, 23, 0.761) 53.0%, rgba(36, 30, 23, 0.803) 54.5%, rgba(36, 30, 23, 0.842) 56.0%, rgba(36, 30, 23, 0.877) 57.5%, rgba(36, 30, 23, 0.908) 59.0%, rgba(36, 30, 23, 0.935) 60.5%, rgba(36, 30, 23, 0.958) 62.0%, rgba(36, 30, 23, 0.976) 63.5%, rgba(36, 30, 23, 0.989) 65.0%, rgba(36, 30, 23, 0.997) 66.5%, rgba(36, 30, 23, 1) 68%); }
  /* Fotografia stă doar în partea de sus, ca să se vadă mai mult din ea (nu doar fața, mărită) */
  .hero__photo .slides { bottom: 34%; }
  /* Pe telefon fotografia largă (photos/femeie-portret-larg.png) coboară sub titlu și buton.
     Cutia .slides rămâne cea de dinainte, ca reper: fotografia e scalată așa încât fața să aibă
     exact aceeași mărime și poziție ca în fotografia de desktop (cqh/cqw = mărimea cutiei). */
  .hero__photo .slides { container-type: size; overflow: visible; }
  .hero__photo .slides picture img { inset: auto; top: 0; left: calc(79cqw - 122.5cqh); width: auto; height: 114.4cqh; max-width: none; object-fit: fill; }
  .hero__photo .slides img { object-position: 60% 20%; }
  .hero__photo .slides img.is-on { opacity: 1; }
  .hero__photo img { filter: sepia(0.1); }
  .hero__title { font-size: 2.125rem; line-height: 1.1; }
  .hero__lead, .hero__facts { display: none; }
  .hero .btn-row { margin-top: var(--s4); }
}

/* Laptopuri înguste (desktop, dar sub 1280 px): numele rămâne pe un rând, meniul se strânge */
@media (min-width: 68rem) {
  .brand__name, .brand__role { white-space: nowrap; }
}
@media (min-width: 68rem) and (max-width: 80rem) {
  .header__inner, .nav { gap: var(--s3); }
  .nav__link { padding-inline: 0.5rem; }
  .brand { gap: 0.5rem; }
}

/* Prima pagină pe desktop: mai puține elemente și mai mult spațiu în jurul lor */
@media (min-width: 40.01rem) {
  .hero--photo .hero__grid { min-height: clamp(28rem, 68vh, 40rem); align-content: center; grid-template-columns: minmax(0, 40rem); }
  .hero__title { font-size: clamp(2.5rem, 1.5rem + 3vw, 3.75rem); max-width: none; }
  .hero__lead { margin-top: var(--s4); max-width: 30em; }
  .hero .btn-row { margin-top: var(--s5); }
}

/* Meniul de pe desktop puțin mai compact, ca să ocupe mai puțin loc în dreapta */
@media (min-width: 80.01rem) {
  .nav { gap: var(--s3); }
  .nav__link { padding-inline: 0.6rem; }
}
/* Header-ul și bara de sus: logo-ul rămâne aliniat cu conținutul, dar meniul se întinde spre marginea din dreapta */
@media (min-width: 68rem) {
  .topbar > .wrap, .header > .wrap { max-width: none; padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--wrap)) / 2 - 5rem)); }
}

/* Pe telefon comutatorul de limbă e mai mic, ca să încapă lângă nume și meniu (ținta rămâne de 36 px înălțime) */
@media (max-width: 40rem) {
  .lang { font-size: 0.6875rem; letter-spacing: 0.03em; gap: 0; }
  .lang__item { min-width: 1.5rem; padding: 0 0.1rem; }
}
/* Pe telefon: meniul fără chenar (mărimea obișnuită), monograma mai mică */
@media (max-width: 40rem) {
  /* Meniul deschis se termină deasupra barei de jos (3,75rem), ca ultimele linkuri să nu stea sub ea */
  .js .nav { padding-bottom: calc(3.75rem + var(--s5) + env(safe-area-inset-bottom)); }
  .js .menu-toggle { border-color: transparent; background: none; margin-right: -0.5rem; }
  .brand { gap: 0.5rem; }
  .brand__mark { width: 2rem; height: 2rem; font-size: 0.8125rem; }
}
/* Telefoane înguste (sub ~384 px): numele puțin mai mic */
@media (max-width: 24rem) {
  .brand__name { font-size: 0.9375rem; }
  .brand__role { font-size: 0.6875rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Accente (2026-11-09):
   - „Despre” (prima pagină) și cardul „Ce include prețul”: Stone #F0EDE8.
   - Banda cu citat: fundalul maro al hero-ului (#2a2622), fotografia în culori naturale.
   - Banda „Programează”: maro ca hero-ul, cu o lumină gri difuză în dreapta;
     titlul auriu, contactele crem.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --stone: #F0EDE8;
  --hero-brown: #2a2622;
}
.section--accent { background: var(--stone); }
.prices__aside .factsheet { background: var(--stone); border-color: #e2ddd5; }

.editorial { background: var(--hero-brown); }
.editorial__photo img { filter: none; }
.editorial__photo.photo::after { display: none; }
/* citatul: aceeași foiță aurie, doar cu începutul puțin mai deschis (#a37a2a în loc de #8a6420) */
.editorial__quote p { background: linear-gradient(115deg, #a37a2a 0%, #c9952b 16%, #f6df8d 36%, #fff6d2 44%, #e2b84a 56%, #b8862b 78%, #e8c45a 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
/* desktop: fotografia apare în plin din mijlocul benzii */
.editorial::before { background: linear-gradient(90deg, #2a2622 0%, rgba(42, 38, 34, 0.9) 38%, rgba(42, 38, 34, 0.2) 55%, rgba(42, 38, 34, 0) 75%); }
@media (max-width: 52rem) {
  /* telefon: fotografia stă sub text, deci voalul rămâne, dar culorile sunt mai vii */
  .editorial__photo img { filter: saturate(1.35) contrast(1.08); }
  .editorial::before { background: linear-gradient(180deg, rgba(42, 38, 34, 0.65), rgba(42, 38, 34, 0.92)); }
}

/* fundal maro ca hero-ul, cu o lumină gri-difuză în dreapta; textul rămâne deschis */
.cta-band { background: radial-gradient(900px 420px at 100% 50%, rgba(142, 145, 150, 0.35), transparent 70%), var(--hero-brown); }
/* titlul: gradient dintr-un auriu luminos (fără bronzul închis al foiței) */
.cta-band h2 { background: linear-gradient(115deg, #f2c94c 0%, #ffe39a 40%, #fff1c9 52%, #f5d06a 72%, #e9bd4c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cta-band__list a { color: #F4F1EA; }
.cta-band__k { color: #c9c1ae; }
.cta-band__list .icon { color: #c9a24a; }
.cta-band__list li + li a { border-top-color: rgba(201, 169, 106, 0.28); }
