/* Nord Est Kapital — prototip 2026 · v2 */
:root {
  --navy: #001350;
  --navy-2: #213066;
  --navy-3: #0b2170;
  --brand: #220e5c;
  --gray: #bfc0c2;
  --ink: #0d1733;
  --muted: #5a6378;
  --bg: #f3f5f9;
  --line: #e2e6ee;
  --white: #ffffff;
  --wa: #1c9e50;
  --ok: #157347;
  --err: #b42318;
  --accent: #7fa2ff;
  --radius: 14px;
  --shadow: 0 14px 36px rgba(0, 19, 80, .12);
  --head: "Familjen Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::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: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-3); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
.section { --pad: clamp(64px, 9vw, 116px); position: relative; padding: var(--pad) 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Fundaluri: lumină, profunzime, separatoare înclinate ---------- */
:root { --cut: clamp(24px, 4vw, 64px); }
.section + .section {
  margin-top: calc(var(--cut) * -1);
  padding-top: calc(var(--pad) + var(--cut));
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.section + .section--navy, .section + .final { clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%); }
.section--alt { background: linear-gradient(180deg, #f5f7fc 0%, #edf1f8 100%); }
.section--grid { background: var(--white); }
.section--alt::before, .section--grid::before {
  content: "";
  position: absolute;
  inset: -15%;
  pointer-events: none;
  background:
    radial-gradient(36% 32% at 82% 18%, rgba(127, 162, 255, .22), transparent 70%),
    radial-gradient(30% 28% at 10% 88%, rgba(34, 14, 92, .09), transparent 70%);
  animation: glowDrift 24s ease-in-out infinite alternate;
}
.section--grid::before {
  background:
    radial-gradient(34% 30% at 12% 14%, rgba(127, 162, 255, .16), transparent 70%),
    radial-gradient(30% 26% at 92% 86%, rgba(0, 19, 80, .07), transparent 70%);
}
.section--alt::after, .section--grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes glowDrift { to { transform: translate3d(-5%, 4%, 0); } }
.section--navy { background: var(--navy); color: #dfe4f3; }
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 70% at 92% 0%, rgba(127, 162, 255, .3), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(34, 14, 92, .65), transparent 70%);
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 90% at 50% 0%, rgba(127, 162, 255, .25), transparent 70%);
}
.section--navy::after, .final::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .06), transparent);
  transform: translateX(-120%) skewX(-14deg);
  animation: sweep 11s ease-in-out infinite;
}
@keyframes sweep {
  0%, 55% { transform: translateX(-120%) skewX(-14deg); }
  100% { transform: translateX(420%) skewX(-14deg); }
}
.section--navy h2, .section--navy h3 { color: var(--white); }

