/* ============================================================
   BAZA — COMPONENTE
   Clase framework-agnostice. Nu contin nicio culoare literala.
   Se pot folosi ca atare (HTML pur) sau ca referinta pentru
   componentele React din components/.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); background: var(--bg); color: var(--ink); }
.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-8); }
.row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.section-head { max-width: var(--measure); margin-bottom: var(--sp-12); }
.section-head > .t-eyebrow { margin-bottom: var(--sp-4); }
.section-head > .t-lead { margin-top: var(--sp-4); }

/* ---------- BUTOANE ----------
   Primar   = ardezie (9.2:1 pe alb). Actiunea principala, una per ecran.
   Accent   = cyan cu text inchis. Doar cand primarul e deja folosit langa el.
   Secundar = contur. Actiuni de sprijin.
   Ghost    = fara fundal. Actiuni tertiare / navigatie. */
.btn {
  --btn-h: 3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: var(--btn-h); padding-inline: var(--sp-6);
  font-family: var(--font-body); font-size: var(--t-sm); font-weight: 600;
  line-height: 1; letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--r-pill); cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-standard),
              border-color var(--dur-2) var(--ease-standard),
              color var(--dur-2) var(--ease-standard),
              transform var(--dur-2) var(--ease-standard),
              box-shadow var(--dur-2) var(--ease-standard);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn svg { width: 1.125em; height: 1.125em; flex: none; }

.btn--primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: var(--sh-2); }
.btn--primary:active { background: var(--primary-active); }

.btn--accent { background: var(--accent); color: var(--ink-on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: var(--c-neutral-0); box-shadow: var(--sh-glow); }

.btn--secondary { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--accent); background: var(--accent-quiet); }

.btn--ghost { background: transparent; color: var(--ink-muted); padding-inline: var(--sp-3); }
.btn--ghost:hover { color: var(--ink); background: var(--bg-inset); }

.btn--sm { --btn-h: 2.25rem; font-size: var(--t-xs); padding-inline: var(--sp-4); }
.btn--lg { --btn-h: 3.5rem; font-size: var(--t-body); padding-inline: var(--sp-8); }
.btn--block { width: 100%; }

/* ---------- BADGE / PILL ---------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.375rem var(--sp-3);
  font-size: var(--t-xs); font-weight: 600; line-height: 1.2;
  border-radius: var(--r-pill); border: 1px solid var(--border);
  background: var(--bg-subtle); color: var(--ink-muted);
}
.badge--accent { background: var(--accent-quiet); border-color: var(--accent-line); color: var(--accent-text); }
.badge--ok { background: var(--ok-quiet); border-color: transparent; color: var(--ok); }
.badge--warn { background: var(--warn-quiet); border-color: transparent; color: var(--warn); }
.badge--danger { background: var(--danger-quiet); border-color: transparent; color: var(--danger); }
.badge__dot { width: 0.5rem; height: 0.5rem; border-radius: var(--r-pill); background: currentColor; flex: none; }

/* ---------- CARD ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: var(--sp-8);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.card--flat { box-shadow: none; }
.card--pad-sm { padding: var(--sp-5); }
.card--accent { border-color: var(--accent-line); background: var(--accent-quiet); }
.card__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: var(--sp-5);
  border-radius: var(--r-md); background: var(--accent-quiet); color: var(--accent-text);
  border: 1px solid var(--accent-line);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card__title { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 var(--sp-2); }
.card__text { color: var(--ink-muted); font-size: var(--t-sm); margin: 0; }
.card__foot { margin-top: auto; padding-top: var(--sp-6); display: flex; align-items: center; gap: var(--sp-3); }
/* linia de accent care creste pe hover, sus pe card */
.card--rule::before {
  content: ""; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-4) var(--ease-out);
}
.card--rule:hover::before { transform: scaleX(1); }

/* ---------- FORMULARE ---------- */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.label { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; min-height: 3rem; padding: 0.75rem var(--sp-4);
  font-family: var(--font-body); font-size: var(--t-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); transition: border-color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard);
}
.textarea { min-height: 8rem; resize: vertical; line-height: var(--lh-body); }
.input::placeholder, .textarea::placeholder { color: var(--ink-subtle); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-subtle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: var(--t-xs); color: var(--ink-subtle); }
.error { font-size: var(--t-xs); color: var(--danger); font-weight: 600; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 1.25rem center, right 1rem center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: var(--sp-10); }
.check { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--t-sm); color: var(--ink-muted); cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--accent); flex: none; }

