/* ============================================================
   XDN Custom Solutions — Tema v2 „Aurora"
   Modernă, mobile-first, glass + gradient pe paleta logo-ului:
   auriu #E0A800 · albastru #62BEE6 / #4A9FC7 / #0E6E9E · navy #070C13
   ============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--gold, #E0A800);
  color: #070C13;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid #fff;
}

:root {
  --gold: #E0A800;
  --gold-light: #F5C518;
  --blue-light: #62BEE6;
  --blue-mid: #4A9FC7;
  --blue-dark: #0E6E9E;

  --bg: #070C13;
  --bg-soft: #0B1320;
  --card: rgba(20, 32, 46, 0.66);
  --card-solid: #141F2D;
  --border: rgba(98, 190, 230, 0.16);
  --border-gold: rgba(224, 168, 0, 0.32);

  --text: #F2F6FA;
  --text-muted: #A3B2C0;
  --text-faint: #6E8090;

  --font-head: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --maxw: 1180px;
  --header-h: 72px;

  --grad-brand: linear-gradient(92deg, var(--gold) 0%, var(--gold-light) 35%, var(--blue-light) 100%);
}

/* ---------- Tema LIGHT (comutabilă din header, persistată în localStorage) ---------- */
:root[data-theme="light"] {
  --bg: #F4F7FA;
  --bg-soft: #E9EFF5;
  --card: rgba(255, 255, 255, 0.82);
  --card-solid: #FFFFFF;
  --border: rgba(14, 110, 158, 0.16);
  --border-gold: rgba(143, 108, 0, 0.35);
  --text: #15212D;
  --text-muted: #46586A;
  --text-faint: #566573;
  --gold: #8F6C00;
  --gold-light: #A87E00;
  --blue-light: #0E6E9E;
  --blue-mid: #1B7FB5;
  --blue-dark: #0B5C85;
  --grad-brand: linear-gradient(92deg, #8F6C00 0%, #A87E00 35%, #0E6E9E 100%);
}
:root[data-theme="light"] .site-header { background: rgba(244, 247, 250, 0.85); }
:root[data-theme="light"] .site-header.scrolled { background: rgba(244, 247, 250, 0.96); }
:root[data-theme="light"] .hero::before { background: radial-gradient(circle, rgba(14,110,158,.2), transparent 70%); }
:root[data-theme="light"] .hero::after { background: radial-gradient(circle, rgba(224,168,0,.12), transparent 70%); }
:root[data-theme="light"] .cta-band::before { background: radial-gradient(circle, rgba(14,110,158,.14), rgba(224,168,0,.06) 55%, transparent 75%); }
:root[data-theme="light"] .page-hero::before { background: radial-gradient(circle, rgba(14,110,158,.16), transparent 70%); }
:root[data-theme="light"] .card:hover { box-shadow: 0 18px 44px rgba(21, 33, 45, 0.12); }
:root[data-theme="light"] .main-nav a { color: var(--text); }
:root[data-theme="light"] ::selection { background: rgba(224, 168, 0, 0.3); }
/* Footerul rămâne închis în ambele teme — logo-ul și brandul trăiesc pe navy */
.site-footer, .site-footer * { }
.site-footer {
  --text: #F2F6FA; --text-muted: #A3B2C0; --text-faint: #6E8090;
  --gold: #E0A800; --gold-light: #F5C518; --border: rgba(98, 190, 230, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: clamp(15.5px, 1.5vw, 16.5px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-light); }
::selection { background: rgba(224,168,0,.35); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 28px); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.45rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }

.gradient-text, .hero h1 span {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.section { padding: clamp(60px, 9vw, 100px) 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 6vw, 56px); text-align: center; }
.section-head .kicker, .split .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.74rem; margin-bottom: 14px;
}
.section-head .kicker::before, .split .kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-brand);
}
.section-head p { color: var(--text-muted); margin-top: 14px; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 0;
  font-family: var(--font-body); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
}
/* Auriul butoanelor e fix (nu din variabile) — text închis lizibil în ambele teme */
.btn-gold {
  background: linear-gradient(120deg, #E0A800, #C99700);
  color: #14100A; box-shadow: 0 6px 22px rgba(224,168,0,.25);
}
.btn-gold:hover { background: linear-gradient(120deg, #F5C518, #E0A800); color: #14100A; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(224,168,0,.4); }
.btn-outline { background: rgba(98,190,230,.05); color: var(--blue-light); border: 1.5px solid currentColor; }
.btn-outline:hover { color: var(--blue-light); background: rgba(98,190,230,.12); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(7, 12, 19, 0.78);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(7, 12, 19, 0.92); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; z-index: 130; min-width: 0; }
.logo img { height: 42px; width: 42px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
/* Butonul-telefon din meniu există doar pe mobil */
.nav-phone { display: none; }
@media (max-width: 1180px) { .nav-phone { display: block; } }
@media (max-width: 380px) { .logo .logo-text small { display: none; } .logo .logo-text { font-size: 1rem; } }
.logo .logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--gold); letter-spacing: .04em; line-height: 1.1; }
.logo .logo-text small { display: block; font-size: .6rem; font-weight: 500; color: var(--blue-light); letter-spacing: .2em; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 2px; align-items: center; }
.main-nav a {
  display: block; padding: 10px 12px; color: var(--text); font-weight: 500;
  font-size: .9rem; white-space: nowrap; border-radius: 999px; transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); background: rgba(224,168,0,.09); }
.main-nav .nav-cta {
  background: linear-gradient(120deg, #E0A800, #C99700); color: #14100A;
  padding: 10px 18px; font-weight: 600; margin-left: 6px;
}
.main-nav .nav-cta:hover { color: #14100A; background: linear-gradient(120deg, #F5C518, #E0A800); }

/* Butoane header: comutator temă + limbă (injectate de JS) */
.theme-toggle, .lang-switch {
  background: none; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); cursor: pointer; font-family: var(--font-body);
  min-height: 40px; min-width: 40px; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; padding: 8px 12px; font-size: .85rem; font-weight: 600;
  transition: border-color .15s, color .15s, background .15s;
}
.theme-toggle:hover, .lang-switch:hover { border-color: var(--gold); color: var(--gold-light); }
.theme-toggle i { font-size: 1.15rem; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
@media (max-width: 1180px) { .header-tools { margin-left: auto; margin-right: 4px; } }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 130; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--text); margin: 5.5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 11vw, 120px) 0 clamp(60px, 9vw, 100px); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0;
  animation: blob 16s ease-in-out infinite alternate;
}
.hero::before { width: 560px; height: 560px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(14,110,158,.5), transparent 70%); }
.hero::after { width: 440px; height: 440px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(224,168,0,.16), transparent 70%); animation-delay: 4s; }
@keyframes blob {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.15); }
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid; border-color: color-mix(in srgb, var(--blue-light) 45%, transparent); border-radius: 999px; padding: 8px 18px;
  color: var(--blue-light); font-size: .84rem; font-weight: 600; margin-bottom: 24px;
  background: rgba(98,190,230,.07); backdrop-filter: blur(6px);
}
.hero p.lead { color: var(--text-muted); font-size: clamp(1.02rem, 2.2vw, 1.18rem); margin: 22px 0 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(16px, 4vw, 34px); margin-top: clamp(34px, 6vw, 50px); width: fit-content; }
.hero-badges .badge b { display: block; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.7rem); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badges .badge span { color: var(--text-faint); font-size: .82rem; }
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,110,158,.35), transparent 65%); filter: blur(30px);
}
.hero-visual img, .hero-visual svg { position: relative; width: min(440px, 86%); }

