/* ============================================================
   emma.ro — stiluri site (A2 direcție vizuală → A3 build Acasă)
   Tokeni = cei din app.css (tema sobră). Revizie 2026-11-02: direcție unificată, Cobalt, fără crem și fără decor.
   Fonturi locale, fără CDN. Direcția: DESIGN_SITE.md.
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/Baloo2.woff2") format("woff2");
}

:root {
  /* --- Culori (REVIZIE 2026-11-02 „Navy și Albastru”, PLAN_CULORI_UNIFICAT.md) ---
     Navy = suprafețe închise. Albastru acțiune = butoane, linkuri, pictograme.
     Ink = doar text și titluri. Spark = doar logo + punct mic de accent. Mint = doar semantic (făcut/trimis/încasat).
     Fundal alb + gri neutru, ca aplicația (tema sobră). Fără crem. */
  --s-brand: #175ae3;          /* Albastru acțiune: butoane cu text, linkuri; text alb 5,8:1 */
  --s-brand-hover: #1249c2;    /* 7,6:1 */
  --s-brand-bright: #4783fe;   /* doar pictograme, grafice, linkuri pe Navy — fără text alb mic */
  --s-navy: #0a1428;           /* „Navy-Ink”, identic cu meniul lateral din app: secțiunea închisă, calculator, carduri închise */
  --s-navy-700: #1f2a44;       /* elemente pe Navy-Ink */
  --s-brand-bg: #dae9ff;       /* fundal pictograme / chip-uri; albastru acțiune pe el 4,7:1 */
  --s-brand-border: #b9d3fb;
  --s-brand-bg-strong: #c6dcff; /* hover pe butonul de acțiune (varianta D, ca în app) */
  --s-ink: #001447;             /* text: bleumarin, nu negru — 16,6:1 */
  --s-ink-soft: #0a2466;
  --s-ink-alt: #000f36;
  --s-spark: #ff6a3d;
  --s-spark-deep: #e8521f;
  --s-btn: var(--s-brand);
  --s-btn-hover: var(--s-brand-hover);
  --s-spark-bg: #fdeae2;
  --s-spark-border: #fbd3c4;
  --s-mint: #2eaa5c;            /* indicator „activ” / progres complet (nu text) */
  --s-mint-deep: #0b7a3b;       /* succes ca text și pictograme, 5,4:1 */
  --s-mint-bg: #e3f4ea;
  --s-mint-border: #bfe3cc;
  --s-cream: #ffffff;          /* păstrat ca nume: text pe Cobalt și carduri albe */
  --s-spark-text: #be3f14;
  --s-mint-text: #0b7a3b;      /* succes; 4,8:1 pe fundalul de succes */
  /* Atenție / eroare (ca app.css) */
  --s-warn-text: #8a5a00;
  --s-warn-bg: #fff4d1;
  --s-warn-border: #f5dc8a;
  --s-warn-fill: #ffc20e;
  --s-danger: #d21a21;
  --s-danger-bg: #fdecec;
  /* Inelul de focus */
  --s-focus: var(--s-brand);

  /* --- Neutre (identice cu app.css, tema sobră) --- */
  --s-paper: #ffffff;        /* fundal pagină și secțiuni */
  --s-paper-deep: #f6f8fc;   /* gri rece nuanțat albastru: secțiuni alternate, fundalul scenelor */
  --s-sand: #e2e7f0;         /* chenare carduri */
  --s-control-border: #cdd5e3; /* chenar buton secundar / câmpuri */
  --s-line: #eef1f6;
  --s-line-strong: #e2e7f0;
  --s-muted: #5c6886;           /* text secundar gri-albastru, 5,2:1 */
  --s-muted-light: #7d88a6;
  --s-on-ink: #ffffff;        /* text pe Navy */
  --s-on-ink-muted: #97a1bb;  /* text secundar pe Navy, 6,4:1 */
  --s-ink-line: rgba(255, 255, 255, 0.18);

  /* --- Tipografie --- */
  --s-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --s-font-brand: "Baloo 2", var(--s-font);
  --s-h1: clamp(38px, 5.2vw, 64px);
  --s-h2: clamp(30px, 3.6vw, 44px);
  --s-h3: clamp(20px, 1.8vw, 24px);
  --s-lead: clamp(17px, 1.4vw, 20px);
  --s-body: 16px;
  --s-small: 14px;
  --s-eyebrow: 13px;

  /* --- Raze (comune site · conectare · app, 2026-11-02: controale 10, insigne 4, carduri 14, panouri 16) --- */
  --s-r-btn: 10px;
  --s-r-chip: 4px;
  --s-r-card: 14px;
  --s-r-card-lg: 16px;
  --s-r-mock: 14px;   /* cardurile din ilustrații */

  /* --- Umbre (discrete, ca app) --- */
  --s-shadow-card: 0 1px 2px rgba(13, 19, 33, 0.04), 0 8px 24px -16px rgba(13, 19, 33, 0.18);
  --s-shadow-float: 0 1px 2px rgba(13, 19, 33, 0.05), 0 24px 48px -24px rgba(13, 19, 33, 0.26);
  --s-shadow-btn: none;
  --s-shadow-control: 0 1px 2px rgba(13, 19, 33, 0.05);

  /* --- Spațiere --- */
  --s-container: 1160px;
  --s-gutter: 24px;
  --s-section: clamp(64px, 9vw, 112px);
  --s-gap: 16px;
  --s-gap-lg: 32px;
  --s-btn-h: 52px;
  --s-btn-h-sm: 44px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--s-paper);
  color: var(--s-ink);
  font-family: var(--s-font);
  font-size: var(--s-body);
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(100% - 2 * var(--s-gutter), var(--s-container));
  margin-inline: auto;
}

/* ---------- Tipografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--s-eyebrow); font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--s-muted);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 2px; background: var(--s-spark); }
.on-ink .eyebrow { color: var(--s-on-ink-muted); }
.h1 { font-size: var(--s-h1); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
.h1, .h2, .turn { text-wrap: balance; }
.h2 { font-size: var(--s-h2); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-size: var(--s-h3); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: var(--s-lead); line-height: 1.5; color: var(--s-muted); font-weight: 400; }
.on-ink .lead { color: var(--s-on-ink-muted); }
.small { font-size: var(--s-small); color: var(--s-muted); }
.on-ink .small { color: var(--s-on-ink-muted); }
.accent { color: inherit; }
.hl { background: none; } /* 2026-11-02: fără subliniere marker în titluri */

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--s-btn-h); padding: 0 24px;
  border-radius: var(--s-r-btn); border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: none; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--s-focus); outline-offset: 2px; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--s-brand-bg); color: var(--s-brand-hover); border-color: var(--s-brand-border); box-shadow: none; } /* 2026-11-02: „varianta D”, identic cu butonul de acțiune din app — fundal albastru foarte deschis, text albastru închis (6,2:1) */
