/* ==========================================================================
   StarClean Vision — foaie de stil principala
   Paleta este preluata din logo (albastru electric -> bleumarin profund)
   ========================================================================== */

:root {
  /* Culori brand */
  --brand-300: #7FB0FF;
  --brand-400: #458BFB;
  --brand-500: #2F5DDF;
  --brand-600: #2E48A8;
  --brand-700: #2E3670;
  --brand-900: #151C42;

  --ink: #111A3D;
  --muted: #5D6789;
  --line: #E4EAF7;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FF;
  --bg-deep: #121A3E;

  --ok: #16A97C;
  --star: #FFB020;

  --grad: linear-gradient(135deg, #458BFB 0%, #2F5DDF 50%, #2E3670 100%);
  --grad-soft: linear-gradient(135deg, #EAF1FF 0%, #F6F9FF 100%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 8px rgba(17, 26, 61, .06);
  --shadow: 0 10px 30px rgba(17, 26, 61, .08);
  --shadow-lg: 0 24px 60px rgba(17, 26, 61, .14);

  --container: 1180px;
  --header-h: 84px;

  --font-title: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid rgba(69, 139, 251, .55); outline-offset: 3px; border-radius: 6px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(1.95rem, 1.15rem + 3.3vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 1.05rem + 2.1vw, 2.55rem); font-weight: 700; }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Utilitare ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--muted); text-wrap: pretty; }
.text-center { text-align: center; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  width: auto; height: auto; clip: auto; margin: 0;
  background: var(--brand-500); color: #fff; padding: .7rem 1.2rem;
  border-radius: 10px; font-weight: 600;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-title); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-500); background: #EAF1FF;
  padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow--light { color: #C9DBFF; background: rgba(255, 255, 255, .1); }

.section-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 62px); text-align: center; }
.section-head p { margin-bottom: 0; }

/* ---------- Butoane ---------- */
.btn {
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-title); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(47, 93, 223, .32); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(47, 93, 223, .42); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand-400); color: var(--brand-500); }
.btn--light { background: #fff; color: var(--brand-600); box-shadow: var(--shadow); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.ico-wa { color: #25D366; }
.topbar .ico-wa { color: #4AE07F; }
.hero__badge--br i { background: #E6FAEF; color: #14A44D; }
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1EBE5B; box-shadow: 0 16px 34px rgba(37, 211, 102, .4); }
.btn--wa svg { width: 20px; height: 20px; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--brand-900); color: #C6D3F5;
  font-size: .86rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--brand-300); }
.topbar__list { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--brand-300); flex: none; }
.topbar__hide { display: none; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.header.is-stuck { box-shadow: 0 6px 26px rgba(17, 26, 61, .09); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.nav__logo img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative; font-weight: 500; font-size: .97rem; color: var(--ink);
  padding: .35rem 0; transition: color .2s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .28s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--brand-500); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-title); font-weight: 600; }
.nav__phone svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #EAF1FF; color: var(--brand-500); }

.nav__mobile { display: none; }
.nav__scrim { display: none; }

