/* ============================================================
   style.css — reset modern + primitive de layout + componente.
   Mobile-first: toate media query-urile sunt min-width.
   Breakpoint-uri: 640px / 900px / 1200px.

   Cuprins
     1 · Reset
     2 · Accesibilitate
     3 · Layout
     4 · Tipografie & pattern-urile de titlu
     5 · Butoane
     6 · Card
     7 · Badge / pill
     8 · Field (formular)
     9 · Divider, scrollbar, bară de progres
    10 · Header & drawer
    11 · Hero (+ scântei, ticker)
    12 · Formular
    13 · Pentru cine e / Ce primești
    14 · Portofoliu
    15 · Proces
    16 · Pachete
    17 · Recenzii (rezervat)
    18 · FAQ
    19 · Secțiune inversată (CTA final)
    20 · Footer
    21 · Sticky CTA mobil
    22 · Reveal
    23 · Pagina multumim + pagini legale
   ============================================================ */

/* ============================================================
   1 · RESET
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: none; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: var(--lh-tight);
  color: var(--text);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-title);
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--flame); color: var(--on-flame); }

:target { scroll-margin-top: calc(var(--header-h) + var(--sp-4)); }

/* ============================================================
   2 · ACCESIBILITATE — nenegociabil
   ============================================================ */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  background: var(--flame);
  color: var(--on-flame);
  font-weight: var(--fw-bold);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  z-index: var(--z-modal);
  transition: top var(--tr-base);
}
.skip-link:focus { top: var(--sp-4); }

@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;
  }
}

/* ============================================================
   3 · LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--narrow { max-width: 900px; }

.stack > * + * { margin-top: var(--sp-4); }
.stack--lg > * + * { margin-top: var(--sp-8); }
.stack--sm > * + * { margin-top: var(--sp-2); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.section {
  position: relative;
  padding-block: var(--sp-16);
  scroll-margin-top: calc(var(--header-h) + var(--sp-4));
}
@media (min-width: 900px) {
  .section { padding-block: var(--sp-24); }
}
.section--alt { background: var(--ink-800); }

.section__head {
  max-width: 46rem;
  margin-bottom: var(--sp-12);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead {
  margin-top: var(--sp-5);
  font-size: var(--fs-lg);
  color: var(--text);
  line-height: var(--lh-normal);
  max-width: 52ch;
}
.section__lead strong { color: var(--text-hi); font-weight: var(--fw-semibold); }
.section__head--center .section__lead { margin-inline: auto; }

/* ============================================================
   4 · TIPOGRAFIE & PATTERN-URILE DE TITLU
   ============================================================ */
.text-muted { color: var(--text-muted); }
.text-dim   { color: var(--text-dim); }
.text-flame { color: var(--flame-text); }
.text-center { text-align: center; }

/* --- Pattern 1: eyebrow mono cu linie --------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-5);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
  transform-origin: left center;
  /* fără scaleX(0) în starea de bază — ascunderea trăiește în
     `from`-ul lui m-grow-x, ca linia să existe și fără JS */
}
.eyebrow--center { justify-content: center; }

/* --- Pattern 2: titlu greu, două culori ------------------- */
.title-xl,
.section__title {
  font-family: var(--font-head);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--lh-display);
  text-wrap: balance;
  color: var(--text-hi);   /* alb pur — titlurile sunt singurul loc unde apare */
}
.title-xl      { font-size: var(--fs-5xl); }
.section__title { font-size: var(--fs-4xl); }
.accent { color: var(--flame-text); font-style: normal; }

/* măști pentru intrarea pe linii; construite în HTML, nu din JS */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;   /* descenderele nu trebuie tăiate de mască */
  margin-bottom: -0.08em;
}
.line > span { display: block; }

/* --- Pattern 3: text-ghost (o singură dată pe pagină) ----- */
.ghost {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-dim);
  paint-order: stroke fill;
}
@supports not (-webkit-text-stroke: 1px red) {
  .ghost { color: var(--text-dim); }
}

/* --- Etichetă mono generică ------------------------------- */
.mono-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   5 · BUTOANE
   ============================================================ */