/* ---------- ACCORDION ---------- */
.acc { border-top: 1px solid var(--divider); }
.acc__item { border-bottom: 1px solid var(--divider); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-6) 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--t-h4); font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
  transition: color var(--dur-2) var(--ease-standard);
}
.acc__btn:hover { color: var(--accent-text); }
.acc__btn:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-xs); }
.acc__sign { position: relative; width: 1.75rem; height: 1.75rem; flex: none; border-radius: var(--r-pill); border: 1px solid var(--border-strong); }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; background: currentColor;
  transform: translate(-50%, -50%); transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) linear;
}
.acc__sign::before { width: 0.75rem; height: 2px; }
.acc__sign::after { width: 2px; height: 0.75rem; }
.acc__btn[aria-expanded="true"] .acc__sign { background: var(--accent); border-color: var(--accent); color: var(--ink-on-accent); }
.acc__btn[aria-expanded="true"] .acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-4) var(--ease-out); }
.acc__panel[data-open] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { margin: 0 0 var(--sp-6); color: var(--ink-muted); max-width: var(--measure); }

/* ---------- TABS ---------- */
.tabs { display: flex; gap: var(--sp-1); padding: var(--sp-1); background: var(--bg-inset); border-radius: var(--r-pill); width: max-content; max-width: 100%; overflow-x: auto; }
.tab {
  padding: 0.625rem var(--sp-5); border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); font-size: var(--t-sm); font-weight: 600; color: var(--ink-muted);
  border-radius: var(--r-pill); transition: background var(--dur-2) var(--ease-standard), color var(--dur-2) var(--ease-standard);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }

/* ---------- RATING ---------- */
.rating { display: inline-flex; align-items: center; gap: var(--sp-2); }
.rating__stars { display: inline-flex; gap: 2px; color: var(--accent); }
.rating__stars svg { width: 1.05rem; height: 1.05rem; }
.rating__value { font-weight: 700; font-variant-numeric: tabular-nums; }
.rating__count { font-size: var(--t-sm); color: var(--ink-subtle); }

/* ---------- AVATAR ---------- */
.avatar { width: 3rem; height: 3rem; border-radius: var(--r-pill); object-fit: cover; background: var(--bg-inset); border: 2px solid var(--surface); }
.avatar--lg { width: 4.5rem; height: 4.5rem; }
.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -0.75rem; }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-3) var(--ease-standard), background var(--dur-3) var(--ease-standard);
}
.header[data-scrolled] { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); min-height: 4.5rem; transition: min-height var(--dur-3) var(--ease-standard); }
.header[data-scrolled] .header__inner { min-height: 3.75rem; }
.nav { display: none; gap: var(--sp-7); }
.nav a { font-size: var(--t-sm); font-weight: 500; color: var(--ink-muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (min-width: 60rem) { .nav { display: flex; } }
.logo { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--ink); }
.logo__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.logo__text { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em; font-size: 1.0625rem; text-transform: uppercase; }
.logo__text b { color: var(--accent-text); font-weight: 800; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(3rem, 6vw, 6rem) var(--section-y); }
.hero__grid { display: grid; gap: var(--sp-12); align-items: center; }
@media (min-width: 62rem) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-16); } }
.hero__title { margin-block: var(--sp-5) var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.hero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-4); aspect-ratio: 4 / 5; background: var(--bg-inset); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__float {
  position: absolute; left: var(--sp-5); bottom: var(--sp-5); right: var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--c-neutral-0) 92%, transparent);
  backdrop-filter: blur(10px); box-shadow: var(--sh-3); color: var(--c-brand-900);
}
/* aura de cyan in spatele hero-ului */
.hero > *:not(.hero__glow) { position: relative; z-index: 1; }
.hero__glow {
  position: absolute; z-index: 0; inset: -20% -10% auto auto; width: 46rem; height: 46rem;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 28%, transparent), transparent 62%);
  filter: blur(20px); pointer-events: none;
}

/* ============================================================
   HERO EDITORIAL — imagine pe tot ecranul, cu adnotare
   Referinta: hero-uri de tip "macro + callout". Adaptat pe paleta noastra:
   scrim-ul e ardezie 950 (nu negru), linia si punctul sunt cyan.
   Cere o singura fotografie foarte buna. Daca nu exista, foloseste .hero normal.
   ============================================================ */