.burger {
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; cursor: pointer; padding: 0; position: relative;
}
.burger span {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transform: translateX(-50%); transition: .3s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Bandă cofinanțare Uniunea Europeană (deasupra meniului) ---------- */
.eu-bar { background: #FBFCFE; border-bottom: 1px solid var(--line); }
.eu-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0;
}
.eu-bar__brand { display: flex; align-items: center; gap: .85rem; }
.eu-bar__flag {
  width: 60px; height: 40px; border-radius: 2px; flex: none;
  box-shadow: 0 1px 3px rgba(17, 26, 61, .2);
}
.eu-bar__brand span {
  font-family: var(--font-title); font-weight: 600; font-size: .95rem;
  line-height: 1.25; color: var(--brand-600);
}
.eu-bar__gov { display: flex; align-items: center; gap: .8rem; text-align: right; }
.eu-bar__gov img { width: 56px; height: 56px; flex: none; }
.eu-bar__gov span {
  font-family: var(--font-title); font-weight: 600; font-size: .82rem;
  line-height: 1.3; color: var(--muted);
}

.eu-note {
  display: flex; gap: 1.2rem; align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 1.6rem 0; font-size: .84rem; line-height: 1.6;
}
.eu-note img { width: 66px; height: 44px; border-radius: 3px; flex: none; margin: 0; }
.eu-note p { margin: 0 0 .4rem; }
.eu-note p:last-child { margin-bottom: 0; }
.eu-note a { color: var(--brand-300); text-decoration: underline; }
.eu-note a:hover { color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(900px 520px at 88% -10%, #E4EDFF 0%, rgba(228, 237, 255, 0) 60%),
    radial-gradient(700px 460px at -8% 110%, #EFF4FF 0%, rgba(239, 244, 255, 0) 65%),
    #fff;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero__text { font-size: clamp(1rem, .96rem + .35vw, 1.16rem); color: var(--muted); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.6rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .93rem; color: var(--muted); }
.hero__points li { display: flex; align-items: center; gap: .5rem; }
.hero__points svg { width: 20px; height: 20px; color: var(--ok); flex: none; }

/* Vizual hero — fotografie */
.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; z-index: 0;
  width: 62%; aspect-ratio: 1; right: -6%; bottom: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(69, 139, 251, .22), rgba(69, 139, 251, 0) 70%);
  border-radius: 50%; pointer-events: none;
}
.hero__photo {
  position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--grad-soft);
}
.hero__photo img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; background: var(--grad-soft); }
.hero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(47, 93, 223, .16) 0%, rgba(47, 93, 223, 0) 45%);
}

.hero__badge {
  /* z-index 2: cardurile flotante trebuie sa ramana DEASUPRA fotografiei,
     care are z-index 1 (fara asta, poza le-ar acoperi) */
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem;
  background: #fff; border-radius: 16px; padding: .8rem 1.05rem; box-shadow: var(--shadow);
  font-size: .84rem; line-height: 1.35;
}
.hero__badge strong { display: block; font-family: var(--font-title); font-size: 1.05rem; color: var(--ink); }
.hero__badge span { color: var(--muted); }
.hero__badge--tl { top: -40px; left: -40px; animation: float 6s ease-in-out infinite; }
.hero__badge--br { bottom: -32px; right: -26px; animation: float 6s ease-in-out infinite 1.2s; }
.hero__badge i {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: #EAF1FF; color: var(--brand-500); flex: none;
}
.hero__badge svg { width: 20px; height: 20px; }
.stars { display: flex; gap: 2px; color: var(--star); }
.stars svg { width: 14px; height: 14px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---------- Bara de incredere ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding: 1.9rem 0;
}
.trust__item { display: flex; align-items: center; gap: .85rem; transition: transform .25s ease; }
.trust__item:hover { transform: translateY(-3px); }
.trust__item svg { width: 30px; height: 30px; color: var(--brand-500); flex: none; }
.trust__item b { font-family: var(--font-title); display: block; font-size: .98rem; }
.trust__item span { font-size: .84rem; color: var(--muted); }