/* ---------- Carduri ---------- */
.grid { display: grid; gap: clamp(14px, 2.5vw, 22px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px) clamp(18px, 2.6vw, 26px);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-brand); opacity: 0; transition: opacity .2s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(98,190,230,.4); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(98,190,230,.1); border: 1px solid rgba(98,190,230,.18);
  color: var(--blue-light); font-size: 1.55rem; margin-bottom: 18px;
}
.card.gold { border-color: var(--border-gold); }
.card.gold .icon { background: rgba(224,168,0,.1); border-color: rgba(224,168,0,.2); color: var(--gold); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .95rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; }
.card .more:hover { gap: 10px; transition: gap .15s; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 60px); align-items: center; }
.split h2 { margin: 10px 0 18px; }
.split p { color: var(--text-muted); }
.checklist { list-style: none; margin-top: 24px; }
.checklist li { padding-left: 36px; position: relative; margin-bottom: 14px; color: var(--text-muted); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 8px;
  background: rgba(224,168,0,.13); border: 1px solid rgba(224,168,0,.25);
  color: var(--gold); font-size: .8rem; display: grid; place-items: center; font-weight: 700;
}

/* ---------- Marquee parteneri ---------- */
.partners-marquee { overflow: hidden; position: relative; padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.partners-track { display: flex; gap: clamp(36px, 7vw, 72px); width: max-content; animation: marquee 26s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partners-track span {
  font-family: var(--font-head); color: var(--text-faint); font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem); letter-spacing: .05em; white-space: nowrap;
  transition: color .2s;
}
.partners-track span:hover { color: var(--blue-light); }
.partners { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; }
.partners span { color: var(--text-faint); font-weight: 700; font-size: 1.15rem; }

/* ---------- Pași ---------- */
.steps { counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 24px; top: 10px; bottom: 30px; width: 2px;
  background: linear-gradient(180deg, rgba(224,168,0,.5), rgba(98,190,230,.25), transparent);
}
.step { position: relative; padding-left: 74px; margin-bottom: clamp(24px, 4vw, 36px); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 50px; height: 50px;
  border-radius: 16px; background: var(--card-solid); border: 1px solid var(--border-gold);
  color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--card); backdrop-filter: blur(8px);
  margin-bottom: 14px; overflow: hidden; transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-gold); }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px;
  background: rgba(224,168,0,.1); color: var(--gold); font-size: 1.3rem; font-weight: 400;
  display: grid; place-items: center; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ul { padding: 0 22px 20px; color: var(--text-muted); font-size: .95rem; }
