/* ==========================================================================
   INGENIO – Meditatii Drept
   Design system extras din Figma (canvas "Meditatii Drept")
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Culori */
  --ink: #09090b;
  --ink-2: #52525b;
  --ink-3: #a1a1aa;
  --line: #e4e4e7;
  --neutral: #f4f4f5;

  --brand: #823268;
  --brand-2: #9c3a7e;
  --brand-3: #b74b99;
  --brand-deep: #4e1a3d;
  --brand-dark: #3d0b2c;
  --brand-dark-2: #6d2e58;

  --pink-50: #fbf4fa;
  --pink-100: #f8ebf6;
  --pink-200: #f2d8ee;
  --pink-300: #e9b8e1;
  --pink-400: #da8ccb;

  --green: #16a34a;
  --white: #fff;

  /* Radii */
  --r-12: 12px;
  --r-16: 16px;
  --r-24: 24px;
  --r-32: 32px;
  --r-40: 40px;

  /* Layout */
  --gutter: 120px;
  --maxw: 1200px;

  /* Umbre */
  --shadow-form: 0 16px 96px -12px rgba(78, 26, 61, 0.3);
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, 0.06);
  --shadow-md: 0 8px 32px -8px rgba(78, 26, 61, 0.18);

  /* Gradient recurent pe carduri */
  --grad-card: radial-gradient(ellipse 910px 800px at 125% 115%, #f4dcf0 0%, #faf0f8 100%);
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" 1;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p { margin: 0; }

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

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

/* Ancorele (#cursuri, #inscriere…) nu se ascund sub header-ul sticky */
[id] { scroll-margin-top: 88px; }

/* Link „sari la conținut” (vizibil doar la focus din tastatură) */
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-12);
  background: var(--brand); color: var(--white); font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografie ---------- */
.h1 {
  font-size: 56px; line-height: 64px; letter-spacing: -1.5px; font-weight: 600;
}
.h2 {
  font-size: 40px; line-height: 48px; letter-spacing: -1px; font-weight: 600;
}
.h3 {
  font-size: 32px; line-height: 40px; letter-spacing: -0.5px; font-weight: 600;
}
.h4 {
  font-size: 28px; line-height: 36px; letter-spacing: -0.5px; font-weight: 600;
}
.lead {
  font-size: 20px; line-height: 28px; letter-spacing: -0.2px; color: var(--ink-2);
}
.small { font-size: 14px; line-height: 20px; }

/* ---------- Layout ---------- */
.section {
  padding: 100px var(--gutter);
}
.inner { max-width: var(--maxw); margin: 0 auto; }
.stack-24 > * + * { margin-top: 24px; }

.section-head {
  max-width: 588px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-head.center { margin: 0 auto; text-align: center; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; min-height: 44px;
  border: 0; border-radius: var(--r-12);
  font-size: 16px; line-height: 24px; font-weight: 600;
  cursor: pointer;
  /* Figma: hover = Dissolve 0.15s Ease Out (fara transform) */
  transition: background-color 0.15s ease-out, color 0.15s ease-out,
              border-color 0.15s ease-out, opacity 0.15s ease-out;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { opacity: 0.85; }

.btn--solid { background: var(--brand); color: var(--pink-50); }
.btn--solid:hover { background: var(--brand-deep); }

.btn--light { background: var(--pink-100); color: var(--brand-deep); font-weight: 500; }
.btn--light:hover { background: var(--pink-200); }

.btn--ghost {
  background: transparent; color: var(--ink); font-weight: 500;
}
.btn--ghost:hover { background: var(--neutral); }

.btn--lg { padding: 14px 24px; min-height: 52px; }
.btn--icon { padding: 10px; width: 44px; min-height: 44px; justify-content: center; }
.btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  height: 80px;
  display: flex; align-items: center;
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 20px -12px rgba(9,9,11,.25); }
.header__inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo svg { height: 36px; width: auto; color: var(--brand); }
.footer .logo svg { height: 41px; color: var(--pink-200); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: var(--r-12);
  font-size: 16px; font-weight: 500; color: var(--ink);
  transition: background-color 0.16s ease, color 0.16s ease;
}
.nav a:hover { background: var(--pink-100); color: var(--brand); }
.header__cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--pink-100); border: 0; border-radius: var(--r-12);
  color: var(--brand-deep); cursor: pointer;
}

