@charset "UTF-8";
/* =================================================================
   SALY VITA — sistem vizual
   Toate valorile provin din Manualul de brand SALY VITA 1.0 (cap. 07, 08, 13).
   Ordinea: fonturi · tokenuri · bază · layout · componente · utilitare.
   ================================================================= */

/* ---------------------------------------------------------------- 1. FONTURI
   SV Display = Julius Sans One (OFL) completat cu diacriticele româneşti
   Ă, Ş, Ţ, redenumit conform clauzei Reserved Font Name. Vezi
   assets/fonts/LICENSE-OFL.txt şi README §7.                                */

@font-face {
  font-family: "SV Display";
  src: url("../fonts/sv-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SV Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- 2. TOKENURI */

:root {
  /* --- paleta de brand (manual cap. 07) --- */
  --sv-antracit: #333a3b;
  --sv-antracit-900: #0e1011;
  --sv-antracit-800: #1b2021;
  --sv-antracit-700: #262c2c;
  --sv-salvie: #8aa299;
  --sv-salvie-800: #54625f;
  --sv-salvie-700: #697a75;
  --sv-salvie-300: #abbcb6;
  --sv-salvie-200: #cad5d1;
  --sv-salvie-100: #e5ebe9;
  --sv-salvie-50: #f3f6f5;
  --sv-cristal: #dbd1c9;
  --sv-cristal-50: #f5f2f0;
  --sv-travertin: #cabeb2;
  --sv-alb: #ffffff;
  --sv-linie: #e4e1dd;

  /* --- neutre derivate din antracit --- */
  --sv-n-600: #3d4544;
  --sv-n-500: #55605e;
  --sv-n-400: #7c8483;
  --sv-n-300: #a3a9a8;
  --sv-n-200: #c8cccb;

  /* --- roluri semantice --- */
  --c-bg: var(--sv-alb);
  /* Pânza pe care plutesc panourile. Diferenţa faţă de alb este mică
     intenţionat: cardurile se citesc prin rază şi muchie, nu prin contrast. */
  --c-canvas: #e3ded7;
  --c-surface: var(--sv-cristal-50);
  --c-surface-cool: var(--sv-salvie-50);
  --c-ink: var(--sv-antracit-700);
  --c-ink-strong: var(--sv-antracit);
  --c-muted: var(--sv-n-500);
  --c-line: var(--sv-linie);
  --c-line-soft: #efedea;
  --c-accent: var(--sv-salvie-800);
  /* Salvie 700 are 4,5:1 doar pe alb pur; pe cristal-50 scade la 4,06:1.
     Folosim salvie 800, care trece pragul pe toate suprafetele deschise. */
  --c-accent-quiet: var(--sv-salvie-800);
  /* Pe fundal antracit textul mic trebuie să reziste şi în punctul cel mai
     luminos al haloului cald. Acolo fundalul urcă la ~#544E44, unde salvie 300
     ar da 4,16:1 — sub prag. Salvie 200 dă 5,5:1, deci rămâne marjă. */
  --c-accent-on-dark: var(--sv-salvie-200);
  --c-decor: var(--sv-salvie);
  --c-on-dark: var(--sv-alb);
  --c-on-dark-muted: #c6cdcb;
  --c-success: #45705c;
  --c-success-bg: #eef4f1;
  --c-error: #96382c;
  --c-error-bg: #fbf1ef;

  /* --- tipografie (manual cap. 08) --- */
  --f-display: "SV Display", Georgia, "Times New Roman", serif;
  --f-text: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "SV Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-h1: clamp(2.05rem, 1.4rem + 2.8vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.35vw, 2.2rem);
  --fs-h3: clamp(1.075rem, 1rem + 0.34vw, 1.375rem);
  --fs-intro: clamp(1.075rem, 1.01rem + 0.3vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.6875rem;

  --ls-h1: 0.04em;
  --ls-h2: 0.06em;
  --ls-h3: 0.1em;
  --ls-label: 0.18em;
  --ls-btn: 0.08em;

  /* --- spaţiu --- */
  --sp-3xs: 0.25rem;
  --sp-2xs: 0.5rem;
  --sp-xs: 0.75rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2rem;
  --sp-xl: 3rem;
  --sp-2xl: 4.5rem;
  --sp-3xl: 7rem;
  --sp-section: clamp(4.25rem, 2.6rem + 6.6vw, 8.75rem);

  /* --- formă --- */
  --radius: 2px;
  --radius-lg: 2px;
  --facet: 22px;                 /* colţul tăiat, geometria cristalului */

  /* Stratul de sticlă — cadrul video, pastilele şi panourile care plutesc
     peste imagine. Are rotunjire proprie, mare: e „fereastra", nu hârtia.
     Restul site-ului rămâne pe geometria de cristal, cu colţul tăiat. */
  --radius-media: clamp(1.25rem, 0.5rem + 2.4vw, 3rem);
  --radius-pill: 999px;
  /* Rama dintre panouri şi marginea ecranului. Tot ce urmează — hero,
     secţiuni, subsol — este un card aşezat pe pânză, cu aceeaşi ramă. */
  --frame: clamp(0.625rem, 0.4rem + 0.95vw, 1.5rem);
  --maxw-panel: 1536px;
  --glass-bg: rgba(255, 255, 255, 0.46);
  --glass-bg-strong: rgba(255, 255, 255, 0.68);
  --glass-line: rgba(255, 255, 255, 0.62);
  --glass-blur: blur(18px) saturate(1.18);
  --maxw: 1180px;
  --maxw-text: 68ch;
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 2.5rem);

  /* --- lumină şi materie ---
     Chihlimbarul din manual (#C08C60) este culoarea LUMINII din spaţiu, la
     2700–3000 K. Îl folosim exclusiv ca lumină — haloui şi degradeuri care
     imită iluminatul — niciodată ca fundal plat, buton sau text (cap. 07). */
  --lumina-calda: 214, 158, 106;
  --lumina-rece: 138, 162, 153;

  --shadow-header: 0 1px 0 rgba(51, 58, 59, 0.09);
  --shadow-pop: 0 18px 44px -22px rgba(14, 16, 17, 0.4);
  --shadow-panel: 0 30px 60px -34px rgba(20, 16, 12, 0.45);
  --shadow-lift: 0 2px 0 rgba(51, 58, 59, 0.04), 0 22px 38px -28px rgba(20, 16, 12, 0.35);

  --t-fast: 140ms;
  --t-base: 240ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Bara are inaltime proprie, iar rama se adauga PESTE ea. Legate cum erau
     inainte, bara se micsora exact cand rama crestea, iar sigla crestea in
     acelasi timp: la 1920px ramaneau 0px de aer intre siglă si muchie. */
  --header-bar: 58px;
  --header-h: calc(var(--header-bar) + 2 * var(--frame));
}

@media (min-width: 1080px) {
  :root { --header-bar: 72px; }
}

/* ---------------------------------------------------------------- 3. BAZĂ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-canvas);
  color: var(--c-ink);
  font-family: var(--f-text);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

a {
  color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { color: var(--sv-antracit); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

::selection { background: var(--sv-salvie-100); color: var(--sv-antracit); }

/* Titlurile pașilor primesc focus programatic, ca cititoarele de ecran să
   anunțe pasul nou. Nu sunt elemente interactive și nu se pot atinge cu Tab,
   deci nu au nevoie de inel de focus vizibil — pe butoane și linkuri rămâne. */
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible { outline: none; }

/* ---------------------------------------------------------------- 4. TIPOGRAFIE */

.h1, .h2, .h3, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--c-ink-strong);
  text-wrap: balance;
}

h1, .h1 { font-size: var(--fs-h1); line-height: 1.18; letter-spacing: var(--ls-h1); }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.3;  letter-spacing: var(--ls-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.45; letter-spacing: var(--ls-h3); }

.intro {
  font-weight: 300;
  font-size: var(--fs-intro);
  line-height: 1.72;
  color: var(--c-ink);
  max-width: 56ch;
}

.lead {
  font-size: var(--fs-body);
  color: var(--c-muted);
  max-width: var(--maxw-text);
}

.label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
  line-height: 1.4;
}

.num {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  color: var(--c-accent-quiet);
}

/* Aer sub titluri — proporţional cu mărimea lor, nu fix. */
h1 + .intro, h1 + .lead, h1 + .answer,
h2 + .intro, h2 + .lead, h2 + .answer, h2 + .prose, h2 + .faq,
h3 + p {
  margin-top: clamp(1.4rem, 1rem + 1.3vw, 2.35rem);
}
.section__head .label + h2,
.section__head .label + h3 { margin-top: clamp(0.75rem, 0.6rem + 0.5vw, 1.1rem); }

.prose > * + * { margin-top: 1.25em; }
.prose p, .prose li { max-width: var(--maxw-text); }
.prose h2 { margin-top: 2.6em; }
.prose h3 { margin-top: 2em; }
.prose h2 + p, .prose h3 + p,
.prose h2 + ul, .prose h3 + ul { margin-top: 1em; }
.prose strong { font-weight: 500; color: var(--c-ink-strong); }

/* Răspuns direct — primul paragraf al unei secţiuni (GEO). */
.answer {
  font-weight: 300;
  font-size: var(--fs-intro);
  line-height: 1.74;
  color: var(--c-ink-strong);
  max-width: 58ch;
  padding-left: var(--sp-lg);
  border-left: 2px solid var(--c-decor);
}

/* Liste cu scânteia din marcă drept marcator. */
.list {
  list-style: none;
  display: grid;
  gap: var(--sp-xs);
}
.list li {
  position: relative;
  padding-left: 1.75rem;
  max-width: var(--maxw-text);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 11px;
  background: var(--c-decor);
  -webkit-mask: url("../img/scanteie.svg") no-repeat center / contain;
  mask: url("../img/scanteie.svg") no-repeat center / contain;
}
.list--tight { gap: var(--sp-2xs); }

.list-plain { list-style: none; display: grid; gap: var(--sp-2xs); }

/* ---------------------------------------------------------------- 4b. ATMOSFERĂ
   Texturile din assets/img/textura/ sunt grafică de brand originală: faţete
   cristaline şi grăunte, generate din paleta manualului. Nu sunt fotografii
   şi nu reprezintă spaţiul din Vitioara — sunt straturi de materie, folosite
   la opacitate mică sub conţinut.                                            */

.atmos {
  position: relative;
  isolation: isolate;
}
.atmos > * { position: relative; z-index: 1; }

/* stratul de cristal */
.atmos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/textura/cristal-cald.webp");
  background-size: 215% auto;
  background-position: 62% 28%;
  opacity: 0.036;
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* pelicula de grăunte, care dă tactilitate */
.atmos::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/textura/graunte.png");
  background-size: 180px 180px;
  opacity: 0.4;
  pointer-events: none;
}

/* Pe fundal închis, „soft-light" luminează puternic: textura trebuie ţinută
   foarte jos şi la scară mare, altfel suprafaţa pare folie mototolită. */
.atmos--dark::before {
  background-image: url("../img/textura/cristal-rece.webp");
  background-size: 230% auto;
  background-position: 70% 30%;
  opacity: 0.04;
  mix-blend-mode: soft-light;
}
.atmos--dark::after { opacity: 0.3; mix-blend-mode: overlay; }
.atmos--quiet::before { opacity: 0.03; }

/* Pe ecrane mici aceeaşi textură ocupă proporţional mai mult, deci faţetele
   încep să se citească ca pete. O ducem mai jos şi o mărim. */
@media (max-width: 619px) {
  .atmos::before { opacity: 0.035; background-size: 280% auto; }
  .atmos--dark::before { opacity: 0.03; }
  .atmos::after { opacity: 0.3; }
}

/* Cine cere mai puţină mişcare şi decor primeşte o suprafaţă curată. */
@media (prefers-reduced-motion: reduce) {
  .atmos::after { opacity: 0.22; }
}

/* ---------------------------------------------------------------- 4c. FUNDAL FILMAT
   Un panou poate primi o buclă video în locul suprafeţei plate: filmul dedesubt,
   un voal peste el, conţinutul deasupra. Voalul nu e decor — el este ce ţine
   textul lizibil indiferent de cadrul care trece prin spate, aşa că densitatea
   lui e aleasă din măsurători, nu din ochi.                                   */

.bgvideo,
.bgveil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bgvideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* .atmos ridică toţi copiii la z-index 1; aceştia doi trebuie să rămână jos */
.atmos > .bgvideo, .atmos > .bgveil { z-index: 0; }