.btn {
  --btn-bg: var(--flame);
  --btn-fg: var(--on-flame);
  --btn-bg-hover: var(--flame-hot);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;                 /* ≥ 44px target atingere */
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-head);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  transition: background var(--tr-base), transform var(--tr-fast),
              box-shadow var(--tr-base), border-color var(--tr-base),
              color var(--tr-base);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 56px; padding: var(--sp-4) var(--sp-8); font-size: var(--fs-lg); }
.btn--sm { min-height: 40px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); }

.btn--primary { box-shadow: var(--glow-soft); }
.btn--primary:hover { box-shadow: var(--glow); }

.btn--wa {
  --btn-bg: var(--wa-green);
  --btn-fg: var(--ink-900);
  --btn-bg-hover: var(--wa-green-dk);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bg-hover: var(--ink-600);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--flame); color: var(--flame-text); }

/* buton negru — folosit doar în secțiunile inversate */
.btn--ink {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--text);
  --btn-bg-hover: var(--ink-700);
}

/* Butoane pentru cardurile negre așezate pe roșu.
   `--invert` e conturat, `--invert-solid` e plin cu foc. */
.btn--invert {
  --btn-bg: transparent;
  --btn-fg: var(--text-hi);
  --btn-bg-hover: var(--flame);
  border-color: var(--border);
}
.btn--invert:hover {
  color: var(--on-flame);
  border-color: var(--flame);
}
.btn--invert-solid {
  --btn-bg: var(--flame);
  --btn-fg: var(--on-flame);
  --btn-bg-hover: var(--flame-hot);
  box-shadow: var(--glow-soft);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   6 · CARD
   ============================================================ */
.card {
  background: var(--ink-700);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.card--elevated { background: var(--ink-700); box-shadow: var(--sh-md); }
.card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

/* ============================================================
   7 · BADGE / PILL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-full);
  background: var(--flame-tint);
  color: var(--flame-text);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--ink-800);
}

/* ============================================================
   8 · FIELD — label / input / select / checkbox / eroare
   ============================================================ */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }

.field__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
}
.field__label .req { color: var(--flame-text); margin-left: 2px; }

.field__control {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--ink-900);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--tr-base), box-shadow var(--tr-base), background var(--tr-base);
}
.field__control::placeholder { color: var(--text-dim); }

.field__control:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px var(--flame-tint);
  background: var(--ink-800);
}

select.field__control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF5A63' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
  cursor: pointer;
}
/* opțiunile native moștenesc fundalul sistemului pe unele platforme */
select.field__control option { background: var(--ink-800); color: var(--text); }

/* stare de eroare */
.field--error .field__control { border-color: var(--danger); }
.field--error .field__control:focus { box-shadow: 0 0 0 3px var(--danger-tint); }
.field__error {
  font-size: var(--fs-sm);
  color: var(--danger);
  display: none;
}
.field--error .field__error { display: block; }

/* checkbox — target 44px, focus vizibil */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  line-height: var(--lh-snug);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.checkbox a { color: var(--flame-text); text-decoration: underline; }
.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--ink-900);
  display: grid;
  place-content: center;
  transition: background var(--tr-fast), border-color var(--tr-fast);
}
.checkbox input[type="checkbox"]::before {
  content: "";
  width: 12px; height: 12px;
  transform: scale(0);
  transition: transform var(--tr-fast);
  box-shadow: inset 1em 1em var(--on-flame);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.checkbox input[type="checkbox"]:checked {
  background: var(--flame);
  border-color: var(--flame);
}
.checkbox input[type="checkbox"]:checked::before { transform: scale(1); }
.checkbox input[type="checkbox"]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
/* zonă de atingere ≥ 44px chiar dacă vizual e mai mic */
.checkbox input[type="checkbox"]::after { content: ""; position: absolute; inset: -11px; }

/* ============================================================
   9 · DIVIDER, SCROLLBAR, BARĂ DE PROGRES
   ============================================================ */
.divider { height: 1px; background: var(--border); border: 0; }

/* scrollbar propriu — negru cu thumb roșu */
html {
  scrollbar-color: var(--flame) var(--ink-900);   /* Firefox */
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb {
  background: var(--flame-deep);
  border-radius: var(--r-full);
  border: 2px solid var(--ink-900);
}
::-webkit-scrollbar-thumb:hover { background: var(--flame); }

/* bară de progres a paginii, lipită sub header */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: calc(var(--z-header) + 1);
  background: linear-gradient(90deg, var(--flame-deep), var(--flame), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* ============================================================
   10 · HEADER & DRAWER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr-base), background var(--tr-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(8, 8, 10, 0.9);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-block: var(--sp-2);
}

/* lockup: stema + wordmark */
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; }
/* Stelele decupate din logo. Rămân albe, ca în logo-ul real al școlii —
   accentul roșu e al butoanelor, nu al mărcii. */
.brand__mark {
  width: 34px; height: 34px;
  object-fit: contain;
}

/* În footer folosim lockup-ul întreg, nu marca + text. */
.brand--footer { display: block; }
.brand__logo { width: min(240px, 70%); height: auto; }
.brand__name {
  font-family: var(--font-head);
  font-weight: var(--fw-black);
  letter-spacing: -0.01em;
  color: var(--text);
  font-size: var(--fs-lg);
}

.site-nav { display: none; margin-left: auto; gap: var(--sp-6); }
.site-nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  padding: var(--sp-2) 0;
  transition: color var(--tr-fast);
}
.site-nav__link:hover { color: var(--text); }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }
.header-cta { display: none; }

