/* NOVIGO: pagina de prezentare (novigotrans.ro). CSS pur, mobile-first, fără resurse externe. */

/* Fontul Geist, găzduit local (licență SIL OFL, vezi assets/Geist-OFL.txt). */
@font-face {
  font-family: "Geist";
  src: url("assets/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --albastru: #1A66FF;          /* accentul NOVIGO */
  --albastru-inchis: #0F4FD6;
  --albastru-pal: #EAF1FF;
  --text: #0F172A;
  --text-2: #475569;
  --linie: #E2E8F0;
  --fundal: #FFFFFF;
  --fundal-gri: #F6F8FB;
  --fundal-cald: #FBF7F1;
  --raza: 16px;
  --umbra: 0 1px 2px rgb(15 23 42 / .05), 0 8px 24px rgb(15 23 42 / .06);
  --umbra-mare: 0 24px 60px rgb(15 23 42 / .14);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--fundal);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--albastru-inchis); text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; background: var(--fundal-gri); padding: .1em .35em; border-radius: 6px; overflow-wrap: anywhere; }
[hidden] { display: none !important; }

/* Focus vizibil la navigarea cu tastatura. */
:focus-visible { outline: 3px solid var(--albastru); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--text); color: #fff; padding: .6em 1em; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .65em 1.15em;
  font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { min-height: 52px; padding: .8em 1.4em; font-size: 1.05rem; }
.btn-primary { background: var(--albastru); color: #fff; box-shadow: 0 6px 18px rgb(26 102 255 / .28); }
.btn-primary:hover { background: var(--albastru-inchis); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--linie); }
.btn-ghost:hover { border-color: #CBD5E1; background: var(--fundal-gri); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .9);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--linie);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand img { height: 32px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--linie); background: #fff; color: var(--text); cursor: pointer;
}
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Meniul mobil: panou sub header. Fără JavaScript rămâne vizibil (vezi .js mai jos). */
.site-nav { position: absolute; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--linie); padding: 8px 20px 20px; box-shadow: var(--umbra); }
.js .site-nav:not(.deschis) { display: none; }
.site-nav ul { display: grid; }
.site-nav li a { display: block; padding: .8em .25em; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--linie); }
.site-nav li a:hover { color: var(--albastru-inchis); }
.site-nav .btn { width: 100%; margin-top: 16px; }

/* ---------- Secțiuni ---------- */
.section { padding-block: 72px; }
.section-soft { background: var(--fundal-gri); }
.section-warm { background: var(--fundal-cald); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); }
.section-head p:last-child { color: var(--text-2); font-size: 1.075rem; margin: 0; }
.eyebrow { display: inline-block; margin-bottom: .75em; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--albastru-inchis); }
.card { background: #fff; border: 1px solid var(--linie); border-radius: var(--raza); box-shadow: var(--umbra); }

/* ---------- Hero ---------- */
.hero {
  padding-block: 48px 72px;
  background:
    radial-gradient(60% 50% at 85% 10%, rgb(26 102 255 / .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--fundal-gri) 100%);
  overflow: hidden;
}
.hero-inner { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.25rem); letter-spacing: -.035em; margin-bottom: .45em; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--text-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4em; }
.hero-points .icon { color: var(--albastru); width: 1.1em; height: 1.1em; stroke-width: 2.5; }

.hero-visual { position: relative; }
.mockup { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--linie); box-shadow: var(--umbra-mare); }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--fundal-gri); border-bottom: 1px solid var(--linie); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.mockup-bar em { margin-left: 10px; font-style: normal; font-size: .75rem; color: var(--text-2); background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: 1px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip {
  position: absolute; display: none; align-items: center; gap: .5em;
  padding: .55em .9em; font-size: .85rem; font-weight: 600;
  background: #fff; border: 1px solid var(--linie); border-radius: 999px; box-shadow: var(--umbra);
}
.chip .icon { color: var(--albastru); }

/* ---------- Funcționalități ---------- */
.feature-grid { display: grid; gap: 16px; }
.feature { padding: 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-3px); border-color: #C7D7FE; box-shadow: 0 2px 4px rgb(15 23 42 / .04), 0 16px 36px rgb(26 102 255 / .12); }
.feature h3 { font-size: 1.15rem; margin-top: 16px; }
.feature p { color: var(--text-2); margin: 0; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--albastru-pal); color: var(--albastru-inchis); }
.feature-icon .icon { width: 24px; height: 24px; }

/* ---------- Beneficii ---------- */
.benefit-grid { display: grid; gap: 28px; }
.benefit .icon { width: 28px; height: 28px; color: var(--albastru); margin-bottom: 12px; }
.benefit h3 { font-size: 1.1rem; }
.benefit p { color: var(--text-2); margin: 0; }