/* Meniu mobil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  display: none;
  flex-direction: column;
  padding: 20px 16px 32px;
  background: var(--white);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__links a {
  padding: 14px 12px; border-radius: var(--r-12);
  font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.4px;
}
.mobile-menu__links a:hover { background: var(--pink-100); color: var(--brand); }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 80px var(--gutter) 0;
  overflow: hidden;
}
.hero__wrap { display: flex; flex-direction: column; gap: 64px; align-items: center; }
.hero__text { max-width: 588px; text-align: center; display: flex; flex-direction: column; gap: 24px; }

/* Colaj foto */
.collage {
  display: flex; flex-direction: column; gap: 12px;
  /* full-bleed fără 100vw (100vw include scrollbar-ul pe Windows => scroll orizontal) */
  width: auto; align-self: stretch;
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
}
.collage__row {
  display: flex; gap: 12px;
  width: max-content;
  animation: marquee-l 70s linear infinite;
}
.collage__row--rtl { animation-name: marquee-r; animation-duration: 84s; }
.collage__viewport { overflow: hidden; }
.collage__card {
  flex: none; height: 248px; border-radius: var(--r-16);
  background: var(--brand-deep); overflow: hidden;
}
.collage__card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee-l {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-r {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .collage__row { animation: none; }
}

/* Blocul întunecat "Admiterea mai simplă" */
.why {
  position: relative;
  z-index: 2;
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
  /* Figma "Why us": 1440x1252, padding 140/120/240/120, fill #3D0B2C + glow radial */
  padding: 140px var(--gutter) 200px;
  background:
    radial-gradient(74% 56% at 50% 72%, rgba(233, 184, 225, 0.5) 0%, rgba(233, 184, 225, 0) 68%),
    #3d0b2c;
  background-blend-mode: overlay, normal;
  text-align: center;
}
.why__head { max-width: 588px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.why__head .h2 { color: var(--white); }
.why__head p { color: var(--pink-200); font-size: 20px; line-height: 28px; letter-spacing: -0.2px; }

.stats {
  width: 100%; max-width: 1000px; margin: 80px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats__item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 12px;
  border-left: 1px solid rgba(233, 184, 225, 0.22);
}
.stats__item:first-child { border-left: 0; }
.stats__num {
  font-size: 56px; line-height: 64px; letter-spacing: -1.5px;
  font-weight: 700; color: var(--white);
}
.stats__lbl {
  text-wrap: balance;
  font-size: 16px; line-height: 24px;
  font-weight: 500; color: var(--pink-300);
}

/* ==========================================================================
   Methodology
   ========================================================================== */
.method__cards { display: flex; flex-direction: column; gap: 16px; margin-top: 64px; }
.method-card {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 40px; border-radius: var(--r-40);
  background: var(--pink-100);
  /* Figma: radial #E9B8E1 -> #F8EBF6 at 40% opacity over #F8EBF6, circle r800 @ (105%,125%) */
  background-image: radial-gradient(circle 800px at 105% 125%, #f2d7ee 0%, #f8ebf6 100%);
}
.method-card__num {
  flex: none; width: 242px;
  font-size: 72px; line-height: 80px; letter-spacing: -1.5px;
  font-weight: 600; color: var(--brand);
}
.method-card__body { flex: 1 1 486px; display: flex; flex-direction: column; gap: 16px; max-width: 486px; }
.method-card__body .h4 { font-size: 32px; line-height: 40px; letter-spacing: -0.5px; }
.method-card__body p { color: var(--brand); }
.method-card__illo {
  flex: none; width: 344px; height: 224px;
  display: grid; place-items: center end;
}
.method-card__illo img { max-height: 224px; width: auto; mix-blend-mode: multiply; }

/* ==========================================================================
   Features
   ========================================================================== */
.features__top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.features__top .section-head { text-align: left; margin: 0; }
.features__arrows { display: flex; gap: 8px; flex: none; }
.features__arrows .btn { width: 44px; height: 44px; padding: 0; border-radius: 12px; }
/* Figma: ambele sageti au fill #823268; cea inactiva la 55% opacitate */
.features__arrows .btn { background: var(--brand); color: var(--pink-50); }
.features__arrows .btn:hover { background: var(--brand-deep); }
/* săgeată inactivă (început / sfârșit de listă) */
.features__arrows .btn.is-disabled { opacity: 0.4; cursor: default; pointer-events: none; }
/* Carusel orizontal — Figma: Grid overflowDirection HORIZONTAL_SCROLLING, itemSpacing 16 */
.features__grid {
  display: flex; gap: 16px;
  margin-top: 64px;
  margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}
.features__grid::-webkit-scrollbar { display: none; }
.feature-card {
  flex: 0 0 400px; scroll-snap-align: start;
  padding: 40px; border-radius: var(--r-40); background: var(--pink-100);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.feature-card__illo {
  width: 320px; height: 320px; border-radius: var(--r-16);
  display: grid; place-items: center; flex: none;
}
.feature-card__illo svg { width: 180px; height: 180px; }
.feature-card__text { display: flex; flex-direction: column; gap: 16px; width: 320px; }
.feature-card .h4 { font-size: 28px; line-height: 36px; letter-spacing: -0.5px; }
.feature-card p { color: var(--brand); font-size: 16px; line-height: 24px; letter-spacing: 0; }

/* Mobil — Figma 1696:10955: cards 306x454, radius 32, padding 24, gap 12 */
@media (max-width: 600px) {
  .features__grid { gap: 12px; margin-top: 40px; }
  .feature-card { flex: 0 0 306px; padding: 24px; border-radius: var(--r-32); }
  .feature-card__illo { width: 238px; height: 238px; border-radius: 12px; }
  .feature-card__illo svg { width: 148px; height: 148px; }
  .feature-card__text { width: 258px; gap: 8px; }
  .feature-card .h4 { font-size: 24px; line-height: 32px; letter-spacing: -0.2px; }
}

/* ==========================================================================
   Subjects
   ========================================================================== */
.subjects__body {
  display: grid; grid-template-columns: 486px 1fr; gap: 64px; align-items: center;
  margin-top: 64px;
}
.subject-list { display: flex; flex-direction: column; gap: 16px; }
.subject {
  display: flex; gap: 32px; align-items: stretch;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
}
.subject__loader {
  flex: none; width: 4px; border-radius: 4px; background: var(--pink-200);
  position: relative; overflow: hidden;
}
.subject__loader i {
  position: absolute; left: 0; top: 0; width: 4px; height: 0;
  border-radius: 4px; background: var(--brand-3);
  transition: height .3s ease;
}
.subject.is-active .subject__loader i { animation: subj-load 6s linear forwards; }
@keyframes subj-load { from { height: 0; } to { height: 100%; } }
.subject__text { padding: 16px 0; display: flex; flex-direction: column; gap: 16px; }
.subject__text h3 { transition: color .2s ease; }
.subject.is-active .subject__text h3 { color: var(--brand-3); }
.subject__text p { color: var(--ink-2); }
.subjects__media {
  border-radius: var(--r-40); overflow: hidden; background: var(--pink-100);
  aspect-ratio: 588 / 760;
}
.subjects__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Testimoniale
   ========================================================================== */
.testimonials {
  background: var(--brand-dark);
  padding: 160px var(--gutter) 200px;
  color: var(--white);
}
.testimonials .section-head { margin: 0 auto; text-align: center; }
.testimonials .section-head .h2 { color: var(--white); }
.testimonials .section-head p { color: var(--pink-200); }
.reviews {
  position: relative;
  margin-top: 64px;
  max-height: 1328px; overflow: hidden;
}
.reviews__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  align-items: start;
}
.reviews__col { display: flex; flex-direction: column; gap: 16px; }
.review {
  padding: 32px; border-radius: var(--r-32);
  background: var(--brand-deep);
  display: flex; flex-direction: column; gap: 16px;
}
.review__head { display: flex; align-items: center; gap: 16px; }
.review__avatars { display: flex; }
.review__avatars img,
.review__avatars .review__ph {
  width: 48px; height: 48px; border-radius: 24px;
  border: 1px solid var(--brand-dark-2); object-fit: cover;
  background: var(--brand-dark-2);
}
.review__avatars > * + * { margin-left: -14px; }
.review__ph {
  display: grid; place-items: center;
  color: var(--pink-300); font-weight: 600; font-size: 16px;
}
.review__name { color: var(--pink-400); font-weight: 600; }
.review p { color: var(--pink-100); }
.reviews__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 320px;
  background: linear-gradient(180deg, rgba(61, 11, 44, 0) 0%, #3d0b2c 82%);
  pointer-events: none;
}
.testimonials__cta { display: flex; justify-content: center; margin-top: 32px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: 60px; align-items: start;
}
.plan {
  position: relative;
  padding: 40px; border-radius: var(--r-40);
  border: 3px solid var(--pink-200); background: var(--white);
  display: flex; flex-direction: column; gap: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { box-shadow: var(--shadow-md); }
.plan--featured { border-color: var(--brand-3); }
/* Figma: badge-ul „Recomandarea noastră” stă centrat pe marginea de sus a cardului */
.plan__badge {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  padding: 6px 16px; border-radius: var(--r-32); white-space: nowrap;
  background: var(--brand-3); color: var(--white);
  font-size: 14px; line-height: 20px; font-weight: 500;
}
.plan__title { font-size: 24px; line-height: 32px; letter-spacing: -0.2px; font-weight: 700; }
.plan__desc { color: var(--ink-2); }
.plan__price { font-size: 48px; line-height: 56px; letter-spacing: -0.5px; font-weight: 700; color: var(--brand); }
.plan__price small { font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: 0; }
.plan__note { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.plan__label { font-weight: 600; }
.plan__list { display: flex; flex-direction: column; gap: 0; }
.plan__list li { display: flex; gap: 8px; padding: 4px 0; align-items: flex-start; }
.plan__list svg { flex: none; width: 24px; height: 24px; color: var(--green); }

/* ==========================================================================
   Formular
   ========================================================================== */
.enroll {
  position: relative;
  padding: 100px var(--gutter) 200px;
  overflow: hidden;
}
.enroll__bg {
  /* Figma "Galerie" 1681:3880 — 1624x668 centred, two 550px sides with a 524px gap.
     The hidden "Middle" group is intentionally not rendered. */
  position: absolute; top: 100px; left: 50%; transform: translateX(-50%);
  width: 1624px; height: 668px;
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none; user-select: none;
}
.enroll__bg-side { display: flex; gap: 12px; align-items: center; }
.enroll__bg-col { display: flex; flex-direction: column; gap: 12px; }
/* Figma per-column opacity: outer 1.0, middle 0.8, inner 0.5 (mirrored) */
.enroll__bg-side:first-child .enroll__bg-col:nth-child(2),
.enroll__bg-side:last-child .enroll__bg-col:nth-child(2) { opacity: .8; }
.enroll__bg-side:first-child .enroll__bg-col:nth-child(3),
.enroll__bg-side:last-child .enroll__bg-col:nth-child(1) { opacity: .5; }
.enroll__bg-col img {
  width: 175px; height: 124px; object-fit: cover;
  border-radius: var(--r-12); background: var(--pink-200);
}
.enroll__glow {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 1000px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, #fff 0%, rgba(255,255,255,.92) 38%, rgba(255,255,255,0) 100%);
}
.enroll__mask {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 9%, rgba(255,255,255,0) 91%, #fff 100%);
}

.form-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 588px; margin: 0 auto;
  padding: 64px; border-radius: var(--r-40);
  background: var(--pink-50); background-image: var(--grad-card);
  border: 1px solid var(--pink-200);
  box-shadow: var(--shadow-form);
  display: flex; flex-direction: column; gap: 40px;
}
.form-card__title { text-align: center; }
.form { display: flex; flex-direction: column; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field__label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--brand); }
/* honeypot anti-spam: invizibil pentru oameni */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field input {
  height: 44px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--r-12);
  background: var(--white); color: var(--ink);
  font-size: 16px; line-height: 24px;
  /* Figma: hover = Smart Animate 0.2s Ease Out */
  transition: border-color .2s ease-out, box-shadow .2s ease-out, background-color .2s ease-out;
}
.field input:hover { border-color: var(--pink-300); }
.field input::placeholder { color: var(--ink-3); }
.field input:focus {
  outline: none; border-color: var(--brand-3);
  box-shadow: 0 0 0 3px rgba(183, 75, 153, 0.16);
}
.field input[aria-invalid="true"] { border-color: #dc2626; }
.field__error { font-size: 12px; line-height: 16px; color: #b91c1c; min-height: 0; }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; border-radius: var(--r-12);
  font-size: 14px; line-height: 20px; font-weight: 500;
  cursor: pointer;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip__box {
  /* pătrat rotunjit (checkbox = alegere multiplă), nu cerc (radio = alegere unică) */
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid var(--ink-3); background: var(--white);
  display: grid; place-items: center;
  transition: background-color .16s ease, border-color .16s ease;
}
.chip__box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .16s ease; }
.chip input:checked + .chip__box { background: var(--brand-2); border-color: var(--brand-2); }
.chip input:checked + .chip__box svg { opacity: 1; }
.chip:hover .chip__box { border-color: var(--brand-2); }

.form__divider { height: 1px; margin: 0 8px; background: var(--pink-300); border: 0; }
.chip--gdpr { align-items: flex-start; color: var(--brand); font-weight: 400; }
.chip--gdpr .chip__box { margin-top: 1px; }

.form__status {
  display: none; gap: 8px; align-items: flex-start;
  padding: 12px 16px; border-radius: var(--r-12);
  font-size: 14px; line-height: 20px;
}
.form__status.is-visible { display: flex; }
.form__status--ok { background: #dcfce7; color: #14532d; }
.form__status--err { background: #fee2e2; color: #7f1d1d; }
.form__status a { text-decoration: underline; font-weight: 600; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 100px var(--gutter) 200px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; margin-top: 60px; }
.faq-item {
  border-radius: var(--r-24); background: var(--neutral);
  transition: background-color .2s ease;
}
.faq-item.is-open { background: var(--pink-100); }
.faq-item__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 24px 24px 40px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 20px; line-height: 28px; letter-spacing: -0.2px; font-weight: 600;
}
.faq-item.is-open .faq-item__btn { padding-bottom: 16px; padding-top: 32px; }
.faq-item__btn svg { flex: none; width: 24px; height: 24px; color: var(--brand); }
.faq-item__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel > div { overflow: hidden; }
.faq-item__panel p {
  padding: 0 64px 32px 40px; color: var(--brand);
}
.faq-item__panel p + p { padding-top: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--brand-dark); color: var(--pink-50);
  border-radius: var(--r-40) var(--r-40) 0 0;
  padding: 52px var(--gutter) 40px;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 384px 1fr; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 24px; }
.footer__brand p { font-size: 14px; line-height: 20px; color: var(--pink-200); }
.footer__cols { display: grid; grid-template-columns: 224px 1fr; gap: 40px; }
.footer__title { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--pink-400); }
.footer__links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.footer__links a { font-weight: 500; padding: 2px 0; transition: color .16s ease; }
.footer__links a:hover { color: var(--pink-400); }
.footer__contact { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer__contact svg { width: 20px; height: 20px; color: var(--pink-400); }
.footer__socials { display: flex; gap: 8px; margin-top: 24px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: var(--r-12);
  display: grid; place-items: center;
  background: rgba(248, 235, 246, 0.08); color: var(--pink-200);
  transition: background-color .16s ease, color .16s ease;
}
.footer__socials a:hover { background: var(--brand); color: var(--white); }
.footer__socials svg { width: 20px; height: 20px; }
.footer__badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.footer__badges img { height: 36px; width: auto; border-radius: 4px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin-top: 100px;
}
.footer__bottom p { font-size: 12px; line-height: 16px; color: var(--pink-300); }

/* ==========================================================================
   Pagina Testimoniale
   ========================================================================== */
.page-hero {
  padding: 120px var(--gutter) 60px;
  text-align: center;
}
.page-hero .section-head { margin: 0 auto; }
.video-grid {
  display: flex; gap: 16px;
  margin-top: 60px;
  /* full-bleed fără 100vw (scroll orizontal pe Windows) */
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 12px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter);
  -ms-overflow-style: none; scrollbar-width: none;
}
.video-grid::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 300px; }
.video-card {
  border-radius: var(--r-32); overflow: hidden;
  background: var(--pink-100); border: 1px solid var(--pink-200);
  display: flex; flex-direction: column;
}
.video-card__media {
  position: relative; aspect-ratio: 9 / 16; background: var(--brand-deep);
}
.video-card__media img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(61, 11, 44, 0.28); border: 0; cursor: pointer;
  color: #fff; transition: background-color .2s ease;
}
.video-card__play:hover { background: rgba(61, 11, 44, 0.42); }
/* fără URL de video => nu afișăm un buton „play” care nu face nimic */
.video-card__play[data-video=""] { display: none; }
.video-card__play span {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--brand);
  display: grid; place-items: center;
}
.video-card__play svg { width: 26px; height: 26px; }
.video-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.video-card__body h3 { font-size: 20px; line-height: 28px; letter-spacing: -0.2px; font-weight: 600; }
.video-card__body p { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.video-card__body { padding: 20px 24px; text-align: center; }

/* ---------- Carusele: bară de progres + săgeți + tragere cu mouse-ul ---------- */
[data-carousel-drag] { cursor: grab; user-select: none; }
[data-carousel-drag].is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
[data-carousel-drag] img { -webkit-user-drag: none; user-select: none; }
.carousel__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 24px;
}
.carousel__track {
  position: relative; flex: 1 1 auto; max-width: 320px; height: 4px; border-radius: 4px;
  background: var(--pink-200);
}
.carousel__thumb {
  position: absolute; top: 0; left: 0; height: 100%; width: 25%; border-radius: 4px;
  background: var(--brand); transition: left .08s linear, width .2s ease;
}
.carousel__arrows { display: flex; gap: 8px; flex: none; }
.carousel__arrows .btn { width: 44px; height: 44px; padding: 0; border-radius: 12px; background: var(--brand); color: var(--pink-50); }
.carousel__arrows .btn:hover { background: var(--brand-deep); }
.carousel__arrows .btn.is-disabled { opacity: 0.4; cursor: default; pointer-events: none; }
/* fără overflow (ecran foarte lat) => nu afișăm comenzi */
.video-grid:not(.has-overflow) + .carousel__foot { display: none; }