.nav-toggle {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--tr-base), opacity var(--tr-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header__actions { margin-left: var(--sp-6); }
  .nav-toggle { display: none; }
}

/* Drawer mobil */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: var(--z-overlay);
  background: var(--ink-900);
  padding: var(--sp-6) var(--container-pad);
  overflow-y: auto;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer__nav { display: flex; flex-direction: column; gap: var(--sp-3); }
.mobile-drawer__nav > a:not(.btn) {
  font-family: var(--font-head);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-title);
  color: var(--text);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-drawer__nav .btn { margin-top: var(--sp-4); }
body.drawer-open { overflow: hidden; }

/* ============================================================
   11 · HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: var(--sp-12) var(--sp-16);
  overflow: hidden;
}
/* glow radial — face negrul să pară adânc, nu plat */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: var(--z-behind);
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 20% 0%, rgba(225, 27, 38, 0.20) 0%, transparent 68%),
    radial-gradient(45% 40% at 85% 30%, rgba(255, 194, 32, 0.07) 0%, transparent 70%);
}

.hero__grid { display: grid; gap: var(--sp-10); align-items: start; }
/* Banda de ticker are `width: max-content`. Fără `min-width: 0`, coloana
   `1.1fr` ar fi obligată să crească până o încape întreagă și ar împinge
   formularul afară din ecran. */
.hero__copy { min-width: 0; }
@media (min-width: 900px) {
  .hero { padding-block: var(--sp-16) var(--sp-20); }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-12); }
}

.hero__title { font-size: var(--fs-5xl); }
.hero__lead {
  margin-top: var(--sp-6);
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 44ch;
}
.hero__lead strong { color: var(--text); font-weight: var(--fw-semibold); }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }

/* --- Ticker ----------------------------------------------- */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border-soft);
  padding-block: var(--sp-3);
  margin-top: var(--sp-12);
  /* marginile se estompează, ca banda să nu pară tăiată */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: var(--sp-10);
  padding-right: var(--sp-10);
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.ticker__item b { color: var(--gold); font-weight: 500; }

/* ============================================================
   12 · FORMULAR (în hero)
   ============================================================ */
.hero__form-wrap { position: relative; }
@media (min-width: 900px) {
  .hero__form-wrap { position: sticky; top: calc(var(--header-h) + var(--sp-4)); }
}
.lead-form {
  position: relative;
  padding: var(--sp-6);
  background: var(--ink-700);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg), var(--glow-soft);
}
@media (min-width: 640px) { .lead-form { padding: var(--sp-8); } }
.lead-form__anchor { position: absolute; top: calc(-1 * (var(--header-h) + var(--sp-4))); }
.lead-form__head { margin-bottom: var(--sp-6); }
.lead-form__title { font-size: var(--fs-xl); font-weight: var(--fw-black); letter-spacing: var(--tracking-title); }
.lead-form__sub { color: var(--text-muted); font-size: var(--fs-sm); margin-top: var(--sp-2); }

.progress {
  height: 4px;
  background: var(--ink-600);
  border-radius: var(--r-full);
  margin-top: var(--sp-5);
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--flame), var(--gold));
  border-radius: var(--r-full);
  transition: width var(--tr-base);
}
.lead-form__step-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--sp-3);
}

