﻿/* ===========================================================
   VeriMetrica — Servicii tehnice pentru documentație și verificare în construcții
   Stil vizual sobru și clar. Parametrii principali sunt controlați din variabilele
   de mai jos (culori, fonturi), pentru modificări coerente în întregul site.
   =========================================================== */

:root {
  /* Culori */
  --ink: #0f1b2d;          /* bleumarin foarte închis pentru text și fundaluri */
  --ink-soft: #1e2c42;
  --slate: #51607a;        /* gri-albastru pentru text secundar */
  --line: #e4e8ef;         /* linii și borduri */
  --bg: #ffffff;
  --bg-soft: #f5f7fb;      /* secțiuni alternative */
  --bg-tint: #eef3fb;
  --accent: #f59e0b;       /* galben-chihlimbar pentru accent vizual */
  --accent-2: #2563eb;     /* albastru tehnic */
  --accent-ink: #b9770a;
  --ok: #16a34a;

  /* Tipografie */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);

  /* Forme */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15, 27, 45, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 27, 45, .28);
  --maxw: 1160px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Tipografie utilitară */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.section { padding: 92px 0; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0 12px; }
.section-head p { color: var(--slate); font-size: 1.08rem; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: .98rem;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #221603; box-shadow: 0 10px 24px -10px rgba(245,158,11,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(245,158,11,.8); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -16px rgba(15,27,45,.5); }
.nav { display: grid; grid-template-columns: minmax(300px, 1fr) auto auto; align-items: center; column-gap: 38px; min-height: 76px; padding: 8px 24px; }
.brand { display: flex; align-items: center; justify-self: start; gap: 14px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.05; }
.brand .logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.brand .logo::after { content: none; }
.brand .logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  border-radius: 0;
}
.brand small { display: block; margin-top: 4px; font-family: var(--font); font-weight: 600; font-size: .8rem; line-height: 1.4; color: var(--slate); letter-spacing: .01em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 34px; align-self: center; justify-self: center; }
.nav-links a { min-width: max-content; font-weight: 600; font-size: .96rem; line-height: 1; color: var(--ink); transition: color .15s; }
.nav-links a:hover { color: var(--accent-ink); }
.nav-cta { display: flex; align-items: center; justify-content: flex-end; gap: 0; align-self: center; justify-self: end; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden; min-height: clamp(620px, 82vh, 860px);
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(37,99,235,.16), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(245,158,11,.12), transparent 55%),
    linear-gradient(180deg, #0f1b2d 0%, #142239 100%);
  color: #fff;
}
.hero::before {
  /* grilă tip planșă tehnică */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .32; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(900px 500px at 70% 30%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 760px); gap: 32px; align-items: center; min-height: clamp(620px, 82vh, 860px); padding-block: 112px 124px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { max-width: 760px; font-size: clamp(2.45rem, 4.8vw, 4.05rem); margin: 22px 0 24px; line-height: 1.04; text-wrap: balance; text-shadow: 0 4px 24px rgba(0,0,0,.38); }
.hero h1 > span { display: block; }
.hero h1 .hl { color: var(--accent); }
.hero-proof-list { max-width: 650px; display: grid; gap: 22px; margin-top: 26px; }
.hero-proof { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 24px; }
.hero-proof-icon {
  width: 58px; height: 58px; border: 1.5px solid var(--accent); border-radius: 50%;
  display: grid; place-items: center; color: var(--accent); background: rgba(15,27,45,.22);
  box-shadow: 0 12px 32px -22px rgba(0,0,0,.75);
}
.hero-proof-icon svg { width: 28px; height: 28px; }
.hero-proof p { margin: 0; color: #d9e2ef; font-size: 1.08rem; line-height: 1.48; text-align: left; text-shadow: 0 2px 18px rgba(0,0,0,.34); }
.hero-proof strong { color: #fff; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; color: #aebbcf; font-size: .92rem; max-width: 760px; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent); }

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: var(--ink);
  touch-action: pan-y;
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,27,45,.88) 0%, rgba(15,27,45,.66) 43%, rgba(15,27,45,.28) 100%),
    linear-gradient(180deg, rgba(15,27,45,.18), rgba(15,27,45,.55));
  pointer-events: none;
}
.hero-slides {
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}
.hero-slides::-webkit-scrollbar { display: none; }
.hero-slides.dragging { cursor: grabbing; scroll-behavior: auto; }
.hero-slide {
  min-width: 100%;
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
  position: relative;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,27,45,.02), rgba(15,27,45,.08));
  pointer-events: none;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-slider-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}
.hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15,27,45,.34);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.hero-slider-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,.50);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.hero-slider-dots button.active { width: 24px; background: var(--accent); }

/* bandă informativă */
.strip { background: var(--ink); color: #9fb0c8; }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; }
.strip strong { color: #fff; font-family: var(--display); }

/* ===================== DOUĂ CATEGORII DE SERVICII ===================== */
.audience { background: var(--bg-soft); }
.audience .section-head { max-width: 900px; }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.aud-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.aud-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
  opacity: .9;
}
.aud-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.97) 48%, rgba(255,255,255,.62) 70%, rgba(255,255,255,.16) 100%);
}
.aud-card > * { position: relative; z-index: 2; }
.aud-card.for-builder::before { background-image: url("assets/audience/constructori-bg.webp"); }
.aud-card.for-owner::before { background-image: url("assets/audience/beneficiari-bg.webp"); background-size: auto 92%; background-position: right bottom; }
.aud-card.for-owner::after {
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.98) 55%, rgba(255,255,255,.70) 73%, rgba(255,255,255,.20) 100%);
}
.aud-card .ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px; }
.aud-card .ic svg { width: 28px; height: 28px; }
.aud-card.for-builder .ic { background: #fff4e1; color: var(--accent-ink); }
.aud-card.for-owner .ic { background: var(--bg-tint); color: var(--accent-2); }
.aud-card h3 { max-width: 430px; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.18; margin-bottom: 14px; }
.aud-card .role { display: block; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--slate); margin-bottom: 18px; }
.aud-card.for-builder .role { color: var(--accent-ink); }
.aud-card.for-owner .role { color: var(--accent-2); }
.aud-divider { display: block; width: 66px; height: 2px; border-radius: 999px; margin: 0 0 26px; background: currentColor; }
.aud-card.for-builder .aud-divider { color: var(--accent); }
.aud-card.for-owner .aud-divider { color: var(--accent-2); }
.aud-card p { max-width: 460px; color: var(--slate); margin: 0 0 28px; font-size: 1rem; line-height: 1.75; }
.aud-card ul { display: grid; gap: 12px; margin-bottom: 28px; max-width: 520px; }
.aud-card li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; line-height: 1.45; }
.aud-card li svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%; }
.aud-card.for-builder li svg { color: var(--accent-ink); }
.aud-card.for-owner li svg { color: var(--accent-2); }
.aud-card .aud-btn { padding-inline: 22px; }
.aud-card.for-owner .aud-btn { background: var(--accent-2); color: #fff; box-shadow: 0 10px 24px -10px rgba(37,99,235,.7); }
.aud-values {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.aud-value { display: flex; gap: 16px; align-items: center; padding: 24px 28px; border-right: 1px solid var(--line); }
.aud-value:last-child { border-right: 0; }
.aud-value-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff4e1; color: var(--accent-ink); flex: 0 0 auto; }
.aud-value.blue .aud-value-icon { background: var(--bg-tint); color: var(--accent-2); }
.aud-value-icon svg { width: 28px; height: 28px; }
.aud-value strong { display: block; font-family: var(--display); font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-bottom: 5px; }
.aud-value span:not(.aud-value-icon) { color: var(--slate); font-size: .92rem; line-height: 1.5; }

/* ===================== SERVICII ===================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc .ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--accent-2); margin-bottom: 16px;
}
.svc:hover .ic { background: var(--accent); color: #221603; }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.18rem; margin-bottom: 9px; }
.svc p { color: var(--slate); font-size: .96rem; }

/* ===================== VERIFICARE BENEFICIAR ===================== */
.verify { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.verify::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(700px 400px at 20% 20%, #000, transparent 70%);
}
.verify-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.verify .eyebrow { color: var(--accent); }
.verify h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 14px 0 16px; }
.verify p.lead { color: #c5d0e0; font-size: 1.08rem; margin-bottom: 22px; }
.verify-list { display: grid; gap: 16px; }
.verify-item { display: flex; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 18px 20px; }
.verify-item .n { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--accent); flex: 0 0 auto; }
.verify-item h4 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.verify-item p { color: #aebbcf; font-size: .92rem; }

/* ===================== PROCES ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--bg-tint); line-height: 1; }
.step:hover .num { color: var(--accent); }
.step h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.step p { color: var(--slate); font-size: .94rem; }

/* ===================== MOSTRE / LIVRABILE ===================== */
.samples { background: var(--bg-soft); }

/* ===================== ARGUMENTE TEHNICE / INDICATORI ===================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat { padding: 14px; }
.stat .big { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.stat .big .suf { color: var(--accent); }
.stat .lbl { color: var(--slate); margin-top: 8px; font-size: .95rem; }
.why-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.why { display: flex; gap: 14px; }
.why .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--accent-2); display: grid; place-items: center; flex: 0 0 auto; }
.why .ic svg { width: 24px; height: 24px; }
.why h4 { font-size: 1.05rem; margin-bottom: 4px; }
.why p { color: var(--slate); font-size: .93rem; }

/* Text mai ordonat ?n carduri, f?r? spa?ii for?ate ?ntre cuvinte */
.aud-card p,
.aud-card li,
.svc p,
.verify-item p,
.step p,
.why p,
.qa .ans p,
.faq-cta span,
.footer p {
  text-align: left;
  line-height: 1.62;
  overflow-wrap: normal;
}
.aud-card p,
.svc p,
.verify-item p,
.step p,
.why p,
.qa .ans p {
  max-width: 62ch;
}
.aud-card h3,
.svc h3,
.verify-item h4,
.step h3,
.why h4,
.qa button {
  text-wrap: balance;
}

/* ===================== FAQ ===================== */
.faq-section .section-head { margin-bottom: 42px; }
.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.faq-group {
  display: grid;
  gap: 14px;
}
.faq-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.faq-group-head::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}
.faq { display: grid; gap: 14px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; box-shadow: 0 12px 28px -24px rgba(15,27,45,.35); }
.qa.open { border-color: rgba(245,158,11,.42); box-shadow: 0 18px 38px -28px rgba(15,27,45,.45); }
.qa.open::before { content: ""; display: block; height: 3px; background: var(--accent); }
.qa button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; padding: 20px 22px; text-align: left;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.qa .chev { transition: transform .25s ease; color: var(--accent-ink); flex: 0 0 auto; }
.qa .chev svg { width: 22px; height: 22px; }
.qa.open .chev { transform: rotate(45deg); }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa .ans p { padding: 0 22px 22px; color: var(--slate); line-height: 1.65; }
.faq-cta {
  margin: 28px auto 0;
  max-width: 880px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(245,158,11,.34);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.faq-cta strong { display: block; font-family: var(--display); font-size: 1.08rem; color: var(--ink); margin-bottom: 4px; }
.faq-cta span { color: var(--slate); }
.faq-cta .btn { flex: 0 0 auto; }

/* ===================== CONTACT ===================== */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 14px 0 14px; }
.contact-info p { color: var(--slate); margin-bottom: 26px; }
.contact-info .ci { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.contact-info .ci .ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-ink); flex: 0 0 auto; }
.contact-info .ci .ic svg { width: 22px; height: 22px; }
.contact-info .ci b { display: block; font-family: var(--display); }
.contact-info .ci span { color: var(--slate); font-size: .92rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact .form { margin-top: 68px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: none; min-height: 260px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form .btn { width: 100%; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 12px; text-align: center; }
.form-ok { display: none; text-align: center; padding: 20px; background: #ecfdf3; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); color: #15803d; font-weight: 600; margin-top: 14px; }
.form-ok.show { display: block; }

/* ===================== FOOTER ===================== */
.footer { background: var(--ink); color: #9fb0c8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { font-size: .92rem; max-width: 320px; }
.footer h5 { color: #fff; font-family: var(--display); font-size: 1rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: .92rem; transition: color .15s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: .86rem; }

/* ===================== ANIMAȚII REVEAL =====================
   Ascunderea inițială se aplică doar dacă JavaScript rulează (html.js),
   astfel conținutul rămâne vizibil chiar dacă scriptul nu se încarcă. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; column-gap: 22px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    justify-self: stretch; align-self: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 18px;
    box-shadow: var(--shadow);
  }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 720px); gap: 36px; }
  .hero-card { max-width: 460px; }
  .hero-slider { max-width: none; width: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .verify-grid, .samples-grid, .contact-grid, .faq-layout { grid-template-columns: 1fr; }
  .contact .form { margin-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .why-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .aud-grid { grid-template-columns: 1fr; }
  .aud-values { grid-template-columns: repeat(2, 1fr); }
  .aud-value:nth-child(2) { border-right: 0; }
  .aud-value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-contact { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { font-size: 1.18rem; gap: 12px; }
  .brand .logo, .brand .logo img { width: 46px; height: 46px; }
  .brand small { white-space: normal; max-width: 190px; font-size: .74rem; line-height: 1.3; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .field textarea { min-height: 170px; }
  .faq-cta { align-items: flex-start; flex-direction: column; }
  .faq-cta .btn { width: 100%; }
  /* Hero aerisit pe telefon: titlu mai compact, butoane late, spații mai calme */
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-block: 64px 96px; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(1.85rem, 7.6vw, 2.2rem); line-height: 1.12; margin: 14px 0 16px; }
  .hero-proof-list { gap: 14px; margin-top: 16px; }
  .hero-proof { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; }
  .hero-proof-icon { width: 40px; height: 40px; margin-top: 2px; }
  .hero-proof-icon svg { width: 20px; height: 20px; }
  .hero-proof p { font-size: .95rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; gap: 12px; margin: 26px 0 22px; }
  .hero-actions .btn { flex: none; width: 100%; }
  .hero-trust { gap: 8px 18px; font-size: .85rem; }
  .hero-trust svg { width: 15px; height: 15px; }
  .hero-slider-controls { bottom: 12px; }
  .aud-card { min-height: auto; padding: 30px 24px; }
  .aud-visual::after { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 68%, rgba(255,255,255,.78) 100%); }
  .aud-card h3 { font-size: 1.42rem; }
  .aud-values { grid-template-columns: 1fr; }
  .aud-value { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .aud-value:last-child { border-bottom: 0; }
}

/* ===================== ÎMBUNĂTĂȚIRI v2 ===================== */

/* Contur clar la navigarea cu tastatura (accesibilitate) */
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 3px; }

/* Link activ în meniu (se evidențiază secțiunea în care ești) */
.nav-links a { position: relative; }
.nav-links a.active { color: var(--accent-ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* Indicator text pentru discuția inițială */
.stat .big-text {
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: .01em;
  color: var(--accent);
  text-shadow: 0 6px 18px rgba(245,158,11,.28);
}

/* Buton WhatsApp */
.btn-wa { background: #25d366; color: #06301a; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(37,211,102,.7); }

/* Acțiunile din mesajul formularului */
.form-ok-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.form-ok-actions .btn { flex: 1; min-width: 150px; }

/* Respectă preferința de „mișcare redusă" a sistemului */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.footer-brand-logo { align-items: flex-start; margin-bottom: 18px; }
.footer-brand-logo img { width: min(260px, 100%); height: auto; display: block; border-radius: 8px; }

.nav-contact { min-width: 150px; padding-inline: 28px; background: var(--accent); color: #221603; box-shadow: 0 10px 24px -12px rgba(245,158,11,.75); }
.nav-contact:hover { box-shadow: 0 14px 30px -12px rgba(245,158,11,.85); }

.contact-map {
  margin: 24px 0 0;
}
.contact-map img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
}
.contact-map figcaption {
  margin-top: 8px;
  color: var(--slate);
  font-size: .86rem;
  font-weight: 600;
}

/* Livrabile ca imagini reale */
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.deliverable-card {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  aspect-ratio: 16 / 10.5;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.deliverable-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, .36);
}
.deliverable-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.deliverable-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  font-size: .72rem;
  font-weight: 800;
  color: var(--accent-ink);
  background: #fff4e1;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .03em;
  box-shadow: 0 10px 22px -14px rgba(15, 27, 45, .45);
}
.deliverable-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(15, 27, 45, .78);
  backdrop-filter: blur(6px);
}
.deliverable-lightbox.open { display: flex; }
.deliverable-lightbox-frame {
  width: min(1180px, 94vw);
  max-height: 90vh;
  margin: 0;
}
.deliverable-lightbox-frame img {
  width: 100%;
  max-height: 82vh;
  display: block;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 80px -24px rgba(0, 0, 0, .55);
}
.deliverable-lightbox-frame figcaption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
}
.deliverable-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.no-scroll { overflow: hidden; }

@media (max-width: 820px) {
  .deliverable-grid { grid-template-columns: 1fr; }
  .deliverable-card { aspect-ratio: 16 / 11; }
  .deliverable-lightbox { padding: 18px; }
}

/* Linkuri apelabile în datele de contact */
.contact-info .ci b a { transition: color .15s; }
.contact-info .ci b a:hover { color: var(--accent-ink); }

/* Mesaje de eroare în formular (înlocuiesc fereastra alert) */
.field.error input, .field.error textarea { border-color: #dc2626; }
.field.error input:focus, .field.error textarea:focus { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.field-error { display: none; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #dc2626; }
.field.error .field-error { display: block; }

/* Banda de sub hero: pe ecrane înguste, elementele se așază pe verticală */
@media (max-width: 900px) {
  .strip .container { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 24px; }
}

/* Pe telefoane foarte înguste, subtitlul din logo se ascunde */
@media (max-width: 400px) {
  .brand small { display: none; }
}

/* Pagina de informații legale (politica de confidențialitate) */
.legal-page { padding: 64px 0 92px; }
.legal-container { max-width: 780px; }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 14px 0 6px; }
.legal-updated { color: var(--slate); font-size: .9rem; margin-bottom: 34px; }
.legal-page h2 { font-size: 1.18rem; margin: 30px 0 10px; }
.legal-page p { color: var(--slate); line-height: 1.7; margin-bottom: 12px; }
.legal-page p strong { color: var(--ink); }
.legal-page a:not(.btn) { color: var(--accent-2); font-weight: 600; }
.legal-page a:not(.btn):hover { text-decoration: underline; }
.legal-back { margin-top: 34px; }
.legal-footer-bottom { padding-top: 0; }
.footer-bottom a { transition: color .15s; }
.footer-bottom a:hover { color: var(--accent); }

/* Buton plutitor WhatsApp — apare după ce vizitatorul trece de hero */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .55), 0 4px 14px rgba(15, 27, 45, .22);
  transition: transform .18s ease, box-shadow .18s ease, opacity .25s ease, visibility .25s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px -8px rgba(37, 211, 102, .65), 0 6px 18px rgba(15, 27, 45, .26); }
html.js .wa-float { opacity: 0; visibility: hidden; }
html.js .wa-float.show { opacity: 1; visibility: visible; }
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
}
