/* RSVTI — site de prezentare
   Paletă: cerneală #1a1a2e, roșu semnal #e94560, hârtie #f5f6f8, oțel #5b6475, etichetă #f1d7a0 */
:root {
  --ink: #1a1a2e;
  --ink-2: #2a2a44;
  --red: #e94560;
  --red-dark: #c92f4b;
  --paper: #f5f6f8;
  --white: #ffffff;
  --steel: #5b6475;
  --line: #e2e5eb;
  --tag: #f1d7a0;
  --tag-dark: #c9a25a;
  --ok: #2e7d32;
  --radius: 10px;
  --wrap: 1180px;
  --font: 'Archivo', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; font-stretch: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- tipografie ---------- */
h1, h2, h3 { font-stretch: 112%; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--steel); max-width: 34em; }
.muted { color: var(--steel); }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s, border-color .15s, color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: rgba(26,26,46,.06); }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.1); }

/* ---------- antet ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245,246,248,.92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 115%; font-size: 1.25rem; text-decoration: none; letter-spacing: .02em; }
.logo img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .btn { padding: 10px 16px; font-size: .95rem; }
.nav .btn-red { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(26,26,46,.12); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: .92rem; color: var(--steel); }
.hero-visual { position: relative; }
.browser { background: var(--white); border-radius: 12px; box-shadow: 0 30px 70px rgba(26,26,46,.22), 0 2px 0 rgba(26,26,46,.05); overflow: hidden; border: 1px solid var(--line); }
.browser-bar { height: 34px; background: #eceef2; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfd3db; display: block; }
.browser img { width: 100%; height: auto; }

/* eticheta de verificare — elementul memorabil al paginii */
.tag {
  position: absolute; left: -38px; bottom: -26px; width: 230px; padding: 22px 20px 18px 20px;
  background: var(--tag); color: var(--ink); border-radius: 6px 6px 6px 6px;
  clip-path: polygon(0 14%, 14% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 14px 30px rgba(26,26,46,.25); transform: rotate(-6deg); transform-origin: 30px 10px;
  font-stretch: 100%;
}
.tag::before { content: ''; position: absolute; left: 20px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--tag-dark); }
.tag .t-title { display: block; padding-left: 26px; font-size: .78rem; font-weight: 700; color: #6b5323; letter-spacing: .02em; }
.tag .t-date { display: block; font-size: 1.9rem; font-weight: 800; font-stretch: 115%; line-height: 1.1; margin-top: 10px; }
.tag .t-row { display: flex; justify-content: space-between; font-size: .82rem; margin-top: 6px; color: #5b4720; }
.stamp {
  position: absolute; right: 14px; top: 26px; padding: 4px 10px; border: 3px solid var(--ok); color: var(--ok);
  font-weight: 800; font-size: .9rem; border-radius: 5px; transform: rotate(-14deg) scale(1); opacity: .88; letter-spacing: .04em; font-stretch: 115%;
  animation: stamp .55s cubic-bezier(.2,1.4,.4,1) 1s both;
}
@keyframes stamp { from { transform: rotate(-14deg) scale(2.2); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: .88; } }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 40px; }
  .tag { left: 12px; bottom: -30px; width: 200px; }
}
@media (max-width: 600px) {
  .tag { width: 168px; padding: 16px 14px 12px; bottom: -40px; left: 6px; }
  .tag::before { left: 14px; top: 13px; width: 11px; height: 11px; }
  .tag .t-title { padding-left: 18px; font-size: .68rem; }
  .tag .t-date { font-size: 1.35rem; margin-top: 6px; }
  .tag .t-row { font-size: .66rem; white-space: nowrap; gap: 6px; }
  .stamp { font-size: .7rem; top: 18px; right: 8px; padding: 2px 6px; border-width: 2px; }
  .hero-visual { margin-bottom: 30px; }
}