.lead-step { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.lead-step[hidden] { display: none; }
.lead-step__nav { margin-top: var(--sp-2); }
.lead-step__nav--split { display: flex; gap: var(--sp-3); }
.lead-step__nav--split .btn { flex: 1; }
.lead-step__nav--split .btn--ghost { flex: 0 0 auto; }

.field--consent { gap: var(--sp-1); }
.lead-form__reassure {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-align: center;
  margin-top: var(--sp-4);
}

/* honeypot — ascuns pentru oameni, accesibil pentru boți */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   13 · PENTRU CINE E / CE PRIMEȘTI
   ============================================================ */
.card-who {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--ink-700);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--tr-base) var(--ease-out-expo),
              border-color var(--tr-base),
              box-shadow var(--tr-base),
              background var(--tr-base);
}
.card-who__label { font-size: var(--fs-xs); }
.card-who__title { font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.card-who__text { font-size: var(--fs-sm); color: var(--text-muted); }
@media (hover: hover) {
  .card-who:hover {
    transform: translateY(var(--lift));
    background: var(--ink-600);
    border-color: var(--flame-tint);
    box-shadow: var(--glow);
  }
}
.card-who:focus-within { border-color: var(--flame); box-shadow: var(--glow); }

/* ce primești — card cu număr mare în colț */
.deliver {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--ink-800);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--tr-base), background var(--tr-base);
}
.deliver__num {
  position: absolute;
  top: var(--sp-3); right: var(--sp-5);
  font-family: var(--font-head);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--ink-600);
  line-height: 1;
  transition: color var(--tr-base);
  pointer-events: none;
}
.deliver__title { font-size: var(--fs-lg); font-weight: var(--fw-bold); padding-right: var(--sp-10); }
.deliver__text { font-size: var(--fs-sm); color: var(--text-muted); }
@media (hover: hover) {
  .deliver:hover { border-color: var(--border); background: var(--ink-700); }
  .deliver:hover .deliver__num { color: var(--flame-tint); }
}

/* ============================================================
   14 · PORTOFOLIU
   ============================================================ */
.works { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) { .works { grid-template-columns: repeat(2, 1fr); gap: var(--sp-10); } }

.work {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.work__media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--border-soft);
}
.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow) var(--ease-out-expo);
}
.work__media-ph { display: none; }
.work__media.is-placeholder {
  display: grid;
  place-content: center;
  border-style: dashed;
  border-color: var(--border);
}
.work__media.is-placeholder .work__media-ph {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (hover: hover) {
  .work:hover .work__media img { transform: scale(1.04); }
}
.work__title { font-size: var(--fs-xl); font-weight: var(--fw-black); letter-spacing: var(--tracking-title); }
.work__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.work__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-full);
  padding: 4px var(--sp-3);
}
.work__facts {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-soft);
}
.work__fact { display: flex; gap: var(--sp-4); font-size: var(--fs-sm); }
.work__fact dt {
  flex: none;
  width: 7.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 2px;
}
.work__fact dd { color: var(--text-muted); }
.work__fact--win dd { color: var(--flame-text); font-weight: var(--fw-semibold); }

/* ============================================================
   15 · PROCES
   ============================================================ */
.steps { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); } }
.step { position: relative; padding-top: var(--sp-6); }
.step__num {
  display: grid;
  place-content: center;
  width: 44px; height: 44px;
  margin-bottom: var(--sp-4);
  background: var(--ink-900);
  border: 1.5px solid var(--flame);
  color: var(--flame-text);
  font-family: var(--font-head);
  font-weight: var(--fw-black);
  font-size: var(--fs-lg);
  border-radius: var(--r-full);
}
.step__title { font-size: var(--fs-lg); font-weight: var(--fw-bold); margin-bottom: var(--sp-2); }
.step__text { font-size: var(--fs-sm); color: var(--text-muted); }

/* ============================================================
   16 · PACHETE
   ============================================================ */