/* ==========================================================================
   Servicii
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #D7E2FB; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: var(--grad-soft); color: var(--brand-500); margin-bottom: 1.2rem;
  transition: background .3s ease, color .3s ease;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--grad); color: #fff; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card__list { margin-top: auto; padding-top: 1.1rem; display: grid; gap: .4rem; font-size: .89rem; color: var(--muted); }
.card__list li { display: flex; gap: .5rem; align-items: flex-start; }
.card__list svg { width: 16px; height: 16px; color: var(--brand-400); flex: none; margin-top: .28rem; }

/* ==========================================================================
   De ce noi + statistici
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why__list { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
.why__item { display: flex; gap: 1.1rem; }
.why__item i {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(47, 93, 223, .28);
}
.why__item svg { width: 22px; height: 22px; }
.why__item h3 { margin-bottom: .25rem; }
.why__item p { color: var(--muted); font-size: .95rem; margin: 0; }

.why__media { display: grid; gap: 1.2rem; }
.why__photos { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.why__photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.why__photo--main { grid-column: 1 / -1; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.why__photo--main img { aspect-ratio: 16 / 9; }
.why__photo img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block;
  transition: transform .6s ease;
}
.why__photo:hover img { transform: scale(1.04); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D7E2FB; }
.stat b {
  display: block; font-family: var(--font-title); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: .5rem; font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Proces
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, #C9D8F8 0 10px, transparent 10px 20px);
}
.step { text-align: center; position: relative; z-index: 1; }
.step__num {
  width: 68px; height: 68px; margin: 0 auto 1.1rem; display: grid; place-items: center;
  border-radius: 50%; background: #fff; border: 2px solid #DCE6FB;
  font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--brand-500);
  box-shadow: var(--shadow-sm); transition: .3s ease;
}
.step:hover .step__num { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-4px); }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ==========================================================================
   Galerie
   ========================================================================== */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.galerie__item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--grad-soft);
}
.galerie__item img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; display: block;
  transition: transform .6s ease;
}
.galerie__item:hover img { transform: scale(1.06); }
.galerie__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.1rem .95rem;
  font-family: var(--font-title); font-weight: 600; font-size: .95rem; color: #fff;
  background: linear-gradient(to top, rgba(16, 23, 54, .88) 0%, rgba(16, 23, 54, .55) 55%, rgba(16, 23, 54, 0) 100%);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .85rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item.is-open { border-color: #C8D8FA; box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-title); font-weight: 600; font-size: 1.02rem;
  padding: 1.25rem 1.5rem; color: var(--ink);
}
.faq__q i {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: #EAF1FF; color: var(--brand-500);
  display: grid; place-items: center; transition: .3s ease;
}
.faq__q i svg { width: 16px; height: 16px; }
.faq__item.is-open .faq__q i { background: var(--grad); color: #fff; transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq__a p { padding: 0 1.5rem 1.35rem; margin: 0; color: var(--muted); font-size: .96rem; }

/* ==========================================================================
   Banda CTA
   ========================================================================== */
.cta-band {
  background: var(--grad); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band--photo {
  background-image:
    linear-gradient(120deg, rgba(23, 32, 84, .93) 0%, rgba(47, 93, 223, .86) 55%, rgba(69, 139, 251, .78) 100%),
    url("../assets/img/foto-produse.jpg");
  background-size: cover; background-position: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); top: -140px; right: -60px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 46ch; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.contact__info { display: grid; gap: 1rem; margin-top: 2rem; }
.contact__row {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact__row:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact__row i {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: var(--grad-soft); color: var(--brand-500);
}
.contact__row svg { width: 21px; height: 21px; }
.contact__row--wa i { background: #E6FAEF; color: #14A44D; }
.contact__row b { display: block; font-family: var(--font-title); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__row a, .contact__row p { font-family: var(--font-title); font-weight: 600; font-size: 1.02rem; margin: 0; }
.contact__row a:hover { color: var(--brand-500); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.5rem); box-shadow: var(--shadow);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 600; font-family: var(--font-title); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .82rem 1rem; background: #FBFCFF;
  font-size: .96rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 122px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400); background: #fff;
  box-shadow: 0 0 0 4px rgba(69, 139, 251, .14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E05252; background: #FFF7F7; }
.field__error { display: none; font-size: .8rem; color: #D93B3B; }
.field.has-error .field__error { display: block; }
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.form__consent input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--brand-500); flex: none; }
.form__consent a { color: var(--brand-500); text-decoration: underline; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.form__status {
  display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px;
  font-size: .92rem; font-weight: 500;
}
.form__status.is-ok { display: block; background: #E7F7F1; color: #10795A; border: 1px solid #B6E6D5; }
.form__status.is-err { display: block; background: #FDEEEE; color: #A62D2D; border: 1px solid #F5C9C9; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--bg-deep); color: #AEBAD9; padding: clamp(52px, 6vw, 80px) 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem;
  padding-bottom: 3rem;
}
.footer img { height: 44px; width: auto; margin-bottom: 1.1rem; }
.footer p { font-size: .93rem; }
.footer h4 {
  font-family: var(--font-title); color: #fff; font-size: 1rem; margin: 0 0 1.1rem;
  letter-spacing: -.01em;
}
.footer__links { display: grid; gap: .6rem; font-size: .93rem; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__links a { transition: .2s ease; }
.footer__contact { display: grid; gap: .85rem; font-size: .93rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--brand-300); flex: none; margin-top: .2rem; }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #fff; transition: .25s ease;
}
.socials a:hover { background: var(--grad); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
/* ---------- Bannere oficiale ANPC (SAL / SOL) ---------- */
.anpc {
  display: flex; flex-wrap: wrap; gap: .8rem; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.6rem 0;
}
.anpc a {
  display: block; background: #fff; border-radius: 8px; padding: 6px;
  line-height: 0; transition: transform .25s ease, box-shadow .25s ease;
}
.anpc a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .28); }
.anpc img { width: 232px; height: auto; display: block; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .86rem;
}
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   Butoane flotante
   ========================================================================== */
.floaters { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: .7rem; justify-items: center; }
.floater {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow); border: 0; cursor: pointer;
  transition: transform .25s ease, opacity .25s ease;
}
.floater:hover { transform: scale(1.08); }
.floater svg { width: 26px; height: 26px; }
.floater--wa { background: #25D366; }
.floater--tel { background: var(--grad); display: none; }
.floater--top {
  background: #fff; color: var(--brand-500); border: 1px solid var(--line);
  width: 46px; height: 46px; opacity: 0; pointer-events: none;
}
.floater--top svg { width: 20px; height: 20px; }
.floater--top.is-visible { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Animatii la derulare
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 540px; margin: 1rem auto 0; }
  .why__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .topbar__hide { display: none !important; }
  /* backdrop-filter pe header ar transforma header-ul în bloc de referință pentru
     elementele position:fixed din interiorul lui, iar sertarul nu s-ar mai întinde
     pe tot ecranul. Pe telefon îl scoatem și punem fundal alb opac. */
  .header { backdrop-filter: none; background: #fff; }
  /* Din tot antetul, doar butonul de meniu ramane deasupra sertarului, ca sa poti
     inchide. Logo-ul si iconita de telefon raman dedesubt, altfel s-ar suprapune
     peste meniul deschis. Butonul primeste z-index direct, nu prin parinte:
     un z-index pe .nav__actions ar crea un context propriu si l-ar limita. */

  /* sertar lateral, cu fundal întunecat în spate */
  .nav__scrim {
    display: block; position: fixed; inset: 0; z-index: 56;
    background: rgba(10, 16, 40, .5); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .nav__scrim.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease, visibility 0s linear 0s; }

  .nav__menu {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 57;
    width: min(86vw, 360px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--drawer-top, var(--header-h)) + 1.2rem) 1.35rem calc(1.6rem + env(safe-area-inset-bottom));
    box-shadow: -18px 0 50px rgba(17, 26, 61, .22);
    transform: translateX(105%); visibility: hidden;
    transition: transform .34s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .34s;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav__menu.is-open { transform: translateX(0); visibility: visible; transition: transform .34s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s; }
  .nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem .2rem; border-bottom: 1px solid var(--line);
    font-family: var(--font-title); font-weight: 600; font-size: 1.05rem;
  }
  .nav__link::after {
    content: ""; display: block; width: 8px; height: 8px; position: static;
    border-right: 2px solid #C3CFEA; border-bottom: 2px solid #C3CFEA;
    transform: rotate(-45deg); background: none; border-radius: 0;
    transition: border-color .2s ease, transform .2s ease;
  }
  .nav__link:hover::after, .nav__link.is-active::after { width: 8px; border-color: var(--brand-500); }
  .nav__link.is-active { color: var(--brand-500); }
  .nav__cta { display: none; }

  .nav__mobile { display: block; margin-top: 1.2rem; }
  .nav__mobile-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .6rem; }
  .nav__mobile-row .btn { padding: .85rem .6rem; font-size: .92rem; }
  .nav__mobile-note { margin: .9rem 0 0; font-size: .75rem; color: var(--muted); text-align: center; }

  .nav__actions .nav__phone span { display: none; }
  .burger { display: block; position: relative; z-index: 58; }
  .nav__logo img { height: 38px; }
  .floater--tel { display: grid; }
  body.no-scroll { overflow: hidden; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .container { width: min(100% - 2rem, var(--container)); }

  /* banda UE pe telefon: doar cele două pictograme și textul de cofinanțare,
     pe un singur rând. Denumirea programului rămâne doar pe ecrane mari. */
  .eu-bar__inner { flex-direction: row; justify-content: space-between; gap: .75rem; padding: .6rem 0; }
  .eu-bar__gov span { display: none; }
  .eu-bar__brand { gap: .6rem; }
  .eu-bar__flag { width: 38px; height: 25px; }
  .eu-bar__brand span { font-size: .76rem; line-height: 1.2; }
  .eu-bar__gov img { width: 32px; height: 32px; }

  /* hero: butoane pe toată lățimea, listă de avantaje pe o coloană */
  .hero { padding-top: 40px; }
  .hero__cta { flex-direction: column; gap: .7rem; margin: 1.6rem 0 1.4rem; }
  .hero__cta .btn { width: 100%; }
  .hero__points { flex-direction: column; gap: .6rem; }
  .hero__visual { margin-top: 2.6rem; }
  .hero__badge { padding: .55rem .75rem; font-size: .76rem; }
  .hero__badge strong { font-size: .95rem; }
  .hero__badge--tl { top: -28px; left: 0; }
  .hero__badge--br { bottom: -28px; right: 0; }
  .hero__badge i { width: 32px; height: 32px; border-radius: 10px; }
  .hero__badge svg { width: 16px; height: 16px; }

  .trust__grid { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 0; }

  .card { padding: 1.6rem 1.35rem; }
  .card__icon { width: 52px; height: 52px; margin-bottom: 1rem; }

  .why__item i { width: 42px; height: 42px; }
  .stats { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .stat { padding: 1.3rem .8rem; }
  .stat b { font-size: 1.9rem; }
  .stat span { font-size: .78rem; }

  .galerie { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .galerie__item img { aspect-ratio: 1 / 1; }
  .galerie__item figcaption { font-size: .8rem; padding: 1.1rem .8rem .7rem; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .step__num { width: 58px; height: 58px; font-size: 1.15rem; margin-bottom: .8rem; }

  .faq__q { padding: 1.05rem 1.15rem; font-size: .96rem; }
  .faq__a p { padding: 0 1.15rem 1.15rem; font-size: .92rem; }

  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; padding: 2rem 1.4rem; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { width: 100%; }

  .form { padding: 1.5rem 1.25rem; }
  .form__grid { grid-template-columns: 1fr; gap: .9rem; }
  .contact__row { padding: 1rem 1.1rem; }
  .contact__row i { width: 42px; height: 42px; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .anpc { gap: .6rem; }
  .anpc a { width: 100%; }
  .anpc img { width: 100%; max-width: 280px; margin-inline: auto; }
  .eu-note { flex-direction: column; gap: .9rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: .5rem; font-size: .8rem; }

  .floaters { right: 14px; bottom: 14px; gap: .55rem; }
  .floater { width: 50px; height: 50px; }
  .floater svg { width: 24px; height: 24px; }
}

/* ecrane foarte înguste (sub 380px) */
@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .nav__mobile-row { grid-template-columns: 1fr; }
  .eu-bar__brand span { font-size: .72rem; }
  .eu-bar__flag { width: 34px; height: 23px; }
  .eu-bar__gov img { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
