/* CFPDR · prototip pentru noul cfpdr.eu
   Aspect deschis, de magazin: prețul, grupele și „Mă înscriu” în față.
   Efectele (idei de pe 21st.dev) sunt alese pentru conversie și diferă de calificare.net. */

/* Literele românești din afara setului latin (ă ș ț, Ș Ț, ş ţ) vin dintr-un fișier mic, tăiat din cel „latin-ext”
   al fontului (aceleași contururi, ~4 KB în loc de 30–85 KB): setul întreg se descărca pe fiecare pagină din cauza lor. */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/bricolage-grotesque-ro.woff2) format('woff2');unicode-range:U+0102-0103,U+015E-015F,U+0162-0163,U+0218-021B}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/bricolage-grotesque-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-ro.woff2) format('woff2');unicode-range:U+0102-0103,U+015E-015F,U+0162-0163,U+0218-021B}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --bg: #f5f6f0;
  --paper: #ffffff;
  --paper-2: #fafbf7;
  --ink: #0d1b12;
  --ink-2: #26362b;
  --muted: #5b6a60;
  --line: #e2e7dc;
  --line-2: #d2dacb;
  --g-900: #0f3a22;
  --g-800: #134a2b;
  --g-700: #17663a;
  --g-600: #1e7c47;
  --g-100: #e9f4e4;
  --g-50: #f2f8ef;
  --leaf: #7cb342;
  --lime: #c3ec7a;
  --gold: #f0a020;
  --gold-bg: #fff3d9;
  --gold-ink: #7a4b00;
  --blue: #2e93cc;
  --blue-bg: #e4f2fb;
  --blue-ink: #12557c;
  --amber: #9a5a00;
  --amber-bg: #fff0d2;
  --red: #c4372b;
  --red-bg: #fdecea;
  --star: #f2a516;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --sh-1: 0 1px 2px rgb(13 27 18 / .05), 0 3px 10px -4px rgb(13 27 18 / .08);
  --sh-2: 0 1px 2px rgb(13 27 18 / .05), 0 20px 44px -20px rgb(13 27 18 / .30);
  --sh-3: 0 30px 80px -24px rgb(13 27 18 / .42);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-d: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-b: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 64px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-d); margin: 0; line-height: 1.06; letter-spacing: -.028em; font-weight: 700; }
h1 { font-size: clamp(34px, 5.2vw, 62px); }
h2 { font-size: clamp(27px, 3.3vw, 40px); }
h3 { font-size: 19px; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--g-600) 55%, transparent); outline-offset: 2px; border-radius: 8px; }

.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.sr, legend.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--ink-2); line-height: 1.55; }
.kick { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-700); margin: 0 0 10px; }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--g-700); }
.lnk:hover { gap: 10px; }
.lnk .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: middle; margin: 0 6px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-s { width: 16px; height: 16px; }