/* --- Comutatorul lunar / anual ---------------------------- */
.billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}
.billing__switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  /* Pastila e mereu închisă, independent de banda pe care stă: pe
     `--on-flame` ar fi devenit albă odată cu trecerea la roșu, iar
     eticheta inactivă (--text-muted) ar fi dispărut în ea. */
  background: var(--ink-900);
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  isolation: isolate;
}
.billing__opt {
  position: relative;
  z-index: 1;
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  border-radius: var(--r-full);
  transition: color var(--tr-base);
  white-space: nowrap;
}
/* pastila care alunecă — transform, deci pe compositor */
.billing__thumb {
  position: absolute;
  z-index: 0;
  inset: 4px 50% 4px 4px;
  background: var(--flame);
  border-radius: var(--r-full);
  transition: transform var(--tr-base) var(--ease-out-back);
}
.billing__switch[aria-checked="true"] .billing__thumb { transform: translateX(100%); }
.billing__switch[aria-checked="true"] [data-opt="moto"],
.billing__switch[aria-checked="false"] [data-opt="auto"] { color: var(--on-flame); }
.billing__hint {
  font-size: var(--fs-sm);
  color: var(--on-flame-soft);
  text-align: center;
}
.billing__hint b { color: var(--on-flame); }

/* --- Cardurile de pachet ---------------------------------- */
.plans { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* Pe banda colorată, cardurile sunt negre — de aici vine tot contrastul. */
.plan {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  background: var(--ink-900);
  border: 1px solid var(--ink-900);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  height: 100%;
  color: var(--text);
}
.plan--featured {
  background: var(--ink-800);
  border-color: var(--flame-hot);
  box-shadow: 0 0 0 4px rgba(8, 8, 10, 0.18);
}
@media (min-width: 900px) {
  .plan--featured { transform: scale(1.03); }
}
.plan__badge {
  align-self: flex-start;
  background: var(--flame-tint);
  color: var(--flame-text);
}
.plan--featured .plan__badge { background: var(--flame); color: var(--on-flame); }
.plan__name {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-title);
  color: var(--text-hi);
}
.plan__desc { font-size: var(--fs-sm); color: var(--text-muted); }

/* Comutarea auto / moto e pur CSS: JS mută o singură clasă pe
   secțiune, iar `display:none` scoate varianta inactivă și din
   arborele de accesibilitate, nu doar din pixeli. */
.plans-section.is-moto [data-bill="auto"],
.plans-section:not(.is-moto) [data-bill="moto"] { display: none; }

.plan__list { display: flex; flex-direction: column; gap: var(--sp-3); font-size: var(--fs-sm); }
.plan__list li {
  position: relative;
  padding-left: var(--sp-6);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
.plan__list li b { color: var(--text-hi); font-weight: var(--fw-semibold); }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 2px;
  background: var(--flame);
  border-radius: var(--r-full);
}
/* Cele două acțiuni stau lipite la baza cardului, ca butoanele să fie
   pe aceeași linie în toate cardurile, indiferent cât e lista de mai sus. */
.plan__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.plan__actions .btn { margin-top: 0; }
.plan__actions .btn--invert { font-size: var(--fs-sm); min-height: 44px; }

/* Indiciul de glisare există doar cât timp pachetele sunt un
   carusel; pe desktop grila arată tot, deci nu are ce indica. */
.plans__hint {
  margin-top: var(--sp-4);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--on-flame-dim);
}
@media (min-width: 900px) { .plans__hint { display: none; } }

/* ============================================================
   17 · RECENZII — rezervat.
   Carusel-ul a fost scos odată cu recenziile școlii precedente:
   marcajul de recenzii trebuie să reflecte clienți proprii.
   Când școala are recenzii reale, se readuc împreună CSS-ul de
   aici, secțiunea din index.html și blocul `review` din JSON-LD.
   Vezi istoricul git pentru varianta completă.
   ============================================================ */

/* ============================================================
   18 · FAQ
   ============================================================ */
.faq { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq__item {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--ink-800);
  overflow: hidden;
  transition: border-color var(--tr-base);
}
.faq__item[open] { border-color: var(--border); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5);
  font-family: var(--font-head);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-title);
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  transition: color var(--tr-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--flame-text); }
.faq__item summary::after {
  content: "+";
  color: var(--flame-text);
  font-size: var(--fs-xl);
  font-weight: var(--fw-regular);
  flex: none;
  transition: transform var(--tr-base) var(--ease-out-back);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); font-size: var(--fs-sm); }

/* ============================================================
   19 · SECȚIUNILE INVERSATE — culoare plină
   Trei în toată pagina: Cifre, Pachete, CTA final.
   Fiecare vine după cel puțin două ecrane de negru, ca
   inversia să lovească de fiecare dată ca un flash.

   Roșu (implicit) pentru benzile de acțiune; galben, prin
   `--gold`, pentru banda de cifre — vezi mai jos.
   ============================================================ */