/* pe suprafeţe închise: voal întunecat, cu aceeaşi lumină caldă din colţ */
.cta-final .bgveil {
  background:
    radial-gradient(75% 85% at 96% 0%, rgba(var(--lumina-calda), 0.22), transparent 62%),
    linear-gradient(180deg,
      rgba(19, 22, 23, 0.86) 0%, rgba(19, 22, 23, 0.78) 42%, rgba(19, 22, 23, 0.9) 100%);
}
/* pe suprafeţe deschise: voal crem, destul cât imaginea să rămână materie */
.page-head .bgveil {
  background:
    radial-gradient(90% 120% at 94% -20%, rgba(var(--lumina-calda), 0.18), transparent 62%),
    linear-gradient(180deg,
      rgba(250, 247, 244, 0.88) 0%, rgba(250, 247, 244, 0.82) 45%, rgba(250, 247, 244, 0.93) 100%);
}
/* unde există film, textura procedurală nu mai are ce căuta */
.atmos:has(> .bgvideo)::before { display: none; }

/* ---------------------------------------------------------------- 5. LAYOUT
   Pagina este o stivă de panouri aşezate pe pânză, despărţite de aceeaşi
   ramă care le desparte şi de marginea ecranului. Colţul mare şi pânza mai
   închisă sunt ce face cardurile să se citească — nu umbrele.            */

main {
  display: grid;
  gap: var(--frame);
  padding: var(--frame);
}

main > .hero,
main > .page-head,
main > .section,
main > .band,
main > .marquee,
main > .err {
  width: 100%;
  max-width: var(--maxw-panel);
  margin-inline: auto;
  border-radius: var(--radius-media);
  /* Într-o grilă, elementele nu coboară sub lăţimea minimă a conţinutului:
     o adresă web lungă dintr-un text legal ar împinge tot panoul în afara
     ecranului. „min-width: 0" scoate acea limită. */
  min-width: 0;
}
/* iar adresele lungi se rup, în loc să lăţească pagina */
.prose a, .footer a, .menu__contact a { overflow-wrap: anywhere; }
/* Fundalul îl pune fiecare tip de panou, nu regula de mai sus: aşa
   variantele închise sau colorate nu sunt înghiţite de o specificitate
   mai mare. */

/* Panourile cu textură sau halou trebuie tăiate la colţ, altfel stratul
   decorativ pictează un dreptunghi peste rotunjire. „clip", nu „hidden":
   „hidden" ar face din panou un container de derulare şi ar strica
   coloanele lipite (position: sticky) dinăuntru. */
main > .atmos,
main > .section--dark,
main > .band,
main > .marquee,
main > .hero,
main > .err { overflow: clip; }
@supports not (overflow: clip) {
  main > .atmos, main > .section--dark, main > .band { overflow: hidden; }
}

/* Panoul care iese în afară (statistica de pe pagina de petreceri) nu e un
   card: rămâne container obişnuit, ca să poată urca peste cel de deasupra. */
main > .container { max-width: var(--maxw); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }

.section { padding-block: var(--sp-section); background: var(--c-bg); }
.section--tight { padding-block: clamp(3rem, 2.1rem + 3.6vw, 5.5rem); }
.section--surface { background: var(--c-surface); }
.section--cool { background: var(--c-surface-cool); }
.section--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--c-on-dark);
  /* aceeaşi lumină caldă ca în banda camerelor, ca suprafeţele închise să
     pară încăperi iluminate, nu câmpuri gri */
  background:
    radial-gradient(75% 65% at 90% 4%, rgba(var(--lumina-calda), 0.20), transparent 58%),
    radial-gradient(65% 55% at 4% 100%, rgba(var(--lumina-rece), 0.12), transparent 62%),
    var(--sv-antracit);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--c-on-dark); }
.section--dark .lead, .section--dark .answer { color: var(--c-on-dark-muted); }
.section--dark .answer { border-left-color: var(--c-decor); color: var(--sv-cristal); }
.section--dark a { color: var(--sv-cristal); }
.section--dark a:hover { color: var(--c-on-dark); }

/* Text mic pe orice suprafaţă antracit — secţiuni închise, cardul camerei mari
   şi blocul final de conversie. Salvie 500 nu ajunge la 4,5:1 la 11 px, deci
   etichetele şi numerele trec pe salvie 300. */
.section--dark .label,
.section--dark .num,
.section--dark .card__num,
.section--dark .step__n,
.cta-final .label,
.cta-final .num,
.room--dark .label,
.room--dark .num,
.room--dark .card__num { color: var(--c-accent-on-dark); }

.section--dark .arrow-link,
.cta-final .arrow-link,
.band .arrow-link,
.room--dark .arrow-link {
  color: var(--sv-cristal);
  border-color: rgba(219, 209, 201, 0.35);
}
.section--dark .arrow-link:hover,
.cta-final .arrow-link:hover,
.band .arrow-link:hover,
.room--dark .arrow-link:hover { color: var(--c-on-dark); border-color: var(--c-on-dark); }

.section__head { max-width: 720px; }
.section__head .label { margin-bottom: var(--sp-sm); }
/* Nu redefinim aici aerul de sub titlu: regula generală de la „Aer sub
   titluri" este singura care îl stabileşte, ca să fie identic peste tot. */

.stack { display: grid; gap: var(--sp-md); }
.stack--lg { gap: var(--sp-xl); }
.stack--sm { gap: var(--sp-sm); }

/* Ordinea contează: regulile merg crescător, ca cea mai largă să câștige. */
.grid { display: grid; gap: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); }
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: var(--sp-xl); align-items: start; }
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); }
  .split--wide-left { grid-template-columns: 1fr 1.05fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  /* Titlul rămâne pe ecran cât timp defilezi coloana lungă din dreapta. */
  .split--sticky > :first-child {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    align-self: start;
  }
}

.rule {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: 0;
}

/* Separator cu unda din marcă. */
.wave-rule {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  color: var(--c-decor);
}
.wave-rule::before, .wave-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}
.wave-rule span {
  display: block;
  width: 54px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("../img/unda.svg") no-repeat center / contain;
  mask: url("../img/unda.svg") no-repeat center / contain;
}

.skip-link {
  position: absolute;
  left: var(--sp-sm);
  top: var(--sp-sm);
  z-index: 200;
  transform: translateY(-160%);
  background: var(--sv-antracit);
  color: var(--c-on-dark);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--c-on-dark); }

/* ---------------------------------------------------------------- 6. BUTOANE */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  /* Butoanele sunt pastile peste tot, nu doar în hero: altfel bara de sus ar
     avea o formă, iar restul paginii alta. Cardurile îşi păstrează colţul
     tăiat — comenzile şi materia rămân două limbaje distincte. */
  border-radius: var(--radius-pill);
  background: var(--sv-antracit);
  color: var(--c-on-dark);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.btn:hover { background: var(--sv-antracit-900); color: var(--c-on-dark); }

/* Sclipire care traversează butonul la hover — ecoul sării în lumină.
   Doar pe butoanele pline: pe cele cu contur nu ar avea pe ce să se vadă. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, transparent 42%,
              rgba(255, 255, 255, 0.16) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 760ms var(--ease);
  pointer-events: none;
}
.btn { position: relative; overflow: hidden; }
.btn:hover::after { transform: translateX(130%); }
.btn--ghost::after, .btn--ghost-on-dark::after { display: none; }
.btn--on-dark::after {
  background: linear-gradient(104deg, transparent 42%,
              rgba(51, 58, 59, 0.10) 50%, transparent 58%);
}
@media (prefers-reduced-motion: reduce) { .btn::after { display: none; } }

.btn--ghost {
  background: transparent;
  color: var(--sv-antracit);
  border-color: var(--sv-antracit);
}
.btn--ghost:hover { background: var(--sv-antracit); color: var(--c-on-dark); }

.btn--accent { background: var(--c-accent); }
.btn--accent:hover { background: #46524f; }

.btn--on-dark {
  background: var(--c-on-dark);
  color: var(--sv-antracit);
}
.btn--on-dark:hover { background: var(--sv-cristal); color: var(--sv-antracit); }

.btn--ghost-on-dark {
  /* Butonul stă peste video și peste fotografii, unde fundalul variază de la un
     cadru la altul. Un voal subțire ține textul lizibil oricât de deschisă ar fi
     imaginea din spate, fără să strice aspectul de buton conturat. */
  background: rgba(20, 22, 23, 0.38);
  color: var(--c-on-dark);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-on-dark);
  border-color: var(--c-on-dark);
}

/* Pastila — text la stânga, un disc cu săgeată la dreapta. Peste imagine,
   muchia dreaptă a butonului obişnuit taie prea tare; pastila stă mai bine. */
.btn--pill {
  border-radius: var(--radius-pill);
  min-height: 52px;
  padding: 0.3rem 0.3rem 0.3rem 1.5rem;
  gap: 0.9rem;
}
.btn--pill .chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  transition: transform var(--t-base) var(--ease);
}
.btn--pill .chip svg { width: 14px; height: 14px; }
.btn--pill:hover .chip { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn--pill:hover .chip { transform: none; } }

/* Sticlă: se aşază peste video fără să acopere imaginea. */
.btn--glass {
  background: var(--glass-bg-strong);
  border-color: var(--glass-line);
  color: var(--c-ink-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.9); color: var(--c-ink-strong); }
.btn--glass .chip { background: rgba(51, 58, 59, 0.09); }
.btn--glass::after { display: none; }

.btn--sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.8125rem; }
.btn--sm.btn--pill { min-height: 42px; padding: 0.22rem 0.22rem 0.22rem 1.15rem; gap: 0.6rem; }
.btn--sm.btn--pill .chip { width: 2.1rem; height: 2.1rem; }
.btn--block { width: 100%; }
/* Pastila pe toată lăţimea: textul rămâne la stânga, discul se duce la capăt. */
.btn--block.btn--pill { justify-content: space-between; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-xs); }

/* Link cu săgeată, pentru CTA-uri secundare în text. */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--c-accent);
  border-bottom: 1px solid var(--sv-salvie-200);
  padding-bottom: 2px;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.arrow-link::after {
  content: "→";
  transition: transform var(--t-base) var(--ease);
}
.arrow-link:hover { color: var(--sv-antracit); border-color: var(--sv-antracit); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- 7. HEADER
   Antetul este o bară care pluteşte, nu o fâşie lipită de marginile ecranului:
   aceeaşi ramă şi acelaşi colţ ca panourile de dedesubt. Peste hero pornește
   invizibilă şi se materializează la derulare; pe paginile interioare e acolo
   de la început.
   „--header-h" este înălţimea TOTALĂ, ramă inclusă — de ea depind decupajul
   hero-ului, saltul la ancore şi poziţia meniului de pe telefon.            */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: var(--frame);
  background: transparent;
}
.header::after {
  content: "";
  position: absolute;
  inset: var(--frame) max(var(--frame), calc((100% - var(--maxw-panel)) / 2));
  z-index: -1;
  border-radius: calc(var(--radius-media) * 0.62);
  background: rgba(250, 248, 246, 0.72);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 34px -24px rgba(20, 16, 12, 0.45);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.header.is-stuck::after,
.header.is-solid::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .header::after { transform: none; }
}

/* Conţinutul se aliniază la muchia panoului plus o gutieră: aşa stă înăuntrul
   barei, nu lipit de curbura ei. */
.header .container {
  max-width: calc(var(--maxw-panel) + 2 * var(--frame));
  padding-inline: calc(var(--frame) + clamp(1.35rem, 0.9rem + 1.6vw, 2.75rem));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  height: var(--header-bar);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img { width: auto; height: clamp(2rem, 1.5rem + 1vw, 2.75rem); display: block; }

/* --- navigaţia --------------------------------------------------------
   Apare de la 820px, nu de la 1080: între cele două praguri antetul arăta
   gol — o siglă într-un colţ şi un buton de meniu în celălalt, pe un ecran
   pe care încap toate cele cinci etichete.                                */
.nav { display: none; }
@media (min-width: 820px) {
  .nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(0.15rem, -0.4rem + 1.1vw, 0.9rem);
  }
}
.nav a {
  position: relative;
  white-space: nowrap;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 0.5rem clamp(0.5rem, 0.2rem + 0.6vw, 0.95rem);
  border-radius: var(--radius-pill);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav a:hover { color: var(--sv-antracit); background: rgba(51, 58, 59, 0.05); }
.nav a[aria-current="page"] {
  color: var(--sv-antracit);
  font-weight: 500;
  background: rgba(51, 58, 59, 0.075);
}

.header__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--sp-xs);
}

.header__cta { display: none; }
@media (min-width: 820px) {
  .header__cta { display: inline-flex; white-space: nowrap; }
}
/* Sub 1080px discul cu săgeată mănâncă lăţime de care are nevoie navigaţia. */
@media (max-width: 1079px) {
  .header__cta .chip { display: none; }
  /* Specificitate egală cu „.btn--sm.btn--pill", care fixează scurtătura de
     padding; fără cele trei clase, textul ar rămâne lipit de marginea pastilei. */
  .btn--sm.btn--pill.header__cta { padding: 0.55rem 1.25rem; }
}