/* Grafică 3D izometrică: structuri generate și animate în /js/motion.js */
.iso { position: absolute; z-index: 0; pointer-events: none; width: min(42vw, 540px); aspect-ratio: 1; color: var(--navy); }
.iso--r { top: 2%; right: -3%; }
.iso--l { bottom: 0; left: -6%; }
.iso svg { display: block; width: 100%; height: 100%; overflow: visible; }
.iso__frame, .iso__accent { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.iso__frame { stroke: currentColor; stroke-opacity: .22; stroke-width: .22; }
.iso__accent { stroke-width: .5; }
.iso__face { opacity: 0; transition: opacity 1.6s ease .9s; }
.iso.is-drawn .iso__face { opacity: 1; }
.js .iso__frame, .js .iso__accent { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .iso__frame { transition: stroke-dashoffset 2.8s cubic-bezier(.6, .1, .2, 1); }
.js .iso__accent { transition: stroke-dashoffset 1.8s cubic-bezier(.6, .1, .2, 1) 1.4s; }
.iso.is-drawn .iso__frame, .iso.is-drawn .iso__accent { stroke-dashoffset: 0; }
.section--navy .iso { color: var(--white); }
.section--navy .iso__frame { stroke-opacity: .16; }

/* ---------- Titluri de secțiune ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-2);
  margin-bottom: 14px;
}
.eyebrow b { font-family: var(--head); font-size: .95rem; color: var(--navy); letter-spacing: 0; }
.eyebrow::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .5; }
.section--navy .eyebrow, .hero .eyebrow { color: #c9d0e6; }
.section--navy .eyebrow b, .hero .eyebrow b { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section--navy .lead { color: #c9d0e6; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 22px rgba(0, 19, 80, .28); }
.btn--primary:hover { background: var(--navy-3); box-shadow: 0 12px 28px rgba(0, 19, 80, .34); }
.btn--light { background: var(--white); color: var(--navy); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 19, 80, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; color: var(--brand); text-decoration: none; flex: none; }
.logo svg { display: block; height: 46px; width: auto; aspect-ratio: 960 / 245; }
.logo--light { color: var(--white); }
.nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--navy); transition: right .25s ease; }
.nav a:hover::after { right: 0; }
.nav__cta { display: none; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; }
.header-cta { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; border-radius: 12px; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: transform .25s ease, background .25s ease; margin: 0 auto;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.site-header.is-open .menu-toggle span { background: transparent; }
.site-header.is-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform-origin: 60% 40%; }
.js .hero__bg { animation: heroZoom 16s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0, 19, 80, .95) 0%, rgba(0, 19, 80, .84) 45%, rgba(0, 19, 80, .4) 100%);
}
.hero .wrap { padding-top: clamp(72px, 10vw, 136px); padding-bottom: calc(clamp(72px, 10vw, 136px) + 56px); }
.hero h1 { color: var(--white); max-width: 800px; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d7dcee; max-width: 640px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__note { display: flex; align-items: center; gap: 8px; color: #c9d0e6; font-size: .95rem; margin: 0; }
.hero__note svg { width: 18px; height: 18px; color: #7fe0a6; flex: none; }
.hero--split .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .quote__list li { color: #e6eaf6; }

/* ---------- Bandă de încredere (card suprapus peste hero) ---------- */
.trust {
  --lift: 56px;
  position: relative;
  z-index: 2;
  margin-top: calc(var(--lift) * -1);
  background: linear-gradient(180deg, transparent var(--lift), #f5f7fc var(--lift));
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(0, 19, 80, .07);
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(0, 19, 80, .06), 0 34px 70px -34px rgba(0, 19, 80, .45);
}
.trust li { display: flex; gap: 14px; align-items: center; }
.trust strong { display: block; font: 700 1.5rem/1.1 var(--head); color: var(--navy); }
.trust span { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.trust .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #eef2ff, #dde5fb); color: var(--navy); display: grid; place-items: center; }
.trust .ico svg { width: 24px; height: 24px; }
.seal {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: radial-gradient(circle at 30% 25%, #2a4bb3, var(--navy) 70%);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--navy), 0 12px 24px -8px rgba(0, 19, 80, .55);
  font: 800 .62rem/1.05 var(--head);
  letter-spacing: .02em;
}
.seal b { display: block; font-size: .95rem; }
.trust strong span, .seal span { font: inherit; color: inherit; line-height: inherit; }
.trust .seal { color: var(--white); font-size: .62rem; line-height: 1.05; }

/* ---------- Carduri servicii (profunzime, lumină care urmărește cursorul, înclinare 3D) ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card, .objection {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
}
.card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 19, 80, .04), 0 14px 30px -18px rgba(0, 19, 80, .18);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(127, 162, 255, .18), transparent 55%);
  opacity: 0;
  transition: opacity .45s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, var(--accent), transparent 35%, transparent 65%, var(--brand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s ease;
}
.card:hover { --ty: -6px; border-color: transparent; box-shadow: 0 2px 4px rgba(0, 19, 80, .05), 0 30px 50px -22px rgba(0, 19, 80, .35); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card .ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 20px -8px rgba(0, 19, 80, .55);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .ico { transform: translateY(-2px) rotate(-6deg); }
.card .ico svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.card ul { margin: 0 0 18px; padding-left: 0; list-style: none; color: var(--ink); font-size: .95rem; }
.card li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.card li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.card .link { margin-top: auto; font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.card .link:hover { text-decoration: underline; }

/* ---------- Avantaje ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 36px; }
.benefit { display: flex; gap: 16px; }
.benefit .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: var(--white); }
.benefit .ico svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: .35em; }
.benefit p { margin: 0; color: #c9d0e6; font-size: .97rem; }

/* ---------- Pașii de lucru ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 51px;
  left: 6%;
  right: 6%;
  border-top: 2px dashed rgba(0, 19, 80, .2);
  z-index: 0;
}
.steps li { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; }
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font: 700 1rem/1 var(--head);
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--white);
}
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
.steps-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 14px 14px;
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(180deg, transparent, rgba(0, 12, 54, .88));
}
.gallery figcaption small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #aebdf0; margin-bottom: 4px; }
.gallery-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Despre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__img { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: 3px; }

/* ---------- Certificare ---------- */
.cert {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f2f5fc);
}
.cert img { width: 120px; height: auto; }
.cert h3 { font-size: 1.1rem; margin-bottom: .3em; }
.cert p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Ofertă ---------- */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.quote__aside h2 { color: var(--white); }
.quote__list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.quote__list li { display: flex; gap: 12px; color: #dfe4f3; }
.quote__list svg { flex: none; width: 22px; height: 22px; color: #7fe0a6; margin-top: 3px; }
.quote__contact { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Formular ---------- */
.form-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: 0 24px 60px rgba(0, 9, 40, .35);
}
.form-card h2, .form-card h3 { color: var(--navy); }
.form-card__title { font: 700 1.45rem/1.2 var(--head); color: var(--navy); margin: 0 0 4px; }
.form-card__intro { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.progress { display: flex; gap: 8px; margin-bottom: 20px; }
.progress span { flex: 1; font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 8px; border-top: 4px solid var(--line); }
.progress span.is-active { color: var(--navy); border-top-color: var(--navy); }
.progress span.is-done { color: var(--ok); border-top-color: var(--ok); }
.field { margin-bottom: 16px; }
.field > label, .field > .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .req { color: var(--err); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: 400 16px/1.4 var(--body);
  color: var(--ink);
  background: #fbfcfe;
  border: 1.5px solid #cfd5e1;
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(11, 33, 112, .15); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .err { color: var(--err); font-size: .87rem; margin: 6px 0 0; }
.field .help { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.field--check { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.field--check input { width: 24px; height: 24px; margin-top: 1px; accent-color: var(--navy); flex: none; }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--muted); flex: 1; min-width: 0; margin: 0; }
.field--check .err { flex-basis: 100%; }
.field .other { margin-top: 10px; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.form-actions .btn--primary { flex: 1; }
.form-back { background: none; border: 0; color: var(--navy); font-weight: 700; cursor: pointer; padding: 12px 6px; font-size: .95rem; min-height: 48px; }
.form-error { color: var(--err); font-weight: 600; margin: 0 0 12px; }
.form-loading { color: var(--muted); }
.form-foot { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-foot a { color: var(--navy-3); }

/* ---------- Întrebări ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font: 700 1.1rem/1.35 var(--head);
  color: var(--navy);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 19, 80, .3);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 12px no-repeat;
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 30px; }

/* ---------- CTA final ---------- */
.final { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); text-align: center; }
.final h2 { color: var(--white); }
.final p { color: #c9d0e6; max-width: 620px; margin: 0 auto 28px; }
.final .hero__ctas { justify-content: center; }

/* ---------- Obiecții iarnă ---------- */
.objections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.objection { position: relative; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 24px; }
.objection h3 { font-size: 1.05rem; }
.objection p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #000c36; color: #aeb6cf; font-size: .93rem; padding: 64px 0 40px; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.site-footer a { color: #dfe4f3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo { margin-bottom: 18px; }
.site-footer .logo svg { height: 52px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center; }
.legal p { margin: 0; }
.legal__badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.sal-link { display: inline-block; line-height: 0; border-radius: 12px; }
.sal-link img { width: 250px; height: auto; }
.sal-link:hover { text-decoration: none; filter: brightness(1.05); }
.anpc-link { font-weight: 700; font-size: .85rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; padding: 10px 12px; }

/* ---------- Pagini simple ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--white); padding: 70px 0 56px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 64px 64px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: #c9d0e6; max-width: 680px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- Animații la scroll și micro-interacțiuni ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  filter: blur(4px);
  transition:
    opacity .8s ease var(--d, 0s),
    translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
    scale .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
    filter .8s ease var(--d, 0s),
    clip-path 1.1s cubic-bezier(.6, .1, .2, 1) var(--d, 0s),
    transform .45s cubic-bezier(.2, .7, .2, 1),
    box-shadow .45s ease,
    border-color .45s ease;
}
.js [data-reveal="left"] { translate: -32px 0; }
.js [data-reveal="zoom"] { translate: 0 0; scale: .94; }
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; filter: none; }
.js .gallery figure[data-reveal] { filter: none; translate: 0 0; clip-path: inset(30% 0 0 0 round var(--radius)); }
.js .gallery figure[data-reveal].is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .gallery figure[data-reveal] img { scale: 1.15; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .6s ease; }
.js .gallery figure.is-visible img { scale: 1; }
.js .eyebrow::after { width: 0; transition: width 1s cubic-bezier(.2, .7, .2, 1) .35s; }
.js .is-visible .eyebrow::after, .js .eyebrow.is-visible::after { width: 42px; }

/* Bară de progres a scroll-ului, sub header */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

/* Lumină care trece peste butoanele principale */
.btn--primary, .btn--light { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after, .btn--light::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  translate: -110% 0;
  transition: translate .8s ease;
}
.btn--light::after { background: linear-gradient(110deg, transparent 35%, rgba(0, 19, 80, .1) 50%, transparent 65%); }
.btn--primary:hover::after, .btn--light:hover::after { translate: 110% 0; }

/* Pașii: linia de legătură se desenează, cercurile capătă profunzime */
.js .steps::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.6s cubic-bezier(.6, .1, .2, 1) .3s; }
.js .steps:has(.is-visible)::before { transform: scaleX(1); }
.steps li::before { background: linear-gradient(135deg, var(--navy-3), var(--navy)); box-shadow: 0 0 0 6px var(--white), 0 12px 22px -8px rgba(0, 19, 80, .55); }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Avantaje și obiecții */
.benefit .ico { transition: background .35s ease, border-color .35s ease, transform .35s ease; }
.benefit:hover .ico { background: rgba(127, 162, 255, .2); border-color: rgba(127, 162, 255, .55); transform: translateY(-3px); }
.objection { box-shadow: 0 1px 2px rgba(0, 19, 80, .04), 0 14px 30px -20px rgba(0, 19, 80, .2); }
.objection:hover { --ty: -4px; box-shadow: 0 30px 50px -24px rgba(0, 19, 80, .32); }

/* Statistici cu contoare */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 0; }
.stat { position: relative; overflow: hidden; padding: 16px 16px 14px; border-radius: 12px; background: linear-gradient(135deg, #f5f7fc, #eef2fb); border: 1px solid var(--line); }
.stat strong { display: block; font: 700 clamp(1.6rem, 3vw, 2.1rem)/1 var(--head); color: var(--navy); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); line-height: 1.35; }
.stat::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--brand)); transform-origin: left center; }
.js .stat::after { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0s) + .4s); }
.js .stat.is-visible::after { transform: scaleX(1); }

/* Parallax pe fotografia din „Despre noi” */
.about__img img { scale: 1.08; }

/* ---------- Bara fixă mobil ---------- */
.mobile-bar { display: none; }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header-phone span { display: none; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .logo svg { height: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .logo svg { height: 36px; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta, .header-phone { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 28px;
    background: var(--white);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-header.is-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav a::after { display: none; }
  .nav__cta { display: grid; gap: 12px; margin-top: 22px; }
  .nav__cta .btn { width: 100%; border-bottom: 2px solid transparent; padding: 0 20px; font-size: 1rem; }
  .nav__cta .btn--outline { border-color: var(--navy); color: var(--navy); }
  .nav__cta .btn--primary { color: var(--white); }
  body.menu-open { overflow: hidden; }

  .grid--3, .about, .quote, .hero--split .wrap, .objections { grid-template-columns: 1fr; }
  .about { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .iso, .iso--l { width: 86vw; max-width: 440px; top: 0; right: -26%; bottom: auto; left: auto; opacity: .6; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0, 19, 80, .1);
    transform: translateY(110%);
    transition: transform .3s ease;
  }
  .mobile-bar.is-visible, .no-js .mobile-bar { transform: none; }
  .mobile-bar .btn { min-height: 50px; padding: 0 8px; font-size: .92rem; gap: 6px; box-shadow: none; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { --pad: 56px; }
  .js [data-reveal] { filter: none; }
  h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  h2 { font-size: clamp(1.55rem, 6.6vw, 1.95rem); }
  .lead { font-size: 1.02rem; }
  .section-head { margin-bottom: 30px; }

  .hero .wrap { padding-top: 44px; padding-bottom: 88px; }
  .hero__sub { font-size: 1.02rem; margin-bottom: 24px; }
  .hero__ctas { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(0, 19, 80, .74) 0%, rgba(0, 19, 80, .92) 62%); }

  .trust { --lift: 40px; }
  .trust ul { grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 20px 16px; border-radius: 16px; }
  .stats { gap: 8px; }
  .stat { padding: 12px 10px; }
  .stat strong { font-size: 1.45rem; }
  .stat span { font-size: .74rem; }
  .stat::after { left: 10px; right: 10px; }
  .trust li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust strong { font-size: 1.2rem; }
  .trust span { font-size: .82rem; }
  .trust .ico { width: 40px; height: 40px; }
  .seal { width: 44px; height: 44px; font-size: .5rem; }
  .seal b { font-size: .78rem; }
  .trust .seal { font-size: .5rem; }

  .card { padding: 24px 20px; }
  .card .ico { width: 46px; height: 46px; margin-bottom: 14px; }
  .benefits { grid-template-columns: 1fr; gap: 22px; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { border: 0; border-radius: 0; background: transparent; padding: 0 0 26px 62px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; width: 42px; height: 42px; box-shadow: none; }
  .steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; border-left: 2px dashed rgba(0, 19, 80, .22); }
  .steps li:last-child::after { display: none; }
  .steps li h3 { margin-top: 8px; }
  .steps--3 { grid-template-columns: 1fr; }
  .steps-cta, .gallery-cta { flex-direction: column; align-items: stretch; }
  .steps-cta .btn, .gallery-cta .btn { width: 100%; }

  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery figcaption { font-size: .78rem; padding: 34px 10px 10px; }
  .gallery figcaption small { font-size: .6rem; }

  .about__img img { aspect-ratio: 4 / 3; }
  .cert { grid-template-columns: 78px 1fr; gap: 14px; padding: 16px; }
  .cert img { width: 78px; }

  .quote { gap: 30px; }
  .quote__contact .btn { flex: 1; }
  .form-card { padding: 20px 16px; border-radius: 16px; }

  .faq summary { font-size: 1rem; padding: 18px 44px 18px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer .logo svg { height: 44px; }
  .legal { flex-direction: column; align-items: flex-start; }
  .sal-link img { width: 250px; }

  .page-hero { padding: 48px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; translate: 0 0; scale: 1; filter: none; clip-path: none; }
  .js .gallery figure[data-reveal] img { scale: 1; }
  .js .eyebrow::after { width: 42px; }
  .js .steps::before, .js .stat::after { transform: none; }
  .js .iso__frame, .js .iso__accent { stroke-dashoffset: 0; }
}

/* ---------- Banner cookie-uri ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 560px;
  margin-left: auto;
  padding: 20px 22px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 19, 80, .45);
  font-size: .92rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 14px; color: var(--muted); }
.cookie-banner strong { display: block; margin-bottom: 6px; color: var(--navy); font: 700 1.05rem/1.2 var(--head); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner__actions .btn { flex: 1; min-height: 46px; padding: 0 18px; }
.cookie-link { background: none; border: 0; padding: 10px 0; color: #dfe4f3; font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
@media (max-width: 620px) {
  .cookie-banner { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 16px; }
}