/* ---------- Prețuri ---------- */
.price-grid { display: grid; gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; }
.plan h3 { font-size: 1.2rem; }
.plan-desc { color: var(--albastru-inchis); font-weight: 600; margin-bottom: .25em; }
.plan-pret { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; margin: 8px 0 4px; }
.plan-pret small { font-size: 1rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.plan-nota { font-size: .85rem; color: var(--text-2); }
.plan ul { display: grid; gap: 10px; margin: 20px 0 28px; }
.plan li { display: flex; gap: .6em; }
.plan li .icon { color: var(--albastru); margin-top: .15em; }
.plan .btn { margin-top: auto; }
.plan.recomandat { border: 2px solid var(--albastru); box-shadow: 0 20px 48px rgb(26 102 255 / .16); }
.plan-eticheta { position: absolute; top: -12px; left: 28px; font-size: .75rem; font-weight: 600; color: #fff; background: var(--albastru); padding: .25em .75em; border-radius: 999px; }
.offer { max-width: 640px; margin-inline: auto; padding: 36px 28px; text-align: center; border-top: 4px solid var(--albastru); }
.offer h3 { font-size: 1.5rem; }
.offer p { color: var(--text-2); }
.price-note { text-align: center; margin-top: 28px; color: var(--text-2); }

/* ---------- Povestea noastră ---------- */
.story { display: grid; gap: 40px; align-items: center; }
.story-photo {
  /* Placeholder până la fotografie: același raport (4:5) ca imaginea finală. */
  aspect-ratio: 4 / 5; max-height: 420px; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  border-radius: 24px; object-fit: cover;
  background:
    radial-gradient(80% 60% at 30% 20%, rgb(26 102 255 / .14), transparent 70%),
    linear-gradient(160deg, #fff, #F2ECE2);
  border: 1px solid #EDE5D8;
}
.story-photo img { width: 96px; opacity: .9; }
.story-photo span { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A7A62; }
.story-text h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.2rem); font-weight: 600; }
.story-text p:not(.eyebrow) { color: #334155; font-size: 1.05rem; }
.story-text p:last-child { margin-bottom: 0; }

/* ---------- FAQ (acordeon cu <details>) ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--linie); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #C7D7FE; box-shadow: var(--umbra); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
  border-radius: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--text-2); transition: transform .25s; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--albastru); }
.faq-answer { padding: 0 20px 18px; color: var(--text-2); }
.faq-answer p { margin: 0; }

/* ---------- Parteneri (ascunsă până la logo-uri reale) ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; }
.partner-grid img { margin-inline: auto; max-height: 56px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.partner-grid img:hover { filter: none; opacity: 1; }

/* ---------- Contact ---------- */
.section-cta { background: linear-gradient(180deg, var(--fundal-gri), #fff); }
.contact { display: grid; gap: 40px; align-items: center; }
.contact-text h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.8rem); }
.contact-text > p:not(.eyebrow) { color: var(--text-2); font-size: 1.075rem; max-width: 34em; }
.contact-text .btn { margin-top: 8px; }
.contact-hint { margin-top: 12px; font-size: .875rem; color: var(--text-2); }
.contact-list { display: grid; padding: 8px 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { color: var(--albastru); width: 22px; height: 22px; margin-top: 2px; }
.contact-list .label { display: block; font-size: .8rem; color: var(--text-2); }
.contact-list a, .contact-list [data-value] { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--albastru-inchis); }

/* ---------- Footer ---------- */
.site-footer { background: #0B1220; color: #CBD5E1; padding-top: 56px; }
.site-footer a { color: #E2E8F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #8DB4FF; }
.footer-inner { display: grid; gap: 32px; padding-bottom: 40px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #94A3B8; margin-bottom: .5em; }
.footer-title { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #94A3B8; margin-bottom: 14px; }
.site-footer nav ul { display: grid; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 20px 28px; border-top: 1px solid #1E293B; font-size: .875rem; color: #94A3B8; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Pagini simple (termeni, confidențialitate) ---------- */
.page-simple { min-height: 60vh; padding-block: 72px; }
.page-simple h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem); }
.page-simple p { color: var(--text-2); }

/* ---------- Animații la scroll (doar dacă utilizatorul nu a cerut mișcare redusă) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.vizibil { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Ecrane mai mari ---------- */
@media (min-width: 640px) {
  .container { padding-inline: 32px; }
  .feature-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-actions .btn { flex: 0 0 auto; }
  .chip { display: inline-flex; }
  .chip-a { left: -18px; top: 30%; }
  .chip-b { right: -12px; top: 52%; }
  .chip-c { left: 8%; bottom: -18px; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav:not(.deschis) {
    display: flex; align-items: center; gap: 28px;
    position: static; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 24px; }
  .site-nav li a { border: 0; padding: .4em 0; font-size: .95rem; color: var(--text-2); }
  .site-nav li a:hover { color: var(--text); }
  .site-nav .btn { width: auto; margin: 0; }

  .section { padding-block: 104px; }
  .hero { padding-block: 72px 112px; }
  .hero-inner { grid-template-columns: .95fr 1.3fr; gap: 56px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .story { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .story-photo { max-height: none; }
  .contact { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Documente (confidențialitate, termeni) ---------- */
.doc { padding-block: 56px 88px; }
.doc h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.6rem); margin-bottom: .3em; }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc p, .doc li { color: #334155; }
.doc ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.doc li { margin-bottom: .35em; }
.doc-data { color: var(--text-2) !important; font-size: .95rem; }
.doc-tabel { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--linie); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.doc th { background: var(--fundal-gri); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
/* Câmpuri de completat înainte de publicare: marcate vizibil. */
.de-completat { background: #FEF08A; color: #713F12; padding: .05em .3em; border-radius: 4px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