.header__phone {
  display: none;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  text-decoration: none;
}
@media (min-width: 1320px) { .header__phone { display: inline-block; } }
.header__phone:hover { color: var(--c-accent); }

/* --- butonul de meniu -------------------------------------------------
   Cerc, nu trei linii libere în pagină: are margine vizibilă, deci se vede
   că e un buton, iar zona de atins e cât trebuie şi pe degete mari.      */
.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(51, 58, 59, 0.12);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
@media (min-width: 820px) { .burger { display: none; } }
.burger:hover { background: rgba(255, 255, 255, 0.8); border-color: rgba(51, 58, 59, 0.2); }
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--sv-antracit);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease),
              width var(--t-base) var(--ease);
}
.burger span:nth-child(3) { width: 11px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { width: 17px; transform: translateY(-6.5px) rotate(-45deg); }
.burger[aria-expanded="true"] { background: var(--sv-antracit); border-color: var(--sv-antracit); }
.burger[aria-expanded="true"] span { background: var(--c-on-dark); }

/* --- panou meniu mobil ------------------------------------------------
   Foaie pe tot ecranul, cu cristalul estompat dedesubt. Rândurile intră
   decalat, de jos în sus. Fără JavaScript panoul nu se deschide, dar
   navigaţia completă există oricum în subsol, deci nimic nu se pierde. */
/* Foaie rotunjită care coboară de sub bară, nu un ecran plin cu colţuri
   drepte: aceeaşi ramă şi acelaşi colţ ca toate celelalte panouri. */
.menu {
  position: fixed;
  inset: var(--header-h) var(--frame) var(--frame);
  z-index: 99;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) var(--gutter)
           calc(var(--sp-lg) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius-media);
  background: linear-gradient(168deg, #fbf9f7 0%, var(--sv-cristal-50) 55%, #ece5dd 100%);
  box-shadow: 0 30px 60px -40px rgba(20, 16, 12, 0.5);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  /* „visibility" comută instantaneu la deschidere şi abia după stingere la
     închidere. Altfel primul link ar fi încă ascuns în clipa în care
     JavaScript îi dă focus, iar tastatura ar rămâne pe pagina de dedesubt. */
  transition: opacity 340ms var(--ease), transform 420ms var(--ease),
              visibility 0s linear 420ms;
}
.menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 300ms var(--ease), transform 420ms var(--ease),
              visibility 0s linear 0s;
}
@media (min-width: 1080px) { .menu { display: none; } }

/* cristalul, foarte estompat, ca fundalul să nu fie o suprafaţă moartă */
.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/cristal-poster-900.jpg") center 62% / cover no-repeat;
  /* Estompat tare: rămâne materia şi lumina, nu se mai citeşte obiectul. */
  filter: blur(14px);
  opacity: 0.5;
  transform: scale(1.12);
  transition: transform 900ms var(--ease);
}
.menu.is-open::before { transform: scale(1); }
.menu::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(251, 249, 247, 0.88) 0%,
    rgba(251, 249, 247, 0.78) 38%,
    rgba(245, 242, 240, 0.92) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .menu::before { transform: none; transition: none; }
}

.menu__nav, .menu__foot { position: relative; z-index: 2; }

.menu__label {
  position: relative;
  z-index: 2;
  margin: 0 0 var(--sp-md);
  color: var(--c-accent-quiet);
}

.menu__nav { display: grid; gap: 0; }
.menu__nav a {
  display: grid;
  grid-template-columns: 1.9rem 1fr auto;
  align-items: baseline;
  gap: var(--sp-sm);
  padding: clamp(0.95rem, 0.7rem + 1vw, 1.35rem) 0;
  border-bottom: 1px solid rgba(51, 58, 59, 0.13);
  color: var(--c-ink-strong);
  text-decoration: none;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.05rem, 0.85rem + 1.55vw, 1.7rem);
  line-height: 1.22;
  letter-spacing: 0.035em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease),
              color var(--t-fast) var(--ease);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: 90ms; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 150ms; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 210ms; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 270ms; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 330ms; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: 390ms; }

.menu__nav .num {
  align-self: center;
  font-size: 0.6875rem;
  letter-spacing: var(--ls-label);
  color: var(--c-accent-quiet);
}
.menu__nav .arw {
  align-self: center;
  width: 15px;
  height: 15px;
  color: var(--c-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.menu__nav a[aria-current="page"] { color: var(--c-accent); }
.menu__nav a[aria-current="page"] .arw,
.menu__nav a:hover .arw,
.menu__nav a:focus-visible .arw { opacity: 1; transform: none; }

.menu__foot {
  margin-top: auto;
  padding-top: var(--sp-xl);
  display: grid;
  gap: var(--sp-md);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms var(--ease) 420ms, transform 560ms var(--ease) 420ms;
}
.menu.is-open .menu__foot { opacity: 1; transform: none; }

.menu__contact {
  display: grid;
  gap: 0.45rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--c-muted);
}
.menu__contact a { color: var(--c-ink); text-decoration: none; }
.menu__contact a:hover { color: var(--c-accent); }

@media (prefers-reduced-motion: reduce) {
  .menu__nav a, .menu__foot { transition: none; opacity: 1; transform: none; }
}

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- 8. HERO
   Pagina lasă o ramă în jurul unui card rotunjit, iar înăuntrul lui rulează
   o buclă de cristal. Antetul pluteşte peste card, panoul de sticlă stă în
   colţul de jos, iar colţul din dreapta este „scobit" din card cu două
   sferturi de disc în culoarea paginii.
   Sursa filmului: „Glassy Dna", GetLayers (getlayers.ai). L-am decupat pe
   banda de jos, unde se văd sticla şi causticele, nu întreaga spirală: un
   ADN afişat integral ar sugera medicină şi genetică, exact asocierea pe
   care marca trebuie să o evite.                                           */

.hero { position: relative; }
/* Cardul urcă sub antet, ca în referinţă: bara pluteşte peste imagine. */
.hero--media { margin-top: calc(var(--header-h) * -1); }

.hero__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-media);
  /* Înălţimea vine din conţinut, cu un prag minim. Nu punem „aspect-ratio":
     împreună cu „overflow: hidden" ar fi o cutie rigidă, iar la lăţimi
     intermediare textul ar ajunge sub panoul de sticlă sau tăiat. */
  width: 100%;
  min-height: min(86vh, 900px);
  background: var(--sv-cristal-50);
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  display: block;
}

/* Lumina care urmăreşte cursorul. Stă SUB voal, nu peste el: aşa încălzeşte
   imaginea fără să atingă contrastul textului, care e măsurat pe voalul de
   deasupra. Se mişcă doar prin transform, deci nu recalculează degradeuri. */
.hero__light {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(34% 38% at 50% 46%,
              rgba(var(--lumina-calda), 0.16), transparent 70%);
  mix-blend-mode: screen;
  transform: translate3d(calc(var(--sv-mx, 0) * 46px), calc(var(--sv-my, 0) * 34px), 0);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) { .hero__light { transform: none; } }

/* Voalul: cremă densă sus (ca antetul să rămână lizibil), aproape absent la
   mijloc (ca imaginea să se vadă) şi din nou dens jos, sub panou. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(115% 74% at 50% 44%, rgba(252, 250, 248, 0.66), transparent 80%),
    linear-gradient(180deg,
      rgba(252, 250, 248, 0.90) 0%,
      rgba(252, 250, 248, 0.46) 20%,
      rgba(252, 250, 248, 0.16) 46%,
      rgba(252, 250, 248, 0.44) 76%,
      rgba(252, 250, 248, 0.78) 100%);
}

/* Pe ecran îngust „cover" taie o felie verticală din film, deci imaginea de
   sub text devine mult mai agitată. Mutăm cadrul spre câmpul de lumină din
   stânga şi îngroşăm voalul, ca titlul să stea pe o suprafaţă liniştită. */
@media (max-width: 760px) {
  .hero__video { object-position: 30% 50%; }
  .hero__scrim {
    background:
      radial-gradient(120% 62% at 50% 46%, rgba(252, 250, 248, 0.72), transparent 82%),
      linear-gradient(180deg,
        rgba(252, 250, 248, 0.92) 0%,
        rgba(252, 250, 248, 0.58) 16%,
        rgba(252, 250, 248, 0.38) 46%,
        rgba(252, 250, 248, 0.5) 78%,
        rgba(252, 250, 248, 0.8) 100%);
  }
  /* pastilele stau mai bine egale decât centrate cu lăţimi diferite */
  .hero .btn-row { display: grid; gap: var(--sp-xs); width: 100%; }
  .hero .btn-row .btn { width: 100%; justify-content: space-between; }

  /* Insigna cerea 319px şi avea 315 la lăţime de 390 — de aceea se rupea pe
     două rânduri. O micşorăm optic (corp, spaţiere, pictogramă, umplutură)
     până încape pe un rând şi la 320px, apoi îi interzicem ruperea. */
  .hero__badge {
    white-space: nowrap;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem;
  }
  .hero__badge .ico { width: 12px; height: 12px; }

  /* Titlul: mai mic şi mai strâns, ca să iasă rânduri pline, nu cinci cioturi. */
  .hero h1 {
    font-size: clamp(1.65rem, 1.05rem + 2.7vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: 0.012em;
    max-width: 100%;
  }
  .hero .intro { font-size: 1rem; line-height: 1.6; max-width: 34ch; }

  /* zona întreagă, mai strânsă pe verticală */
  .hero__body { gap: clamp(0.85rem, 0.55rem + 1.2vw, 1.35rem); }
}

/* Sub 380px („SALINĂ ÎN ESTUL" nu mai încape pe un rând, iar eticheta
   butonului se rupe în două): coborâm încă o treaptă corpul de literă. */
@media (max-width: 379px) {
  .hero h1 { font-size: 1.45rem; letter-spacing: 0.008em; }
  .hero .intro { font-size: 0.9375rem; }
  .hero .btn-row .btn { font-size: 0.8125rem; padding-left: 1rem; letter-spacing: 0.05em; gap: 0.5rem; }
  /* discul cu săgeată mănâncă lăţimea de care are nevoie eticheta */
  .hero .btn-row .btn .chip { width: 2.1rem; height: 2.1rem; }
  .hero__badge { font-size: 0.5625rem; letter-spacing: 0.085em; padding-inline: 0.7rem; }
}

.hero__body {
  position: relative;
  z-index: 2;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.1rem, 0.7rem + 1.3vw, 1.85rem);
  width: 100%;
  max-width: 60rem;
  padding: calc(var(--header-h) + clamp(2.25rem, 1rem + 5vh, 4rem)) var(--gutter)
           clamp(2.5rem, 1.8rem + 3vw, 4rem);
}
/* De la 900px, sub text stau panoul de sticlă şi colţul: le facem loc, ca
   butoanele să nu ajungă niciodată sub ele. */
@media (min-width: 900px) {
  .hero__body { padding-bottom: clamp(12rem, 8rem + 8vw, 16rem); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--c-ink-strong);
}
.hero__badge .ico { width: 14px; height: 14px; color: var(--c-accent); }