/* ------------------------------------------------ butoane */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--g-700); color: #fff; font-weight: 650; font-size: 15.5px; letter-spacing: -.005em; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate; transition: background .25s, transform .25s var(--ease), box-shadow .25s; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 6px 16px -8px rgb(23 102 58 / .7); }
.btn:hover { background: var(--g-800); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-600); }
.btn-light { background: #fff; color: var(--g-900); box-shadow: none; }
.btn-light:hover { background: var(--lime); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .55); }
.btn-outline-light:hover { background: rgb(255 255 255 / .1); }
.btn-shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .38) 48%, transparent 66%); transform: translateX(-120%); animation: shine 4.2s var(--ease) infinite 1.2s; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ------------------------------------------------ etichete, stele */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; letter-spacing: .005em; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-cal { background: var(--gold-bg); color: var(--gold-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent); }
.chip-cal::before { background: var(--gold); }
.chip-abs { background: var(--blue-bg); color: var(--blue-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 35%, transparent); }
.chip-abs::before { background: var(--blue); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 650; }
.pill-ok { background: var(--g-100); color: var(--g-700); }
.pill-f { background: var(--blue-bg); color: var(--blue-ink); }
.pill-x { background: #eef0ec; color: var(--muted); }
.stele { position: relative; display: inline-block; line-height: 0; vertical-align: -2px; }
.stele .st { flex: none; width: 15px; height: 15px; fill: currentColor; }
.stele-g { display: inline-flex; gap: 1px; color: #dbe0d5; }
.stele-p { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 1px; overflow: hidden; color: var(--star); white-space: nowrap; }
.stele-xl .st { width: 22px; height: 22px; }

/* termen real: „mai sunt N zile” */
.cd { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: var(--g-50); color: var(--g-700); white-space: nowrap; }
.cd:empty { display: none; }
.cd-hot { background: var(--amber-bg); color: var(--amber); }
.cd-hot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: puls 1.6s ease-out infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }

/* ------------------------------------------------ cifre animate (prețuri) */
.nf { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.nf-v { display: inline-flex; align-items: baseline; }
/* cifra „fantomă” dă lățimea și linia de bază; banda 0–9 alunecă deasupra ei, tăiată cu clip-path */
.nf-c { position: relative; display: inline-block; line-height: 1.15; clip-path: inset(0 -.2em); }
.nf-g { visibility: hidden; }
.nf-s { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; transform: translateY(calc(var(--n, 0) * -1.15em)); transition: transform .75s var(--ease); }
.nf-s > span { display: block; height: 1.15em; line-height: 1.15; }
.nf-x { line-height: 1.15; }
.nf.swap { animation: nfin .55s var(--ease); }
@keyframes nfin { from { opacity: 0; transform: translateY(.4em); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
.pret { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-d); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.pret .lei { font-size: .62em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pret-xl { font-size: 46px; }
.pret-xxl { font-size: 54px; }
.pret-l { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
html:not([data-plata="rate"]) [data-when="rate"], html[data-plata="rate"] [data-when="integral"] { display: none !important; }

/* ------------------------------------------------ comutator (segmented, cu indicator care alunecă) */
.seg { position: relative; display: inline-flex; flex: none; padding: 4px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); max-width: 100%; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 0 16px; height: 38px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .3s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: #fff; }
.seg-ind { position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; width: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); box-shadow: 0 4px 12px -4px rgb(13 27 18 / .5); }
.seg-full { display: flex; width: 100%; }
.seg-full button { flex: 1; }
.seg-cat { overflow-x: auto; scrollbar-width: none; }
.seg-cat::-webkit-scrollbar { display: none; }

/* ------------------------------------------------ bara de sus + antet */
.bar { background: var(--g-900); color: #dfeedd; font-size: 13px; }
.bar-in { display: flex; justify-content: center; align-items: center; gap: 34px; height: 36px; }
.bar-in span { display: inline-flex; align-items: center; gap: 7px; }
.bar-in .ic { width: 16px; height: 16px; color: var(--lime); }
.bar-in em { font-style: normal; }
.bar-s { display: none; }
/* fundalul se schimbă fără tranziție: când browserul întunecă singur pagina, culoarea din mijlocul tranziției rămâne deschisă
   (antetul ar clipi alb, cu textul logo-ului alb pe el) */
.hdr { position: sticky; top: 0; z-index: 50; background: rgb(245 246 240 / .84); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.scrolled { border-bottom-color: var(--line); background: rgb(250 251 247 / .9); }
.hdr.meniu-deschis { border-bottom-color: var(--line); background: var(--bg); }
.hdr-in { display: flex; align-items: center; gap: 26px; height: var(--hdr); }
.logo { flex: none; display: flex; align-items: center; }
.logo img, .logo svg { height: 38px; width: auto; max-width: none; }
.logo svg { aspect-ratio: 18 / 5; } /* textul (288×80), lângă semn (146×80): împreună, cât logo-ul întreg */
.nav { display: flex; gap: 2px; }
.nav-a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: 15px; color: var(--ink-2); transition: background .2s; }
.nav-a:hover { background: rgb(13 27 18 / .05); }
.nav-cursuri { border: 0; background: none; cursor: pointer; line-height: inherit; }
.nav-cursuri .ic { transition: transform .3s var(--ease); }
.nav-cursuri[aria-expanded="true"] { background: rgb(13 27 18 / .05); }
.nav-cursuri[aria-expanded="true"] .ic { transform: rotate(180deg); }

/* lista „Cursuri”: pe calculator, panoul de sub antet, cât lățimea paginii (înălțimea o pune site.js, cât încape pe ecran);
   pe telefon și tabletă, aceeași listă la începutul meniului (.mnav-cursuri) */
.mega { position: absolute; top: calc(100% + 8px); left: 0; right: 0; width: min(1220px, 100% - 40px); margin-inline: auto; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 22px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-3); animation: pop .28s var(--ease); }
.mega-sus { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mega-cauta { position: relative; display: block; flex: 1; min-width: 0; }
.mega-cauta .ic { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.mega-cauta input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 0; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; transition: box-shadow .2s, background .2s; }
.mega-cauta input::placeholder { color: var(--muted); opacity: 1; }
.mega-cauta input:focus { background: var(--paper); box-shadow: inset 0 0 0 2px var(--g-600); }
.mega-cauta input::-webkit-search-cancel-button { display: none; }
.mega-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 28px; }
.mega-t { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0 12px; font-size: 12px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mega-t i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.mega-specializare .mega-t i { background: var(--blue); }
.mega-list { display: grid; gap: 2px; }
.mega-specializare .mega-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.mi { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; color: var(--ink); transition: background .2s; }
.mi:hover, .mi:focus-visible { background: var(--g-50); }
.mi b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mi small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.mi .ic { flex: none; width: 17px; height: 17px; color: var(--g-700); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .3s var(--ease); }
.mi:hover .ic, .mi:focus-visible .ic { opacity: 1; transform: none; }
.mi[aria-current="page"] { background: var(--g-100); }
.mi[aria-current="page"] small { color: var(--g-700); font-weight: 600; }
.mega-cols.cauti { grid-template-columns: minmax(0, 1fr); }
.mega-cols.cauti .mega-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
.mega-gol { grid-column: 1 / -1; margin: 0; padding: 14px 12px; color: var(--muted); }
.mega-gol a { color: var(--g-700); font-weight: 650; white-space: nowrap; }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.srch-btn { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 8px 0 13px; min-width: 210px; border: 0; border-radius: 13px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 14.5px; cursor: pointer; transition: box-shadow .2s; }
.srch-btn:hover { box-shadow: inset 0 0 0 1px var(--g-600); }
.srch-btn .ic { width: 18px; height: 18px; }
.srch-btn kbd, .pal kbd { margin-left: auto; display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 7px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 12px var(--font-b); color: var(--muted); }
.hdr-tel { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 650; font-size: 15px; white-space: nowrap; }
.hdr-tel:hover { background: rgb(13 27 18 / .05); }
.hdr-tel .ic { width: 18px; height: 18px; color: var(--g-700); }
.hdr-draft { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--g-100); color: var(--g-700); font-weight: 650; font-size: 14.5px; white-space: nowrap; }
.ciorna .srch-btn { min-width: 0; width: 44px; padding: 0; justify-content: center; }
.ciorna .srch-btn span, .ciorna .srch-btn kbd { display: none; }
.hdr-draft b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; background: var(--g-700); color: #fff; font-size: 13px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; place-items: center; }
.burger .ic-x, .burger[aria-expanded="true"] .ic-meniu { display: none; }
.burger[aria-expanded="true"] .ic-x { display: block; }
.hdr-min .hdr-in { gap: 18px; }
.hdr-back { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 550; font-size: 14.5px; }
.hdr-sec { display: inline-flex; align-items: center; gap: 6px; color: var(--g-700); font-size: 14px; font-weight: 600; }
.hdr-sec .ic { width: 16px; height: 16px; }

/* meniul de pe telefon, ca pe calificare.net: se deschide sub antet (site.js îi pune --mnav-sus = marginea de jos a antetului),
   iar antetul rămâne deasupra lui și a listei de cursuri, cu logo-ul, căutarea, telefonul și X-ul care îl închide */
.mnav { position: fixed; inset: var(--mnav-sus, 0px) 0 0; z-index: 45; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; animation: fadein .25s var(--ease); }
.mnav-in { display: flex; flex-direction: column; gap: 4px; padding: 10px 20px 40px; min-height: 100%; }
.mnav-big { font-family: var(--font-d); font-size: 28px; font-weight: 650; letter-spacing: -.02em; padding: 8px 0; border-bottom: 1px solid var(--line); }
/* „Cursuri” în meniu: strânsă la început, cu un „+” care arată că se desface (deschisă, „+” se face „×”), ca pe calificare.net;
   deschisă, are căutarea și lista de pe calculator; pe telefon o coloană, pe tabletă câte două sub fiecare titlu, iar de la
   1.000 px cele două feluri de cursuri stau alături, ca pe calculator */
.mnav-cursuri { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mnav-cursuri summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; list-style: none; cursor: pointer; font-family: var(--font-d); font-size: 28px; font-weight: 650; letter-spacing: -.02em; }
.mnav-cursuri summary::-webkit-details-marker { display: none; }
.mnav-plus { position: relative; flex: none; width: 24px; height: 24px; color: var(--g-700); transition: transform .3s var(--ease); }
.mnav-plus::before, .mnav-plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: currentColor; }
.mnav-plus::after { transform: rotate(90deg); }
.mnav-cursuri[open] .mnav-plus { transform: rotate(45deg); }
.mnav-cursuri .mega-cauta { margin: 6px 0 14px; }
.mnav-cursuri .mega-cauta input { height: 52px; background: var(--paper); }
.mnav-cursuri .mega-cols { grid-template-columns: minmax(0, 1fr); gap: 18px 32px; }
.mnav-cursuri .mega-t { padding: 0; }
.mnav-cursuri .mega-list, .mnav-cursuri .mega-specializare .mega-list, .mnav-cursuri .mega-cols.cauti .mega-list { grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
.mnav-cursuri .mi { min-height: 64px; padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.mnav-cursuri .mi:hover { background: none; }
.mnav-cursuri .mi b { font-size: 17px; }
.mnav-cursuri .mi small { font-size: 14px; }
.mnav-cursuri .mi .ic { opacity: 1; transform: none; }
.mnav-cursuri .mi[aria-current="page"] { padding-inline: 12px; border-radius: 12px; border-bottom-color: transparent; }
.mnav-cursuri .mega-gol { padding-inline: 0; }
@media (min-width: 700px) {
  .mnav-cursuri .mega-list, .mnav-cursuri .mega-specializare .mega-list, .mnav-cursuri .mega-cols.cauti .mega-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .mnav-cursuri .mega-cols:not(.cauti) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .mnav-cursuri .mega-cols:not(.cauti) .mega-calificare .mega-list { grid-template-columns: minmax(0, 1fr); }
}
/* telefonul rămâne la vedere cât derulezi lista, pe o bară cu fundalul meniului, până jos; când meniul e scurt (căutare,
   „Cursuri” strânsă), bara stă tot jos pe ecran */
.mnav-in > a:last-of-type { margin-bottom: 14px; }
.mnav-jos { position: sticky; bottom: 0; display: flex; flex-direction: column; margin: auto -20px -40px; padding: 12px 20px max(16px, env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------ căutarea (paletă) */
.pal { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; padding-top: 11vh; }
.pal[hidden] { display: none; }
.pal-bg { position: absolute; inset: 0; background: rgb(13 27 18 / .42); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fadein .2s; }
.pal-box { position: relative; width: min(660px, 100% - 24px); background: var(--paper); border-radius: 22px; box-shadow: var(--sh-3); overflow: hidden; animation: pop .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 64px; border-bottom: 1px solid var(--line); }
.pal-in .ic { color: var(--g-700); }
.pal-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 18px; }
.pal-in input::-webkit-search-cancel-button { display: none; }
.pal-x { border: 0; background: var(--bg); border-radius: 8px; padding: 4px 8px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.pal-rez { max-height: min(54vh, 460px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.pal-g { padding: 10px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pr { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 14px; cursor: pointer; }
.pr[aria-selected="true"] { background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-100); }
.pr img { width: 64px; height: 44px; object-fit: cover; border-radius: 10px; }
.pr b { display: block; font-weight: 650; line-height: 1.3; }
.pr b mark { background: var(--lime); color: inherit; border-radius: 4px; padding: 0 1px; }
.pr small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.pr-p { text-align: right; font-family: var(--font-d); font-weight: 700; white-space: nowrap; }
.pr-p small { font-family: var(--font-b); font-weight: 500; }
.pal-gol { padding: 26px 18px; text-align: center; color: var(--muted); }
.pal-f { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 11px 16px; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 12.5px; color: var(--muted); }
.pal-f span { display: inline-flex; align-items: center; gap: 4px; }
.pal-f span:last-child { margin-left: auto; }
.pal-f a { color: var(--g-700); font-weight: 650; }

/* ------------------------------------------------ prima pagină: hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.hero-bg i:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -180px; background: #d4f29c; }
.hero-bg i:nth-child(2) { width: 520px; height: 520px; right: -120px; top: 40px; background: #bfe4c4; animation-duration: 26s; animation-delay: -6s; }
.hero-bg i:nth-child(3) { width: 420px; height: 420px; left: 38%; bottom: -260px; background: #ffe7b0; opacity: .45; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 30px) scale(1.08); } 100% { transform: translate(-40px, 50px) scale(.96); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgb(13 27 18 / .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px; margin-bottom: 22px; border-radius: 999px; background: rgb(255 255 255 / .75); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--g-800); }
.eyebrow .ic { color: var(--g-700); }
.hero h1 { max-width: 15ch; }
.hero-l { max-width: 54ch; margin: 22px 0 28px; font-size: 18.5px; color: var(--ink-2); }
.hsrch { position: relative; display: flex; align-items: center; gap: 10px; max-width: 580px; height: 66px; padding: 0 9px 0 20px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -22px rgb(13 27 18 / .35); transition: box-shadow .25s; }
.hsrch:focus-within { box-shadow: inset 0 0 0 2px var(--g-600), 0 18px 40px -22px rgb(13 27 18 / .35); }
.hsrch > .ic { color: var(--g-700); width: 22px; height: 22px; }
.hsrch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 17.5px; }
.hsrch input::-webkit-search-cancel-button { display: none; }
.hsrch .btn { height: 48px; border-radius: 14px; }
.hsrch-rez { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; padding: 8px; border-radius: 20px; background: var(--paper); box-shadow: var(--sh-3); max-height: 420px; overflow-y: auto; animation: pop .22s var(--ease); }
.hchips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.hchip { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .8); box-shadow: inset 0 0 0 1px var(--line); font-weight: 550; color: var(--ink-2); transition: box-shadow .2s, background .2s; }
.hchip:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--g-600); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 14.5px; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: var(--g-700); width: 18px; height: 18px; }

/* cărți de curs în teanc, care se rotesc */
.hero-v { position: relative; }
.stack { position: relative; height: 480px; }
.stk { position: absolute; top: 64px; right: 0; width: min(410px, 92%); border-radius: 24px; background: var(--paper); box-shadow: var(--sh-2); overflow: hidden; transform-origin: 50% 100%; transform: translate(calc(var(--i) * -26px), calc(var(--i) * -30px)) rotate(calc(var(--i) * -4deg)) scale(calc(1 - var(--i) * .06)); z-index: calc(10 - var(--i)); transition: transform .9s var(--ease), opacity .6s, box-shadow .4s; }
.stk .stk-b { transition: opacity .6s; }
.stk:not(.front) .stk-b { opacity: .35; }
.stk img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stk-b { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.stk-b .chip { align-self: flex-start; }
.stk-b > b { font-family: var(--font-d); font-size: 23px; letter-spacing: -.02em; line-height: 1.1; }
.stk-r { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.stk-p { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.stk-p small { font-size: 13px; color: var(--muted); }
@media (hover: hover) {
  .stack:hover .stk { transform: translate(calc(var(--i) * -64px), calc(var(--i) * -34px)) rotate(calc(var(--i) * -7deg)) scale(calc(1 - var(--i) * .06)); }
}
.stk.front:hover { box-shadow: var(--sh-3); }
.stk.out { transform: translate(90px, -30px) rotate(8deg) scale(.95); opacity: 0; }
.stk.noanim { transition: none; }
.stack-cap { position: absolute; right: 8px; bottom: 0; margin: 0; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------ secțiuni */
.sec { padding: 64px 0; }
.sec-t { padding-top: 8px; }
.sec-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin-bottom: 30px; }
.sec-h-c { flex-direction: column; align-items: center; text-align: center; }
.sec-cta { display: flex; justify-content: center; margin-top: 34px; }
.sec-cta .ic { width: 18px; height: 18px; }

/* tabla grupelor */
.sec-tg { padding-top: 24px; }
.tg { border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); padding: 6px; }
.tg-r { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) .8fr 1fr 1fr auto; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; border-radius: 18px; animation: rowin .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 45ms); }
.tg-r + .tg-r { box-shadow: 0 -1px 0 var(--line); }
.tg-r:hover { background: var(--g-50); box-shadow: none; }
.tg-r:hover + .tg-r { box-shadow: none; }
.tg-r[hidden], .tg-r.tg-h { display: none; }
@keyframes rowin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tg-c b { display: block; font-weight: 650; font-size: 16.5px; line-height: 1.3; }
.tg-c span { font-size: 13px; color: var(--muted); }
.tg-c:hover b { color: var(--g-700); }
.tg-o { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; }
.tg-o .ic { width: 16px; height: 16px; color: var(--g-700); }
.tg-s, .tg-e { font-weight: 650; font-variant-numeric: tabular-nums; }
.tg-s small, .tg-e small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.tg-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 20px; }
.tg-gol { color: var(--muted); text-align: center; }
.tg-gol a { color: var(--g-700); font-weight: 650; }

/* grila de cursuri */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.cc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-2); }
.cc-img { position: relative; display: block; aspect-ratio: 16 / 9.5; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cc:hover .cc-img img { transform: scale(1.06); }
.cc-img .chip { position: absolute; left: 12px; bottom: 12px; background-color: rgb(255 255 255 / .92); } /* jos, ca pe afișele din catalogul Meta: sus acoperea fețele */
.cc-b { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 15px 17px 17px; }
.cc-r { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; }
.cc-r > span { color: var(--muted); }
.cc-t { font-size: 20px; line-height: 1.15; letter-spacing: -.012em; }
.cc-t a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.cc-m, .cc-n, .cc-sp { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; color: var(--muted); }
.cc-m .ic, .cc-n .ic, .cc-sp .ic { width: 15px; height: 15px; }
.cc-n b { color: var(--ink); }
.cc-sp { color: var(--g-700); font-weight: 600; }
.cc-f { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line-2); }
.cc-f > div { min-width: 0; }
.cc-f .btn { position: relative; z-index: 1; }

/* cum te înscrii */
.sec-pasi { background: var(--paper); border-block: 1px solid var(--line); }
.pasi { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.pasi::before { content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--g-600) 0 8px, transparent 8px 14px); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.pasi.in::before { transform: scaleX(1); }
.pasi li { position: relative; text-align: center; padding: 0 10px; }
.pas-n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--g-600), 0 0 0 8px var(--paper); font-family: var(--font-d); font-weight: 750; font-size: 22px; color: var(--g-700); transition: background .5s, color .5s; }
.pasi.in li:nth-child(1) .pas-n { transition-delay: .2s; }
.pasi.in li:nth-child(2) .pas-n { transition-delay: .8s; }
.pasi.in li:nth-child(3) .pas-n { transition-delay: 1.4s; }
.pasi.in .pas-n { background: var(--g-700); color: #fff; }
.pasi h3 { margin-bottom: 8px; }
.pasi p { color: var(--muted); max-width: 32ch; margin-inline: auto; }

/* plata */
.plata-g { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.plata-g .lead { margin: 14px 0 22px; }
.ex-pret { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; padding: 20px 22px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); max-width: 420px; }
.ex-pret > span:first-child { font-weight: 650; color: var(--muted); font-size: 14px; }
.ex-pret small { color: var(--g-700); font-weight: 600; }
.plati { display: flex; flex-direction: column; gap: 12px; }
.plati li { display: flex; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.plati li > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--g-50); color: var(--g-700); }
.plati b { font-size: 17px; }
.plati p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* certificate + lupă */
.cert-g { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.cert-g .lead { margin: 14px 0 12px; }
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cert { margin: 0; }
.cert figcaption { margin-top: 10px; }
.cert figcaption p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.lupa { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-2); cursor: zoom-in; background: #fff; }
.lupa img { width: 100%; transition: transform .45s var(--ease); }
.lupa-l { position: absolute; z-index: 2; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; pointer-events: none; background-repeat: no-repeat; box-shadow: 0 0 0 4px #fff, 0 16px 36px -10px rgb(13 27 18 / .55); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.lupa.on .lupa-l { opacity: 1; transform: none; }
.lupa.zoom img { transform: scale(2.1); }
.cert-cal .lupa { box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent), var(--sh-2); }
.cert-abs .lupa { box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 35%, transparent), var(--sh-2); }

/* recenzii */
.sec-rev { background: var(--paper); border-block: 1px solid var(--line); }
.rev-g { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.rev-sum h2 { margin-bottom: 14px; }
.rbars { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 16px; max-width: 380px; }
.rb { display: grid; grid-template-columns: 46px 1fr 40px; align-items: center; gap: 10px; min-height: 36px; padding: 3px 6px; margin: 0 -6px; border: 0; background: none; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: left; }
button.rb { cursor: pointer; }
button.rb:hover, button.rb[aria-pressed="true"] { background: var(--g-50); }
.rb > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.rb .st { width: 14px; height: 14px; fill: var(--star); }
.rb > span:last-child { color: var(--muted); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.rb-b { height: 8px; border-radius: 99px; background: #ecefe8; overflow: hidden; }
.rb-b i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #f7c04a, var(--star)); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.in .rb-b i, .rb-b.in i { transform: scaleX(1); }
.revs { display: grid; gap: 14px; }
.revs-2 { grid-template-columns: 1fr 1fr; }
.rev { padding: 18px 20px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); animation: rowin .45s var(--ease) both; }
.sec-rev .rev { background: var(--paper-2); }
.rev header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rev header > div { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; min-width: 0; flex: 1; }
.rev header b { font-weight: 650; }
.rev header .stele { flex: none; }
.av { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--g-100); color: var(--g-700); font-weight: 700; }
.rv-v { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--g-700); }
.rev-d { width: 100%; font-size: 12.5px; color: var(--muted); }
.rev p { color: var(--ink-2); font-size: 15.5px; }
.rev-c { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--g-50); color: var(--g-700); font-size: 12.5px; font-weight: 600; }

/* întrebări */
.faq-g { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-g .lead { margin-top: 14px; }
.faq-g .lead a { color: var(--g-700); font-weight: 650; }
.faqs { display: flex; flex-direction: column; gap: 10px; }
.faq { border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .25s; }
.faq[open] { box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 650; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-i { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .35s var(--ease); }
.faq[open] .faq-i { transform: rotate(180deg); }
.faq-a > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a a { color: var(--g-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* banda finală */
.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 44px 48px; border-radius: 30px; background: radial-gradient(120% 140% at 0% 0%, #1e7c47 0%, var(--g-900) 60%); color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgb(195 236 122 / .35), transparent 65%); }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 10px; color: #cfe5cf; max-width: 52ch; }
.cta-band-a { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* subsol */
.ftr { margin-top: 30px; padding: 56px 0 28px; background: var(--g-900); color: #cfe0cf; font-size: 14.5px; }
.ftr-g { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
.ftr-b img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.ftr h2 { font-family: var(--font-b); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.ftr a { display: block; padding: 3px 0; color: #e5f0e3; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr-tel a { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ftr-tel .ic { width: 17px; height: 17px; color: var(--lime); }
.ftr-sedii li { margin-bottom: 10px; line-height: 1.45; }
.ftr-sedii b { display: block; color: #fff; }
.ftr-sedii span { display: block; font-size: 13px; color: #9fbca3; }
.ftr-jos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 13px; color: #9fbca3; }
.ftr-jos p { margin: 0; }
.ftr-anpc { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr-anpc a { display: inline-block; padding: 7px 12px; border-radius: 10px; background: rgb(255 255 255 / .08); font-size: 12.5px; font-weight: 600; }
.pay { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 7px; background: #fff; color: #1d2b22; font-size: 12px; font-weight: 750; letter-spacing: .01em; box-shadow: inset 0 0 0 1px var(--line); }
.logo-np { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px; background: #fff; color: #2a3d8f; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ftr-min { padding: 22px 0; margin-top: 0; text-align: center; font-size: 13.5px; }
.ftr-min a { display: inline; }

/* ------------------------------------------------ catalog */
.pg-h { padding: 26px 0 26px; }
.pg-h h1 { font-size: clamp(32px, 4.4vw, 52px); }
.pg-h .lead { margin-top: 10px; }
.pg-h-r { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 18px; font-size: 14px; color: var(--muted); }
.bc a:hover { color: var(--g-700); }
.bc .ic { width: 14px; height: 14px; opacity: .6; }
.bc span { color: var(--ink-2); }
.flt { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.flt-r { display: flex; flex-wrap: wrap; gap: 10px; }
.fld-s { position: relative; display: flex; align-items: center; flex: 1 1 240px; height: 46px; padding: 0 14px; gap: 8px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.fld-s:focus-within { box-shadow: inset 0 0 0 2px var(--g-600); }
.fld-s .ic { color: var(--muted); width: 18px; height: 18px; }
.fld-s input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%; }
.sel { position: relative; display: inline-flex; align-items: center; }
.sel select { appearance: none; -webkit-appearance: none; height: 46px; padding: 0 40px 0 14px; border: 0; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 550; cursor: pointer; }
.sel select:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--g-600); }
.sel .ic { position: absolute; right: 14px; pointer-events: none; color: var(--muted); }
.flt-n { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.gol { padding: 50px 20px; text-align: center; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.gol b { display: block; font-family: var(--font-d); font-size: 20px; }
.gol p { margin: 6px 0 0; color: var(--muted); }
.gol-a { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* ------------------------------------------------ pagina cursului */
.curs { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 48px; align-items: start; }
.ch-img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.ch-img img { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.ch-img .chip { position: absolute; left: 16px; bottom: 16px; background-color: rgb(255 255 255 / .94); height: 30px; font-size: 13.5px; padding: 0 12px; }
.ch h1 { margin: 26px 0 12px; font-size: clamp(32px, 4.4vw, 52px); }
.ch-r { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.ch-r:hover { color: var(--g-700); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.meta li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 550; color: var(--ink-2); }
.meta .ic { width: 17px; height: 17px; color: var(--g-700); }
.meta-sp { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 14px; font-weight: 650; color: var(--g-700); }
.meta-sp .ic { width: 17px; height: 17px; }
.ch-buy { display: none; }

.snav { position: sticky; top: var(--hdr); z-index: 30; margin: 30px 0 6px; background: rgb(245 246 240 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.snav-in { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.snav-in::-webkit-scrollbar { display: none; }
.snav a { flex: none; padding: 14px 12px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .2s; }
.snav a:hover, .snav a.on { color: var(--ink); }
.snav-ind { position: absolute; bottom: 0; left: 0; height: 3px; width: 0; border-radius: 3px 3px 0 0; background: var(--g-700); transition: transform .45s var(--ease), width .45s var(--ease); }

.cs { padding: 38px 0 6px; }
.cs h2 { font-size: clamp(25px, 2.6vw, 32px); margin-bottom: 16px; }
.cs > p, .cs > div > p { color: var(--ink-2); }
.cs .lead { color: var(--ink); font-weight: 550; }
.chk { display: grid; gap: 10px; }
.chk-2 { grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.chk li { display: flex; gap: 10px; align-items: flex-start; }
.chk li .ic { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--g-100); color: var(--g-700); stroke-width: 3; }
.more { margin-top: 18px; }
.more summary { cursor: pointer; font-weight: 650; color: var(--g-700); }
.comp { margin-top: 12px; padding-left: 22px; list-style: decimal; color: var(--ink-2); columns: 2; column-gap: 28px; }
.comp li { padding: 3px 0; break-inside: avoid; }

/* grupe (carduri de tip radio) */
.grps { display: grid; gap: 10px; margin: 18px 0 18px; }
.grp { position: relative; display: block; padding: 16px 18px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .25s, background .25s, transform .25s var(--ease); }
.grp:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); }
.grp input { position: absolute; opacity: 0; pointer-events: none; }
.grp:has(input:checked) { background: var(--g-50); box-shadow: inset 0 0 0 2px var(--g-600), var(--sh-1); }
.grp:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--g-600) 45%, transparent); outline-offset: 2px; }
.grp-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.grp-h b { font-family: var(--font-d); font-size: 20px; letter-spacing: -.015em; margin-right: 2px; }
.grp-radio { width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); background: #fff; transition: box-shadow .25s; }
.grp:has(input:checked) .grp-radio { box-shadow: inset 0 0 0 6px var(--g-700); }
.grp-d { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0 30px; font-size: 14.5px; color: var(--ink-2); }
.grp-d span { display: inline-flex; align-items: center; gap: 6px; }
.grp-d .ic { width: 16px; height: 16px; color: var(--g-700); }
.grp-d .grp-o { flex: 1 1 100%; align-items: flex-start; }
.grp-d .grp-o .ic { flex: none; margin-top: 3px; }
.grp[data-status="ocupat"] .grp-h b { color: var(--muted); }
.grp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.grp-cta .muted { flex: 1 1 260px; font-size: 14.5px; }

/* taburi */
.tabs-l { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tabs-l::-webkit-scrollbar { display: none; }
.tabs-l button { position: relative; z-index: 1; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 16px; border: 0; background: none; border-radius: 12px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .3s; }
.tabs-l button[aria-selected="true"] { color: var(--g-800); }
.tabs-ind { position: absolute; z-index: 0; top: 4px; left: 0; height: 44px; width: 0; border-radius: 12px; background: var(--g-100); transition: transform .45s var(--ease), width .45s var(--ease); }
.tab-p { padding: 20px 4px 4px; color: var(--ink-2); animation: rowin .4s var(--ease); }

.tbl { width: 100%; max-width: 440px; margin: 16px 0 18px; border-collapse: separate; border-spacing: 0; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); font-size: 14.5px; }
.tbl caption { text-align: left; padding-bottom: 8px; font-weight: 600; color: var(--muted); font-size: 14px; }
.tbl th, .tbl td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--paper-2); font-weight: 650; }
.tbl tr:last-child td { border-bottom: 0; }

.cs-cert { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.cs-cert figcaption { font-size: 13.5px; }

.rev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 26px 44px; margin-bottom: 22px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.rev-big { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rev-big b { font-family: var(--font-d); font-size: 54px; line-height: 1; letter-spacing: -.03em; }
.rev-big > span { color: var(--muted); font-size: 14px; }
.rev-top .rbars { flex: 1 1 280px; margin: 0; }
.rev-flt { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.rev-flt button { border: 0; background: none; color: var(--g-700); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rev-more { display: flex; justify-content: center; margin-top: 18px; }

/* caseta de preț (fără oraș și fără data grupei) */
.curs-a { position: sticky; top: calc(var(--hdr) + 18px); }
.pc { padding: 20px; border-radius: 26px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.pc-pret { margin: 20px 0 2px; }
.pc-cap { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--g-700); min-height: 21px; }
html[data-plata="rate"] .pc-cap { color: var(--muted); }
.pc-inc { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; margin-bottom: 18px; border-block: 1px dashed var(--line-2); font-size: 14.5px; color: var(--ink-2); }
.pc-inc li { display: flex; gap: 9px; align-items: flex-start; }
.pc-inc .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--g-700); stroke-width: 2.6; }
.pc-btn { width: 100%; }
.pc-sub { margin: 10px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.pc-tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.pc-tel .ic { width: 17px; height: 17px; color: var(--g-700); }
.pc-tel:hover { background: var(--g-50); }
.pc-val { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

.sec-alte { padding-top: 40px; }
.mbar { display: none; }

/* ------------------------------------------------ înscriere */
.p-co { background: var(--bg); }
.co { padding: 26px 0 60px; }
.co-g { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 44px; align-items: start; }
.co-t { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; padding-bottom: 14px; }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.steps-n { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14px; font-weight: 700; transition: background .4s, color .4s, box-shadow .4s; }
.steps li.on { color: var(--ink); }
.steps li.on .steps-n { background: var(--g-700); color: #fff; box-shadow: none; }
.steps li.done { color: var(--g-700); cursor: pointer; }
.steps li.done .steps-n { background: var(--g-100); color: var(--g-700); box-shadow: none; }
.steps-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: 33.4%; border-radius: inherit; background: linear-gradient(90deg, var(--g-600), var(--leaf)); transition: width .6s var(--ease); }
.co-f { border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); padding: 26px; }
.st { border: 0; margin: 0; padding: 0; min-width: 0; animation: rowin .45s var(--ease); }
.co-h { font-size: 21px; margin: 0 0 14px; }
.co-h ~ .co-h { margin-top: 28px; }
.co-curs { margin-bottom: 18px; }
.opts { display: grid; gap: 10px; }
.opts-2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .25s, background .25s; }
.opt:hover { box-shadow: inset 0 0 0 1px var(--g-600); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { background: var(--g-50); box-shadow: inset 0 0 0 2px var(--g-600); }
.opt:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--g-600) 45%, transparent); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.opt-r { width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow .25s; }
.opt:has(input:checked) .opt-r { box-shadow: inset 0 0 0 6px var(--g-700); }
.opt-ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--g-50); color: var(--g-700); }
.opt-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.opt-b b { font-size: 16px; }
.opt-b > span { font-family: var(--font-d); font-weight: 700; font-size: 20px; letter-spacing: -.015em; }
.opt-b small { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.opt-tag { align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: var(--g-100); color: var(--g-700); font-size: 12px; font-weight: 700; white-space: nowrap; }
.opt-g b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pays { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.addon { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .25s, background .25s; }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon:has(input:checked) { background: var(--g-50); box-shadow: inset 0 0 0 2px var(--g-600); }
.addon:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--g-600) 45%, transparent); outline-offset: 2px; }
.addon-sw { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: var(--line-2); transition: background .3s; }
.addon-sw i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .35s var(--ease); }
.addon:has(input:checked) .addon-sw { background: var(--g-700); }
.addon:has(input:checked) .addon-sw i { transform: translateX(18px); }
.addon-b { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.addon-b small { color: var(--muted); font-size: 13.5px; }
.addon-p { font-family: var(--font-d); font-weight: 700; white-space: nowrap; }
.addon-s { margin-top: 6px; padding: 12px 14px; }
[data-firma-f] { margin-top: 14px; }
.co-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.co-nav .btn-lg:only-child { margin-left: auto; }
.co-note { margin: 12px 0 0; text-align: right; font-size: 14px; color: var(--g-700); font-weight: 600; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fld > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fld input, .fld select { height: 50px; padding: 0 14px; border: 0; border-radius: 13px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; transition: box-shadow .2s; }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6a60' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.fld input:focus, .fld select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--g-600); }
.fld.err input, .fld.err select { box-shadow: inset 0 0 0 2px var(--red); background: var(--red-bg); }
.fld.ok input { box-shadow: inset 0 0 0 1px var(--g-600); }
.fld-e { color: var(--red); font-size: 13.5px; font-weight: 550; }
.sug { font-size: 13.5px; color: var(--ink-2); }
.sug button { border: 0; background: none; padding: 0; color: var(--g-700); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chk1 { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: flex-start; margin-top: 16px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.chk1 > span { flex: 1; min-width: 0; }
.chk1 .fld-e { flex-basis: 100%; padding-left: 32px; }
.chk1 input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--g-700); }
.chk1 a { color: var(--g-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.chk1.err { color: var(--red); }

.co-s { position: sticky; top: calc(var(--hdr) + 18px); }
.sum { border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); overflow: hidden; }
.sum summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-weight: 700; font-family: var(--font-d); font-size: 18px; list-style: none; cursor: default; border-bottom: 1px solid var(--line); }
.sum summary::-webkit-details-marker { display: none; }
.sum-tot-s, .sum-i { display: none; }
.p-co, .p-ty { display: flex; flex-direction: column; min-height: 100vh; }
.p-co main, .p-ty main { flex: 1 0 auto; }
.sum-in { padding: 18px 20px 20px; }
.sum-gol { margin: 0 0 14px; padding: 14px; border-radius: 14px; background: var(--g-50); color: var(--ink-2); font-size: 15px; }
.sum-c { display: flex; gap: 14px; align-items: center; }
.sum-c img { width: 92px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.sum-c > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.sum-c b { font-family: var(--font-d); font-size: 18px; line-height: 1.15; letter-spacing: -.015em; }
.sum-c .muted { font-size: 13.5px; }
.sum-l { margin: 18px 0 0; }
.sum-l > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.sum-l dt { color: var(--muted); }
.sum-l dd { margin: 0; text-align: right; font-weight: 600; }
.sum-tot { margin-top: 6px; padding-top: 14px !important; border-top: 1px solid var(--line); }
.sum-tot dt { color: var(--ink) !important; font-weight: 700; }
.sum-tot dd { font-family: var(--font-d); font-size: 26px; font-weight: 750; letter-spacing: -.02em; }
.sum-plan { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); text-align: right; }
.sum-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.sum-trust li { display: flex; gap: 8px; align-items: center; }
.sum-trust .ic { width: 16px; height: 16px; color: var(--g-700); }

.np { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgb(13 27 18 / .5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fadein .2s; }
.np[hidden] { display: none; }
.np-box { width: min(440px, 100%); padding: 30px; border-radius: 24px; background: var(--paper); box-shadow: var(--sh-3); text-align: center; animation: pop .3s var(--ease); }
.np-box > div > b { display: block; font-size: 18px; margin-bottom: 8px; }
.np-box .logo-np { display: inline-flex; margin-bottom: 14px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; height: 32px; }
.np-a { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.spin { display: block; width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; border: 4px solid var(--g-100); border-top-color: var(--g-700); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ------------------------------------------------ mulțumim */
.ty { padding: 40px 0 70px; }
.ty-in { max-width: 920px; text-align: center; }
.ty-ok { display: grid; place-items: center; margin-bottom: 18px; }
.ty-ic { width: 76px; height: 76px; }
.ty-ic circle { fill: var(--g-100); stroke: var(--g-600); stroke-width: 2; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .8s var(--ease) forwards; }
.ty-ic path { fill: none; stroke: var(--g-700); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty h1 { font-size: clamp(30px, 4vw, 46px); max-width: 22ch; margin: 0 auto 14px; }
.ty .lead { max-width: 60ch; margin: 0 auto 28px; }
.ty-box { text-align: left; padding: 24px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); margin-bottom: 18px; }
.ty-box h2 { font-size: 21px; margin-bottom: 14px; }
.ty-g { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.ty-pasi { counter-reset: p; display: flex; flex-direction: column; gap: 16px; }
.ty-pasi li { position: relative; display: flex; gap: 14px; }
.ty-pasi li::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--g-100); color: var(--g-700); font-weight: 700; font-size: 14px; }
.ty-pasi b { display: block; }
.ty-pasi p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.ty-bank > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ty-bank dt { color: var(--muted); }
.ty-bank dd { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 650; font-variant-numeric: tabular-nums; }
.cp { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 88px; min-height: 36px; padding: 5px 10px; border: 0; border-radius: 9px; background: var(--g-50); color: var(--g-700); font-size: 13px; font-weight: 650; cursor: pointer; }
.cp.ok { background: var(--g-700); color: #fff; }
.ty-a { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.ty-nr { margin-top: 18px; font-size: 13.5px; }

/* ------------------------------------------------ pagini simple */
.prose { max-width: 820px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 1.2em; }
.prose ol li { margin-bottom: 6px; }
.prose a:not(.btn) { color: var(--g-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stats div { padding: 20px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.stats b { display: block; font-family: var(--font-d); font-size: 40px; letter-spacing: -.03em; color: var(--g-700); }
.stats span { color: var(--muted); }
.certs-pg { margin-bottom: 26px; }
.contact-top { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.contact-top .btn { text-decoration: none; }
.sedii { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sediu { padding: 22px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.sediu h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; margin-bottom: 10px; }
.sediu h2 .ic { color: var(--g-700); }
.sediu a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* ------------------------------------------------ insigna „Prototip” */
.proto { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; }
.proto-b { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: #1b2a20; color: #fff; font-size: 13px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .5); }
.proto-b .ic { color: var(--lime); }
.proto-p { position: absolute; left: 0; bottom: 44px; width: min(340px, calc(100vw - 32px)); padding: 16px; border-radius: 18px; background: #1b2a20; color: #d9e8d6; font-size: 13.5px; box-shadow: var(--sh-3); animation: pop .22s var(--ease); }
.proto-p b { display: block; color: #fff; margin-bottom: 6px; }
.proto-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.proto-a a, .proto-a button { padding: 7px 10px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .1); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }

/* ------------------------------------------------ apariții la derulare */
.js .rv { opacity: 0; transform: translateY(14px); filter: blur(7px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ------------------------------------------------ ecrane mai mici */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: grid; }
}
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg-r { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) .8fr .9fr auto; }
  .tg-cd { display: none; }
}
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-in { position: relative; justify-content: center; }
  .bar-in span { position: absolute; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); white-space: nowrap; }
  .bar-in span.on { opacity: 1; transform: none; }
  .no-js .bar-in span:first-child { position: static; opacity: 1; transform: none; }
  .hero { padding: 34px 0 48px; }
  .hero-in, .plata-g, .cert-g, .rev-g, .faq-g { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-v { order: 2; }
  .stack { height: 410px; max-width: 470px; margin-inline: auto; }
  .stack-cap { left: 0; right: 0; text-align: center; }
  .curs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .curs-a { display: none; }
  .ch-buy { display: block; margin-top: 22px; padding: 18px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
  .ch-buy .pc-pret { margin-top: 16px; }
  .ch-buy .btn { width: 100%; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgb(13 27 18 / .35); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mbar.show { transform: none; }
  .mbar-p { display: flex; flex-direction: column; line-height: 1.1; }
  .mbar-p small { font-size: 12.5px; color: var(--muted); }
  .mbar .btn { flex: 0 0 auto; min-width: 150px; height: 50px; }
  .p-curs.mbar-on .proto { bottom: calc(86px + env(safe-area-inset-bottom)); }
  /* subsolul se termină deasupra barei „Mă înscriu” (70 px); spațiul stă mereu, ca pagina să nu sară când apare bara */
  .p-curs .ftr { padding-bottom: calc(98px + env(safe-area-inset-bottom)); }
  .proto-b { height: 30px; padding: 0 10px; gap: 5px; font-size: 12px; }
  .cs-cert { grid-template-columns: minmax(0, 1fr); }
  .co-g { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .co-s { position: static; order: -1; }
  .sum summary { cursor: pointer; border-bottom: 0; }
  .sum[open] summary { border-bottom: 1px solid var(--line); }
  .sum-tot-s { display: inline-flex; align-items: baseline; gap: 4px; margin-left: auto; font-size: 17px; }
  .sum-i { display: block; transition: transform .3s; }
  .sum[open] .sum-i { transform: rotate(180deg); }
  .ftr-g { grid-template-columns: 1fr 1fr; }
  .ty-g { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --hdr: 60px; }
  .wrap { width: min(1220px, 100% - 32px); }
  .bar-l { display: none; }
  .bar-s { display: inline; }
  .logo img, .logo svg { height: 32px; }
  .srch-btn { min-width: 0; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .srch-btn span, .srch-btn kbd { display: none; }
  .hdr-tel { width: 44px; height: 44px; padding: 0; justify-content: center; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--paper); }
  .hdr-tel span { display: none; }
  .hdr-draft { display: none !important; }
  .hdr-in { gap: 8px; }
  .hdr-act { gap: 6px; }
  .hdr-min .hdr-sec { display: none; }
  .hdr-back { min-width: 40px; min-height: 44px; }
  .hdr-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr-back .ic { width: 24px; height: 24px; }
  .hero-l { font-size: 17px; margin: 16px 0 22px; }
  .hsrch { height: 58px; padding-left: 16px; border-radius: 18px; }
  .hsrch input { font-size: 16px; }
  .hsrch .btn { display: none; }
  .hchips > span { width: 100%; }
  .stack { height: 380px; }
  .stk { width: 86%; }
  .stk-b > b { font-size: 20px; }
  .sec { padding: 46px 0; }
  .sec-h { margin-bottom: 22px; }
  .seg-o { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg-o::-webkit-scrollbar { display: none; }
  .tg { padding: 4px; }
  .tg-r { position: relative; grid-template-columns: 1fr auto; grid-template-areas: "c b" "o s" "x x"; gap: 4px 12px; padding: 14px; }
  .tg-c { grid-area: c; }
  .tg-c::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .tg-o { grid-area: o; font-size: 14px; }
  .tg-s { grid-area: s; font-size: 14px; text-align: right; }
  .tg-s small { display: inline; margin-right: 4px; font-size: 13px; }
  .tg-e { grid-area: x; display: flex; align-items: center; gap: 8px; font-size: 14px; }
  .tg-e small { display: inline; font-size: 13px; }
  .tg-cd { display: block; grid-area: b; align-self: start; justify-self: end; }
  .tg-r > .btn { display: none; }
  .grid, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pasi { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pasi::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--g-600) 0 8px, transparent 8px 14px); transform: scaleY(0); transform-origin: top; }
  .pasi.in::before { transform: scaleY(1); }
  .pasi li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .pas-n { grid-row: span 2; margin: 0; }
  .pasi p { margin: 0; }
  .certs { gap: 12px; }
  .revs-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-sw, .revs-sw { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .grid-sw::-webkit-scrollbar, .revs-sw::-webkit-scrollbar { display: none; }
  .grid-sw > * { flex: 0 0 84%; scroll-snap-align: start; }
  .revs-sw > * { flex: 0 0 86%; scroll-snap-align: start; }
  .cta-band { padding: 30px 24px; border-radius: 24px; }
  .cta-band-a, .cta-band-a .btn { width: 100%; }
  .ftr-g { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .ftr-b, .ftr-g > div:last-child { grid-column: 1 / -1; }
  .chk-2 { grid-template-columns: minmax(0, 1fr); }
  .tabs-l button { flex: 1 1 0; padding: 0 6px; font-size: 14.5px; }
  .tabs-l button .ic { display: none; }
  .comp { columns: 1; }
  .grp-d { margin-left: 0; }
  .co-f { padding: 18px; border-radius: 22px; }
  .steps-t { font-size: 13.5px; }
  .opts-2, .f2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .f2 { gap: 0; }
  .opt-tag { display: none; }
  .co-nav { flex-direction: column-reverse; align-items: stretch; }
  .co-nav .btn { width: 100%; }
  .co-note { text-align: center; }
  .sedii, .stats { grid-template-columns: minmax(0, 1fr); }
  .flt-r .sel { flex: 1 1 45%; }
  .flt-r .sel select { width: 100%; }
  .pc-pret .pret-xxl { font-size: 48px; }
  .proto { left: 12px; bottom: 12px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .grid-3 > :nth-child(n+3) { display: none; }
}
@media (max-width: 560px) {
  .certs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .steps li:not(.on) .steps-t { display: none; }
}
@media (max-width: 374px) {
  .logo img, .logo svg { height: 30px; }
}
/* indicații diferite pentru mouse și pentru deget */
.h-touch { display: none; }
@media (hover: none) {
  .h-mouse { display: none; }
  .h-touch { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; filter: none; }
  .hero-bg i { animation: none; }
}