.section--invert {
  position: relative;
  background: var(--flame);
  color: var(--on-flame);
  padding-block: var(--sp-24) var(--sp-20);
}

/* Varianta galbenă. Rescrie local întreg grupul `--on-flame*`, deci
   toate regulile de mai jos (titluri, butoane, linii, focus) o urmează
   fără să fie nevoie de vreun selector în plus. */
.section--invert--gold {
  background: var(--gold);
  --on-flame:        #0A0A0C;
  --on-flame-soft:   rgba(10, 10, 12, 0.74);
  --on-flame-dim:    rgba(10, 10, 12, 0.58);
  --on-flame-line:   rgba(10, 10, 12, 0.20);
  --on-flame-border: rgba(10, 10, 12, 0.35);
}
/* Tăietura diagonală de sus, în locul unei margini drepte.
   Opțională: nu orice secțiune inversată o vrea. */
.section--invert--cut { margin-top: var(--sp-16); }
.section--invert--cut::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -6vw;
  height: 6vw;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
/* varianta simetrică, pentru o secțiune care se închide în jos */
.section--invert--cut-b { margin-bottom: var(--sp-16); }
.section--invert--cut-b::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6vw;
  height: 6vw;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.section--invert h2,
.section--invert h3,
.section--invert .section__title,
.section--invert .title-xl { color: var(--on-flame); }

/* Insulele negre din interiorul unei secțiuni inversate — cardul
   de pachet, cardul de socoteală — sunt din nou temă închisă.
   Fără asta, regula de mai sus le-ar face titlurile negru pe negru. */
.section--invert :is(.plan, .fee--calc) :is(h2, h3) { color: var(--text-hi); }
.section--invert :is(.plan, .fee--calc) .accent { color: var(--flame-text); }
.section--invert .accent,
.section--invert em { color: var(--on-flame); font-style: normal; }
.section--invert .eyebrow { color: var(--on-flame); opacity: 0.65; }
.section--invert .mono-label { color: var(--on-flame-soft); }
.section--invert .section__lead { color: var(--on-flame-soft); }
.section--invert .section__lead strong { color: var(--on-flame); }
.section--invert .ghost { -webkit-text-stroke-color: var(--on-flame-border); }

.invert__title { font-size: var(--fs-5xl); }
.invert__actions {
  display: flex; flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-10);
}
.section--invert .btn--ghost {
  --btn-fg: var(--on-flame);
  border-color: var(--on-flame-border);
}
.section--invert .btn--ghost:hover {
  background: rgba(8, 8, 10, 0.08);
  border-color: var(--on-flame);
  color: var(--on-flame);
}
.section--invert .divider { background: var(--on-flame-line); }
.invert__note {
  margin-top: var(--sp-10);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--on-flame-dim);
  line-height: var(--lh-snug);
}
.section__head--center + * + .invert__note,
.section--invert .plans + .invert__note { text-align: center; }

/* focus vizibil și pe roșu — inelul galben s-ar stinge */
.section--invert :is(a, button, summary):focus-visible {
  outline: 3px solid var(--on-flame);
  outline-offset: var(--focus-offset);
}

/* ------------------------------------------------------------
   19b · Blocul de comisioane (secțiunea Infrastructura)
   ------------------------------------------------------------ */
.fees { align-items: start; }
.fee {
  padding: var(--sp-6);
  border: 1.5px solid var(--on-flame-border);
  border-radius: var(--r-xl);
}
.fee--calc {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--text);
}
.fee--calc .fee__label { color: var(--flame-text); }
.fee--calc .fee__big { color: var(--text-hi); }
.fee--calc .fee__text strong { color: var(--flame-text); }
.fee__label { margin-bottom: var(--sp-4); }
.fee__big {
  font-family: var(--font-head);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  margin-bottom: var(--sp-4);
}
/* Sufixul mic de lângă cifră („de la", „lei"), scris ca <span> simplu. */
.fee__big span {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  opacity: 0.7;
}
/* Contorul animat e tot un <span>, dar el E cifra mare — deci își ia
   înapoi dimensiunea de la părinte. Fără asta, „24" se afișa la 15px. */