.hero-ed { padding-block: var(--sp-4) var(--sp-8); }
.hero-ed__frame {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  /* width explicit: fara ea, aspect-ratio + min-height deduc latimea din inaltime
     si cadrul iese din ecran pe mobil */
  width: 100%;
  aspect-ratio: 16 / 10; min-height: 30rem; box-shadow: var(--sh-4);
  background: var(--bg-inset); isolation: isolate;
}
@media (max-width: 46rem) { .hero-ed__frame { aspect-ratio: 4 / 5; min-height: 34rem; } }
.hero-ed__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* doua straturi: unul jos pentru text, unul sus pentru bara de navigatie */
.hero-ed__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, color-mix(in srgb, var(--c-brand-950) 88%, transparent) 0%,
                            color-mix(in srgb, var(--c-brand-950) 55%, transparent) 34%,
                            transparent 62%),
    linear-gradient(to bottom, color-mix(in srgb, var(--c-brand-950) 45%, transparent) 0%, transparent 22%);
}
.hero-ed__bar {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  padding: var(--sp-6) clamp(var(--sp-5), 3vw, var(--sp-10));
}
.hero-ed__bar .logo__text { font-size: 1rem; }
.hero-ed__foot {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(var(--sp-6), 4vw, var(--sp-12));
  display: grid; gap: var(--sp-6);
}
@media (min-width: 62rem) {
  .hero-ed__foot { grid-template-columns: 1fr auto; align-items: end; gap: var(--sp-10); }
}
.hero-ed__title {
  font-family: var(--font-display); font-weight: 800; color: var(--c-neutral-0);
  font-size: clamp(2.25rem, 1rem + 5.4vw, 5rem); line-height: 0.98; letter-spacing: -0.03em;
  margin: 0; text-wrap: balance; text-shadow: 0 2px 24px rgba(15,23,31,.35);
}
.hero-ed__title em { font-style: normal; color: var(--c-accent-300); }
.hero-ed__proof { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; color: var(--c-neutral-0); }
.hero-ed__proof .avatar { width: 2.25rem; height: 2.25rem; border-color: transparent; }

/* --- adnotarea: punct pe dinte, linie subtire, eticheta --- */
.anno { position: absolute; z-index: 2; left: var(--x, 34%); top: var(--y, 46%); }
.anno__dot {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 0.9rem; height: 0.9rem; border-radius: var(--r-pill);
  background: var(--c-accent-400); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-accent-400) 28%, transparent);
}
.anno__stem { position: absolute; left: 0; top: 0; overflow: visible; }
.anno__stem line { stroke: var(--c-neutral-0); stroke-width: 1; opacity: .85; }
.anno__label {
  position: absolute; left: -8.5rem; top: -7rem; width: 11rem;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 700; line-height: 1.35;
  color: var(--c-neutral-0); border: 1px solid color-mix(in srgb, var(--c-neutral-0) 45%, transparent);
  border-radius: var(--r-sm); backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--c-brand-950) 30%, transparent);
}
.anno__label b { display: block; color: var(--c-accent-300); font-weight: 700; }
@media (max-width: 46rem) { .anno { display: none; } }

/* --- varianta pe toata latimea ecranului ---
   Imaginea merge din margine in margine; continutul ramane aliniat
   cu restul paginii, pe latimea containerului. */
.hero-ed--bleed { padding-block: 0; }
.hero-ed--bleed .hero-ed__frame {
  border-radius: 0;
  aspect-ratio: auto;
  min-height: min(92svh, 54rem);
  box-shadow: none;
}
@media (max-width: 46rem) {
  .hero-ed--bleed .hero-ed__frame { aspect-ratio: auto; min-height: 88svh; }
}
.hero-ed--bleed .hero-ed__bar,
.hero-ed--bleed .hero-ed__foot {
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
}

/* --- cardul medicului, in coltul hero-ului --- */
.hero-doc {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  max-width: 24rem; padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--c-brand-950) 58%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-neutral-0) 14%, transparent);
  backdrop-filter: blur(12px);
  color: var(--c-neutral-0);
}
.hero-doc img {
  width: 3.25rem; height: 3.25rem; flex: none;
  border-radius: var(--r-pill); object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--c-accent-400) 55%, transparent);
}
.hero-doc blockquote {
  margin: 0 0 var(--sp-2); font-size: var(--t-sm); line-height: 1.5;
  color: color-mix(in srgb, var(--c-neutral-0) 88%, transparent);
}
.hero-doc figcaption {
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-xs);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--c-accent-300);
}
/* varianta mare, in oglinda fata de obiectul din hero:
   fotografia stanga, in spatiul liber, cu numele peste ea jos. */