.hero h1 {
  font-size: clamp(2.15rem, 1.15rem + 3.9vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  max-width: 22ch;
  margin: 0;
  /* Rândurile se împart singure cât mai egal, în loc să lase un cuvânt
     singur pe ultimul rând. Unde nu e suportat, nu se schimbă nimic. */
  text-wrap: balance;
  /* Nu negru: titlul stă ÎN imagine, nu peste ea — tonul potolit e ce face
     referinţa să pară scumpă. Dar nici atât de stins încât să depindă de
     cadrul filmului: peste causticele cele mai luminoase, gri-ul acesta
     măsoară 5:1, adică peste pragul de text obişnuit, nu doar peste cel
     de text mare. */
  color: #454e4d;
}
.hero .intro { margin: 0; max-width: 46ch; text-wrap: pretty; }
.hero .btn-row { margin: 0; justify-content: center; gap: var(--sp-sm); }

/* --- colţul scobit din dreapta jos --- */
.hero__corner {
  --cut: clamp(1.4rem, 0.6rem + 2.2vw, 3.5rem);
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  gap: var(--sp-md);
  padding: clamp(1rem, 0.6rem + 1.1vw, 1.6rem) clamp(1.1rem, 0.7rem + 1.2vw, 1.75rem)
           clamp(1rem, 0.6rem + 1.1vw, 1.6rem) clamp(1.6rem, 0.9rem + 2vw, 3rem);
  /* Culoarea PÂNZEI, nu alb: colţul e pagina care intră în card. Cu alb ar
     arăta ca o etichetă lipită peste imagine, nu ca o scobitură. */
  background: var(--c-canvas);
  border-start-start-radius: var(--cut);
  text-decoration: none;
  color: var(--c-ink-strong);
}
@media (min-width: 900px) { .hero__corner { display: inline-flex; } }
/* Cele două sferturi de disc care fac racordul concav. Aceeaşi formă,
   aşezată o dată deasupra panoului şi o dată în stânga lui. */
.hero__corner::before,
.hero__corner::after {
  content: "";
  position: absolute;
  width: var(--cut);
  height: var(--cut);
  background: var(--c-canvas);
  -webkit-mask: radial-gradient(circle at 0 0,
                transparent 0 calc(var(--cut) - 0.5px), #000 var(--cut));
  mask: radial-gradient(circle at 0 0,
        transparent 0 calc(var(--cut) - 0.5px), #000 var(--cut));
}
.hero__corner::before { right: 0; bottom: 100%; }
.hero__corner::after { right: 100%; bottom: 0; }

.hero__corner-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(51, 58, 59, 0.14);
  background: rgba(255, 255, 255, 0.55);
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.hero__corner-chip svg { width: 15px; height: 15px; color: var(--c-ink); }
.hero__corner:hover .hero__corner-chip {
  transform: translate(3px, -3px);
  background: var(--c-bg);
}
@media (prefers-reduced-motion: reduce) {
  .hero__corner:hover .hero__corner-chip { transform: none; }
}
.hero__corner-t {
  display: block;
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.hero__corner-s {
  display: block;
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--c-muted);
}

/* --- banda de fapte ---------------------------------------------------
   Pe telefon rămâne o listă sub card. De la 900px urcă peste imagine, ca
   panou de sticlă, exact ca în referinţă.                                */
/* Sub 900px banda de fapte coboară sub film. Nu o lăsăm pe pânză goală:
   primeşte propriul card, ca tot restul paginii. */
.hero__facts {
  position: relative;
  z-index: 3;
  margin: var(--frame) 0 0;
  display: grid;
  gap: 0;
  background: var(--c-bg);
  border-radius: var(--radius-media);
  padding: clamp(0.5rem, 0.3rem + 0.8vw, 1rem) var(--gutter);
}
.hero__facts .fact:last-child { border-bottom: 0; }
@media (min-width: 620px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hero__facts {
    margin: 0;
    padding: clamp(1.1rem, 0.7rem + 1vw, 1.6rem) clamp(1.3rem, 0.8rem + 1.3vw, 2rem);
    position: absolute;
    left: clamp(1.4rem, 0.4rem + 2.4vw, 3.2rem);
    bottom: clamp(1.4rem, 0.4rem + 2.4vw, 3.2rem);
    width: min(48rem, 58%);
    border-top: 0;
    padding: clamp(1.1rem, 0.7rem + 1vw, 1.6rem) clamp(1.3rem, 0.8rem + 1.3vw, 2rem);
    border-radius: calc(var(--radius-media) * 0.66);
    background: var(--glass-bg);
    border: 1px solid var(--glass-line);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 24px 48px -34px rgba(20, 16, 12, 0.55);
  }
}

.fact {
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.75rem) 0;
  display: grid;
  gap: 0.3rem;
  border-bottom: 1px solid rgba(51, 58, 59, 0.1);
}
@media (min-width: 620px) {
  .fact { border-bottom: 0; padding-inline: var(--sp-md); }
  .fact:first-child { padding-left: 0; }
  .fact + .fact { border-left: 1px solid rgba(51, 58, 59, 0.16); }
}
@media (min-width: 900px) {
  .fact { padding-block: 0; padding-inline: clamp(0.8rem, 0.4rem + 0.9vw, 1.3rem); }
  .fact + .fact { border-left-color: rgba(51, 58, 59, 0.18); }
  .fact dd { font-size: clamp(1rem, 0.88rem + 0.42vw, 1.2rem); white-space: nowrap; }
  .fact dd small { white-space: normal; }
  .fact dd small { font-size: 0.8125rem; }
}
.fact dt, .fact__k {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
}
.fact dd, .fact__v {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1.02rem + 0.95vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink-strong);
}
.fact dd small, .fact__v small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--f-text);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-muted);
}

/* ---------------------------------------------------------------- 9. DIAGRAMA CAMERELOR
   Suprafeţele desenate sunt în proporţie reală 80 : 50 m².                  */

.rooms-figure { display: grid; gap: var(--sp-sm); }
.rooms-figure svg { width: 100%; height: auto; }
.rooms-figure figcaption {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.5;
}
.rf-shape { fill: none; stroke: var(--sv-antracit); stroke-width: 1.25; }
.rf-shape--soft { stroke: var(--sv-salvie-300); }
.rf-fill { fill: var(--sv-alb); }
.rf-fill--cool { fill: var(--sv-salvie-50); }
.rf-dot { fill: var(--sv-salvie-800); }
.rf-dot--soft { fill: var(--sv-salvie); }
.rf-title {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  fill: var(--sv-antracit);
  text-transform: uppercase;
}
.rf-meta {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  fill: var(--sv-salvie-800);
}
.rf-rule { stroke: var(--sv-cristal); stroke-width: 1; }

/* ---------------------------------------------------------------- 9b. FOTOGRAFIE
   Se folosește prin includes/parts/photo.php. Raportul de aspect este fixat
   pe container, ca imaginea să nu miște layoutul cât timp se încarcă (CLS).  */

.photo {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-surface);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.photo--facet {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--facet)),
                     calc(100% - var(--facet)) 100%, 0 100%);
}
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--wide img { aspect-ratio: 16 / 9; }

/* ---------------------------------------------------------------- 9c. BANDA CAMERELOR
   Secţiunea în care pagina „intră în cameră": suprafaţă antracit adâncă, o
   baltă de lumină caldă în colţ şi cifrele la scară mare — capacitatea este
   argumentul principal, deci devine element grafic.                          */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--c-on-dark);
  padding-block: clamp(4.75rem, 2.9rem + 7.4vw, 9.75rem);
  background:
    radial-gradient(80% 70% at 88% 8%, rgba(var(--lumina-calda), 0.26), transparent 58%),
    radial-gradient(70% 60% at 6% 100%, rgba(var(--lumina-rece), 0.14), transparent 62%),
    var(--sv-antracit-900);
}
/* Vignetă şi lumină de podea: banda nu mai e un dreptunghi închis, ci o
   încăpere în care lumina cade de sus-dreapta şi se stinge spre margini. */
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 118%, rgba(var(--lumina-calda), 0.10), transparent 62%),
    radial-gradient(140% 100% at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.34) 100%);
}
.band > * { position: relative; z-index: 1; }

.band h2, .band h3 { color: var(--c-on-dark); }
.band .lead { color: var(--c-on-dark-muted); }
.band .label { color: var(--c-accent-on-dark); }

.rooms {
  display: grid;
  gap: var(--sp-md);
  margin-top: clamp(2.5rem, 1.6rem + 3vw, 4rem);
}
@media (min-width: 900px) {
  .rooms { grid-template-columns: 1.12fr 0.88fr; gap: var(--sp-lg); }
}

.roomx {
  position: relative;
  display: grid;
  gap: var(--sp-sm);
  align-content: start;
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  border: 1px solid rgba(219, 209, 201, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--lumina-calda), 0.13), transparent 62%),
    rgba(255, 255, 255, 0.035);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.roomx--small {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--lumina-rece), 0.12), transparent 62%),
    rgba(255, 255, 255, 0.025);
}

.roomx__figure {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 0.5rem + 1.6vw, 2.25rem);
  flex-wrap: wrap;
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid rgba(219, 209, 201, 0.14);
}
.roomx__n {
  font-family: var(--f-display);
  font-size: clamp(3.25rem, 2rem + 5.4vw, 6rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  color: var(--sv-cristal);
}
.roomx__n sup {
  font-size: 0.34em;
  vertical-align: super;
  letter-spacing: 0.04em;
}
.roomx__seats { display: grid; gap: 0.15rem; }
.roomx__seats b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1;
  color: var(--c-on-dark);
}
.roomx__seats span {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-on-dark);
}
.roomx p { color: var(--c-on-dark-muted); }
.roomx .arrow-link { justify-self: start; margin-top: var(--sp-2xs); }

/* şirul de puncte care arată capacitatea */
.seatdots { display: flex; flex-wrap: wrap; gap: 7px; padding-top: var(--sp-2xs); }
.seatdots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-accent-on-dark);
  opacity: 0.85;
}
.roomx--small .seatdots i { background: var(--sv-salvie); opacity: 0.7; }

/* ---------------------------------------------------------------- 9a. EDITORIAL
   Primitive de aşezare care rup ritmul de „etichetă → titlu → grilă": cifre
   filigran, citate mari, benzi de statistici, panouri care ies din secţiune.
   Se folosesc rar şi intenţionat — o singură dată pe pagină, cel mult două.  */

/* --- container mai lat, pentru momentele care trebuie să respire --- */
.container--wide { max-width: 1400px; }

/* --- cifra-filigran din spatele unui titlu de secţiune --- */
.watermark { position: relative; }
.watermark > * { position: relative; z-index: 1; }
.watermark::before {
  /* Al doilea argument este textul alternativ: cifra rămâne pur decorativă şi nu este
     citită de cititoarele de ecran, care altfel ar anunţa-o înaintea titlului. */
  content: attr(data-n) / "";
  position: absolute;
  top: -0.42em;
  left: -0.06em;
  z-index: 0;
  font-family: var(--f-display);
  font-size: clamp(9rem, 4rem + 18vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--sv-antracit);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}
.band .watermark::before,
.section--dark .watermark::before { color: var(--sv-cristal); opacity: 0.05; }

/* --- citat editorial: o singură frază, la scară mare --- */
.pullquote {
  max-width: 22ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1rem + 2.7vw, 2.9rem);
  line-height: 1.26;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-ink-strong);
  text-wrap: balance;
}
.pullquote--wide {
  max-width: 26ch;
  margin-inline: auto;
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-line);
  text-align: center;
}
@media (min-width: 900px) { .pullquote--wide { padding-top: var(--sp-2xl); } }
.band .pullquote, .section--dark .pullquote { color: var(--c-on-dark); }
.pullquote__by {
  display: block;
  margin-top: var(--sp-md);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
}
.band .pullquote__by, .section--dark .pullquote__by { color: var(--c-accent-on-dark); }

/* --- bandă de cifre, la scară de afiş --- */
.statrow {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
@media (min-width: 760px) { .statrow { grid-template-columns: repeat(3, 1fr); } }
.statrow > div {
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem) 0;
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 760px) {
  .statrow > div { border-bottom: 0; padding-inline: clamp(1.25rem, 0.6rem + 2vw, 2.5rem); }
  .statrow > div:first-child { padding-left: 0; }
  .statrow > div + div { border-left: 1px solid var(--c-line); }
}
.statrow dt, .statrow .statrow__k {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
  margin-bottom: 0.6rem;
}
.statrow dd, .statrow .statrow__v {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--c-ink-strong);
}
.statrow dd sup { font-size: 0.32em; vertical-align: super; }
.statrow dd small {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--f-text);
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--c-muted);
}
.band .statrow, .section--dark .statrow { border-top-color: rgba(219, 209, 201, 0.2); }
.band .statrow > div + div,
.section--dark .statrow > div + div { border-left-color: rgba(219, 209, 201, 0.2); }
.band .statrow > div,
.section--dark .statrow > div { border-bottom-color: rgba(219, 209, 201, 0.2); }
.band .statrow dd, .section--dark .statrow dd { color: var(--sv-cristal); }
.band .statrow dd small, .section--dark .statrow dd small { color: var(--c-on-dark-muted); }
.band .statrow dt, .section--dark .statrow dt { color: var(--c-accent-on-dark); }

/* --- panoul care poartă banda de cifre, aşezat peste pragul dintre secţiuni --- */
.statpanel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1.5rem, 1rem + 2.4vw, 3rem);
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-cristal-50) 100%);
  border: 1px solid rgba(51, 58, 59, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}
.statpanel .statrow { border-top: 0; }
.statpanel .statrow > div:first-child { padding-top: 0; }
@media (min-width: 760px) { .statpanel .statrow > div { padding-block: 0; } }

/* --- panou aşezat peste pragul dintre două secţiuni ---
   Trebuie să stea ÎN AFARA secţiunii colorate: aceasta are „overflow: hidden"
   pentru straturile de textură şi ar tăia orice element care iese din ea. */
.overlap-up {
  position: relative;
  z-index: 2;
  margin-top: clamp(-6rem, -3rem - 3vw, -2.5rem);
}
.section--after-overlap { padding-top: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }

/* --- secţiune care nu se termină brusc: marginea de jos se stinge --- */
.section--soft-end { padding-bottom: clamp(5rem, 3rem + 6vw, 9rem); }

/* ---------------------------------------------------------------- 9d. BENEFICII
   Secţiunea care vinde. Fiecare beneficiu este ceva ce vizitatorul primeşte
   efectiv — linişte, joacă, timp, aer, intimitate, proximitate. Pictogramele
   sunt desenate din geometria mărcii (vezi includes/parts/icon.php).        */