.fee__big span[data-count] {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  opacity: 1;
}
.fee__text { font-size: var(--fs-sm); line-height: var(--lh-normal); }
.fee:not(.fee--calc) .fee__text { color: var(--on-flame-soft); }
.fee:not(.fee--calc) .fee__text strong { color: var(--on-flame); }

/* ============================================================
   20 · FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink-900);
  color: var(--text-muted);
  padding-block: var(--sp-16) var(--sp-8);
  font-size: var(--fs-sm);
}
.site-footer__grid { display: grid; gap: var(--sp-10); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.site-footer__tagline { margin-top: var(--sp-4); max-width: 32ch; color: var(--text-dim); }
.site-footer__title {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.site-footer__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.site-footer__list a { transition: color var(--tr-fast); }
.site-footer__list a:hover { color: var(--flame-text); }
.site-footer__bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  justify-content: space-between;
  color: var(--text-dim);
  font-size: var(--fs-xs);
}

/* ============================================================
   21 · STICKY CTA MOBIL
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: none;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  padding-bottom: calc(var(--sp-2) + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--border-soft);
  transform: translateY(110%);
  transition: transform var(--tr-base);
}
.sticky-cta--visible { transform: translateY(0); }
.sticky-cta__btn {
  flex: 1 1 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  padding: var(--sp-2) var(--sp-3);
  transition: filter var(--tr-fast), transform var(--tr-fast);
}
.sticky-cta__btn:active { transform: translateY(1px); }
.sticky-cta__btn svg { width: 1.2em; height: 1.2em; flex: none; }
.sticky-cta__btn--wa    { background: var(--wa-green); color: var(--ink-900); }
.sticky-cta__btn--mail  { background: var(--ink-600); color: var(--text); }
.sticky-cta__btn--offer { background: var(--flame); color: var(--on-flame); flex: 1.3 1 0; }

@media (max-width: 899px) {
  .sticky-cta { display: flex; }
  body.sticky-cta-on { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   21b · BUTONUL WHATSAPP FIX (desktop)
   Pastilă în colțul din dreapta jos. În repaus e un cerc cu
   iconul; la hover/focus se desface și arată eticheta.
   ============================================================ */
.wa-fab {
  display: none;   /* apare doar de la 900px în sus */
  position: fixed;
  right: var(--sp-6);
  bottom: var(--sp-6);
  z-index: var(--z-sticky);
  align-items: center;
  gap: 0;
  height: 56px;
  padding-inline: 16px;
  border-radius: var(--r-full);
  background: var(--wa-green);
  color: var(--ink-900);
  font-family: var(--font-head);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  box-shadow: var(--sh-lg);
  transition: background var(--tr-base), transform var(--tr-base) var(--ease-out-expo),
              box-shadow var(--tr-base);
}
.wa-fab svg { width: 26px; height: 26px; flex: none; }

/* Eticheta e mereu în DOM (o citesc cititoarele de ecran), dar
   ocupă lățime zero până la hover — de aici forma de cerc. */
.wa-fab__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width var(--tr-slow) var(--ease-out-expo),
              opacity var(--tr-base),
              padding-left var(--tr-slow) var(--ease-out-expo);
}
.wa-fab:is(:hover, :focus-visible) {
  background: var(--wa-green-dk);
  transform: translateY(-2px);
  box-shadow: var(--sh-lg), 0 0 0 4px rgba(37, 211, 102, 0.22);
}
.wa-fab:is(:hover, :focus-visible) .wa-fab__label {
  max-width: 14rem;
  opacity: 1;
  padding-left: var(--sp-3);
}
.wa-fab:active { transform: translateY(0); }

@media (min-width: 900px) {
  .wa-fab { display: inline-flex; }
}

/* ============================================================
   22 · REVEAL LA SCROLL
   Clasele se adaugă doar din main.js, și doar dacă
   prefers-reduced-motion NU e activ.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
}
.reveal.is-revealed { opacity: 1; transform: none; }

/* ============================================================
   23 · PAGINA MULTUMIM + PAGINI LEGALE
   ============================================================ */