.faq details ul { padding-left: 42px; }

/* ---------- Banda CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(60px, 9vw, 90px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-band::before {
  content: ""; position: absolute; width: 640px; height: 640px; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(14,110,158,.32), rgba(224,168,0,.07) 55%, transparent 75%);
  filter: blur(40px);
}
.cta-band .container { position: relative; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }

/* ---------- Formulare ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.flabel { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: var(--r-md);
  font-size: 16px; /* minim 16px: previne zoom-ul automat la focus pe iOS */
  background: rgba(7,12,19,.6); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(98,190,230,.15);
}
textarea { min-height: 140px; resize: vertical; }
.gdpr { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); }
.gdpr input { margin-top: 4px; width: 18px; height: 18px; min-height: 0; accent-color: var(--gold); }

.contact-cards .card b { color: var(--gold); font-family: var(--font-head); }
.contact-cards .card p { margin-top: 6px; }

/* ---------- Hero pagini interioare ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(60px, 9vw, 90px) 0 clamp(44px, 7vw, 70px);
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(14,110,158,.4), transparent 70%); filter: blur(70px);
}
.page-hero .container { position: relative; }
.page-hero p { color: var(--text-muted); max-width: 680px; margin: 16px auto 0; }
.breadcrumb { font-size: .85rem; color: var(--text-faint); margin-bottom: 18px; }
.page-hero-art { max-width: 430px; margin: 30px auto 0; }
.page-hero-art img { width: 100%; }

/* ---------- Blocuri servicii ---------- */
.service-block {
  display: grid; grid-template-columns: 64px 1fr; gap: clamp(16px, 3vw, 26px);
  padding: clamp(26px, 4vw, 38px) 0; border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: 0; }