.benefits {
  display: grid;
  gap: var(--sp-md);
  margin-top: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
}
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .benefits { grid-template-columns: repeat(3, 1fr); column-gap: clamp(2rem, 1.2rem + 2vw, 3.25rem); }
  /* Patru blocuri intr-o grila de trei lasa unul singur pe randul doi.
     Varianta „pereche” le aseaza 2x2, ca randurile sa ramana pline. */
  .benefits--pereche { grid-template-columns: repeat(2, 1fr); }
}
/* rândurile au nevoie de mai mult aer decât coloanele */
.benefits { row-gap: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); }

.benefit {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding-top: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border-top: 1px solid var(--c-line);
}
/* Pictograma stă într-o plăcuţă, nu liberă în pagină: aşa are greutate şi
   rândul de beneficii capătă un punct de sprijin la stânga. */
.benefit .ico {
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  padding: 13px;
  border-radius: 16px;
  background: var(--sv-salvie-50);
  border: 1px solid var(--sv-salvie-100);
  stroke-width: 1.4;
  color: var(--c-accent);
  margin-bottom: 1.15rem;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.benefit:hover .ico { transform: translateY(-2px); background: var(--sv-salvie-100); }
@media (prefers-reduced-motion: reduce) { .benefit:hover .ico { transform: none; } }
.benefit h3 {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  letter-spacing: 0.07em;
}
.benefit p { color: var(--c-muted); max-width: 40ch; }

.band .benefit, .section--dark .benefit { border-top-color: rgba(219, 209, 201, 0.18); }
.band .benefit .ico, .section--dark .benefit .ico {
  color: var(--c-accent-on-dark);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(219, 209, 201, 0.16);
}
.band .benefit:hover .ico, .section--dark .benefit:hover .ico { background: rgba(255, 255, 255, 0.09); }
.band .benefit p, .section--dark .benefit p { color: var(--c-on-dark-muted); }

/* fâşie discretă de precizare — informaţie, nu titlu de secţiune */
.fineprint {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--c-line);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 88ch;
}
.fineprint a { color: var(--c-accent); }

/* ---------------------------------------------------------------- 10. CARDURI */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  padding: clamp(1.5rem, 1.15rem + 1.3vw, 2.35rem);
  /* Suprafaţă, nu chenar: un degradeu cald foarte scurt şi o umbră joasă dau
     cardului materie. Chenarul rămâne doar ca linie de contur, aproape invizibil. */
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-cristal-50) 100%);
  border: 1px solid rgba(51, 58, 59, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 0 rgba(51, 58, 59, 0.04), 0 30px 46px -30px rgba(20, 16, 12, 0.42);
}
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card h3 { margin-bottom: 2px; }
.card p { color: var(--c-muted); font-size: 1rem; line-height: 1.7; }
.card .arrow-link { margin-top: auto; align-self: start; padding-top: var(--sp-2xs); }
.card__num {
  color: var(--c-accent-quiet);
  transition: transform var(--t-base) var(--ease);
}
.card:hover .card__num { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .card:hover .card__num { transform: none; } }

/* Preţul nu mai stă lipit de paragraf: o linie subţire îl desparte, iar în
   rândurile aliniate liniile se suprapun şi devin un reper comun. */
.card > .pcard__price {
  margin-top: var(--sp-2xs);
  padding-top: var(--sp-xs);
  border-top: 1px solid var(--c-line);
}
.section--dark .card > .pcard__price,
.band .card > .pcard__price { border-top-color: rgba(219, 209, 201, 0.16); }

/* săgeata cardului se aprinde odată cu tot cardul, nu doar la trecerea peste ea */
.card:hover .arrow-link { color: var(--sv-antracit); border-color: var(--sv-antracit); }
.section--dark .card:hover .arrow-link,
.band .card:hover .arrow-link { color: var(--c-on-dark); border-color: var(--c-on-dark); }

/* Cardul cu faţetă — geometria cristalului (manual cap. 09).
   Se aplică unui singur tip de element pe pagină.                          */
.card--facet {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--facet)),
                     calc(100% - var(--facet)) 100%, 0 100%);
}
/* Pe suprafeţele colorate cardul rămâne alb, ca să se desprindă de fundal. */
.section--surface .card,
.section--cool .card { background: #ffffff; }

.section--dark .card,
.band .card {
  background:
    radial-gradient(130% 110% at 100% 0%, rgba(var(--lumina-calda), 0.10), transparent 60%),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(219, 209, 201, 0.14);
  box-shadow: none;
}
.section--dark .card p,
.band .card p { color: var(--c-on-dark-muted); }
/* Prețul face excepție: e cel mai important lucru din card și, în punctul cel
   mai luminos al haloului cald, griul potolit cobora la 4,4:1 — sub prag. */
.section--dark .card .pcard__price,
.band .card .pcard__price { color: var(--c-on-dark); }
.section--dark .card .pcard__price small,
.band .card .pcard__price small { color: var(--c-on-dark-muted); }
/* Numărul cardului e tot un <p>, deci îl prindea regula de mai sus. Pe petele
   mai deschise ale fundalului texturat cobora la 4,3:1, așa că îl ducem pe o
   nuanță mai deschisă. Selectorul trebuie să fie mai specific decât
   „.section--dark .card p”, altfel nu are efect. */
.section--dark .card .card__num,
.band .card .card__num,
.section--dark .card .num,
.band .card .num { color: var(--sv-salvie-100); }

.card--quiet { background: var(--c-surface); border-color: transparent; box-shadow: none; }

/* --- paşii experienţei --- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  gap: var(--sp-2xs);
  padding: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem) 0;
  border-top: 1px solid var(--c-line);
}
@media (min-width: 760px) {
  .step { grid-template-columns: 5rem 1fr; gap: var(--sp-md); align-items: baseline; }
}
.step:last-child { border-bottom: 1px solid var(--c-line); }
.step__n {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--c-accent-quiet);
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--c-muted); max-width: 60ch; }
.section--dark .step { border-color: #3f4747; }
.section--dark .step p { color: var(--c-on-dark-muted); }

/* --- diptic camere --- */
.room {
  display: grid;
  gap: var(--sp-sm);
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  border: 1px solid rgba(51, 58, 59, 0.07);
  border-radius: var(--radius);
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-cristal-50) 100%);
  box-shadow: var(--shadow-lift);
}
.room--dark { background: var(--sv-antracit); border-color: var(--sv-antracit); color: var(--c-on-dark); }
.room--dark h3 { color: var(--c-on-dark); }
.room--dark .room__p { color: var(--c-on-dark-muted); }
.room--dark .room__stat dt { color: var(--c-accent-on-dark); }
.room--dark .room__stat dd { color: var(--c-on-dark); }
.room__p { color: var(--c-muted); }
.room__stats { display: flex; flex-wrap: wrap; gap: var(--sp-lg); padding-top: var(--sp-2xs); }
.room__stat { display: grid; gap: 2px; }
.room__stat dt {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
}
.room__stat dd {
  margin: 0;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--c-ink-strong);
}
.room__stat dd small { font-size: 0.8125rem; font-weight: 400; color: var(--c-muted); }
.room--dark .room__stat dd small { color: var(--c-on-dark-muted); }

/* ---------------------------------------------------------------- 11. PREŢURI
   Cifra este motivul pentru care omul a deschis pagina, deci ea conduce
   rândul: font de titlu, corp mare, aliniată la dreapta, cu moneda mică
   lângă ea. Eticheta și nota rămân text de citit, nu concurează cu prețul.  */

/* Rândurile sunt obiecte separate, nu o listă lipită cu linii: fiecare are
   suprafața lui și un spațiu în jur. În schimb, înăuntru sunt mai strânse —
   aer între carduri, nu în ele. */
.price-list {
  display: grid;
  gap: clamp(0.4rem, 0.3rem + 0.4vw, 0.7rem);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-xs) var(--sp-lg);
  padding: clamp(0.85rem, 0.7rem + 0.6vw, 1.2rem) clamp(1rem, 0.7rem + 1.1vw, 1.75rem);
  border: 1px solid rgba(51, 58, 59, 0.06);
  border-radius: calc(var(--radius-media) * 0.42);
  background: var(--c-surface);
  transition: background var(--t-fast) var(--ease),
              transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.price-row:hover {
  background: var(--c-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
@media (prefers-reduced-motion: reduce) { .price-row:hover { transform: none; } }

.price-row__main { display: grid; gap: 0.3rem; }

.price-row__label {
  font-family: var(--f-display);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.35rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--c-ink-strong);
}
.price-row__note {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 62ch;
}

/* Eticheta „cea mai cerută" era un chip gri de 10px, invizibil. Acum e o
   pastilă cu accentul mărcii, pe rândul ei, deasupra denumirii. */
.price-row__tag {
  justify-self: start;
  order: -1;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--sv-salvie-100);
  color: var(--c-accent);
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.price-row__value {
  margin: 0;
  justify-self: end;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-ink-strong);
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease);
}
.price-row:hover .price-row__value { transform: translateX(-3px); }
@media (prefers-reduced-motion: reduce) {
  .price-row:hover .price-row__value { transform: none; }
}
.price-row__cur {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Rândul cel mai cerut primește suprafață și o dungă de accent la stânga. */
.price-row--featured {
  background: var(--sv-salvie-50);
  border-color: var(--sv-salvie-200);
  box-shadow: inset 3px 0 0 var(--c-decor);
}
.price-row--featured:hover {
  background: var(--sv-salvie-50);
  box-shadow: inset 3px 0 0 var(--c-decor), var(--shadow-lift);
}

@media (max-width: 560px) {
  .price-row { grid-template-columns: 1fr; align-items: start; }
  .price-row__value { justify-self: start; }
}

.pcard {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xs);
  padding: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-cristal-50) 100%);
  border: 1px solid rgba(51, 58, 59, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--facet)),
                     calc(100% - var(--facet)) 100%, 0 100%);
}
.pcard { transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.pcard:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .pcard:hover { transform: none; } }
.pcard--featured {
  border-color: var(--sv-salvie-200);
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-salvie-50) 100%);
}
.pcard__meta { font-size: 0.8125rem; color: var(--c-muted); }
.pcard__price {
  font-family: var(--f-mono);
  font-size: 1.625rem;
  line-height: 1.1;
  color: var(--c-ink-strong);
  margin-top: auto;
  padding-top: var(--sp-2xs);
}
.pcard__price small {
  display: block;
  font-family: var(--f-text);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--c-muted);
  margin-top: 4px;
}
.pcard__from {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
  display: block;
  margin-bottom: 2px;
}

/* ---------------------------------------------------------------- 10 bis. CARUSEL PE TELEFON
   Pe ecran îngust, patru carduri unul sub altul înseamnă patru ecrane de
   derulat. Aceeaşi grilă devine un rând care se trage cu degetul, cu magnet
   pe fiecare card şi cu o bară care arată cât a mai rămas. Pe desktop rămâne
   grilă obişnuită — nu ascundem conţinut acolo unde încape.                  */

@media (max-width: 760px) {
  .grid--slider {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(74%, 1fr);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .grid--slider::-webkit-scrollbar { display: none; }
  .grid--slider > * { scroll-snap-align: start; }
  .grid--slider:focus-visible { outline-offset: -2px; }
  .grid--slider + .sldr { display: block; }
}

/* bara de progres — o construieşte JavaScript, deci fără el nu apare deloc */
.sldr {
  display: none;
  height: 2px;
  margin-top: var(--sp-md);
  border-radius: var(--radius-pill);
  background: var(--c-line);
  overflow: hidden;
}
.sldr span {
  display: block;
  height: 100%;
  width: var(--w, 30%);
  border-radius: inherit;
  background: var(--c-accent);
  transform: translateX(var(--x, 0%));
}
.section--dark .sldr, .band .sldr { background: rgba(219, 209, 201, 0.2); }
.section--dark .sldr span, .band .sldr span { background: var(--c-accent-on-dark); }

/* ---------------------------------------------------------------- 10a. BANDA CARE CURGE
   O fâşie îngustă care se mişcă încet, între hero şi conţinut. Bucla se
   închide pentru că rândul e duplicat şi pista se mută exact cu jumătate din
   lăţimea ei. Se opreşte la trecerea cu mausul şi nu porneşte deloc pentru
   cine cere mai puţină mişcare.                                              */

.marquee {
  overflow: clip;
  padding-block: clamp(0.9rem, 0.7rem + 0.7vw, 1.35rem);
  background: var(--sv-antracit);
  color: var(--c-on-dark-muted);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: sv-marquee 48s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__row {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-inline-end: clamp(1.5rem, 1rem + 2vw, 3rem);
  list-style: none;
  margin: 0;
}
.marquee__row li {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
/* scânteia din marcă ţine loc de separator */
.marquee__row li::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--c-accent-on-dark);
  opacity: 0.75;
  -webkit-mask: url("../img/scanteie.svg") no-repeat center / contain;
  mask: url("../img/scanteie.svg") no-repeat center / contain;
}

@keyframes sv-marquee { to { transform: translateX(-50%); } }

/* Fără mişcare, banda nu poate rămâne o fâşie tăiată: elementele din dreapta
   ar sta permanent estompate şi nu ar ajunge niciodată în zona lizibilă. Se
   transformă într-o listă care se rupe pe rânduri, cu tot textul vizibil. */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
    padding-inline: var(--gutter);
  }
  .marquee__track { animation: none; width: 100%; }
  .marquee__row { flex-wrap: wrap; row-gap: 0.55rem; padding-inline-end: 0; }
  .marquee__row li { white-space: normal; }
  .marquee__row li:last-child::after { display: none; }
  .marquee__row + .marquee__row { display: none; }
}