.btn-primary:hover { background: var(--s-brand-bg-strong); border-color: var(--s-brand-hover); }
.btn-secondary { background: #fff; color: var(--s-ink); border-color: var(--s-control-border); box-shadow: var(--s-shadow-control); }
.btn-secondary:hover { border-color: var(--s-ink); }
.on-ink .btn-secondary { background: transparent; color: var(--s-on-ink); border-color: var(--s-ink-line); }
.on-ink .btn-secondary:hover { border-color: var(--s-on-ink); background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; color: var(--s-ink); padding-inline: 14px; }
.btn-ghost:hover { background: var(--s-paper-deep); transform: none; }
.btn-sm { height: var(--s-btn-h-sm); padding: 0 18px; font-size: 15px; }

/* ---------- Carduri ---------- */
.card {
  background: #fff; border: 1px solid var(--s-sand);
  border-radius: var(--s-r-card); padding: 28px; box-shadow: var(--s-shadow-card);
}
.card-cream { background: var(--s-paper-deep); }
.card-ink { background: var(--s-navy); color: var(--s-on-ink); border-color: var(--s-navy); }

/* ---------- Chip-uri / pictograme ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--s-r-chip);
  font-size: 13px; font-weight: 600; line-height: 1;
}
.chip-mint { background: var(--s-mint-bg); color: var(--s-mint-text); }
.chip-spark { background: var(--s-brand-bg); color: var(--s-brand); }
.chip-ink { background: var(--s-paper-deep); color: var(--s-ink); }
.ico {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--s-r-btn);
  background: var(--s-brand-bg); color: var(--s-brand);
}
.ico svg { width: 20px; height: 20px; }
.ico-mint { background: var(--s-mint-bg); color: var(--s-mint-deep); }
.ico-ink { background: var(--s-brand-bg); color: var(--s-brand); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--s-line);
}
.nav .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav .logo img { height: 28px; width: auto; } /* proporția originală a logo-ului: 480×95 (5:1) */
.nav .links { display: flex; gap: 24px; margin-left: 12px; font-weight: 500; font-size: 15px; color: var(--s-muted); }
.nav .links a:hover { color: var(--s-ink); }
.nav .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav.on-ink { background: rgba(10, 20, 40, 0.95); border-color: var(--s-ink-line); color: var(--s-on-ink); }
.nav.on-ink .links { color: var(--s-on-ink-muted); }
.nav.on-ink .links a:hover { color: var(--s-on-ink); }
.nav.on-ink .btn-ghost { color: var(--s-on-ink); }
.nav.on-ink .btn-ghost:hover { background: rgba(255,252,246,.08); }

/* ============================================================
   STILUL ILUSTRAȚIILOR: „mock-up card”
   Obiecte de interfață redesenate simplificat, plutitoare.
   ============================================================ */
.mock {
  background: #fff; border: 1px solid var(--s-sand);
  border-radius: var(--s-r-mock); padding: 14px 16px;
  box-shadow: var(--s-shadow-float);
  font-size: 12px; line-height: 1.35; color: var(--s-ink);
  width: max-content;
}
.mock, .mock-wa, .mock-dash { color: var(--s-ink); }
.mock .small, .mock-dash .small { color: var(--s-muted); }
.mock-row .val, .mock-row b { white-space: nowrap; }
.mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mock-head .ico { width: 30px; height: 30px; border-radius: 9px; }
.mock-head .ico svg { width: 15px; height: 15px; }
.mock-title { font-weight: 700; font-size: 13px; }
.mock-sub { color: var(--s-muted); font-size: 11px; }
.mock-row { display: flex; justify-content: space-between; gap: 18px; padding: 6px 0; border-top: 1px dashed var(--s-line); }
.mock-row:first-of-type { border-top: 0; }
.mock-row b { font-weight: 600; }
.mock-row .val { color: var(--s-muted); }
.mock-line { height: 7px; border-radius: 4px; background: var(--s-paper-deep); margin: 6px 0; }
.mock-line.w60 { width: 60%; } .mock-line.w80 { width: 80%; } .mock-line.w40 { width: 40%; }
.mock-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; }
.mock-badge.mint { background: var(--s-mint-bg); color: var(--s-mint-deep); }
.mock-badge.spark { background: var(--s-warn-bg); color: var(--s-warn-text); }
.mock-badge.ink { background: var(--s-paper-deep); color: var(--s-ink); }
.mock-badge svg { width: 12px; height: 12px; }
.mock-btn { display: inline-block; background: var(--s-brand-bg); color: var(--s-brand-hover); box-shadow: inset 0 0 0 1px var(--s-brand-border); padding: 7px 12px; border-radius: 8px; font-weight: 600; font-size: 12px; }