.service-block .icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(98,190,230,.1); border: 1px solid rgba(98,190,230,.18);
  color: var(--blue-light); font-size: 1.7rem;
}
.service-block h3 { margin-bottom: 8px; }
.service-block p { color: var(--text-muted); }
.service-block ul { margin: 12px 0 0 20px; color: var(--text-muted); font-size: .95rem; }
.service-block ul li { margin-bottom: 6px; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; color: var(--text); }
.legal h3 { margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { margin: 10px 0 10px 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; color: var(--text-muted); min-width: 120px; }
.legal th { color: var(--gold); background: var(--card-solid); }

/* ---------- Footer ---------- */
.site-footer { background: #05080D; border-top: 1px solid var(--border); padding: clamp(44px, 7vw, 64px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(28px, 5vw, 40px); padding-bottom: clamp(34px, 5vw, 48px); }
.footer-grid h4 { color: var(--gold); font-size: .92rem; margin-bottom: 16px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-grid p { color: var(--text-muted); font-size: .92rem; }
.footer-logo img { height: 64px; margin-bottom: 14px; border-radius: 14px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; text-align: center; color: var(--text-faint); font-size: .85rem; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-muted); font-size: 1.2rem; font-weight: 700;
  transition: color .15s, border-color .15s, transform .15s;
}
.social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Animații ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-badges { animation: fadeUp .75s cubic-bezier(.2,.7,.3,1) both; }
.hero h1 { animation-delay: .08s; }
.hero p.lead { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }
.hero-badges { animation-delay: .32s; }
.hero-visual img, .hero-visual svg { animation: floatSoft 7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-badges,
  .hero-visual img, .hero-visual svg, .hero::before, .hero::after, .partners-track { animation: none; }
}

/* ---------- Utilitare ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.note { font-size: .85rem; color: var(--text-faint); }

/* ---------- Acțiuni CTA grupate ---------- */
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- WhatsApp / Telegram ---------- */
.btn-whatsapp { background: #1FAF55; color: #07130A; }
.btn-whatsapp:hover { background: #2BC765; color: #07130A; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(31,175,85,.35); }
.btn-telegram { background: #2C9FD8; color: #061018; }
.btn-telegram:hover { background: #45B2E8; color: #061018; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(44,159,216,.35); }
.btn-whatsapp i, .btn-telegram i { font-size: 1.25rem; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1FAF55; color: #fff; font-size: 1.85rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(31, 175, 85, 0.45);
  transition: transform .18s ease, box-shadow .18s ease;
  padding-bottom: 0; margin-bottom: env(safe-area-inset-bottom);
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); color: #fff; box-shadow: 0 16px 40px rgba(31,175,85,.55); }

/* ---------- Banner consimțământ cookie ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 640px; margin: 0 auto;
  background: var(--card-solid); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
  animation: fadeUp .4s ease both;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.cookie-banner p { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; padding: 10px 24px; font-size: .92rem; flex: 1 1 auto; }

/* ---------- Responsive ---------- */
/* Layout (grile/hero/footer) trece pe coloană sub 1020px */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img, .hero-visual svg { width: min(300px, 64%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Meniul (8 intrări + toggle temă/limbă) trece pe hamburger sub 1180px,
   ca să nu se înghesuie sau să curgă pe două rânduri */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  /* Dropdown SOLID sub header. Nu folosim position:fixed aici:
     backdrop-filter pe .site-header îl face containing block și
     ar înghesui meniul în bara de 72px (bug-ul „nu se vede meniul"). */
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 99;
    margin: 0;
    background: #0A111C;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.55);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; pointer-events: none; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav ul {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
    max-width: 520px; margin: 0 auto;
  }
  .main-nav a {
    font-size: 1.12rem; font-family: var(--font-head); font-weight: 600;
    padding: 15px 20px; display: block; text-align: center;
    background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(98, 190, 230, 0.1);
    border-radius: var(--r-md); color: var(--text);
  }
  .main-nav a:hover, .main-nav a.active { color: var(--gold-light); background: rgba(224, 168, 0, 0.1); }
  /* CTA-urile primesc accentul: ofertă (auriu) + telefon (contur) */
  .main-nav .nav-cta {
    margin: 10px 0 0; font-size: 1.15rem; min-height: 54px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(120deg, var(--gold), #C99700); color: #14100A;
    border: 0; box-shadow: 0 8px 26px rgba(224, 168, 0, 0.3);
  }
  .main-nav .nav-cta:hover { color: #14100A; }
  .main-nav .nav-phone a {
    color: var(--blue-light); border: 1.5px solid rgba(98, 190, 230, 0.45);
    background: rgba(98, 190, 230, 0.06); min-height: 54px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
}

/* Tema LIGHT pe mobil: dropdown-ul de meniu avea fundal închis fix —
   textul (închis în light) devenea invizibil. Suprascriem aici. */
@media (max-width: 1180px) {
  :root[data-theme="light"] .main-nav {
    background: #FFFFFF;
    box-shadow: 0 32px 60px rgba(21, 33, 45, 0.18);
  }
  :root[data-theme="light"] .main-nav a {
    background: rgba(14, 110, 158, 0.05);
    border-color: rgba(14, 110, 158, 0.14);
    color: var(--text);
  }
  :root[data-theme="light"] .main-nav a:hover,
  :root[data-theme="light"] .main-nav a.active {
    color: var(--gold);
    background: rgba(143, 108, 0, 0.08);
  }
  :root[data-theme="light"] .main-nav .nav-cta { color: #14100A; }
  :root[data-theme="light"] .nav-toggle span { background: var(--text); }
}

@media (max-width: 760px) {
  .grid-3, .grid-2, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .service-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Blob-urile mari cu blur consumă GPU pe telefoane — le reducem */
  .hero::before { width: 320px; height: 320px; filter: blur(60px); }
  .hero::after { width: 260px; height: 260px; filter: blur(60px); }
  .cta-band::before { width: 380px; height: 380px; filter: blur(30px); }
  .page-hero::before { width: 300px; height: 300px; filter: blur(50px); }
}


/* ---- Recenzii / testimoniale Google ---- */
.hero-badges .reviews-badge{text-decoration:none;}
.hero-badges .reviews-badge span{color:var(--gold-light);}
.reviews-pill{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:10px 18px;border:1px solid var(--border-gold);border-radius:999px;background:var(--card);text-decoration:none;transition:transform .15s ease,border-color .15s ease;}
.reviews-pill:hover{transform:translateY(-2px);border-color:var(--gold);}
.reviews-pill .g{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;color:#4285F4;font-family:var(--font-head);font-weight:800;font-size:1rem;line-height:1;flex:none;}
.reviews-pill b{font-family:var(--font-head);font-size:1.15rem;color:var(--text);}
.reviews-pill .stars{color:var(--gold-light);letter-spacing:1px;font-size:.95rem;}
.reviews-pill .rc{color:var(--text-muted);font-size:.9rem;}
.review-card{display:flex;flex-direction:column;gap:14px;}
.review-card .stars{color:var(--gold-light);letter-spacing:2px;font-size:1.05rem;}
.review-card blockquote{margin:0;color:var(--text);font-size:1rem;line-height:1.62;font-style:italic;}
.review-card figcaption{display:flex;align-items:center;gap:12px;margin-top:auto;}
.review-card .avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--grad-brand);color:#0B1320;font-family:var(--font-head);font-weight:700;font-size:1.05rem;flex:none;}
.review-card figcaption b{display:block;color:var(--text);}
.review-card figcaption small{color:var(--text-faint);}


/* ---- ANPC SAL/SOL footer ---- */
.footer-anpc{display:flex;gap:16px;justify-content:center;align-items:center;flex-wrap:wrap;padding:20px 0 6px;border-top:1px solid var(--border);margin-top:8px;}
.footer-anpc img{height:50px;width:auto;border-radius:6px;background:#fff;padding:3px;box-shadow:0 2px 8px rgba(0,0,0,.18);}
.footer-anpc a{display:inline-flex;transition:transform .15s ease;}
.footer-anpc a:hover{transform:translateY(-2px);}

/* ---- Cariere ---- */
.jobs-grid { display: grid; gap: clamp(20px, 3vw, 28px); max-width: 860px; margin: 0 auto; }
.job-card { margin-bottom: 0; text-align: left; }
.job-card h3 { color: var(--blue-light); font-size: 1.4rem; margin-bottom: 6px; }
.job-card h4 { margin: 20px 0 8px; color: var(--gold); font-size: 1rem; letter-spacing: .02em; }
.job-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.job-meta i { color: var(--blue-light); }
.job-card ul { margin: 0 0 6px; padding-left: 20px; }
.job-card ul li { margin-bottom: 6px; color: var(--text-muted); }
.job-card .btn { min-height: 44px; }

/* ---- Faza 3: ținte de atingere 44px, performanță mobil, FAB vs bannere ---- */
.nav-toggle { min-width: 44px; min-height: 44px; }
.social a { min-width: 44px; min-height: 44px; }
.footer-grid a, .footer-anpc a { display: inline-flex; align-items: center; min-height: 32px; }

/* FAB WhatsApp se ridică deasupra bannerului de cookie cât timp e afișat */
body:has(.cookie-banner) .wa-float { bottom: calc(180px + env(safe-area-inset-bottom)); }
/* FAB dispare când meniul mobil e deschis (evită suprapunerea) */
body:has(.main-nav.open) .wa-float { opacity: 0; pointer-events: none; transform: scale(.8); }

@media (max-width: 640px) {
  /* Reduce costul de randare: fără blur pe carduri la mobil, fundal solid */
  .card, .service-card, .review-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--card-solid); }
  /* Bannerul de cookie centrat pe lățime completă are prioritate; FAB deasupra lui */
  body:has(.cookie-banner) .wa-float { bottom: calc(200px + env(safe-area-inset-bottom)); }
}

/* ---- Noutăți / News ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px, 3vw, 28px); }
.news-card { display: flex; flex-direction: column; gap: 12px; }
.news-card h3 { font-size: 1.18rem; line-height: 1.35; margin: 0; }
.news-card h3 a { color: var(--text); }
.news-card h3 a:hover { color: var(--gold-light); }
.news-card .more { margin-top: auto; }
.post-tag { align-self: flex-start; display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(98,190,230,.12); color: var(--blue-light); font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.post-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: .86rem; margin: 6px 0 0; }
.post-meta i { color: var(--blue-light); }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.75; font-size: 1.02rem; }
.post-body h2 { margin: 28px 0 12px; }
.post-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.page-hero .post-tag { margin-bottom: 12px; }
@media (max-width: 1020px) { .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .news-grid { grid-template-columns: 1fr; } }

/* ---- Surse articol ---- */
.post-sources { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--border); }
.post-sources h2 { font-size: 1rem; color: var(--gold); letter-spacing: .04em; margin-bottom: 8px; }
.post-sources ul { margin: 0; padding-left: 20px; }
.post-sources li { margin-bottom: 5px; color: var(--text-muted); font-size: .92rem; word-break: break-word; }

/* ---- Newsletter (footer) ---- */
.footer-newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 56px; padding: 22px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.footer-newsletter .fn-text { flex: 1 1 240px; }
.footer-newsletter .fn-text h4 { color: var(--gold); font-size: 1.1rem; margin-bottom: 6px; letter-spacing: .02em; }
.footer-newsletter .fn-text p { color: var(--text-muted); font-size: .9rem; margin: 0; max-width: 44ch; }
.nl-form { flex: 1 1 380px; max-width: 560px; }
.nl-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.nl-row { display: flex; flex-wrap: nowrap; gap: 10px; align-items: stretch; }
.nl-row input[type="email"] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.07); color: var(--text); font-size: 16px; }
.nl-row input[type="email"]::placeholder { color: var(--text-muted); opacity: 1; }
.nl-row input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.nl-row .btn { flex: 0 0 auto; min-height: 48px; padding: 12px 22px; white-space: nowrap; }
.nl-gdpr { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: .8rem; color: var(--text-faint); line-height: 1.45; }
.nl-gdpr input { margin-top: 2px; flex: none; }
@media (max-width: 720px) {
  .footer-newsletter { flex-direction: column; align-items: stretch; gap: 10px; }
  .footer-newsletter .fn-text p { max-width: none; }
  .nl-form { flex: 1 1 auto; max-width: none; }
}
@media (max-width: 460px) {
  .nl-row { flex-wrap: wrap; }
  .nl-row input[type="email"], .nl-row .btn { width: 100%; }
}

/* ---- Slider Noutăți (prima pagină) ---- */
.ns-wrap { position: relative; }
.ns-track {
  display: flex; gap: clamp(20px, 3vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.ns-track::-webkit-scrollbar { display: none; }
.ns-slide { flex: 0 0 calc((100% - 2 * clamp(20px, 3vw, 28px)) / 3); scroll-snap-align: start; }
@media (max-width: 1020px) { .ns-slide { flex-basis: calc((100% - clamp(20px, 3vw, 28px)) / 2); } }
@media (max-width: 640px)  { .ns-slide { flex-basis: 100%; } }

.ns-ctrl {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 26px; flex-wrap: wrap;
}
.ns-btn {
  width: 44px; height: 44px; border-radius: 50%; flex: none; cursor: pointer;
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  display: grid; place-items: center; font-size: 1.25rem;
  transition: border-color .15s, color .15s, transform .15s;
}
.ns-btn:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.ns-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ns-dots { display: flex; gap: 8px; align-items: center; }
.ns-dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--border); border: 0; transition: background .15s, transform .15s;
}
.ns-dot.active { background: var(--gold); transform: scale(1.25); }
.ns-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ns-track { scroll-behavior: auto; } }