/* ---------------------------------------------------------------- 10b. BENTO
   Şase afirmaţii de aceeaşi mărime se citesc ca o listă. Cu celule inegale
   se citesc ca un argument: cel care contează cel mai mult — o cameră care
   ia cincisprezece oameni deodată — primeşte cea mai mare suprafaţă.
   Sub 1000px rămâne o coloană, unde ierarhia o dă oricum ordinea.          */
@media (min-width: 1000px) {
  .grid--bento {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .grid--bento > :nth-child(1) { grid-column: 1; grid-row: span 2; min-height: 25rem; }
  .grid--bento > :nth-child(2) { grid-column: 2 / span 2; min-height: 11.5rem; }
  .grid--bento > :nth-child(5) { grid-column: 1 / span 2; min-height: 11.5rem; }

  /* Eticheta rămâne sus, titlul şi textul coboară împreună la bază. În
     celule de înălţimi diferite asta e singura aliniere care ţine: golul
     se adună într-un singur loc, nu între titlu şi paragraful lui. */
  .grid--bento > .card > .num { margin-bottom: auto; }

  /* Cardul mare vorbeşte mai tare: titlul creşte, textul primeşte o măsură
     de citit, iar cifra din colţ devine reperul secţiunii. */
  .grid--bento > :nth-child(1) h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
  .grid--bento > :nth-child(1) p { max-width: 30ch; }
  .grid--bento > :nth-child(2) p,
  .grid--bento > :nth-child(5) p { max-width: 52ch; }
}

/* ---------------------------------------------------------------- 10c. ALINIERE ÎNTRE CARDURI
   Un titlu de două rânduri lângă unul de un rând împinge paragraful mai jos,
   iar rândul de carduri arată strâmb. Cu „subgrid" fiecare card împrumută
   rândurile grilei părinte, aşa că titlurile, paragrafele, preţurile şi
   legăturile stau pe aceleaşi linii, oricât de lung ar fi textul.
   Cardurile au între 3 şi 7 copii, după secţiune, deci numărul de rânduri
   se citeşte din conţinut. Fără suport pentru subgrid nu se schimbă nimic.
   ATENŢIE: dacă adaugi un card cu mai mulţi copii decât acoperă regulile de
   mai jos, „grid-row" rămâne „span 1" şi tot conţinutul se suprapune pe un
   singur rând. Adaugă o regulă nouă odată cu el. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .benefits > .benefit,
    .rooms > .roomx,
    .grid:not(.grid--bento) > .card,
    .grid > .pcard,
    .grid > .room {
      display: grid;
      grid-template-rows: subgrid;
    }
    .benefits > .benefit { grid-row: span 3; }
    .grid > .pcard { grid-row: span 3; }
    .grid > .room { grid-row: span 2; }
    .rooms > .roomx { grid-row: span 6; }

    .grid:not(.grid--bento) > .card:has(> :nth-child(3)):not(:has(> :nth-child(4))) { grid-row: span 3; }
    .grid:not(.grid--bento) > .card:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-row: span 4; }
    .grid:not(.grid--bento) > .card:has(> :nth-child(5)):not(:has(> :nth-child(6))) { grid-row: span 5; }
    .grid:not(.grid--bento) > .card:has(> :nth-child(6)):not(:has(> :nth-child(7))) { grid-row: span 6; }
    .grid:not(.grid--bento) > .card:has(> :nth-child(7)):not(:has(> :nth-child(8))) { grid-row: span 7; }

    /* Rândul are deja înălţime comună, aşa că „margin-top: auto" nu mai are
       rost: îl anulăm ca preţurile şi săgeţile să pornească de pe aceeaşi
       linie, nu să atârne de jos cu cifre la înălţimi diferite. */
    .grid > .card > .arrow-link {
      justify-self: start;
      align-self: start;
      margin-top: 0;
    }
    .grid > .card > .pcard__price,
    .grid > .pcard > .pcard__price { align-self: start; margin-top: 0; }
  }
}

/* ---------------------------------------------------------------- 12. NOTIŢE ŞI CASETE */

.note {
  padding: var(--sp-md);
  background: var(--c-surface-cool);
  border-left: 2px solid var(--c-decor);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  color: var(--c-ink);
}
.note strong { color: var(--c-ink-strong); font-weight: 500; }
.note p + p { margin-top: 0.7em; }
.note--plain { background: var(--c-surface); border-left-color: var(--sv-cristal); }
.section--dark .note {
  background: var(--sv-antracit-800);
  border-left-color: var(--c-decor);
  color: var(--c-on-dark-muted);
}
.section--dark .note strong { color: var(--c-on-dark); }

.callout {
  display: grid;
  gap: var(--sp-md);
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-cristal-50) 100%);
  border: 1px solid rgba(51, 58, 59, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

/* ---------------------------------------------------------------- 13. FAQ */

.faq { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-md) 0;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--c-ink-strong);
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-accent); }
.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 0.45em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M6 0h1v13H6z'/%3E%3Cpath d='M0 6h13v1H0z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M6 0h1v13H6z'/%3E%3Cpath d='M0 6h13v1H0z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform var(--t-base) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding-bottom: var(--sp-md); }
.faq__body p { color: var(--c-muted); max-width: 66ch; }
.faq__body p + p { margin-top: 0.8em; }
.faq__body a { color: var(--c-accent); }

/* ---------------------------------------------------------------- 14. FORMULARE */

.form { display: grid; gap: var(--sp-md); }
/* „align-content: start" e obligatoriu: intr-un .form__row cele doua campuri se
   intind la aceeasi inaltime, iar daca unul are un rand in plus (o indicatie sub
   input), spatiul in plus se imparte altfel intre randuri si campurile ies
   decalate pe verticala. Cu „start", ambele se aseaza de sus. */
.field { display: grid; gap: 0.4rem; align-content: start; }
.field > label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--c-ink-strong);
}
.field__hint { font-size: 0.8125rem; color: var(--c-muted); }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  background: var(--c-bg);
  border: 1px solid var(--sv-n-200);
  border-radius: var(--radius);
  color: var(--c-ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2354625F' d='M6 8 0 1.4 1.3 0 6 5.2 10.7 0 12 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px;
  padding-right: 2.6rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--sv-n-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--sv-salvie-100);
}
.input::placeholder, .textarea::placeholder { color: var(--sv-n-400); }

.field--invalid .input,
.field--invalid .select,
.field--invalid .textarea { border-color: var(--c-error); }
.field--invalid .input:focus,
.field--invalid .select:focus,
.field--invalid .textarea:focus { box-shadow: 0 0 0 3px var(--c-error-bg); }

.field__error {
  display: none;
  font-size: 0.8125rem;
  color: var(--c-error);
  font-weight: 500;
}
.field--invalid .field__error { display: block; }

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-xs);
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.55;
  cursor: pointer;
}
.check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--c-accent);
  cursor: pointer;
  flex: none;
}
.check span { color: var(--c-muted); }
.check a { color: var(--c-accent); }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form__row { display: grid; gap: var(--sp-md); }
@media (min-width: 620px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__status { display: none; }
.form__status.is-visible { display: block; }
.alert {
  padding: var(--sp-md);
  border-radius: var(--radius);
  border-left: 2px solid;
  font-size: var(--fs-small);
}
.alert--error { background: var(--c-error-bg); border-color: var(--c-error); color: #6f281f; }
.alert--ok { background: var(--c-success-bg); border-color: var(--c-success); color: #2f5342; }

/* ---------------------------------------------------------------- 15. PROGRAMARE */

/* Formularul stă într-un card ridicat de pe fundal, centrat în pagină. */
.section:has(> .container > .booking) { background: var(--c-surface); }

.booking {
  display: grid;
  gap: var(--sp-lg);
  max-width: 43rem;
  margin-inline: auto;
  padding: clamp(1.35rem, 0.5rem + 3.4vw, 3.25rem);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: calc(var(--radius-media) * 0.55);
  box-shadow: var(--shadow-pop);
}

/* Sub 30rem cardul se apropie de marginile ecranului: mai mult loc pentru text. */
@media (max-width: 30rem) {
  .booking {
    border-radius: calc(var(--radius-media) * 0.4);
    padding: var(--sp-md) var(--sp-sm);
  }
}

/* Fără JavaScript rămâne un formular obișnuit, cu toți pașii unul sub altul. */
.bstep {
  display: grid;
  gap: var(--sp-md);
  border: 0;
  margin: 0 0 var(--sp-xl);
  padding: 0;
  min-inline-size: 0;
}
/* „is-enhanced” o pune booking.js dupa ce trece de propriile garzi. Legate de
   clasa globala „js”, pasii 2-4 ramaneau ascunsi si butonul de trimitere
   nerandat cand booking.js nu se incarca: formular blocat la pasul 1, pe
   singurul drum de conversie al site-ului. Asa, daca booking.js lipseste, toti
   pasii sunt vizibili si formularul redevine unul obisnuit — exact ce promite
   comentariul din fruntea fisierului. */
.booking.is-enhanced .bstep { display: none; margin-bottom: 0; }
.booking.is-enhanced .bstep.is-current { display: grid; }

/* Pașii: cercuri numerotate, legate printr-o linie care se colorează în urmă. */
.booking__progress { display: none; }
.booking.is-enhanced .booking__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.booking__progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-muted);
  transition: color var(--t-base) var(--ease);
}

/* linia dintre cercuri */
.booking__progress li + li::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 50%;
  left: -50%;
  height: 1px;
  margin-inline: 1.35rem;
  background: var(--c-line);
  transition: background var(--t-base) var(--ease);
}
.booking__progress li.is-active::before,
.booking__progress li.is-done::before { background: var(--c-decor); }

.booking__progress .booking__pn {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-bg);
  font-size: 0.6875rem;
  color: var(--c-muted);
  transition: border-color var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
}
.booking__progress li.is-done .booking__pn {
  border-color: var(--c-decor);
  background: var(--sv-salvie-50);
  color: var(--c-accent-quiet);
}
.booking__progress li.is-active {
  color: var(--c-ink-strong);
}
.booking__progress li.is-active .booking__pn {
  border-color: var(--sv-antracit);
  background: var(--sv-antracit);
  color: var(--c-on-dark);
}

.booking__progress .booking__pl { display: none; }
@media (min-width: 520px) { .booking__progress .booking__pl { display: block; } }

.bstep__head { display: grid; gap: 0.6rem; text-align: center; }
.bstep__head h2 {
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem);
  text-wrap: balance;
}
.bstep__head p {
  color: var(--c-muted);
  line-height: 1.68;
  max-width: 46ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.step-error {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-error);
  padding: 0.7rem 0.9rem;
  background: var(--c-error-bg);
  border-left: 2px solid var(--c-error);
  border-radius: var(--radius);
}

/* --- opţiuni de serviciu --- */
.opt-grid { display: grid; gap: var(--sp-2xs); }
@media (min-width: 760px) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
.opt {
  display: grid;
  gap: 0.3rem;
  padding: var(--sp-sm) var(--sp-md);
  text-align: left;
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-cristal-50) 100%);
  border: 1px solid rgba(51, 58, 59, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.opt:hover {
  border-color: var(--sv-salvie-300);
  background: linear-gradient(168deg, #ffffff 0%, var(--sv-salvie-50) 100%);
}
.opt[aria-pressed="true"] {
  border-color: var(--sv-antracit);
  background: var(--sv-antracit);
  color: var(--c-on-dark);
}
.opt__t { font-weight: 500; }
.opt__h { font-size: 0.8125rem; color: var(--c-muted); line-height: 1.5; }
.opt[aria-pressed="true"] .opt__h { color: var(--c-on-dark-muted); }

/* --- calendar --- */
.cal { max-width: 460px; }
.cal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: var(--sp-2xs);
}
.cal__month {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.0625rem;
  color: var(--c-ink-strong);
}
.cal__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--c-ink-strong);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.cal__nav:hover:not([disabled]) { border-color: var(--sv-antracit); background: var(--c-surface); }
.cal__nav[disabled] { opacity: 0.3; cursor: not-allowed; }
.cal__nav svg { width: 9px; height: 14px; fill: currentColor; }