.hero-doc--float {
  position: absolute; z-index: 2;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  top: 14%;
  display: block; max-width: none; width: clamp(13rem, 17vw, 16.5rem);
  padding: 0; background: none; border: 0; backdrop-filter: none;
}
.hero-doc--float img {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); border: 0;
  box-shadow: var(--sh-4);
}
.hero-doc__pic { position: relative; display: block; }
.hero-doc__label {
  position: absolute; inset: auto 0 0 0;
  padding: var(--sp-8) var(--sp-4) var(--sp-4);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: linear-gradient(to top, rgba(15, 23, 31, 0.94), transparent);
  color: var(--c-neutral-0); font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-sm); line-height: 1.3;
}
.hero-doc__label b { display: block; margin-top: 2px; font-size: var(--t-xs); font-weight: 500; color: var(--c-brand-300); }
.hero-doc--float figcaption {
  display: block; text-transform: none; letter-spacing: 0;
  font-family: var(--font-body); font-weight: 400; color: var(--c-brand-200);
}
.hero-doc--float blockquote {
  margin: var(--sp-4) 0 0; font-size: var(--t-sm); line-height: 1.5;
  color: color-mix(in srgb, var(--c-neutral-0) 82%, transparent);
}
@media (max-width: 78rem) { .hero-doc--float { display: none; } }

@media (max-width: 62rem) { .hero-doc { display: none; } }

/* ============================================================
   HERO OBIECT — fundal inchis, subiect centrat, aura de cyan
   Referinta: hero-uri de tip "produs pe fundal intunecat".
   Cere o fotografie decupata pe fundal transparent (PNG) sau un randat 3D.
   ============================================================ */
.hero-obj {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--c-brand-950); color: var(--c-neutral-0);
  padding: var(--sp-6) 0 0; isolation: isolate;
}
.hero-obj__glow {
  position: absolute; z-index: 0; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: min(46rem, 90%); aspect-ratio: 1;
  background: radial-gradient(circle at center,
    color-mix(in srgb, var(--c-accent-500) 45%, transparent) 0%,
    color-mix(in srgb, var(--c-accent-700) 22%, transparent) 38%, transparent 66%);
  filter: blur(10px); pointer-events: none;
}
.hero-obj > *:not(.hero-obj__glow) { position: relative; z-index: 1; }
.hero-obj__stage { display: grid; place-items: center; padding: var(--sp-10) var(--sp-6) var(--sp-4); }
.hero-obj__stage > * { max-height: 26rem; }
.hero-obj__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1rem + 6vw, 5.5rem); line-height: 0.96; letter-spacing: -0.035em;
  margin: 0; color: var(--c-neutral-0);
}
.hero-obj__title span { color: color-mix(in srgb, var(--c-accent-300) 90%, transparent); }
.hero-obj__meta {
  display: grid; gap: var(--sp-6); padding: var(--sp-6) clamp(var(--sp-5), 3vw, var(--sp-10));
  border-top: 1px solid color-mix(in srgb, var(--c-neutral-0) 14%, transparent);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  font-size: var(--t-sm);
}
.hero-obj__meta b { display: block; font-weight: 600; color: var(--c-neutral-0); }
.hero-obj__meta span { color: var(--c-brand-300); }