.thankyou { padding-block: var(--sp-20); }
.thankyou__card {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(var(--sp-6), 4vw, var(--sp-12));
}
.thankyou__check {
  width: 72px; height: 72px;
  margin: 0 auto var(--sp-6);
  display: grid; place-content: center;
  background: var(--flame-tint);
  color: var(--flame-text);
  border-radius: var(--r-full);
}
.thankyou__check svg { width: 36px; height: 36px; }
.thankyou__title { font-size: var(--fs-3xl); font-weight: var(--fw-black); letter-spacing: var(--tracking-display); margin-bottom: var(--sp-4); }
.thankyou__lead { color: var(--text-muted); max-width: 44ch; margin: 0 auto var(--sp-8); }
.thankyou__steps { display: grid; gap: var(--sp-5); text-align: left; max-width: 420px; margin-inline: auto; }
.thankyou__step { display: flex; align-items: flex-start; gap: var(--sp-4); }
.thankyou__step-num {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-content: center;
  border: 1.5px solid var(--flame);
  color: var(--flame-text);
  font-family: var(--font-head);
  font-weight: var(--fw-black);
  font-size: var(--fs-sm);
  border-radius: var(--r-full);
}
.thankyou__step p { font-size: var(--fs-sm); color: var(--text-muted); }
.thankyou__step strong { color: var(--text); }
.thankyou .divider { margin-block: var(--sp-8); }
.thankyou__back { display: inline-block; margin-top: var(--sp-8); color: var(--flame-text); font-weight: var(--fw-medium); }
.thankyou__back:hover { text-decoration: underline; }

.legal { max-width: 760px; margin-inline: auto; }
.legal__title { font-size: var(--fs-3xl); font-weight: var(--fw-black); letter-spacing: var(--tracking-display); margin-bottom: var(--sp-3); }
.legal__updated {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-10);
}
.legal h2 { font-size: var(--fs-xl); margin-top: var(--sp-10); margin-bottom: var(--sp-4); }
.legal h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.legal p, .legal li { color: var(--text-muted); line-height: var(--lh-normal); }
.legal p { margin-bottom: var(--sp-4); }
.legal ul, .legal ol { margin: 0 0 var(--sp-4) var(--sp-6); }
.legal li { margin-bottom: var(--sp-2); position: relative; padding-left: var(--sp-4); }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 2px; background: var(--flame); }
.legal a { color: var(--flame-text); text-decoration: underline; }
.legal__note {
  background: var(--ink-800);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--flame);
  border-radius: var(--r-sm);
  padding: var(--sp-4) var(--sp-5);
  margin: var(--sp-6) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.legal__back { display: inline-block; margin-top: var(--sp-10); color: var(--flame-text); font-weight: var(--fw-semibold); }

/* ============================================================
   24 · SPECIFIC ȘCOALĂ AUTO
   Componentele care nu existau în tema de bază.
   ============================================================ */

/* --- Bio-ul de sub fiecare instructor / mașină ------------- */
.work__bio {
  margin-top: var(--sp-4);
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-normal);
  max-width: 46ch;
}

/* --- Galeria de la finalul secțiunii „Cum decurge" --------- */
.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: var(--sp-16);
}
/* Colțurile rotunjite și `overflow` stau pe figure, nu pe imagine: așa
   zoom-ul de la hover rămâne tăiat curat în interiorul ramei. */
.gallery figure {
  margin: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--ink-800);
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform var(--tr-slow) var(--ease-out-expo);
}
.gallery figcaption {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--text-dim);
  line-height: var(--lh-snug);
}
@media (hover: hover) {
  .gallery figure:hover img { transform: scale(1.04); }
}

/* --- Contact ---------------------------------------------- */
.contact__grid { display: grid; gap: var(--sp-8); align-items: start; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-12); } }

.contact__list { display: flex; flex-direction: column; gap: var(--sp-6); }
.contact__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact__icon {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-content: center;
  border-radius: var(--r-md);
  background: var(--flame-tint);
  color: var(--flame-text);
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--sp-1);
}
.contact__value { font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--text-hi); }
a.contact__value { transition: color var(--tr-fast); }
a.contact__value:hover { color: var(--flame-text); }

/* orarul — două coloane aliniate, cu ziua închisă stinsă */
.hours { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-6); font-size: var(--fs-sm); }
.hours dt { color: var(--text-muted); }
.hours dd { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-closed { color: var(--text-dim); }

.map {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-800);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(0.9) contrast(0.86); }
@media (min-width: 900px) { .map { aspect-ratio: 1 / 1; } }