.cal__dow, .cal__grid {
  display: grid;
  /* minmax(0, …), nu 1fr: aspect-ratio + min-height pe .cal__day transmite o
     lățime minimă de 42px fiecărei coloane, iar calendarul depășea cardul. */
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}
.cal__dow { margin-bottom: 3px; }
.cal__dow span {
  text-align: center;
  padding: 0.35rem 0;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.cal__day {
  position: relative;
  aspect-ratio: 1;
  /* min-width: 0 anulează dimensiunea minimă automată din grilă, iar
     max-width: 100% împiedică aspect-ratio să recalculeze lățimea din
     înălțimea clampată de min-height. Fără ele, celulele ies din card. */
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--c-ink);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.cal__day:hover:not([disabled]) { background: var(--sv-salvie-50); border-color: var(--sv-salvie-200); }
.cal__day[disabled] { color: var(--sv-n-400); cursor: not-allowed; }
.cal__day[disabled]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 8px;
  height: 1px;
  background: var(--sv-n-200);
  transform: translateX(-50%);
}
.cal__day.is-today { border-color: var(--sv-salvie-300); font-weight: 500; }
.cal__day.is-selected {
  background: var(--sv-antracit);
  border-color: var(--sv-antracit);
  color: var(--c-on-dark);
  font-weight: 500;
}
.cal__day.is-empty { visibility: hidden; }

/* --- sloturi orare --- */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: var(--sp-2xs); }
.slot {
  min-height: 50px;
  padding: 0.6rem 0.5rem;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--c-ink-strong);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.slot:hover { border-color: var(--sv-salvie-300); background: var(--sv-salvie-50); }
.slot[aria-pressed="true"] {
  background: var(--sv-antracit);
  border-color: var(--sv-antracit);
  color: var(--c-on-dark);
}
.slots--blocks { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* --- rezumatul selecţiei --- */
.bsummary {
  display: grid;
  gap: var(--sp-2xs);
  padding: var(--sp-md);
  background: var(--c-surface);
  border-radius: var(--radius);
}
.bsummary dl { display: grid; gap: 0.5rem; margin: 0; }
@media (min-width: 620px) { .bsummary dl { grid-template-columns: repeat(3, 1fr); } }
.bsummary dt {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
  margin-bottom: 2px;
}
.bsummary dd { margin: 0; font-weight: 500; color: var(--c-ink-strong); }

.bnav { display: flex; flex-wrap: wrap; gap: var(--sp-2xs); align-items: center; }
.bnav .btn-back {
  background: none;
  border: 0;
  padding: 0.5rem 0;
  color: var(--c-muted);
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.bnav .btn-back:hover { color: var(--c-ink-strong); }

/* --- confirmare --- */
.bdone { display: none; }
.bdone.is-visible { display: grid; gap: var(--sp-md); }
.bdone__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-decor);
  border-radius: 50%;
  color: var(--c-accent);
}
.bdone__mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* --- așezarea în card: totul centrat, cu lățimi de citit --- */

.booking .opt-grid,
.booking .slots,
.booking .bsummary,
.booking .field,
.booking .form__row,
.booking .step-error,
.booking > .form > .bstep > .note { margin-inline: auto; width: 100%; }

.booking .opt-grid,
.booking .slots { max-width: 34rem; }

.booking .cal { width: 100%; max-width: 28.75rem; margin-inline: auto; }
@media (max-width: 30rem) {
  .booking .cal__day { min-height: 2.75rem; }
}

/* Orele: chipsuri centrate, cu tinte de atins confortabile. */
.booking .slots {
  grid-template-columns: repeat(auto-fit, minmax(5.75rem, 1fr));
  justify-content: center;
}
.booking .slots--blocks { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.booking .slot { min-height: 2.75rem; }
.booking .cal__day { min-height: 2.6rem; }

/* Opțiunile de serviciu: un semn discret când sunt alese. */
.booking .opt { position: relative; padding-right: calc(var(--sp-md) + 1.4rem); }
.booking .opt[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--sp-md);
  width: 0.85rem;
  height: 0.5rem;
  margin-top: -0.35rem;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

/* Rezumatul: se citește ca un bon, nu ca un bloc de text. */
.booking .bsummary,
.bdone .bsummary {
  max-width: 34rem;
  padding: var(--sp-md) var(--sp-md) calc(var(--sp-md) - 0.25rem);
  background: var(--sv-salvie-50);
  border: 1px solid var(--sv-salvie-200);
  border-radius: calc(var(--radius-media) * 0.3);
  text-align: center;
}
.booking .bsummary dl,
.bdone .bsummary dl { gap: var(--sp-sm); }
@media (min-width: 620px) {
  .booking .bsummary dl,
  .bdone .bsummary dl { gap: var(--sp-md); }
}

/* Navigarea: acțiunea principală pe toată lățimea, „înapoi” dedesubt și discret.
   Regulile rămân scopate sub .booking, ca formularul de contact să nu se schimbe. */
.booking .bnav {
  display: grid;
  justify-items: center;
  gap: var(--sp-2xs);
  max-width: 34rem;
  margin-inline: auto;
  width: 100%;
}
.booking .bnav .btn {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
}
.booking .bnav .btn-back { order: 2; min-height: 2.75rem; }

/* Nota de sub formular: text mărunt sub o linie, nu o casetă care concurează
   cu butonul de trimitere. */
.booking > .form > .bstep > .note {
  max-width: 34rem;
  margin-top: var(--sp-sm);
  padding: var(--sp-sm) 0 0;
  background: none;
  border-left: 0;
  border-top: 1px solid var(--c-line);
  border-radius: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--c-muted);
  text-align: center;
}
.booking > .form > .bstep > .note strong { color: var(--c-ink-strong); font-weight: 500; }

/* Orele: număr explicit de coloane. „auto-fit” cu o lățime minimă putea genera
   mai multe coloane decât încape cardul, iar tot pasul ieșea din el. */
@media (max-width: 30rem) {
  .booking .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking .slots--blocks { grid-template-columns: 1fr; }
  .booking .slot { font-size: 0.875rem; padding-inline: 0.25rem; }
}

/* Butoanele dintr-un rând: pe mobil se așază în stivă, pe toată lățimea.
   Altfel fiecare are lățimea textului lui și rândul arată inegal. */
@media (max-width: 30rem) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row > .btn { width: 100%; }
}

/* Confirmarea, la fel: centrată în același card. */
.bdone.is-visible { justify-items: center; text-align: center; }
.bdone .bsummary { width: 100%; }
.bdone .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- 15b. BANDĂ DE FOTOGRAFII
   Derulare continuă, fără capăt. Pista conține rândul de două ori, iar animația
   îl mută cu exact 50%: în clipa în care se încheie, a doua copie e fix acolo
   unde era prima, deci bucla nu se vede. Toate fotografiile sunt tăiate la
   același raport — altfel banda ar sălta la fiecare cadru. */

.slider {
  overflow: clip;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  /* marginile se sting, ca banda să pară că vine de undeva și pleacă undeva */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.slider__pista {
  display: flex;
  width: max-content;
  animation: sv-slider 64s linear infinite;
  will-change: transform;
}
.slider--rar .slider__pista { animation-duration: 92s; }

/* La trecerea cu mouse-ul sau la focus din tastatură banda se oprește, ca omul
   să apuce să se uite la o fotografie anume. */
.slider:hover .slider__pista,
.slider:focus-within .slider__pista { animation-play-state: paused; }

.slider__rand {
  display: flex;
  gap: var(--sp-sm);
  padding-inline-end: var(--sp-sm);
  margin: 0;
  list-style: none;
}

.slider__cadru {
  flex: none;
  width: clamp(11rem, 8rem + 16vw, 22rem);
  border-radius: calc(var(--radius-media) * 0.34);
  overflow: hidden;
  background: var(--sv-antracit-800);
}
.slider__cadru img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@keyframes sv-slider {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Cine a cerut mai puțină mișcare primește o bandă care se poate derula cu
   degetul sau cu bara, nu una care aleargă singură. */
@media (prefers-reduced-motion: reduce) {
  .slider { overflow-x: auto; }
  .slider__pista { animation: none; }
  .slider__rand:nth-child(2) { display: none; }
}

/* ---------------------------------------------------------------- 16. CONTACT */

.contact-list { display: grid; gap: 0; }
.contact-item {
  display: grid;
  gap: 0.3rem;
  padding: var(--sp-md) 0;
  border-top: 1px solid var(--c-line);
}
.contact-item:last-child { border-bottom: 1px solid var(--c-line); }
.contact-item dt {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-accent-quiet);
}
.contact-item dd { margin: 0; font-size: 1.0625rem; color: var(--c-ink-strong); }
.contact-item dd a { color: var(--c-ink-strong); text-decoration: none; border-bottom: 1px solid var(--sv-salvie-200); }
.contact-item dd a:hover { border-color: var(--sv-antracit); }
.contact-item dd small { display: block; font-size: 0.8125rem; color: var(--c-muted); margin-top: 3px; }

.hours-list { display: grid; gap: 0.45rem; }
.hours-list div { display: flex; justify-content: space-between; gap: var(--sp-md); }
.hours-list dt { color: var(--c-muted); }
.hours-list dd { margin: 0; font-family: var(--f-mono); font-size: 0.9375rem; color: var(--c-ink-strong); }

/* --- hartă încărcată la cerere --- */
.map {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Harta pe toată lățimea secțiunii, nu într-o coloană îngustă: o hartă are
   nevoie de lățime ca să arate contextul, altfel nu ajuți pe nimeni. */
.map--lat {
  /* .map e o grilă cu place-items: center, pentru butonul „Încarcă harta".
     Aici nu mai există buton, ci un iframe care trebuie să umple cadrul —
     centrat, el rămâne la dimensiunea lui intrinsecă, adică nimic. */
  display: block;
  place-items: initial;
  aspect-ratio: 21 / 9;
  margin-top: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  border-radius: calc(var(--radius-media) * 0.34);
}
.map--lat iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 46rem) { .map--lat { aspect-ratio: 4 / 3; } }

.map__sub {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-md);
  margin-top: var(--sp-sm);
}
.map__ask { display: grid; gap: var(--sp-sm); justify-items: center; padding: var(--sp-lg); text-align: center; }
.map__ask p { font-size: var(--fs-small); color: var(--c-muted); max-width: 42ch; }

/* ---------------------------------------------------------------- 17. FOOTER */

/* Subsolul respectă aceeaşi regulă: card pe pânză, nu bandă lipită de margini. */
.footer {
  max-width: var(--maxw-panel);
  margin: 0 auto var(--frame);
  margin-inline: max(var(--frame), calc((100% - var(--maxw-panel)) / 2));
  border-radius: var(--radius-media);
  overflow: clip;
}

.footer {
  background: var(--sv-antracit-900);
  color: var(--c-on-dark-muted);
  padding-block: var(--sp-2xl) var(--sp-lg);
  font-size: var(--fs-small);
}
.footer a { color: var(--sv-cristal); text-decoration: none; }
.footer a:hover { color: var(--c-on-dark); text-decoration: underline; text-underline-offset: 0.2em; }
.footer__grid { display: grid; gap: var(--sp-xl); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: var(--sp-lg); } }
.footer__brand img { height: 40px; width: auto; margin-bottom: var(--sp-md); }
.footer__brand p { max-width: 34ch; line-height: 1.65; }
.footer h2 {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-decor);
  margin-bottom: var(--sp-sm);
  font-weight: 400;
}
.footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer address { font-style: normal; display: grid; gap: 0.55rem; }
.footer__bottom {
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-md);
  border-top: 1px solid #262c2c;
  display: grid;
  gap: var(--sp-sm);
  font-size: 0.8125rem;
  color: #8b9391;
}
@media (min-width: 760px) {
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
/* Sub 30rem cele patru legături nu încap cu spațiul obișnuit și „SOL” rămânea
   singur pe rândul al doilea. Spațiu mai mic și fără rupere în interiorul lor. */
@media (max-width: 30rem) {
  .footer__legal { gap: 0.55rem 0.7rem; font-size: 0.75rem; }
  .footer__legal > a { white-space: nowrap; }
  .footer__bottom { margin-top: var(--sp-lg); }
  .footer__grid { gap: var(--sp-lg); }
}
.footer__credit {
  grid-column: 1 / -1;
  margin-top: var(--sp-xs);
  padding-top: var(--sp-sm);
  border-top: 1px solid #1e2324;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #7d8583;
}
.footer__credit a {
  color: #a9b0ae;
  text-decoration: none;
  border-bottom: 1px solid #3a4140;
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__credit a:hover { color: var(--c-on-dark); border-color: var(--c-on-dark); text-decoration: none; }

/* ---------------------------------------------------------------- 18. CTA FINAL */

.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--c-on-dark);
  background:
    radial-gradient(70% 80% at 96% 0%, rgba(var(--lumina-calda), 0.24), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(var(--lumina-rece), 0.12), transparent 64%),
    var(--sv-antracit);
}
.cta-final h2 { color: var(--c-on-dark); }
.cta-final .intro { color: var(--sv-cristal); }
.cta-final .note { background: var(--sv-antracit-800); border-left-color: var(--c-decor); color: var(--c-on-dark-muted); }
.cta-final .note strong { color: var(--c-on-dark); }
.cta-final a:not(.btn) { color: var(--sv-cristal); }
.cta-final__inner { display: grid; gap: var(--sp-lg); }
@media (min-width: 940px) {
  .cta-final__inner { grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-2xl); align-items: center; }
}