/* ---------- TRUST BAR / STATISTICI ---------- */
.stats { display: grid; gap: var(--sp-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.stat { display: flex; flex-direction: column; gap: var(--sp-2); }
.stat__label { font-size: var(--t-sm); color: var(--ink-muted); }
.stat + .stat { border-left: 1px solid var(--divider); padding-left: var(--sp-8); }
@media (max-width: 46rem) { .stat + .stat { border-left: 0; padding-left: 0; } }

/* ---------- INAINTE / DUPA ---------- */
.ba { --split: 50%; position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; cursor: ew-resize; touch-action: none; background: var(--bg-inset); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--split)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: var(--c-neutral-0); box-shadow: 0 0 0 1px rgba(24,36,47,.15); }
.ba__handle {
  position: absolute; top: 50%; left: var(--split); transform: translate(-50%, -50%);
  width: 2.75rem; height: 2.75rem; border-radius: var(--r-pill); display: grid; place-items: center;
  background: var(--c-neutral-0); color: var(--c-brand-700); box-shadow: var(--sh-3); border: 0; cursor: grab;
}
.ba__handle:focus-visible { outline: none; box-shadow: var(--sh-3), var(--focus-ring); }
.ba__tag { position: absolute; top: var(--sp-4); padding: 0.25rem var(--sp-3); border-radius: var(--r-pill); font-size: var(--t-xs); font-weight: 700; background: color-mix(in srgb, var(--c-brand-900) 72%, transparent); color: var(--c-neutral-0); backdrop-filter: blur(6px); }
.ba__tag--l { left: var(--sp-4); } .ba__tag--r { right: var(--sp-4); }

/* ---------- ECHIPA ---------- */
.doc { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-inset); aspect-ratio: 3 / 4; }
.doc img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-6) var(--ease-out); }
.doc:hover img { transform: scale(1.04); }
.doc__body { position: absolute; inset: auto 0 0 0; padding: var(--sp-6); color: var(--c-neutral-0); background: linear-gradient(to top, rgba(15,23,31,.92), rgba(15,23,31,.55) 55%, transparent); }
.doc__name { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h4); }
.doc__role { font-size: var(--t-sm); opacity: 0.85; }

/* ---------- PRETURI ---------- */
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px dashed var(--border); }
.price-row__name { font-weight: 600; }
.price-row__val { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-card { position: relative; }
.price-card--featured { border-color: var(--accent); box-shadow: var(--sh-glow); }
.price-card--featured::after { content: attr(data-tag); position: absolute; top: calc(var(--sp-4) * -1); left: var(--sp-8); padding: 0.25rem var(--sp-3); border-radius: var(--r-pill); background: var(--accent); color: var(--ink-on-accent); font-size: var(--t-xs); font-weight: 700; }

/* ---------- TESTIMONIALE ---------- */
.quote { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; margin: 0 0 var(--sp-6); }
.quote::before { content: ""; display: block; width: 2rem; height: 2px; background: var(--accent); margin-bottom: var(--sp-5); border-radius: 2px; }

/* ============================================================
   ORBIT SECTION (Construct-SOR Style)
   Placile orbiteaza 3D in jurul titlului central cu pinning GSAP,
   scrub fin si drift organic. Scena de 1360x620 se scaleaza
   proportional pe orice latime de ecran ca sa nu fie nicio imagine taiata.
   ============================================================ */
.orbit-section {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background: var(--c-brand-950, #0c121e);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.orbit-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  overflow: hidden;
}
.orbit-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1360px;
  height: 620px;
  margin-left: -680px;
  margin-top: -310px;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform;
}
.orbit-card {
  position: absolute;
  width: 205px;
  height: 172px;
  border-radius: 1rem;
  overflow: hidden;
  background: #202225;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 26px 54px -20px rgba(0, 0, 0, 0.8);
  will-change: transform, opacity;
}
.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.orbit-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  pointer-events: none;
}
.orbit-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: 1rem;
  pointer-events: auto;
}

/* Orbit Center Rotating Stat/Title */
.orbit-stat-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: var(--sp-4);
}
.orbit-stat-grid {
  display: grid;
  place-items: center;
  min-height: 4.6rem;
  width: 100%;
}
.orbit-stat {
  grid-area: 1 / 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  will-change: transform, opacity;
}
.orbit-stat__pill {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-300, #4cc9f0);
  background: rgba(76, 201, 240, 0.12);
  border: 1px solid rgba(76, 201, 240, 0.28);
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill, 999px);
}
.orbit-stat__word {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.orbit-stat__fixed {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0.35rem 0 0;
}

@media (max-width: 48rem) {
  .orbit-section {
    min-height: auto;
  }
  .orbit-stage {
    min-height: 85svh;
    padding: 4rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-card {
    transition: none !important;
  }
}

/* ============================================================
   3D COVERFLOW CAROUSEL (Galerie Înainte & După)
   Perspective 3D cu cărți înclinate în spațiu, adâncime Z,
   glossy sheen și rotație fluidă continuă sau la click/swipe.
   ============================================================ */
.coverflow-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
}
.coverflow {
  position: relative;
  width: 100%;
  margin: 0 auto;
  user-select: none;
}
.coverflow__stage {
  position: relative;
  width: 100%;
  height: clamp(480px, 60vw, 550px);
  perspective: 1200px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  touch-action: pan-y;
}
.coverflow__track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coverflow__card {
  position: absolute;
  width: clamp(280px, 34vw, 420px);
  height: clamp(380px, 48vw, 490px);
  border-radius: var(--r-xl, 1.25rem);
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform, opacity;
  cursor: pointer;
}
.coverflow__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}
.coverflow__pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(12, 18, 30, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill, 999px);
}
.coverflow__img-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-inset);
}
.coverflow__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coverflow__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.04) 40%, transparent 80%);
  pointer-events: none;
}
.coverflow__body {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.coverflow__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--t-sm, 1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.coverflow__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.coverflow__tag {
  font-size: var(--t-xs, 0.8125rem);
  color: var(--ink-muted);
  font-weight: 500;
}
.coverflow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.coverflow__btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-pill, 999px);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.coverflow__btn:hover {
  background: var(--c-brand-900);
  color: #fff;
  border-color: var(--c-brand-900);
  transform: scale(1.08);
}
.coverflow__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.coverflow__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: var(--r-pill, 999px);
  border: 0;
  background: var(--c-neutral-300);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}