/* ---------- secțiuni ---------- */
section { padding: 88px 0; }
.sec-head { max-width: 44em; margin-bottom: 44px; }
.sec-head h2 { margin-bottom: 14px; }
.dark { background: var(--ink); color: #e9eaf0; }
.dark .lead, .dark .muted { color: #a7abbc; }
.white { background: var(--white); }

/* pentru cine */
.for { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.for .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.for h3 { font-size: 1.05rem; margin-bottom: 4px; }
.for p { margin: 0; color: var(--steel); font-size: .97rem; }
@media (max-width: 760px) { .for .wrap { grid-template-columns: 1fr; gap: 18px; } }

/* fluxul de lucru (este o secvență reală, deci numerotat) */
.flow { display: flex; flex-direction: column; gap: 96px; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.step:nth-child(even) .step-text { order: 2; }
.step-nr { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-stretch: 112%; margin-bottom: 14px; }
.step ul { list-style: none; padding: 0; margin: 18px 0 0; }
.step li { position: relative; padding-left: 28px; margin-bottom: 9px; color: var(--ink-2); }
.step li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(26,26,46,.14); background: var(--white); }
.shot img { width: 100%; height: auto; }
.shot-pair { position: relative; }
.shot-pair .shot + .shot { position: absolute; right: -18px; bottom: -40px; width: 46%; }
@media (max-width: 900px) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(even) .step-text { order: 0; }
  .flow { gap: 72px; }
  .shot-pair .shot + .shot { position: static; width: 100%; margin-top: 16px; }
}

/* lista de funcții, fără carduri */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 48px; }
.feature { border-top: 2px solid var(--ink); padding-top: 16px; }
.dark .feature { border-color: #3a3a5a; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.feature svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.feature p { margin: 0; color: var(--steel); font-size: .98rem; }
.dark .feature p { color: #a7abbc; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* telefon */
.phones { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.phone-row { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phone { width: 230px; border-radius: 34px; padding: 10px; background: #0f0f1d; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.phone img { border-radius: 25px; width: 100%; height: auto; }
.phone:nth-child(2) { margin-top: 60px; }
@media (max-width: 900px) { .phones { grid-template-columns: 1fr; } .phone { width: 44%; max-width: 230px; } .phone:nth-child(2) { margin-top: 30px; } }

/* cifre-cheie din conformitate */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.fact { padding: 26px 26px 24px; }
.fact + .fact { border-left: 2px solid var(--ink); }
.fact strong { display: block; font-size: 2.6rem; font-stretch: 118%; font-weight: 800; line-height: 1; margin-bottom: 10px; color: var(--red); }
.fact p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 2px solid var(--ink); } }

/* prețuri */
.billing { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 34px; }
.billing button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; color: var(--steel); }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing .save { color: var(--ok); font-weight: 700; }
.billing button[aria-pressed="true"] .save { color: #9be3a2; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px 30px 28px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--ink); position: relative; }
.plan .badge { position: absolute; top: -14px; left: 28px; background: var(--red); color: #fff; font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .for-who { color: var(--steel); margin-bottom: 18px; font-size: .97rem; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price .amount { font-size: 3rem; font-weight: 800; font-stretch: 118%; line-height: 1; }
.price .per { color: var(--steel); }
.price-note { font-size: .9rem; color: var(--steel); min-height: 1.5em; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: ''; position: absolute; left: 4px; top: 1.05em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.plan li.no { color: #9aa0ad; }
.plan li.no::before { border: 0; width: 12px; height: 2.5px; background: #c3c7d0; transform: none; top: 1.25em; }
.plan .btn { justify-content: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .97rem; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: #fff; font-stretch: 110%; }
.compare td:nth-child(n+2), .compare th:nth-child(n+2) { text-align: center; width: 22%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .group td { background: #eef0f4; font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.y { color: var(--ok); font-weight: 800; }
.n { color: #b3b8c3; }
.table-scroll { overflow-x: auto; }

/* întrebări frecvente */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 44em; }

/* CTA final */
.cta { background: var(--red); color: #fff; padding: 72px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { max-width: 18em; }
.cta p { margin: 12px 0 0; color: #ffe3e8; }
.cta .btn-white { background: #fff; color: var(--ink); }
.cta .btn-white:hover { background: var(--ink); color: #fff; }

/* pagini simple (contact, termeni) */
.page-hero { padding: 64px 0 28px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.note { background: #fff4e5; border: 1px solid #fcd9a8; color: #7a4b00; padding: 12px 16px; border-radius: 8px; font-size: .95rem; margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.form { display: flex; flex-direction: column; gap: 16px; background: var(--white); padding: 28px; border-radius: 14px; border: 1px solid var(--line); }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea, .form select { width: 100%; min-width: 0; font: inherit; padding: 12px 14px; border: 1.5px solid #cdd2db; border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,26,46,.12); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hint { font-size: .88rem; color: var(--steel); font-weight: 400; }
.contact-side dl { margin: 0; }
.contact-side dt { font-weight: 700; margin-top: 18px; }
.contact-side dd { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0,1fr); } .form { padding: 20px; } .form .row2 { grid-template-columns: 1fr; } }

/* subsol */
.foot { background: var(--ink); color: #b9bccb; padding: 56px 0 28px; font-size: .95rem; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.foot h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; font-stretch: 110%; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; color: #b9bccb; }
.foot a:hover { color: #fff; }
.foot .logo { color: #fff; margin-bottom: 12px; }
.foot .legal { border-top: 1px solid #33334f; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; } }