/* ---------------------------------------------------------------- 19. CTA LIPIT PE MOBIL */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: var(--sp-2xs);
  padding: 0.45rem var(--sp-sm) calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line);
  transform: translateY(110%);
  transition: transform var(--t-base) var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
/* Bara stă jos, peste conținut: cu cât e mai scundă, cu atât acoperă mai puțin.
   Butonul rămâne pe un singur rând — rupt în două, se umflă și arată greoi. */
.sticky-cta .btn {
  flex: 1;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
/* Telefonul și harta stau ca iconuri: textul lor ar fura lățimea butonului
   principal, care e singurul lucru pe care vrem să-l apese omul.
   Cerc curat: aceeași lățime și înălțime, altfel iese un oval turtit.

   Selectorul e scris cu două clase înadins: `.sticky-cta .btn` de mai sus
   cântărește tot atât, iar un `.sticky-cta__icon` simplu ar pierde în fața lui
   şi ar rămâne cu `flex: 1` şi cu padding — adică ovale întinse, cu desenul
   strâns de `max-width: 100%` până rămâne o dungă de câțiva pixeli. */
.sticky-cta .sticky-cta__icon {
  flex: 0 0 auto;
  /* 44px e pragul minim ca degetul să nimerească din prima. Doi pixeli sub el
     nu se văd, dar se simt la folosire. */
  width: 44px;
  height: 44px;
  min-height: 0;
  /* zero: cercul e umplut de desen, nu de aer */
  padding: 0;
  display: grid;
  place-items: center;
}
.sticky-cta .sticky-cta__icon svg { width: 25px; height: 25px; fill: currentColor; display: block; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
body:has(.sticky-cta.is-visible) .footer { padding-bottom: 4.5rem; }

/* ---------------------------------------------------------------- 20. BREADCRUMB */

.crumbs { padding-top: var(--sp-md); }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--c-muted);
}
.crumbs li { display: flex; gap: 0.45rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--sv-n-300); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-ink-strong); text-decoration: underline; text-underline-offset: 0.2em; }
.crumbs [aria-current="page"] { color: var(--c-ink-strong); }

/* ---------------------------------------------------------------- 21. ANTETUL PAGINILOR INTERNE */

/* Acelaşi câmp cald ca hero-ul de pe prima pagină, la scară mai mică. */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(1.75rem, 1rem + 2.8vw, 3rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(90% 130% at 94% -30%, rgba(var(--lumina-calda), 0.26), transparent 60%),
    radial-gradient(70% 90% at 0% 130%, rgba(var(--lumina-rece), 0.14), transparent 64%),
    linear-gradient(170deg, #fbf8f5 0%, var(--sv-cristal-50) 52%, #ece6de 100%);
}
/* Când antetul poartă un panou suprapus, are nevoie de spaţiu în plus dedesubt,
   altfel panoul urcă peste butoane. Regula stă după .page-head ca să câştige. */
.page-head--with-panel { padding-bottom: clamp(7rem, 5rem + 5vw, 11rem); }

.page-head__inner { max-width: 820px; }
.page-head .label { margin-bottom: var(--sp-sm); }
.page-head h1 {
  margin-bottom: var(--sp-md);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.2rem);
  line-height: 1.16;
  max-width: 19ch;
}

/* ---------------------------------------------------------------- 22. 404 */

.err {
  background: var(--c-bg);
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--sp-2xl);
}
.err__inner { display: grid; gap: var(--sp-md); justify-items: center; max-width: 56ch; }
.err__code {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: var(--ls-label);
  color: var(--c-accent-quiet);
}

/* ---------------------------------------------------------------- 23. CONSIMŢĂMÂNT */

.consent {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--sp-sm);
  z-index: 120;
  max-width: 560px;
  padding: var(--sp-md);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  display: grid;
  gap: var(--sp-sm);
  font-size: 0.875rem;
}
.consent p { color: var(--c-muted); }
.consent[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .consent { animation: sv-consent-intra 340ms cubic-bezier(0.22, 1, 0.36, 1) both; }
}
@keyframes sv-consent-intra {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.consent__titlu {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--c-ink-strong);
}
.consent p.consent__titlu { color: var(--c-ink-strong); }

/* Opțiunile pe categorii — apar doar după „Aleg eu”. */
.consent__optiuni {
  display: grid;
  gap: var(--sp-2xs);
  padding: var(--sp-sm);
  background: var(--c-surface);
  border-radius: var(--radius);
}
.consent__optiuni[hidden] { display: none; }

.consent__optiune {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  cursor: pointer;
  line-height: 1.5;
}
.consent__optiune input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--c-accent);
  cursor: pointer;
  flex: none;
}
.consent__optiune input[type="checkbox"]:disabled { cursor: default; opacity: 0.55; }
.consent__optiune:has(input:disabled) { cursor: default; }
.consent__optiune strong {
  display: block;
  font-weight: 500;
  color: var(--c-ink-strong);
}
.consent__explicatie {
  display: block;
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-top: 0.15rem;
}

.consent__row { display: flex; flex-wrap: wrap; gap: var(--sp-2xs); }
.consent__row .btn { flex: 1 1 auto; justify-content: center; }
.consent__row .btn[hidden] { display: none; }

.consent__subsol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
  justify-content: space-between;
}
.consent__link {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent__link:hover { color: var(--c-ink-strong); }
.consent__subsol .arrow-link { font-size: 0.8125rem; }

/* Sub 480px panoul se lipește de marginile ecranului, ca să rămână loc de citit. */
@media (max-width: 30rem) {
  .consent {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-radius: var(--radius) var(--radius) 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: var(--sp-sm);
  }
  .consent__row .btn { flex: 1 1 100%; }
}

/* Nota care încadrează afirmațiile de wellbeing. Discretă, dar lizibilă:
   trebuie citită dacă cineva o caută, fără să concureze cu textul de deasupra. */
.nota-wellbeing {
  max-width: 62ch;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--c-line);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--c-muted);
}
.section--dark .nota-wellbeing,
.band .nota-wellbeing {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: var(--c-on-dark-muted);
}

/* Tabelul de cookie-uri din politica de confidențialitate. */
.tabel-invelis {
  overflow-x: auto;
  margin-block: var(--sp-sm);
  -webkit-overflow-scrolling: touch;
}
.tabel-cookie {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.55;
}
.tabel-cookie th,
.tabel-cookie td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}
.tabel-cookie thead th {
  font-weight: 500;
  color: var(--c-ink-strong);
  background: var(--c-surface);
  white-space: nowrap;
}
.tabel-cookie td { color: var(--c-muted); }
.tabel-cookie td code {
  font-size: 0.8125rem;
  color: var(--c-ink-strong);
  white-space: nowrap;
}
.tabel-cookie tbody tr:last-child th,
.tabel-cookie tbody tr:last-child td { border-bottom: 0; }

/* Un buton care arată ca o legătură, în mijlocul unui paragraf. */
.link-butonat {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-butonat:hover { color: var(--c-ink-strong); }

/* Butonul din subsolul site-ului, prin care se revine asupra alegerii. */
.footer__consimtamant {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.footer__consimtamant:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- 24. UTILITARE */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- 25. MIŞCARE
   Regula care nu se încalcă: conţinutul este vizibil implicit. Starea de
   dinaintea animaţiei se aplică DOAR după ce JavaScript a confirmat că
   rulează, iar assets/js/site.js are plasă de siguranţă dacă observatorul
   nu porneşte. Fără JS, fără animaţii, pagina rămâne întreagă.              */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].d-1 { transition-delay: 70ms; }
.js [data-reveal].d-2 { transition-delay: 140ms; }
.js [data-reveal].d-3 { transition-delay: 210ms; }
.js [data-reveal].d-4 { transition-delay: 280ms; }

/* --- titlurile se descoperă de sus în jos, ca o perdea care se ridică ---
   Este mai potrivit decât un fade pentru capitale spaţiate: literele apar
   întregi, nu se estompează. */
.js [data-wipe] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js [data-wipe].is-in { clip-path: inset(0 0 -0.22em 0); }

/* --- straturi cu adâncime: se mişcă mai lent decât pagina ---
   Valoarea este scrisă de JS ca proprietate personalizată, ca să poată fi
   folosită şi de pseudo-elemente, care nu pot fi transformate direct. */
.atmos::before { transform: translate3d(0, calc(var(--sv-depth, 0) * 1px), 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-wipe] { clip-path: none; }
  .atmos::before, .hero__light { transform: none; }
}

/* ---------------------------------------------------------------- 25b. TRANZIŢIA ÎNTRE PAGINI
   O cortină antracit cu monograma, între paginile site-ului. Două reguli o
   fac sigură:
   1. Se afişează DOAR dacă vizitatorul vine dintr-o altă pagină a noastră
      (decis pe server, din „Referer") — cine intră din Google primeşte pagina
      direct, fără niciun strat peste ea şi fără întârziere.
   2. Nu depinde de JavaScript ca să dispară: este o animaţie CSS care se
      termină cu cortina în afara ecranului. Chiar dacă scriptul moare,
      pagina rămâne accesibilă. Clasa „.js" o porneşte, deci fără JavaScript
      nu apare deloc.                                                        */

.js.sv-vine::before,
.js.sv-vine::after,
.js.sv-pleaca::before,
.js.sv-pleaca::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.js.sv-vine::before,
.js.sv-pleaca::before { background: var(--sv-antracit-900); }
.js.sv-vine::after,
.js.sv-pleaca::after {
  z-index: 301;
  /* Iconul original, în varianta negativă — cortina e antracit, iar regula
     mărcii cere negativul pe fundal închis. */
  background: url("../img/icon-negativ.svg") no-repeat center center;
  background-size: clamp(86px, 11vw, 132px) auto;
}

/* Două mişcări, în două direcţii: la PLECARE cortina urcă din josul ecranului
   şi acoperă; la SOSIRE se scurge în jos şi eliberează pagina. Direcţii
   opuse, ca ochiul să citească două momente, nu o singură baleiere.
   Muchia de sus se curbează în timpul mişcării — de acolo vine senzaţia de
   lichid care urcă şi apoi se scurge, în loc de un panou care alunecă. */
.js.sv-pleaca::before { animation: sv-cortina-urca 440ms cubic-bezier(0.5, 0, 0.2, 1) both; }
.js.sv-pleaca::after  { animation: sv-marca-intra 440ms var(--ease) both; }

.js.sv-vine::before { animation: sv-cortina-scurge 600ms cubic-bezier(0.5, 0, 0.3, 1) 90ms both; }
.js.sv-vine::after  { animation: sv-marca-iese 400ms var(--ease) both; }

@keyframes sv-cortina-urca {
  0%   { transform: translateY(102%); border-radius: 44% 44% 0 0 / 10% 10% 0 0; }
  65%  { border-radius: 16% 16% 0 0 / 4% 4% 0 0; }
  100% { transform: translateY(0); border-radius: 0; }
}
@keyframes sv-cortina-scurge {
  0%   { transform: translateY(0); border-radius: 0; }
  22%  { border-radius: 40% 40% 0 0 / 9% 9% 0 0; }
  100% { transform: translateY(102%); border-radius: 44% 44% 0 0 / 10% 10% 0 0; }
}
@keyframes sv-marca-intra {
  0%   { opacity: 0; transform: scale(0.92); }
  55%  { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes sv-marca-iese {
  0%   { opacity: 1; transform: scale(1); }
  35%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: translateY(26px) scale(0.96); }
}

/* Cine cere mai puţină mişcare nu primeşte cortina deloc. */
@media (prefers-reduced-motion: reduce) {
  .js.sv-vine::before, .js.sv-vine::after,
  .js.sv-pleaca::before, .js.sv-pleaca::after { display: none; }
}

/* ---------------------------------------------------------------- 26. TIPAR */

@media print {
  .header, .menu, .sticky-cta, .consent, .btn, .cta-final { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