.coverflow__dot.is-active {
  width: 1.75rem;
  background: var(--accent);
}

/* ============================================================
   RECENZII GOOGLE
   Aspectul cardului de recenzie de pe Google: avatar cu initiale,
   nume, cand a fost scrisa, stelele in galbenul Google, textul.
   Stelele raman #FBBC05 in ambele teme — e culoarea sursei, nu a noastra.
   ============================================================ */
.g-badge {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.g-badge__sep { width: 1px; height: 2rem; background: var(--border); flex: none; }
.g-badge__score { font-family: var(--font-display); font-weight: 800; font-size: var(--t-h4); color: var(--ink); }
.g-badge__meta { font-size: var(--t-xs); color: var(--ink-subtle); }
.g-logo { width: 2rem; height: 2rem; flex: none; }

.g-stars { display: inline-flex; gap: 2px; color: #FBBC05; }
.g-stars svg { width: 0.95rem; height: 0.95rem; }

.g-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.g-review {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
  transition: border-color var(--dur-2) var(--ease-standard), transform var(--dur-3) var(--ease-standard);
}
.g-review:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.g-review__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.g-review__who { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.g-avatar {
  width: 2.5rem; height: 2.5rem; flex: none; border-radius: var(--r-pill);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-xs); color: #fff;
  background: linear-gradient(135deg, var(--c-brand-600), var(--c-accent-600));
}
.g-review__name { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.g-review__when { font-size: var(--t-xs); color: var(--ink-subtle); }
.g-review__text { margin: 0; font-size: var(--t-sm); line-height: 1.65; color: var(--ink-muted); }

/* ---------- FOOTER ---------- */
.footer { padding-block: var(--sp-20) var(--sp-10); }
.footer__grid { display: grid; gap: var(--sp-10); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer__title { font-family: var(--font-display); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--ink-subtle); margin: 0 0 var(--sp-4); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.footer__list a { color: var(--ink-muted); text-decoration: none; font-size: var(--t-sm); }
.footer__list a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; margin-top: var(--sp-16); padding-top: var(--sp-6); border-top: 1px solid var(--divider); font-size: var(--t-xs); color: var(--ink-subtle); }

/* ---------- FLOTANTE ---------- */
.fab {
  position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: var(--z-sticky);
  display: inline-flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-pill); border: 0; cursor: pointer; box-shadow: var(--sh-3);
  background: var(--primary); color: var(--primary-ink); font-weight: 600; font-size: var(--t-sm);
}

/* ---------- SLOT DE IMAGINE ----------
   Se foloseste doar in previzualizari si in schelete de pagina.
   In productie se inlocuieste cu <img> real, cu width/height si loading="lazy". */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--c-brand-700) 88%, transparent), color-mix(in srgb, var(--c-accent-600) 70%, transparent)),
    var(--bg-inset);
  color: color-mix(in srgb, #fff 78%, transparent);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 45%);
}
.ph > span { position: relative; z-index: 1; }
.ph--soft { background: linear-gradient(135deg, var(--c-brand-100), var(--c-accent-100)); color: var(--c-brand-600); }

/* ---------- UTILITARE ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--sp-4); top: -4rem; z-index: var(--z-toast); padding: var(--sp-3) var(--sp-5); background: var(--primary); color: var(--primary-ink); border-radius: var(--r-sm); transition: top var(--dur-2) var(--ease-standard); }
.skip-link:focus { top: var(--sp-4); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-xs); }
