/* VIVADAR DIGITAL — design tokens + componente. Fără fonturi/resurse externe (viteză + confidențialitate). */
:root {
  --bg: #060a12; --bg-2: #0a101c; --surface: #0f1726; --surface-2: #141e32;
  --line: rgba(190, 200, 225, .14); --text: #eef1f8; --muted: #a2aec6;
  --accent: #e2b861; --accent-2: #b98a35; --accent-ink: #1a1203; --gold: #e2b861; --blue: #6f9bf0;
  --danger: #ff8a8a; --warn: #f5c26b; --ok: #5be0a0;
  --radius: 16px; --shadow: 0 24px 70px -24px rgba(0, 0, 0, .7);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px; color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfaf7; --bg-2: #f3f1ea; --surface: #ffffff; --surface-2: #f6f4ee;
    --line: rgba(30, 30, 50, .13); --text: #14172a; --muted: #565d75;
    --accent: #8a5b0a; --accent-2: #b98a35; --accent-ink: #ffffff; --gold: #8a5b0a; --blue: #2f5fd0;
    --danger: #c0392b; --warn: #9a6200; --ok: #0a7a4b;
    --shadow: 0 24px 60px -28px rgba(30, 30, 50, .28); color-scheme: light;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
section { padding: clamp(56px, 9vw, 104px) 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand small { font-weight: 600; color: var(--muted); letter-spacing: .14em; font-size: .68rem; display: block; margin-top: -2px; }
.brand svg { width: 34px; height: 34px; flex: none; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
nav.main a:hover { color: var(--text); background: var(--surface); }
.menu-btn { display: none; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-grid; place-items: center; }
  nav.main { position: absolute; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; display: none; }
  nav.main.open { display: flex; }
  nav.main a { padding: 14px 12px; font-size: 1.05rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px color-mix(in srgb, var(--accent) 85%, transparent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 8vw, 96px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: -1; background: radial-gradient(60% 55% at 20% 20%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%), radial-gradient(45% 45% at 85% 10%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%); opacity: .5; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.grad { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; list-style: none; color: var(--muted); font-size: .92rem; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }
.checks { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.checks h2 { font-size: 1.1rem; margin-bottom: 4px; letter-spacing: 0; }
.checks p.sub { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; font-weight: 600; font-size: .96rem; }
.checks svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* Cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent-2) 22%, transparent)); color: var(--accent); }
.card .ico svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { counter-reset: s; display: grid; gap: 18px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-weight: 800; font-size: 1.6rem; margin-bottom: 8px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Forms */
.forms { display: grid; gap: 22px; }
@media (min-width: 960px) { .forms { grid-template-columns: 1fr 1fr; align-items: start; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); }
.form-card.primary { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.form-card > p.muted { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 50px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .86rem; margin-top: 5px; min-height: 0; }
.two { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 18px; }
.consent input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; padding: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 14px; border-radius: 12px; padding: 0; font-size: .95rem; }
.status:not(:empty) { padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); }
.status.error { border-color: var(--danger); }
.status.ok { border-color: var(--ok); }
.result h3 { margin-bottom: 6px; }
.result ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.result li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.chip { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-top: 2px; }
.chip.high { background: color-mix(in srgb, var(--danger) 20%, transparent); color: var(--danger); }
.chip.medium { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }
.chip.low { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ + footer */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style-position: outside; }
details.faq p { color: var(--muted); }
footer.site { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: .92rem; }
footer.site .cols { display: grid; gap: 20px; }
@media (min-width: 720px) { footer.site .cols { grid-template-columns: 2fr 1fr; } }
footer.site a { color: var(--muted); }
.doc { max-width: 760px; padding-block: 56px 80px; }
.doc h2 { font-size: 1.4rem; margin-top: 1.8em; }
.doc li { margin-bottom: .4em; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
nav.main.inline { display: flex; position: static; flex-direction: row; border: 0; padding: 0; background: none; }

/* CRM admin */
.admin .lead { margin-bottom: 14px; }
.admin .lead:hover { transform: none; }
.admin .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.admin .row select { width: auto; min-width: 200px; }
.admin .btn { min-height: 44px; padding: 0 16px; }
.admin .danger { color: var(--danger); }
.admin pre { white-space: pre-wrap; word-break: break-word; font-size: .85rem; background: var(--bg-2); padding: 12px; border-radius: 10px; }
.admin .result-list { list-style: none; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.admin .admin-bar { display: flex; gap: 10px; margin-bottom: 18px; }
.admin .card h3 { margin-bottom: 6px; }

/* Corecturi: sprite SVG ascuns, buton CTA în meniu, butoane complete pe mobil */
[hidden] { display: none !important; }
nav.main a.btn-primary, nav.main a.btn-primary:hover { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent-2))); }
nav.main a.btn { min-height: 44px; padding: 0 18px; }
.form-card form .btn { width: 100%; }

/* Sigla originală VIVADAR DIGITAL */
.brand-logo { width: 44px; height: 44px; border-radius: 50%; flex: none; background: #000; box-shadow: 0 0 0 1px var(--line), 0 6px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.hero-side { display: grid; gap: 22px; justify-items: center; }
.hero-logo { display: none; width: min(300px, 70%); height: auto; border-radius: 50%; background: #000; box-shadow: 0 0 60px -10px color-mix(in srgb, var(--accent-2) 65%, transparent), 0 0 0 1px var(--line); }
@media (min-width: 960px) { .hero-logo { display: block; } .hero-side .checks { width: 100%; } }
.foot-logo { width: 56px; height: 56px; border-radius: 50%; background: #000; margin-bottom: 10px; box-shadow: 0 0 0 1px var(--line); }
.checks { box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent); }
.doc .brand, .admin .brand { margin-bottom: 18px; display: inline-flex; }

/* ===== Versiunea premium + limbă ===== */
html[lang="ro"] [data-l="en"], html[lang="en"] [data-l="ro"] { display: none !important; }
body { font-size: 17px; letter-spacing: .005em; }
h1 { font-weight: 750; letter-spacing: -.03em; }
h2 { font-weight: 700; letter-spacing: -.025em; }
.eyebrow { color: var(--gold); letter-spacing: .16em; font-size: .74rem; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; opacity: .8; }
.grad { background: linear-gradient(120deg, var(--gold), color-mix(in srgb, var(--gold) 50%, var(--blue))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 46ch; }
.hero::before { background: radial-gradient(60% 55% at 15% 15%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 70%), radial-gradient(45% 45% at 88% 8%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 70%); }
.hero { padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 15ch; }
.bar-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; order: 2; }
nav.main { order: 1; margin-left: auto; }
.lang-btn { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 800; font-size: .85rem; letter-spacing: .08em; cursor: pointer; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
@media (min-width: 861px) { .bar-tools { margin-left: 4px; } nav.main { margin-left: auto; } .lang-btn { height: 40px; } }
@media (max-width: 860px) { .bar { flex-wrap: nowrap; } }
.btn-primary { color: var(--accent-ink); box-shadow: 0 12px 34px -12px color-mix(in srgb, var(--gold) 80%, transparent); }
.btn .arr { width: 18px; height: 18px; }
.btn-ghost { border-color: color-mix(in srgb, var(--gold) 35%, var(--line)); }
.trust { flex-direction: column; gap: 10px; }
.trust li::before { color: var(--gold); }
.checks { border-radius: 20px; }
.checks h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.checks svg { color: var(--gold); }
.card { border-radius: 18px; }
.card .ico { background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent); }
.card:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.why { gap: 0; border-top: 1px solid var(--line); }
.why-i { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) { .why { border-bottom: 1px solid var(--line); } .why-i { border-bottom: 0; padding: 30px 28px 6px 0; } .why-i + .why-i { border-left: 1px solid var(--line); padding-left: 28px; } }
.why-i h3 { color: var(--gold); font-size: 1.08rem; }
.why-i p { color: var(--muted); font-size: .97rem; margin: 0; }
.step::before { background: linear-gradient(120deg, var(--gold), var(--accent-2)); -webkit-background-clip: text; background-clip: text; }
.deliver { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .deliver { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.deliver li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 600; }
.deliver svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.forms { grid-template-columns: 1fr; }
@media (min-width: 960px) { .forms { grid-template-columns: 1.25fr 1fr; } }
.form-card.primary { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.spinner { border-top-color: var(--gold); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
:focus-visible { outline-color: var(--gold); }
.consent input { accent-color: var(--gold); }

.visitors { margin: 0 0 8px; color: var(--muted); font-size: .85rem; }
.visitors strong { color: var(--gold); font-variant-numeric: tabular-nums; }

/* Secțiunea „Pentru cine” */
.niches { list-style: none; margin: 24px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.niches li { padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }

/* Lista de verificare interactivă */
.chk-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.chk label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.chk-box { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--gold); }
.chk-t strong { display: block; }
.chk-t small { display: block; color: var(--muted, #8a93a8); font-size: .92em; margin-top: 2px; }
.chk-score { margin: 20px 0; padding: 18px 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 1.3em; }
.chk-score .muted { font-size: .75em; margin: 6px 0 0; }