/* bula WhatsApp */
.mock-wa { background: #fff; border-radius: var(--s-r-mock); border: 1px solid var(--s-sand); padding: 12px 14px; max-width: 250px; box-shadow: var(--s-shadow-float); font-size: 12px; }
.mock-wa .from { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; font-size: 12px; }
.mock-wa .from .ico { width: 24px; height: 24px; border-radius: 7px; }
.mock-wa .from .ico svg { width: 13px; height: 13px; }
.mock-wa .bubble { background: var(--s-mint-bg); border-radius: 12px 12px 12px 3px; padding: 9px 11px; color: var(--s-ink); }
.mock-wa .time { text-align: right; color: var(--s-muted-light); font-size: 10px; margin-top: 4px; }

/* mini calendar */
.mock-cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 8px; }
.mock-cal span { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 600; background: var(--s-paper-deep); color: var(--s-muted); }
.mock-cal span.on { background: var(--s-mint); color: #fff; }
.mock-cal span.next { background: var(--s-brand); color: #fff; }

/* dashboard mare (varianta B) */
.mock-dash { width: 100%; max-width: 920px; margin-inline: auto; background: var(--s-paper-deep); border: 1px solid var(--s-sand); border-radius: var(--s-r-card-lg); box-shadow: var(--s-shadow-float); overflow: hidden; font-size: 13px; }
.mock-dash .bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--s-line); background: #fff; }
.mock-dash .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--s-paper-deep); display: block; }
.mock-dash .bar .ttl { margin-left: 8px; font-weight: 600; color: var(--s-muted); font-size: 12px; }
.mock-dash .body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; padding: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--s-sand); border-radius: 14px; padding: 14px; }
.kpi .lbl { color: var(--s-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kpi .num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.kpi .num.spark { color: var(--s-ink); }
.kpi .num.mint { color: var(--s-mint-deep); }
.techs { background: #fff; border: 1px solid var(--s-sand); border-radius: 14px; padding: 12px 14px; }
.techs .t { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--s-line); }
.techs .t:first-child { border-top: 0; }
.techs .av { width: 26px; height: 26px; border-radius: 8px; background: var(--s-navy); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.techs .t .n { font-weight: 600; flex: 1; }
.techs .prog { width: 70px; height: 6px; background: var(--s-paper-deep); border-radius: 3px; overflow: hidden; }
.techs .prog i { display: block; height: 100%; background: var(--s-mint); }
.sched { margin-top: 12px; background: #fff; border: 1px solid var(--s-sand); border-radius: 14px; padding: 12px 14px; }
.sched .ev { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; }
.sched .ev .h { font-weight: 700; color: var(--s-muted); font-size: 11px; }
.sched .ev .c { font-weight: 600; }
.sched .ev .c small { display: block; color: var(--s-muted); font-weight: 400; font-size: 11px; }

/* glifa spark decorativă (din logo) */

/* ---------- Fundaluri decorative ---------- */
/* Blob-uri difuze desenate cu gradient radial (fără filter: blur — mult mai ieftin la randare, mai ales pe telefon) */

/* ============================================================
   HERO — „Split cald” (varianta A din A2)
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 22px; max-width: 580px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero .scene { position: relative; min-height: 520px; }
.hero .scene .pv { position: absolute; left: 6%; top: 12%; width: max-content; }
.hero .scene .wa { position: absolute; right: 0; top: 0; }
.hero .scene .inv { position: absolute; right: 2%; top: 50%; }
.hero .scene .cal { position: absolute; left: 0; bottom: 4%; }

/* bara de încredere */
.trust { border-top: 1px solid var(--s-sand); border-bottom: 1px solid var(--s-sand); background: var(--s-paper-deep); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0; }
.trust .item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.trust .ico { width: 36px; height: 36px; border-radius: 10px; }
.trust .ico svg { width: 18px; height: 18px; }

.trust ul.container { list-style: none; margin-block: 0; }
.hero .mock-cal span:nth-child(-n+10) { background: var(--s-mint); color: #fff; }
.hero .mock-cal span:nth-child(11) { background: var(--s-brand); color: #fff; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.row-end { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================
   PAGINA ACASĂ — structură comună
   ============================================================ */
ul, ol { margin: 0; padding: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--s-brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--s-focus); outline-offset: 2px; border-radius: 6px; }
main { display: block; overflow-x: clip; }

.sec { position: relative; padding: var(--s-section) 0; }
.sec-paper { background: var(--s-paper); }
.sec-cream { background: var(--s-paper-deep); border-block: 1px solid var(--s-sand); }
.sec-ink { background: var(--s-navy); color: var(--s-on-ink); overflow: hidden; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > .copy { display: flex; flex-direction: column; gap: 18px; max-width: 580px; }
.split.rev > .copy { order: 2; }
.split.rev > .scene, .split.rev > .ba { order: 1; }

.bullets { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.bullets li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.bullets svg { width: 20px; height: 20px; margin-top: 2px; color: var(--s-mint-deep); }
.on-ink .bullets svg { color: var(--s-mint); }
.on-ink .bullets li { color: var(--s-on-ink-muted); }
.on-ink .bullets b { color: var(--s-on-ink); }
.closing { font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; padding-top: 4px; }

/* scene de ilustrații: obiectele sunt poziționate absolut */
.scene { position: relative; min-height: 440px; }
.scene > .mock, .scene > .mock-wa, .scene > .doc { position: absolute; }

/* ---------- Nav (completări: meniu mobil) ---------- */
.nav-panel { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav .links a { padding: 6px 0; }
.nav-toggle, .nav-cta-mobile { display: none; }
.nav-toggle {
  width: 44px; height: 44px; border-radius: var(--s-r-btn); border: 1px solid var(--s-sand);
  background: #fff; color: var(--s-ink); place-items: center; cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav.is-open .nav-toggle .i-open { display: none; }
.nav.is-open .nav-toggle .i-close { display: block; }

/* ---------- 3 · Problema ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-col { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ba-before { background: var(--s-paper-deep); border: 1px dashed var(--s-sand); border-radius: var(--s-r-card); padding: 18px; min-height: 360px; }
.ba-pile { position: relative; width: 100%; flex: 1; min-height: 290px; }
.ba-pile .paper { position: absolute; width: 160px; box-shadow: var(--s-shadow-control); background: #fdfbf7; }
.ba-pile .paper .mock-sub { font-weight: 600; margin-bottom: 4px; }
.ba-pile .p1 { left: 0; top: 0; transform: rotate(-6deg); }
.ba-pile .p2 { right: 0; top: 50px; transform: rotate(5deg); }
.ba-pile .p3 { left: 6%; top: 140px; transform: rotate(3deg); }
.ba-pile .p4 { right: 4%; top: 200px; transform: rotate(-4deg); }
.ba-after { padding: 18px 0; }
.ba-before .chip-ink { background: #fff; }
.ba-after .day { width: 100%; }
.day-ev { display: grid; grid-template-columns: 38px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--s-line); }
.day-ev .h { font-weight: 700; color: var(--s-muted); font-size: 11px; }
.day-ev .c { font-weight: 600; }
.day-ev .c small { display: block; color: var(--s-muted); font-weight: 400; font-size: 11px; }
.day-ev .tick { width: 20px; height: 20px; border-radius: 6px; background: var(--s-mint-bg); color: var(--s-mint-deep); display: grid; place-items: center; }
.day-ev .tick svg { width: 12px; height: 12px; }
.turn {
  position: relative; max-width: 860px; margin: clamp(48px, 7vw, 88px) auto 0; text-align: center;
  font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em;
}

/* ---------- 4 · Fluxul de lucru (traseu în zig-zag) ---------- */
.flow { --dot: 18px; --r: 44px; }
.flow-row { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.flow-row + .flow-row { margin-top: 48px; }
.flow-row::before { /* linia orizontală a rândului */
  content: ""; position: absolute; top: var(--dot); left: 12.5%; right: 12.5%;
  border-top: 2px dashed var(--s-sand);
}
.flow-row:first-child::after { /* curba din dreapta care coboară în rândul 2 (pe lângă conținut) */
  content: ""; position: absolute; top: var(--dot); left: 87.5%; width: calc(12.5% + 10px);
  height: calc(100% + 48px); border: 2px dashed var(--s-sand); border-left: 0;
  border-radius: 0 var(--r) var(--r) 0;
}
.flow-rev::before { left: 37.5%; }
.flow-rev .stop:nth-child(1) { grid-column: 4; grid-row: 1; }
.flow-rev .stop:nth-child(2) { grid-column: 3; grid-row: 1; }
.flow-rev .stop:nth-child(3) { grid-column: 2; grid-row: 1; }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 12px; }
.stop-dot {
  position: relative; z-index: 1; width: calc(var(--dot) * 2); height: calc(var(--dot) * 2); border-radius: 50%;
  display: grid; place-items: center; background: var(--s-navy); color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 0 0 6px var(--s-cream);
}
.stop-end .stop-dot { background: var(--s-mint); color: #fff; }
.mock.mini { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; margin: 6px 0 4px; max-width: 100%; }
.mock.mini .ico { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.mock.mini .ico svg { width: 15px; height: 15px; }
.stop-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.stop .small { max-width: 240px; }

/* ---------- 5 · Conformitate (Ink) ---------- */
.scene-conf .dosar { width: 270px; left: 10%; top: 40px; }
.scene-conf .ready { right: 4%; top: 250px; }
.scene-conf .g1 { right: 22%; top: 70px; }
.scene-conf .g2 { left: 4%; bottom: 40px; width: 18px; height: 18px; }

/* ---------- 6 · Automatizări ---------- */
.scene-auto .wa { left: 50%; top: 70px; transform: translateX(-50%); max-width: 290px; width: 290px; }
.scene-auto .wa .att { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 9px; border-radius: 9px; background: var(--s-paper); font-weight: 600; font-size: 11px; }
.scene-auto .wa .att svg { width: 14px; height: 14px; color: var(--s-mint-deep); }
.scene-auto .job { left: 0; top: 0; }
.scene-auto .alert { right: 0; bottom: 20px; border-color: var(--s-warn-border); }
.scene-auto .g1 { left: 10%; bottom: 60px; }

/* ---------- 7 · Retenție ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.stats li { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--s-mint); font-size: 14px; color: var(--s-muted); }
.stats b { color: var(--s-ink); font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; }
.stats li:first-child b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.scene-ret .year { left: 4%; top: 20px; width: 320px; }
.year-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.year-grid span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0 7px; border-radius: 9px; background: var(--s-mint-bg); color: var(--s-mint-deep); font-weight: 700; font-size: 11px; }
.year-grid span i { font-style: normal; }
.year-grid svg { width: 13px; height: 13px; }
.year-grid span:nth-child(11) { background: var(--s-brand); color: #fff; }
.year-grid span:nth-child(11) svg, .year-grid span:nth-child(12) svg { visibility: hidden; }
.year-grid span:nth-child(12) { background: var(--s-paper-deep); color: var(--s-muted); }
.scene-ret .wa { right: 0; bottom: 30px; }
.scene-ret .g1 { right: 12%; top: 40px; }

/* ---------- 8 · Control (dashboard din varianta B) ---------- */
.dash-stage { position: relative; }
.dash-stage .mock-dash { position: relative; }
.mock-dash .kpi .small { font-size: 11px; }
.mock-dash .kpi:nth-child(2) .num { color: var(--s-ink); }
.mock-dash .kpi:nth-child(3) .num { color: var(--s-mint-deep); }
.mock-dash .sched .ev .mock-badge { background: var(--s-paper-deep); color: var(--s-ink); }
.mock-dash .sched .ev:nth-child(1) .mock-badge { background: var(--s-mint-bg); color: var(--s-mint-deep); }
.mock-dash .sched .ev:nth-child(2) .mock-badge { background: var(--s-brand-bg); color: var(--s-brand); }
.techs-title { font-weight: 700; margin-bottom: 6px; }
.techs-cta { margin-top: 10px; }
.techs .t:nth-child(2) .prog i { width: 66%; }
.techs .t:nth-child(3) .prog i { width: 40%; }
.techs .t:nth-child(4) .prog i { width: 100%; }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.feature-grid .card { padding: 22px; font-size: 15px; color: var(--s-muted); }
.feature-grid b { color: var(--s-ink); }

/* ---------- 9 · Dosar client ---------- */
.scene-dosar .search { left: 0; top: 10px; display: flex; align-items: center; gap: 10px; width: 260px; padding: 12px 14px; font-size: 13px; font-weight: 600; z-index: 2; }
.scene-dosar .search svg { width: 16px; height: 16px; color: var(--s-muted); }
.scene-dosar .search .caret { width: 2px; height: 16px; background: var(--s-brand); }
.scene-dosar .client { left: 10%; top: 80px; width: 340px; }
.tabs { display: flex; gap: 4px; margin: 2px 0 8px; padding: 4px; background: var(--s-paper); border-radius: 10px; }
.tabs span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 7px; font-weight: 600; font-size: 11px; color: var(--s-muted); }
.tabs span:nth-child(2) { background: #fff; color: var(--s-ink); box-shadow: var(--s-shadow-control); }
.scene-dosar .qr { left: calc(10% + 280px); top: 44px; z-index: 2; padding: 12px; text-align: center; }
.scene-dosar .qr svg { width: 84px; height: 84px; color: var(--s-ink); display: block; margin-bottom: 6px; }

/* ---------- 10 · Tipizate ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.doc {
  width: 180px; aspect-ratio: 210 / 297; padding: 14px; background: #fff; border: 1px solid var(--s-sand);
  border-radius: var(--s-r-mock); box-shadow: var(--s-shadow-float); font-size: 11px; display: flex; flex-direction: column;
}
.doc-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--s-line); }
.doc-head b { display: block; font-size: 10px; }
.doc-head small { display: block; color: var(--s-muted); font-size: 9px; }
.doc-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--s-navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 11px; flex: none; }
.doc-title { font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.doc-foot { margin-top: auto; }
.scene-docs .d1 { left: 2%; top: 70px; }
.scene-docs .d2 { left: 24%; top: 40px; }
.scene-docs .d3 { left: 46%; top: 30px; }
.scene-docs .d4 { left: 66%; top: 50px; }

/* ---------- 11 · Gestiune ---------- */
.shelf { position: absolute; left: 0; right: 8%; top: 20px; display: flex; justify-content: space-around; align-items: flex-end; gap: 12px; padding: 22px 18px 16px; background: #fff; border: 1px solid var(--s-sand); border-radius: var(--s-r-card); box-shadow: var(--s-shadow-float); }
.can { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.can-body { position: relative; width: 74px; height: 104px; border-radius: 14px 14px 12px 12px; background: var(--s-paper-deep); border: 2px solid var(--s-sand); overflow: hidden; margin-bottom: 6px; }
.can-cap { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 26px; height: 10px; border-radius: 4px; background: var(--s-ink); z-index: 1; }
.can-fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--s-mint); opacity: .85; }
.c1 .can-fill { height: 64%; }
.c2 .can-fill { height: 78%; }
.c3 .can-fill { height: 14%; background: var(--s-warn-fill); }
.low-badge { position: absolute; right: 12px; top: 10px; }
.link-line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--s-mint-deep); pointer-events: none; }
.scene-stock .pvstock { right: 0; bottom: 10px; width: 240px; }

/* ---------- 12 · Instruire ---------- */
.bonus { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; font-size: 15px; margin-top: 4px; }
.bonus .ico { flex: none; }
.scene-train .route { left: 4%; top: 50px; width: 290px; }
.scene-train .route .mock-badge { background: var(--s-mint-bg); color: var(--s-mint-deep); }
.scene-train .route .r3 .mock-badge { background: var(--s-warn-bg); color: var(--s-warn-text); }
.scene-train .route .r3 .mock-badge svg { display: none; }
.scene-train .cert { right: 2%; bottom: 60px; }
.scene-train .g1 { right: 20%; top: 40px; }

/* ---------- 13 · Integrări ---------- */
.hub { position: relative; display: flex; flex-direction: column; align-items: center; }
.hub-logo { position: relative; z-index: 1; padding: 14px 18px; border-radius: 16px; }
.hub-logo img { height: 28px; width: auto; }
.hub-lines { width: 66.6%; height: 60px; color: var(--s-sand); display: block; }
.integ { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.integ .card { display: flex; flex-direction: column; gap: 12px; }
.integ p { color: var(--s-muted); }

/* ---------- 14 · Pornirea ---------- */
.steps { list-style: none; display: grid; gap: 16px; }
.steps .card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px; padding: 22px 24px; font-size: 18px; }
.step-n { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--s-sand); min-width: 26px; }
.steps .card-ink .step-n { color: var(--s-on-ink-muted); }
.steps .card:nth-child(2) { margin-left: 32px; }
.steps .card:nth-child(3) { margin-left: 64px; }

/* ---------- 15 · Prețuri (rezumat) ---------- */
.price-teaser { max-width: 820px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(32px, 5vw, 56px); border-radius: var(--s-r-card-lg); }

/* ---------- 15 · Rentabilitate (exemplu de calcul, deasupra rezumatului de prețuri) ---------- */
.roi { margin-bottom: clamp(48px, 7vw, 88px); }
.roi .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.roi-card { display: flex; flex-direction: column; gap: 16px; max-width: 520px; width: 100%; justify-self: center; }
.roi-rows { margin: 0; }
.roi-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border-top: 1px dashed var(--s-line-strong); }
.roi-row:first-child { border-top: 0; }
.roi-row dt { color: var(--s-muted); }
.roi-row dd { margin: 0; font-weight: 700; text-align: right; }
.roi-result { margin: 0; padding: 16px 18px; border-radius: var(--s-r-mock); background: var(--s-mint-bg); border: 1px solid var(--s-mint-border); font-size: 18px; font-weight: 600; line-height: 1.4; }
.roi-result b { font-size: 28px; font-weight: 800; color: var(--s-mint-text); letter-spacing: -0.02em; }
.roi-year { margin: 0; font-weight: 600; }
.roi-year b { color: var(--s-mint-text); }
.roi-note { margin: 0; color: var(--s-muted); }
@media (max-width: 720px) {
  .roi .ctas .btn { width: 100%; }
  .roi-row { flex-direction: column; gap: 2px; }
  .roi-row dd { text-align: left; }
}

/* ---------- 16 · FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--s-line-strong); }
.faq-item { border-bottom: 1px solid var(--s-line-strong); }
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-size: 18px; font-weight: 700; color: var(--s-ink); letter-spacing: -0.01em;
}
.faq-q svg { flex: none; width: 22px; height: 22px; color: var(--s-brand); transition: transform .2s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { color: var(--s-muted); padding: 0 40px 20px 0; }
.faq-a a { color: var(--s-ink); text-decoration: underline; text-decoration-color: var(--s-mint); text-underline-offset: 3px; }
.js .faq-a { display: none; }
.js .faq-item.is-open .faq-a { display: block; }

/* ---------- 17 · CTA final ---------- */
.cta-final { overflow: hidden; text-align: center; background: var(--s-paper); }
.cta-final .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; }
.cta-final .ctas { margin-top: 6px; }
.talk { color: var(--s-muted); font-weight: 500; }
.talk a { color: var(--s-ink); font-weight: 600; white-space: nowrap; }
.talk a:hover { text-decoration: underline; }

/* ---------- 18 · Footer ---------- */
.footer { background: var(--s-paper-deep); border-top: 1px solid var(--s-line); padding: 56px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--s-line-strong); }
.footer .logo img { height: 28px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer h2, .footer h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--s-muted); margin: 0 0 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a:hover { color: var(--s-spark-text); }
.footer-legal { padding-top: 24px; font-size: 13px; color: var(--s-muted); line-height: 1.6; }
.footer-legal strong { color: var(--s-ink); font-weight: 600; }
.footer-legal a { color: var(--s-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   ANIMAȚII LA SCROLL — doar dacă utilizatorul nu a cerut mișcare redusă
   (clasa .js e pusă din <head>; .is-in vine din site.js)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not([data-reveal="scene"]) { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
  .js [data-reveal="scene"] > :not(.blob) { opacity: 0; translate: 0 22px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal="scene"] > :nth-child(2) { transition-delay: .08s; }
  .js [data-reveal="scene"] > :nth-child(3) { transition-delay: .16s; }
  .js [data-reveal="scene"] > :nth-child(4) { transition-delay: .24s; }
  .js [data-reveal="scene"] > :nth-child(5) { transition-delay: .32s; }
  .js [data-reveal].is-in, .js [data-reveal="scene"].is-in > * { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-q svg { transition: none; }
}

/* ============================================================
   RESPONSIVE — mobil < 720px, tabletă 720–1020px, desktop > 1020px
   ============================================================ */
@media (max-width: 1200px) and (min-width: 1021px) {
  .hero .scene .pv { left: 0; }
  .hero .scene .wa { max-width: 215px; }
  .hero .scene .inv { top: 54%; }
}
@media (max-width: 1100px) {
  .scene-docs .doc { width: 160px; }
}
@media (max-width: 1020px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero .scene { min-height: 480px; max-width: 560px; width: 100%; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .nav .container { gap: 20px; }
  .nav-panel { gap: 20px; }
  .nav .links { gap: 18px; margin-left: 0; }

  .split { grid-template-columns: 1fr; }
  .split.rev > .copy { order: 0; }
  .split.rev > .scene, .split.rev > .ba { order: 1; }
  .split > .copy { max-width: 680px; }
  .split > .scene { max-width: 560px; width: 100%; }
  .split > .ba { max-width: 620px; width: 100%; }

  /* fluxul devine listă verticală */
  .flow-row { grid-template-columns: 1fr; gap: 0; }
  .flow-row + .flow-row { margin-top: 0; }
  .flow-row::before, .flow-row:first-child::after { display: none; }
  .flow-rev .stop:nth-child(n) { grid-column: auto; grid-row: auto; }
  .flow { position: relative; max-width: 640px; }
  .flow::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 40px; border-left: 2px dashed var(--s-sand); }
  .stop { display: grid; grid-template-columns: 36px 1fr; column-gap: 18px; row-gap: 6px; align-items: start; text-align: left; padding: 0 0 32px; }
  .stop-dot { grid-row: 1 / span 3; }
  .stop .mock.mini { grid-column: 2; margin: 0 0 4px; justify-self: start; }
  .stop-title, .stop .small { grid-column: 2; }
  .stop .small { max-width: none; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-dash .body { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 8px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --s-gutter: 16px; --s-btn-h: 48px; }

  /* nav: logo + „Începe gratuit” + meniu */
  .nav-toggle { display: grid; }
  .nav-cta-mobile { display: inline-flex; margin-left: auto; padding: 0 14px; }
  .nav .container { gap: 10px; }
  .js .nav-panel { display: none; }
  .nav-panel {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--s-gutter) 20px; background: var(--s-paper); border-bottom: 1px solid var(--s-line-strong);
    box-shadow: 0 24px 40px -24px rgba(13,19,33,.25);
  }
  html:not(.js) .nav-panel { position: static; display: none; }
  .js .nav.is-open .nav-panel { display: flex; }
  .nav .links { display: flex; flex-direction: column; gap: 0; font-size: 17px; color: var(--s-ink); }
  .nav .links a { padding: 13px 0; border-bottom: 1px solid var(--s-line); }
  .nav .actions { margin: 8px 0 0; flex-direction: column; align-items: stretch; }
  .nav .actions .btn { width: 100%; height: 48px; }
  .nav .actions .btn-ghost { border: 1px solid var(--s-sand); background: #fff; }
  .nav .actions .nav-cta { display: none; }

  .hero .scene { min-height: 400px; }
  .hero .scene .pv { left: 0; top: 150px; }
  .hero .scene .wa { max-width: 230px; right: 0; top: 0; }
  .hero .scene .inv, .hero .scene .cal { display: none; }
  .hero .ctas .btn, .cta-final .ctas .btn, .price-teaser .btn { width: 100%; }
  .cta-final .ctas { width: 100%; }
  .trust .container { grid-template-columns: 1fr; gap: 14px; }
  .sec-head { margin-bottom: 28px; }

  /* scene pe mobil: obiectul principal + unul secundar, rotații ≤ 2°, înălțime fixă */
  .scene { min-height: 380px; }
  .nav { backdrop-filter: none; background: var(--s-paper); }
  .js [data-reveal="scene"] > :not(.blob) { opacity: 1; translate: none; transition: none; }
  .mock .mock-row .val { white-space: normal; text-align: right; }

  .ba { grid-template-columns: 1fr; }
  .ba-before { min-height: 0; }
  .ba-pile { min-height: 190px; }
  .ba-pile .paper { width: 150px; }
  .ba-pile .p1 { transform: rotate(-2deg); }
  .ba-pile .p2 { top: 20px; transform: rotate(2deg); }
  .ba-pile .p3 { top: 100px; transform: rotate(1.5deg); }
  .ba-pile .p4 { display: none; }
  .ba-after { padding: 0; }

  .scene-conf .dosar { left: 0; top: 0; width: min(270px, 82%); }
  .scene-conf .ready { right: 0; top: 220px; }
  .scene-conf { min-height: 300px; }

  .scene-auto .job { display: none; }
  .scene-auto .wa { left: 0; top: 0; width: min(290px, 88%); }
  .scene-auto .alert { right: 0; top: 230px; bottom: auto; }
  .scene-auto { min-height: 310px; }

  .stats { grid-template-columns: 1fr; }
  .scene-ret .year { left: 0; top: 0; width: min(320px, 92%); }
  .scene-ret .wa { right: 0; bottom: 0; max-width: 240px; }
  .scene-ret { min-height: 420px; }

  .mock-dash .body { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .kpis { gap: 8px; }
  .kpi { padding: 10px; }
  .kpi .num { font-size: 22px; }
  .kpi .lbl { font-size: 10px; letter-spacing: .02em; }
  .mock-dash .bar .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mock-dash .techs { display: none; }
  .sched .ev { grid-template-columns: 38px 1fr auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }

  .scene-dosar .search { left: 0; top: 0; width: 220px; }
  .scene-dosar .client { left: 0; top: 64px; width: min(340px, 100%); }
  .scene-dosar .qr { display: none; }
  .scene-dosar { min-height: 310px; }

  .scene-docs { min-height: 300px; }
  .scene-docs .doc { width: 150px; }
  .scene-docs .d1, .scene-docs .d2 { display: none; }
  .scene-docs .d3 { left: 4%; top: 20px; }
  .scene-docs .d4 { left: auto; right: 4%; top: 50px; }

  .scene-stock { min-height: 330px; }
  .scene-stock .pvstock { top: 200px; bottom: auto; }
  .shelf { right: 0; padding: 20px 10px 14px; gap: 6px; }
  .can-body { width: 58px; height: 84px; }
  .can b { font-size: 11px; }
  .scene-stock .pvstock { width: 220px; }
  .link-line { display: none; }

  .scene-train .route { left: 0; top: 0; width: min(290px, 88%); }
  .scene-train .cert { right: 0; top: 200px; bottom: auto; }
  .scene-train { min-height: 280px; }

  .hub-lines { display: none; }
  .hub { margin-bottom: 20px; }
  .integ { grid-template-columns: 1fr; gap: 12px; }

  .steps .card:nth-child(n) { margin-left: 0; }
  .steps .card { font-size: 17px; padding: 18px; gap: 12px; }

  .faq-q { font-size: 17px; }
  .faq-a { padding-right: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols nav { grid-column: 1 / -1; }
}

/* ============================================================
   PAGINI SECUNDARE (A4) — Funcționalități, Prețuri, Contact, 404, Mulțumim
   Mutate din <style>-urile previzualizărilor din design/, comasate.
   ============================================================ */

/* ---------- Completări comune ---------- */
.nav .links a[aria-current="page"] { color: var(--s-ink); font-weight: 600; }
.btn-ink { background: var(--s-brand-bg); color: var(--s-brand-hover); border-color: var(--s-brand-border); }
.btn-ink:hover { background: var(--s-brand-bg-strong); border-color: var(--s-brand-hover); }
.link-mint { font-weight: 600; text-decoration: underline; text-decoration-color: var(--s-mint); text-underline-offset: 3px; }
.link-mint:hover { text-decoration-color: var(--s-ink); }
.lead .tel { color: var(--s-ink); font-weight: 600; white-space: nowrap; }
.mock-badge.soft { background: var(--s-paper-deep); color: var(--s-ink); }
.mock .src { display: block; color: var(--s-muted); font-weight: 500; font-size: 11px; }
.mock-progress { height: 6px; border-radius: 4px; background: var(--s-paper-deep); margin-top: 6px; }
.mock-progress i { display: block; height: 100%; width: 42%; border-radius: 4px; background: var(--s-mint); }
.mock .mt { margin-top: 6px; }
.mock .mb-xs { margin-bottom: 4px; }
.mock .mb { margin-bottom: 8px; }
.mock .mock-head.flat { margin: 0; }
.mock .sum { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; margin: 2px 0 8px; }

/* antet de pagină centrat (Funcționalități, Prețuri) */
.page-head { position: relative; overflow: hidden; background: var(--s-paper); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-head .container { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 860px; }

/* bloc Ink de înscriere (Contact, Mulțumim) */
.start-box { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 24px; border-radius: var(--s-r-card); background: var(--s-navy); color: var(--s-cream); }
.start-box b { font-size: 18px; letter-spacing: -0.01em; }
.start-box span { color: var(--s-on-ink-muted); font-size: 15px; margin-bottom: 10px; }
.start-box.center { align-items: center; text-align: center; padding: 26px 28px; width: 100%; max-width: 560px; margin-top: 10px; }
.start-box.center b { font-size: 19px; }

/* CTA de final pe Cream (Funcționalități › Pornirea) */
.cta-final.cta-cream { background: var(--s-paper-deep); border-top: 1px solid var(--s-sand); }
.cta-final .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-final .micro { color: var(--s-muted); font-size: 14px; }

/* ---------- Funcționalități ---------- */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; border: 1px solid var(--s-sand); font-weight: 600; font-size: 15px; }
.jump a:hover { border-color: var(--s-ink); }
.jump a span { color: var(--s-muted); font-weight: 700; font-size: 13px; }
.group-head { padding: clamp(48px, 7vw, 80px) 0 0; background: var(--s-paper); }
.group-head .sec-head { margin-bottom: 0; }
.group-n { font-size: 13px; font-weight: 700; color: var(--s-muted); letter-spacing: .06em; text-transform: uppercase; }
[id] { scroll-margin-top: 84px; }

/* 01 · Cereri, Clienți, Contracte */
.scene-leads .list { left: 0; top: 40px; width: 350px; }
.scene-leads .anaf { right: 2%; top: 0; z-index: 2; }
.scene-leads .anaf .mock-title { margin: 2px 0 6px; }
.scene-leads .fu { right: 0; top: 280px; }
.scene-leads .g1 { left: 6%; bottom: 30px; }
.scene-clients .client { left: 4%; top: 30px; width: 350px; }
.scene-clients .import { right: 0; top: 270px; }
.scene-clients .g1 { right: 14%; top: 30px; }
.scene-contracts .contract { left: 0; top: 30px; width: 340px; }
.scene-contracts .contract > .mock-sub { margin-top: 8px; }
.scene-contracts .next { right: 0; top: 250px; width: 260px; }
.scene-contracts .exp { right: 4%; top: 0; }
.scene-contracts .g1 { left: 40%; bottom: 10px; }

/* 02 · Calendar, PV și documente, Gestiune */
.scene-cal .week { left: 0; top: 30px; width: 380px; }
.wk { display: grid; grid-template-columns: 58px repeat(5, 1fr); gap: 4px; align-items: center; }
.wk .d { text-align: center; font-size: 10px; font-weight: 700; color: var(--s-muted); padding-bottom: 2px; }
.wk .t { font-size: 11px; font-weight: 600; }
.wk .c { height: 26px; border-radius: 6px; background: var(--s-paper); }
.wk .e { height: 26px; border-radius: 6px; background: var(--s-mint-bg); border-left: 3px solid var(--s-mint); }
.wk .e.ink { background: var(--s-paper-deep); border-left-color: var(--s-ink); }
.wk .e.drag { background: #fff; border: 1.5px dashed var(--s-brand); box-shadow: var(--s-shadow-float); transform: translate(6px, -4px); }
.wk .e.off { background: repeating-linear-gradient(135deg, var(--s-paper-deep) 0 4px, var(--s-paper) 4px 8px); border-left: 0; }
.scene-cal .me { right: 0; top: 230px; width: 230px; }
.scene-cal .leave { right: 6%; top: 0; }
.scene-cal .g1 { left: 8%; bottom: 20px; }
.scene-pv .pv { left: 6%; top: 20px; width: 290px; }
.sig { margin-top: 8px; padding: 6px 8px 4px; border: 1px dashed var(--s-sand); border-radius: 9px; background: var(--s-paper); }
.sig svg { width: 120px; height: 34px; color: var(--s-ink); display: block; }
.sig .mock-sub { font-size: 10px; }
.scene-pv .pv .mock-btn, .scene-fin .tobill .mock-btn { margin-top: 10px; }
.scene-pv .docs { right: 0; top: 40px; width: 210px; }
.scene-pv .sent { right: 4%; top: 300px; }
.scene-pv .g1 { right: 30%; top: 0; }
.scene-mag .mag { left: 0; top: 30px; width: 320px; }
.scene-mag .car { right: 0; top: 200px; width: 290px; }
.scene-mag .reg { right: 8%; top: 0; }
.scene-mag .g1 { left: 34%; bottom: 10px; }

/* 03 · Financiar, Comunicări, Portal client */
.scene-fin .tobill { left: 0; top: 30px; width: 340px; }
.scene-fin .inv { right: 0; top: 240px; width: 270px; }
.scene-fin .rec { right: 6%; top: 0; }
.scene-fin .g1 { left: 10%; bottom: 20px; }
.scene-com .chat { left: 4%; top: 20px; width: 320px; }
.chat .msg { max-width: 82%; padding: 8px 10px; border-radius: 12px; margin-top: 8px; font-size: 12px; }
.chat .msg.out { margin-left: auto; background: var(--s-mint-bg); border-radius: 12px 12px 3px 12px; }
.chat .msg.in { background: var(--s-paper); border-radius: 12px 12px 12px 3px; }
.chat .msg .time { display: block; text-align: right; font-size: 10px; color: var(--s-muted); margin-top: 3px; }
.chat .reply { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--s-sand); border-radius: 10px; color: var(--s-muted); font-size: 11px; }
.chat .reply svg { width: 14px; height: 14px; }
.scene-com .rev { right: 0; top: 0; }
.stars { color: var(--s-warn-fill); letter-spacing: 2px; font-size: 13px; }
.scene-com .mail { right: 0; top: 290px; width: 270px; }
.scene-com .g1 { left: 2%; bottom: 10px; }
.scene-portal .portal { left: 8%; top: 30px; width: 300px; }
.portal .mock-row svg { width: 14px; height: 14px; color: var(--s-mint-deep); }
.scene-portal .pin { right: 0; top: 250px; }
.pin .boxes { display: flex; gap: 6px; margin-top: 8px; }
.pin .boxes span { width: 30px; height: 36px; border-radius: 8px; border: 1px solid var(--s-sand); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.pin .boxes span.on { border-color: var(--s-ink); }
.scene-portal .qr2 { right: 6%; top: 10px; padding: 12px; text-align: center; }
.scene-portal .qr2 svg { width: 64px; height: 64px; display: block; color: var(--s-ink); margin-bottom: 6px; }
.scene-portal .g1 { left: 2%; bottom: 20px; }

/* 04 · Dashboard, Rapoarte, Memento, Instruire, Integrări */
.scene-dash .att { left: 0; top: 30px; width: 340px; }
.scene-dash .kpi2 { right: 0; top: 250px; width: 240px; }
.scene-dash .kpi2 .mock-title { font-size: 18px; font-weight: 800; margin-top: 2px; }
.scene-dash .today { right: 8%; top: 0; }
.scene-dash .g1 { left: 12%; bottom: 10px; }
.minibars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 8px; }
.minibars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--s-mint-bg); }
.minibars i:nth-child(1) { height: 40%; } .minibars i:nth-child(2) { height: 55%; } .minibars i:nth-child(3) { height: 48%; }
.minibars i:nth-child(4) { height: 70%; } .minibars i:nth-child(5) { height: 90%; background: var(--s-mint); }
.scene-rep .rep { left: 4%; top: 30px; width: 330px; }
.rep .delta { font-size: 11px; font-weight: 700; color: var(--s-mint-deep); margin-left: 6px; }
.scene-rep .weekly { right: 0; top: 270px; width: 260px; }
.scene-rep .csv { right: 6%; top: 0; }
.scene-rep .g1 { left: 2%; bottom: 20px; }
.scene-memo .memo { left: 0; top: 40px; width: 330px; }
.scene-memo .push { right: 0; top: 0; width: 250px; }
.scene-memo .done { right: 4%; top: 280px; }
.scene-memo .g1 { left: 40%; bottom: 10px; }
.scene-tr .prog { left: 6%; top: 30px; width: 310px; }
.scene-tr .cert2 { right: 0; top: 250px; width: 250px; }
.scene-tr .cand { right: 4%; top: 0; }
.scene-tr .g1 { left: 2%; bottom: 20px; }
.scene-int { min-height: 420px; }
.scene-int .core { left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 18px 22px; z-index: 2; }
.scene-int .core img { height: 30px; width: auto; display: block; }
.scene-int .lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--s-sand); }
.scene-int .n1 { left: 2%; top: 30px; }
.scene-int .n2 { right: 2%; top: 40px; }
.scene-int .n3 { left: 0; bottom: 40px; }
.scene-int .n4 { right: 0; bottom: 30px; }
.scene-int .mock .mock-head { margin: 0; }

/* ---------- Prețuri ---------- */
.p-main { background: var(--s-paper); padding: 0 0 var(--s-section); }
.p-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--s-sand); border-radius: var(--s-r-card-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--s-shadow-card); display: flex; flex-direction: column; gap: 18px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-big { font-size: clamp(56px, 7vw, 76px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-per { font-size: 18px; font-weight: 600; color: var(--s-muted); }
.price-inc { font-size: 17px; font-weight: 600; margin-top: -6px; }
.price-plus { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--s-mint-bg); }
.price-plus b { font-size: 22px; font-weight: 800; color: var(--s-mint-deep); white-space: nowrap; }
.price-plus span { font-size: 15px; }
.price-final { font-size: 14px; color: var(--s-muted); border-top: 1px solid var(--s-line); padding-top: 14px; }
.calc { background: var(--s-navy); color: #fff; border-radius: var(--s-r-card-lg); padding: clamp(24px, 3.5vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.calc h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.calc .sub { color: var(--s-on-ink-muted); font-size: 15px; margin: -8px 0 4px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,252,246,.1); }
.calc-row .lbl b { display: block; font-size: 16px; }
.calc-row .lbl small { color: var(--s-on-ink-muted); font-size: 13px; }
.calc-row .val { font-weight: 700; color: var(--s-on-ink-muted); min-width: 32px; text-align: center; }
.stepper { display: flex; align-items: center; gap: 4px; background: rgba(255,252,246,.06); border-radius: 12px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--s-cream); font: inherit; font-size: 22px; font-weight: 600; cursor: pointer; }
.stepper button:hover { background: rgba(255,252,246,.1); }
.stepper button[aria-disabled="true"] { opacity: .35; cursor: default; background: transparent; }
.stepper output { min-width: 32px; text-align: center; font-size: 18px; font-weight: 800; }
html:not(.js) .stepper button { display: none; }
html:not(.js) .stepper { background: transparent; }
.calc-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,252,246,.18); }
.calc-total span { color: var(--s-on-ink-muted); font-weight: 600; }
.calc-total b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.calc-total b small, .ex .sum small { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.calc-total b small { color: var(--s-on-ink-muted); }
.calc-note { font-size: 13px; color: var(--s-on-ink-muted); }
.ways { background: var(--s-paper-deep); border-block: 1px solid var(--s-sand); }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way { display: flex; flex-direction: column; gap: 12px; }
.way .chip { align-self: flex-start; }
.way h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.015em; }
.way p { color: var(--s-muted); }
.way .btn { align-self: flex-start; margin-top: auto; }
.steps-mini { list-style: none; display: grid; gap: 8px; counter-reset: s; margin-bottom: 8px; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 8px; }
.steps-mini li::before { content: counter(s); width: 24px; height: 24px; border-radius: 8px; background: var(--s-paper-deep); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.ex-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ex { display: flex; flex-direction: column; gap: 8px; }
.ex .who { font-weight: 700; font-size: 18px; }
.ex .team { color: var(--s-muted); font-size: 15px; }
.ex .sum { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-top: auto; padding-top: 6px; }
.ex .sum small { color: var(--s-muted); }
.why { margin-top: 28px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--s-r-card); background: #fff; border: 1px solid var(--s-sand); }
.why .ico { flex: none; }
.why .ico svg { width: 18px; height: 18px; }
.why b { display: block; font-size: 17px; margin-bottom: 4px; }
.why p { color: var(--s-muted); }

/* ---------- Contact ---------- */
.c-hero { position: relative; overflow: hidden; background: var(--s-paper); padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.c-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.c-copy { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.c-copy .start-box { margin-top: 4px; }
.c-direct { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.c-direct a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--s-sand); }
.c-direct a:hover { border-color: var(--s-ink); }
.c-direct .ico { flex: none; }
.c-direct .ico svg { width: 18px; height: 18px; }
.c-direct small { display: block; color: var(--s-muted); font-size: 13px; }
.c-direct b { font-size: 17px; }
.c-login { font-size: 15px; color: var(--s-muted); }
.c-login a { color: var(--s-ink); }

.form-card { background: #fff; border: 1px solid var(--s-sand); border-radius: var(--s-r-card-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--s-shadow-card); }
.form-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 4px; }
.form-card .sub { color: var(--s-muted); margin: 0 0 20px; font-size: 15px; }
.f-err-sum { display: flex; gap: 10px; align-items: center; background: var(--s-danger-bg); color: var(--s-danger); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.f-err-sum[hidden] { display: none; }
.f-err-sum svg { flex: none; width: 18px; height: 18px; }
.f-err-sum a { color: inherit; text-decoration: underline; white-space: nowrap; }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.form-card legend, .f-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.f-label .opt { color: var(--s-muted); font-weight: 500; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--s-sand); font-weight: 600; font-size: 14px; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--s-ink); background: var(--s-paper); box-shadow: inset 0 0 0 1px var(--s-ink); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--s-focus); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { margin-bottom: 16px; min-width: 0; }
.f-input { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--s-r-btn); border: 1px solid var(--s-control-border); background: #fff; font: inherit; font-size: 16px; color: var(--s-ink); }
.f-input:focus-visible { border-color: var(--s-ink); outline: 3px solid var(--s-focus); outline-offset: 0; border-radius: 12px; }
textarea.f-input { height: 110px; padding: 12px 14px; resize: vertical; }
.f-input::placeholder { color: #9aa0ae; }
.f-field.err .f-input { border-color: var(--s-danger); background: #fff; }
.f-msg { display: none; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--s-spark-text); }
.f-field.err .f-msg { display: block; }
.f-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-legal { font-size: 13px; color: var(--s-muted); margin: 4px 0 18px; }
.f-legal a { color: var(--s-ink); text-decoration: underline; text-underline-offset: 2px; }
.form-card .btn { width: 100%; }
.f-after { text-align: center; color: var(--s-muted); font-size: 14px; margin-top: 12px; }

.demo-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.demo-steps .card { display: flex; flex-direction: column; gap: 10px; }
.demo-steps .step-n { line-height: 1; }
.demo-steps .card:last-child .step-n { color: var(--s-mint); }
.demo-steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.demo-steps p { color: var(--s-muted); }
.demo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }

/* ---------- 404 și Mulțumim ---------- */
.t-page { position: relative; overflow: hidden; background: var(--s-paper); padding: clamp(64px, 9vw, 120px) 0; min-height: min(640px, calc(100vh - 72px)); }
.t-page .container { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 760px; }
.t-code { font-size: clamp(72px, 12vw, 128px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--s-ink); }
.t-code span { color: var(--s-brand); }
.t-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.t-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.t-help { color: var(--s-muted); font-size: 15px; }
.t-help a { color: var(--s-ink); font-weight: 600; white-space: nowrap; }
.t-ok { width: 64px; height: 64px; border-radius: 20px; background: var(--s-mint-bg); color: var(--s-mint-deep); display: grid; place-items: center; }
.t-ok svg { width: 30px; height: 30px; }

/* ---------- Pagini secundare: tabletă ---------- */
@media (max-width: 1020px) {
  .p-grid, .ways-grid, .ex-grid, .c-grid { grid-template-columns: 1fr; }
  .c-copy { max-width: 680px; }
}

/* ---------- Pagini secundare: mobil ---------- */
@media (max-width: 720px) {
  [id] { scroll-margin-top: 80px; }
  .jump { display: grid; grid-template-columns: 1fr; width: 100%; }
  .jump a { justify-content: flex-start; }
  .cta-final .ctas .btn, .t-ctas .btn, .start-box .btn, .way .btn, .demo-cta .btn { width: 100%; }
  .way .btn { align-self: stretch; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .demo-steps { grid-template-columns: 1fr; }
  .calc-total b { font-size: 34px; }

  /* scene: obiectul principal + unul secundar */
  .scene-leads, .scene-clients, .scene-contracts, .scene-cal, .scene-pv, .scene-mag,
  .scene-dash, .scene-rep, .scene-memo, .scene-tr { min-height: 350px; }
  .scene-fin, .scene-com, .scene-portal { min-height: 360px; }
  .scene-leads .list, .scene-clients .client, .scene-contracts .contract, .scene-cal .week, .scene-mag .mag,
  .scene-fin .tobill, .scene-com .chat, .scene-portal .portal,
  .scene-dash .att, .scene-rep .rep, .scene-memo .memo, .scene-tr .prog { left: 0; top: 0; width: min(350px, 100%); }
  .scene-pv .pv { left: 0; top: 0; width: min(290px, 88%); }
  .scene-leads .anaf, .scene-contracts .exp, .scene-cal .leave, .scene-pv .docs, .scene-mag .reg,
  .scene-fin .rec, .scene-com .rev, .scene-portal .qr2,
  .scene-dash .today, .scene-rep .csv, .scene-memo .done, .scene-tr .cand { display: none; }
  .scene-leads .fu, .scene-clients .import, .scene-contracts .next, .scene-cal .me, .scene-mag .car,
  .scene-fin .inv, .scene-com .mail, .scene-portal .pin,
  .scene-dash .kpi2, .scene-rep .weekly, .scene-tr .cert2 { right: 0; top: 240px; }
  .scene-pv .sent { right: 0; top: 270px; }
  .scene-com .mail { top: 260px; }
  .scene-memo .push { right: 0; left: auto; top: 220px; }
  .scene-int { min-height: 360px; }
  .scene-int .lines { display: none; }
  .scene-int .core { top: 46%; }
  .scene-int .n1 { left: 0; top: 0; } .scene-int .n2 { right: 0; top: 70px; }
  .scene-int .n3 { left: 0; bottom: 60px; } .scene-int .n4 { right: 0; bottom: 0; }
}

/* ============================================================
   COOKIE-URI (A5) — banner de acord, apare doar cu ID GA4 setat
   ============================================================ */
.cookie {
  position: fixed; z-index: 60; left: var(--s-gap); bottom: var(--s-gap);
  max-width: 560px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  background: #fff; border: 1px solid var(--s-sand); border-radius: var(--s-r-card);
  box-shadow: var(--s-shadow-float); padding: 18px 20px;
  font-size: var(--s-small); line-height: 1.5; color: var(--s-ink);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 260px; }
.cookie a { color: var(--s-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { min-width: 96px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--s-spark-text); }
@media (max-width: 720px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- 4b · Aplicația de teren: telefonul tehnicianului (după capturile din aplicație, date fictive) ---------- */
.scene-app { min-height: 600px; }
.scene-app .phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-62%);
  width: 290px; padding: 9px; border-radius: 40px; background: var(--s-ink);
  box-shadow: var(--s-shadow-float), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone-screen { border-radius: 32px; overflow: hidden; background: #f3f4f6; height: 560px; font-size: 11px; color: var(--s-ink); }
.app-top { background: var(--s-navy); color: var(--s-on-ink); padding: 30px 14px 14px; }
.app-user { display: flex; align-items: center; gap: 9px; }
.app-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--s-mint); color: var(--s-ink); font-weight: 800; font-size: 12px; }
.app-who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.app-who b { font-family: var(--s-font); font-size: 14px; font-weight: 700; }
.app-who small { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--s-on-ink-muted); }
.app-bell { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--s-mint); color: var(--s-ink); position: relative; }
.app-bell::after { content: ""; position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--s-spark); border: 1.5px solid var(--s-mint); }
.app-bell svg { width: 15px; height: 15px; }
.app-date { text-align: center; margin-top: 12px; line-height: 1.25; }
.app-date b { font-family: var(--s-font); font-size: 14px; }
.app-date small { display: block; color: var(--s-mint); font-weight: 700; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.app-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; padding: 10px 6px; border-bottom: 1px solid var(--s-line); text-align: center; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); font-weight: 600; }
.app-stats b { display: block; font-size: 16px; font-weight: 800; color: var(--s-ink); letter-spacing: 0; line-height: 1.2; }
.app-stats .s2 b { color: var(--s-mint-deep); }
.app-stats .s3 b { color: #9a6a00; }
.app-list { padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.app-job { background: #fff; border: 1px solid var(--s-line-strong); border-radius: 14px; padding: 11px 12px 0; }
.app-job-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-time { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.app-int { color: var(--s-muted); font-size: 10px; }
.app-status { font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: #eef0f3; color: var(--s-muted); white-space: nowrap; }
.app-status.now { background: var(--s-brand-bg); color: var(--s-brand); }
.app-status::before { content: "● "; }
.app-client { font-weight: 800; font-size: 12px; margin-top: 7px; text-transform: uppercase; letter-spacing: .01em; }
.app-point { color: var(--s-muted); font-weight: 600; }
.app-addr { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--s-ink); }
.app-addr svg { width: 12px; height: 12px; color: var(--s-brand); flex: none; }
.app-tag { display: inline-block; margin-top: 8px; padding: 3px 7px; border-radius: 6px; background: var(--s-warn-bg); border: 1px solid var(--s-warn-border); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.app-tag::before { content: "● "; color: #c62828; }
.app-actions { display: grid; grid-template-columns: 1fr 1fr 1.25fr; margin: 11px -12px 0; border-top: 1px solid var(--s-line-strong); }
.app-actions span { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px 4px; font-weight: 700; font-size: 10.5px; border-left: 1px solid var(--s-line-strong); }
.app-actions span:first-child { border-left: 0; }
.app-actions svg { width: 13px; height: 13px; }
.app-actions .go { background: var(--s-mint); color: #fff; border-radius: 0 0 13px 0; border-left: 0; }
.app-job.next { padding-bottom: 11px; opacity: .85; }
.scene-app .notif { right: 0; top: 70px; width: 250px; z-index: 2; }
.scene-app .notif .mock-head { margin: 0; align-items: flex-start; }
.scene-app .notif .mock-title { margin: 1px 0; }
.scene-app .sign { right: 2%; bottom: 40px; width: 240px; z-index: 2; }
.sign-ink { display: block; width: 100%; height: 54px; color: #1f3a8a; margin: 2px 0 0; border-bottom: 1px dashed var(--s-line-strong); }
.scene-app .g1 { left: 6%; top: 40px; }
@media (max-width: 1020px) {
  .scene-app .phone { left: 0; }
}
@media (max-width: 720px) {
  .scene-app { min-height: 600px; }
  .scene-app .phone { left: 50%; transform: translateX(-50%); width: min(280px, 86%); }
  .scene-app .notif { right: -4px; top: 150px; width: 210px; }
  .scene-app .sign { right: -4px; bottom: 10px; width: 210px; }
}

/* ---------- Contact · Date de identificare (adresa completă, scoasă din footer) ---------- */
.firma-date { padding-block: clamp(32px, 5vw, 56px); }
.firma-date .container { max-width: 860px; }
.firma-date .h3 { margin-bottom: 8px; }
.firma-date .small { color: var(--s-muted); line-height: 1.6; }
.firma-date strong { color: var(--s-ink); font-weight: 600; }

/* ---------- 2026-11-03 · Inovație („Un PV semnat”) și De ce emma — secțiuni pe Navy ---------- */
.on-ink .card { background: rgba(255,255,255,0.05); border-color: var(--s-ink-line); box-shadow: none; color: var(--s-on-ink); }
.chain { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chain .card { display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.chain-n { font-size: 13px; font-weight: 700; color: var(--s-on-ink-muted); letter-spacing: 0.04em; }
.chain b { font-size: 17px; line-height: 1.3; }
.chain span:last-child { color: var(--s-on-ink-muted); font-size: 15px; line-height: 1.45; }
.figs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.figs li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--s-mint); color: var(--s-on-ink-muted); font-size: 15px; }
.figs b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--s-on-ink); }
.closing.center { text-align: center; margin-top: 36px; font-size: 22px; }
.roles { display: flex; flex-direction: column; gap: 16px; }
.roles ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.roles .card { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.roles .card span { color: var(--s-on-ink-muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 1020px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .figs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .chain, .roles ul { grid-template-columns: 1fr; gap: 12px; }
  .figs b { font-size: 32px; }
  .closing.center { font-size: 19px; }
}

/* ---------- 2026-11-04 · Înscriere (inscriere.html) ---------- */
.enroll-steps { list-style: none; display: grid; gap: 14px; margin-top: 4px; }
.enroll-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.enroll-steps .step-n { width: 34px; height: 34px; border-radius: 10px; background: var(--s-navy); color: var(--s-on-ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.enroll-steps b { display: block; font-size: 16px; margin-bottom: 2px; }
.enroll-steps li > span:last-child { color: var(--s-muted); font-size: 15px; line-height: 1.45; }
.enroll-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.enroll-tags li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.enroll-tags svg { width: 18px; height: 18px; color: var(--s-mint); }
.f-cui { display: flex; gap: 10px; }
.f-cui .f-input { flex: 1; min-width: 0; }
.f-cui .btn { width: auto; flex: none; height: 48px; }
.f-cui .btn[hidden] { display: none; }
select.f-input { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6886' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.f-help { margin-top: 6px; font-size: 13px; color: var(--s-muted); }
.f-field.err .f-help { display: none; }
.anaf-status { margin-top: 8px; font-size: 14px; color: var(--s-muted); }
.anaf-status:empty { display: none; }
.anaf-status.warn { color: var(--s-spark-text); font-weight: 600; }
.anaf-card { margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: var(--s-paper); border: 1px solid var(--s-line-strong); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.anaf-card[hidden] { display: none; }
.anaf-card dl { display: grid; gap: 6px; width: 100%; margin: 0; }
.anaf-card dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 14px; }
.anaf-card dt { color: var(--s-muted); }
.anaf-card dd { margin: 0; font-weight: 600; color: var(--s-ink); overflow-wrap: anywhere; }
.f-check label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--s-muted); cursor: pointer; line-height: 1.45; }
.f-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--s-navy); }
.f-check a { color: var(--s-ink); text-decoration: underline; text-underline-offset: 2px; }
.ways-grid.single { grid-template-columns: 1fr; max-width: 640px; }
@media (max-width: 720px) {
  .anaf-card dl > div { grid-template-columns: 1fr; gap: 0; }
}
.f-field.err select.f-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6886' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