.wall { background: var(--brand-dark); padding: 100px var(--gutter) 140px; }
.wall .section-head { margin: 0 auto; text-align: center; }
.wall .section-head .h2 { color: #fff; }
.wall .section-head p { color: var(--pink-200); }
.wall__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  align-items: start; margin-top: 64px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --gutter: 64px; }
  .subjects__body { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr; }
  .reviews__cols, .wall__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-card { flex: 0 0 260px; }
}

@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .h1 { font-size: 40px; line-height: 48px; letter-spacing: -1px; }
  .h2 { font-size: 32px; line-height: 40px; letter-spacing: -0.6px; }
  .h3 { font-size: 26px; line-height: 34px; }
  .h4 { font-size: 22px; line-height: 30px; }
  .lead { font-size: 18px; line-height: 26px; }
  .section { padding: 72px var(--gutter); }
  .method-card { flex-wrap: wrap; padding: 32px; gap: 16px; }
  .method-card__num { width: auto; font-size: 56px; line-height: 60px; }
  .method-card__body { flex: 1 1 100%; max-width: none; }
  .method-card__body .h4 { font-size: 24px; line-height: 32px; }
  .method-card__illo { width: 100%; height: 196px; order: 3; place-items: center; }
  .method-card__illo img { max-height: 196px; max-width: 100%; object-fit: contain; }
  .features__top { flex-direction: column; align-items: flex-start; }
  .features__arrows, .carousel__arrows { display: none; }
  .carousel__track { max-width: none; }
  .subjects__body { grid-template-columns: 1fr; }
  .subjects__media { max-height: 420px; aspect-ratio: auto; height: 420px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .reviews__cols, .wall__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { padding: 96px var(--gutter) 120px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; max-width: 520px; margin-top: 56px; }
  .stats__item:nth-child(odd) { border-left: 0; }
  .stats__num { font-size: 44px; line-height: 52px; }
  .enroll { padding: 72px var(--gutter) 120px; }
  .enroll__bg, .enroll__glow, .enroll__mask { display: none; }
  .faq { padding: 72px var(--gutter) 120px; }
  .faq-item__btn { padding: 20px 20px 20px 24px; font-size: 18px; line-height: 26px; }
  .faq-item.is-open .faq-item__btn { padding-top: 24px; }
  .faq-item__panel p { padding: 0 24px 24px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { margin-top: 48px; }
  .video-card { flex: 0 0 78%; }
  .testimonials { padding: 100px var(--gutter) 120px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 48px; }
  .hero__wrap { gap: 40px; }
  .h1 { font-size: 34px; line-height: 42px; }
  .h2 { font-size: 28px; line-height: 36px; }
  .collage__card { height: 148px; max-width: 272px; }
  .collage__row { animation-duration: 48s; }
  .collage__row--rtl { animation-duration: 58s; }
  .form-card { padding: 28px 20px; gap: 28px; border-radius: var(--r-32); }
  .form__row { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .method-card { border-radius: var(--r-32); }
  .plan { padding: 28px; border-radius: var(--r-32); }
  .reviews__cols, .wall__cols { grid-template-columns: 1fr; }
  .reviews { max-height: 1100px; }
  .footer { padding: 40px var(--gutter) 32px; border-radius: var(--r-32) var(--r-32) 0 0; }
}

/* ==========================================================================
   Completări: logo, coloane chip-uri, povești (Testimony Big), wall light
   ========================================================================== */
.logo-mark {
  display: block;
  width: 114px;
  height: 36px;
  background: currentColor;
  -webkit-mask: url("../assets/logo-mask.png") no-repeat center / contain;
  mask: url("../assets/logo-mask.png") no-repeat center / contain;
}
.logo-mark--brand { color: var(--brand); }
.logo-mark--pink { color: var(--pink-200); width: 130px; height: 41px; }
.logo { color: inherit; }

.chips__col { display: flex; flex-direction: column; }

/* Povești mari */
.stories { display: flex; flex-direction: column; gap: 100px; margin-top: 60px; }
.story { display: grid; grid-template-columns: 486px minmax(0, 1fr); gap: 64px; align-items: center; }
.story__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.story__name { color: var(--brand); font-weight: 600; }
.story__title { font-size: 28px; line-height: 36px; letter-spacing: -0.5px; font-weight: 600; margin: 0; }
.story__text p { color: var(--ink-2); }
.story__media {
  border-radius: var(--r-40);
  overflow: hidden;
  background: var(--pink-100);
  aspect-ratio: 588 / 720;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.story--rev .story__text { order: 2; }

/* Zid de testimoniale pe fundal alb */
.wall { background: var(--white); }
.wall .section-head .h2 { color: var(--ink); }
.wall .section-head p { color: var(--ink-2); }
.wall__box { position: relative; margin-top: 64px; }
.wall__box.is-collapsed { max-height: 1500px; overflow: hidden; }
.wall__box.is-collapsed::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 78%);
  pointer-events: none;
}
.wall .review { background: var(--pink-100); }
.wall .review__name, .wall .review p { color: var(--brand); }
.wall .review__ph { background: var(--pink-200); color: var(--brand); }
.wall__more { display: flex; justify-content: center; margin-top: 32px; }

@media (max-width: 960px) {
  .stories { gap: 64px; margin-top: 40px; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .story--rev .story__text { order: 0; }
  /* portret, nu 4:3 – altfel se decupează capetele; limitat în înălțime pe tabletă */
  .story__media { aspect-ratio: 4 / 5; max-height: 600px; }
  .story__title { font-size: 24px; line-height: 32px; }
  .wall__box.is-collapsed { max-height: 1200px; }
}

/* ---------- Reveal la scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Iconiță FAQ (plus / minus) ---------- */
.faq-icon { transition: transform .24s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
#wall-more svg { transition: transform .24s ease; }
#wall-more.is-open svg { transform: rotate(180deg); }

/* ---------- Lightbox video ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 9, 11, 0.78);
  display: grid;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.lightbox__inner {
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  max-height: 84vh;
  border-radius: var(--r-24);
  overflow: hidden;
  background: #000;
}
.lightbox__inner iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__inner video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- Pagini legale ---------- */
.legal-page { padding-top: 72px; }
.legal-page .section-head { max-width: 760px; }
.legal-page__meta { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.legal-page__body {
  max-width: 760px; margin-top: 48px;
  display: flex; flex-direction: column; gap: 16px;
  color: var(--ink-2);
}
.legal-page__body h2 { font-size: 24px; line-height: 32px; letter-spacing: -0.2px; font-weight: 600; color: var(--ink); margin-top: 24px; }
.legal-page__body h3 { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); margin-top: 8px; }
.legal-page__body ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-page__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-page__body strong { color: var(--ink); }
.legal-page__body table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 20px; }
.legal-page__body th, .legal-page__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-page__body th { color: var(--ink); font-weight: 600; background: var(--neutral); }
.legal-page__box {
  margin-top: 32px;
  padding: 32px;
  border-radius: var(--r-24);
  background: var(--pink-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--brand);
}
.legal-page__box a { text-decoration: underline; }

/* ---------- Pagina 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-size: 96px; line-height: 1; font-weight: 700; letter-spacing: -3px; color: var(--pink-300); }
.notfound .section-head { align-items: center; }
.legal-page__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.legal-page__nav a {
  padding: 8px 14px;
  border-radius: var(--r-12);
  background: var(--neutral);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-2);
}
.legal-page__nav a:hover { background: var(--pink-100); color: var(--brand); }
.legal-page__nav a[aria-current="page"] { background: var(--brand); color: var(--white); }

/* ==========================================================================
   Despre noi (Figma 1681:4311)
   ========================================================================== */
.section-head--narrow { margin: 0 auto; text-align: center; }
.lead--32 { line-height: 32px; }

/* ---------- Hero ---------- */
.about-hero { padding-top: 80px; padding-bottom: 100px; }
.about-hero__img {
  margin-top: 64px; border-radius: var(--r-40); overflow: hidden;
  aspect-ratio: 1200 / 640; background: var(--pink-100);
}
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Poveste / Valori / Viziune ---------- */
.about-story__list { margin-top: 60px; display: flex; flex-direction: column; gap: 24px; }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.story-card {
  padding: 48px; border-radius: var(--r-40);
  background: var(--pink-100); border: 1px solid #CB69B4;
  display: flex; flex-direction: column; gap: 24px;
}
.story-card__title { color: var(--brand); }
.story-card__body { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.story-card__body p { font-size: 16px; line-height: 24px; color: var(--ink); }
.story-card__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.story-row--rev .story-card { order: 2; }
.story-row--rev .story-photo { order: 1; }
.story-card--dark { background: var(--brand-deep); border-color: var(--line); }
.story-card--dark .story-card__title { color: var(--white); }
.story-card--dark .story-card__body p { color: var(--pink-200); }
.story-photo {
  border-radius: var(--r-40); overflow: hidden; background: var(--pink-100);
  min-height: 480px;
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Echipa ---------- */
.team__list { margin-top: 60px; display: flex; flex-direction: column; gap: 24px; }
.mentor {
  display: grid; grid-template-columns: minmax(0, 1fr) 438px; gap: 32px; align-items: center;
  padding: 64px; border-radius: var(--r-40);
  border: 1px solid var(--line);
  background: var(--pink-100);
  background-image: radial-gradient(120% 130% at 100% 100%, #E9B8E1 0%, #F8EBF6 68%);
}
.mentor--rev { grid-template-columns: 438px minmax(0, 1fr); }
.mentor--rev { background-image: radial-gradient(120% 130% at 0% 100%, #E9B8E1 0%, #F8EBF6 68%); }
.mentor__text { display: flex; flex-direction: column; gap: 24px; }
.mentor__top { display: flex; flex-direction: column; gap: 8px; }
.mentor__name { color: var(--brand); }
.mentor__role { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--brand); }
.mentor__label { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.mentor__bio, .mentor__links { display: flex; flex-direction: column; gap: 8px; }
.mentor__bio p { font-size: 16px; line-height: 24px; color: var(--ink); }
.mentor__bio p + p { margin-top: 8px; }
.mentor__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; line-height: 24px; color: var(--brand); text-decoration: none;
  transition: opacity .15s ease-out;
}
.mentor__link:hover { opacity: .7; }
.mentor__link svg { width: 24px; height: 24px; flex: none; }
.mentor__link span { text-decoration: underline; text-decoration-color: rgba(130,50,104,.35); text-underline-offset: 3px; }
.mentor__photo {
  height: 588px; border-radius: var(--r-24); overflow: hidden;
  background: var(--brand-deep); position: relative;
}
.mentor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.mentor__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.55) 100%);
}

/* ---------- Parteneri ---------- */
.partners__grid {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  align-items: start;
}
.partner { display: flex; flex-direction: column; gap: 24px; }
.partner__logo {
  height: 268px; border-radius: var(--r-24);
  border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; padding: 40px; overflow: hidden;
}
.partner__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-width: 0; min-height: 0; object-fit: contain; display: block; }
.partner__name { font-size: 24px; line-height: 32px; letter-spacing: -0.2px; font-weight: 600; color: var(--ink); }
.partner p { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.partner p + p { margin-top: -8px; }
.partner > * + * { margin-top: 0; }

@media (max-width: 1200px) {
  .mentor { grid-template-columns: minmax(0, 1fr) 360px; padding: 48px; }
  .mentor--rev { grid-template-columns: 360px minmax(0, 1fr); }
  .mentor__photo { height: 520px; }
}
@media (max-width: 960px) {
  .story-row, .story-row--rev { grid-template-columns: 1fr; }
  .story-row--rev .story-card { order: 1; }
  .story-row--rev .story-photo { order: 2; }
  .story-photo { min-height: 320px; }
  .story-card { padding: 32px; }
  .mentor, .mentor--rev { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
  .mentor--rev .mentor__photo { order: 2; }
  .mentor--rev .mentor__text { order: 1; }
  .mentor__photo { height: 420px; }
  .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner__logo { height: 200px; padding: 28px; }
}
@media (max-width: 600px) {
  .about-hero { padding-top: 40px; padding-bottom: 60px; }
  .about-hero__img { margin-top: 40px; border-radius: var(--r-32); }
  .about-story__list, .team__list, .partners__grid { margin-top: 40px; }
  .story-card, .story-photo { border-radius: var(--r-32); }
  .story-card { padding: 24px; }
  .mentor, .mentor--rev { padding: 24px; border-radius: var(--r-32); }
  .mentor__photo { height: 380px; }
  .partners__grid { grid-template-columns: 1fr; }
  .partner__name { font-size: 22px; line-height: 30px; }
}
