/* ============================================================
   BrokerCrediteSibiu — styles.css
   CSS comun pentru toate paginile
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --container: 1120px;
  --measure: 72ch; /* lățime optimă pentru paragrafe */

  /* Dark theme tokens (navy + gold) */
  --bg: #0b1220;
  --bg-elev: #0f1c2f;
  --surface: #111f35;
  --surface-2: #132642;
  --border: rgba(148, 163, 184, .16);
  --text: rgba(248, 250, 252, .96);
  --muted: rgba(226, 232, 240, .76);
  --muted-2: rgba(203, 213, 225, .62);
  --brand: #c8a24a;
  --brand-2: #a8832b;
  --focus: rgba(200, 162, 74, .55);
  --shadow: 0 18px 42px rgba(2, 6, 23, .45);
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(1100px 520px at 80% -10%, rgba(200, 162, 74, .14), transparent 60%),
    radial-gradient(900px 520px at 10% 10%, rgba(59, 130, 246, .10), transparent 55%),
    var(--bg);
}

a { color: var(--brand); }
a:hover { color: var(--brand-2); }

::selection { background: rgba(200, 162, 74, .35); color: rgba(255,255,255,.98); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Rezervă spațiu pentru nav injectat (reduce CLS) */
.nav-skeleton { height: 66px; }

@media (max-width: 700px) {
  .nav-skeleton { height: 76px; }
}

/* ── Layout container (centrează conținutul pe ecrane mari) ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ── Skip Link (Accesibilitate) ── */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--brand); color: rgba(11, 18, 32, .98);
  padding: 8px 16px; font-size: 13px;
  text-decoration: none; border-radius: 0 0 6px 0;
  z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── SVG Symbols (ascunse, referențiate cu <use>) ── */
.svg-defs {
  display: block !important;
  position: absolute;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

/* ── Navigație ── */
.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 18, 32, .75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-logo span { color: #2563eb; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 16px;
  color: var(--muted);
  text-decoration: none; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone a { font-size: 16px; color: var(--text); font-weight: 500; text-decoration: none; }
.nav-phone-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-phone-icon { display: inline-block; }
.nav-phone-text { display: inline; white-space: nowrap; }
.cta-long { display: inline; }
.cta-short { display: none; }
.nav-cta {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: rgba(11, 18, 32, .98);
  font-size: 16px;
  font-weight: 500; padding: 8px 18px; border-radius: 6px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.nav-cta:hover { filter: brightness(1.02); transform: translateY(-1px); }

/* ── Hamburger + meniu mobil ── */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(17, 31, 53, .65);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger-line {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  padding-top: 72px; /* sub sticky nav */
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(2px);
  z-index: 90;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 24px;
}
.mobile-menu.open { display: block; }

[hidden] { display: none !important; }

.mobile-menu-inner {
  background: rgba(17, 31, 53, .92);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
}
.mobile-menu a {
  display: block;
  padding: 12px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.mobile-menu a:hover { background: rgba(200, 162, 74, .10); color: var(--text); }
.mobile-menu a.active { background: rgba(200, 162, 74, .14); color: var(--text); }
.mobile-menu .mobile-cta {
  margin-top: 6px;
  text-align: center;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: rgba(11, 18, 32, .98);
  font-weight: 600;
}
.mobile-menu .mobile-cta:hover { filter: brightness(1.02); color: rgba(11, 18, 32, .98); }

/* ── Footer ── */
.footer { padding: 0; background: rgba(11, 18, 32, .35); border-top: 1px solid var(--border); }
.footer > .container { padding: 28px 32px 16px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.footer-col h4 {
  font-size: 12px; font-weight: 500; color: var(--text);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px;
}
.footer-col p, .footer-col a {
  font-size: 12px; color: var(--muted); line-height: 1.9;
  text-decoration: none; display: block;
}
.footer-col .footer-address { margin-top: 4px; }
.footer-col a:hover { color: var(--text); }
.social-links { display: flex; gap: 8px; margin-top: 8px; }
.social-btn {
  width: 32px; height: 32px; background: rgba(17, 31, 53, .65); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--brand); font-size: 11px; font-weight: 500;
  border: 1px solid var(--border);
}
.social-btn:hover { background: rgba(200, 162, 74, .10); color: var(--brand); }
.social-btn svg { width: 18px; height: 18px; display: block; }
.social-btn svg path { fill: currentColor; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 14px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 11px; color: var(--muted-2); }
.footer-legal { display: flex; gap: 16px; }
.footer-copy { color: var(--muted-2); }
.footer-legal a { font-size: 11px; color: var(--muted-2); text-decoration: none; }
.footer-legal a:hover { color: var(--text); }

/* Link-uri: să nu se bazeze doar pe culoare (a11y) */
.footer a,
.contact-method-info a,
.gdpr-check a,
.success-msg a,
.cookie-banner a,
.map-placeholder a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Link-uri din conținut (nu butoane) */
.section a:not([class*="btn"]),
.section a:not([class*="btn"]):visited {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer simplu (Thank You, 404) */
.footer-simple { padding: 20px 32px; background: rgba(11, 18, 32, .35); border-top: 1px solid var(--border); }
.footer-simple .footer-bottom { border-top: none; padding-top: 0; }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(11, 18, 32, .92); border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; z-index: 998; flex-wrap: wrap;
}
.cookie-banner p { font-size: 12px; color: var(--muted); line-height: 1.6; flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--brand); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept {
  background: linear-gradient(180deg, var(--brand), var(--brand-2)); color: rgba(11, 18, 32, .98); font-size: 13px;
  font-weight: 500; padding: 9px 20px; border-radius: 7px; border: none; cursor: pointer;
}
.cookie-reject {
  background: rgba(17, 31, 53, .65); color: var(--text); font-size: 13px;
  font-weight: 500; padding: 9px 16px; border-radius: 7px;
  border: 1.5px solid var(--border); cursor: pointer;
}
.cookie-reject:hover { background: rgba(19, 38, 66, .72); }

/* ── Sticky CTA mobil (bara Sună / WhatsApp) ── */
.sticky-cta-mobile {
  display: none;
  box-sizing: border-box;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 960;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -10px 40px rgba(15, 31, 92, 0.12);
  max-height: 96px;
  overflow: hidden;
}
.sticky-cta-mobile .scm-phone,
.sticky-cta-mobile .scm-wa {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.sticky-cta-mobile .scm-phone {
  background: #1e3a8a;
  color: #fff;
}
.sticky-cta-mobile .scm-phone:active { background: #172554; }
.sticky-cta-mobile .scm-wa {
  background: #25d366;
  color: #fff;
}
.sticky-cta-mobile .scm-wa:active { background: #1ebe57; }
.sticky-cta-mobile .scm-wa-icon {
  display: block;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
  overflow: hidden;
  color: #fff;
}
.sticky-cta-mobile .scm-wa-icon path {
  fill: currentColor;
}

/* Bara mobilă doar sub 701px — evită artefacte pe desktop */
@media (min-width: 701px) {
  .sticky-cta-mobile {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ── Înapoi sus (mobil) — deasupra barei sticky ── */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 965;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 31, 92, 0.14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #1e3a8a;
  fill: none;
  stroke-width: 2;
}

/* ── Social proof toast (notificare discretă) ── */
.social-proof-toast {
  position: fixed;
  z-index: 962;
  left: 16px;
  right: auto;
  bottom: 32px;
  max-width: min(384px, calc(100vw - 32px));
  box-sizing: border-box;
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 31, 92, 0.16);
}
.social-proof-toast.visible {
  display: flex;
}
.sp-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}
.sp-text strong {
  color: #0f1f5c;
  font-weight: 600;
}
.sp-time {
  display: inline;
  margin-left: 0.35em;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}
.sp-close {
  flex-shrink: 0;
  align-self: flex-start;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-close:hover {
  background: #e2e8f0;
  color: #0f1f5c;
}

/* ── Butoane comune ── */
.btn-primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: rgba(11, 18, 32, .98);
  font-size: 14px;
  font-weight: 500; padding: 12px 24px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { filter: brightness(1.02); transform: translateY(-1px); }
.btn-primary svg { width: 14px; height: 14px; stroke: rgba(11, 18, 32, .98); fill: none; stroke-width: 2.5; }

.btn-secondary {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: rgba(11, 18, 32, .98);
  font-size: 14px;
  font-weight: 500; padding: 12px 24px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-secondary:hover { filter: brightness(1.02); transform: translateY(-1px); }
.btn-navy {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: rgba(11, 18, 32, .98);
  font-size: 14px;
  font-weight: 500; padding: 13px 28px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-navy:hover { filter: brightness(1.02); transform: translateY(-1px); }
.btn-outline-navy {
  background: rgba(17, 31, 53, .65);
  color: var(--text);
  font-size: 14px;
  font-weight: 500; padding: 13px 28px; border-radius: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline-navy:hover { background: rgba(19, 38, 66, .72); }
.btn-outline {
  background: rgba(17, 31, 53, .65);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-outline:hover { background: rgba(19, 38, 66, .72); }
.btn-wa {
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 500; padding: 13px 28px; border-radius: 8px;
  border: none;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-wa:hover { background: #1fb458; }
.btn-wa svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }

/* ── WhatsApp floating button ── */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  justify-content: center;
  gap: 0;
  z-index: 999;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
}
.whatsapp-fab:hover { filter: brightness(.98); transform: translateY(-1px); }
.whatsapp-fab:active { transform: translateY(0); }
.whatsapp-fab:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}
.whatsapp-fab svg { width: 22px; height: 22px; }
.whatsapp-fab-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.btn-white {
  background: #fff; color: #1e3a8a; font-size: 14px;
  font-weight: 500; padding: 13px 28px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-outline-white {
  background: transparent; color: #fff; font-size: 14px;
  font-weight: 500; padding: 13px 28px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.4); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { font-size: 12px; color: #94a3b8; text-decoration: none; }
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb span { font-size: 12px; color: #cbd5e1; }
.breadcrumb-current { font-size: 12px; color: #2563eb; font-weight: 500; }

/* ── Page Header ── */
.page-header {
  padding: 0;
  background: linear-gradient(135deg, #eef4ff 0%, #f8faff 60%, #fff 100%);
  border-bottom: 0.5px solid #e2e8f0;
}
.page-header h1 { font-family: 'DM Serif Display', serif; font-size: 36px; color: #0f1f5c; margin-bottom: 12px; line-height: 1.2; }
.page-header p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.75;
  max-width: var(--measure);
}
.page-header-meta { font-size: 12px; color: #94a3b8; }
.page-header-meta span { margin-right: 16px; }

/* ── Sections ── */
.section { padding: 0; }
.section > .container { max-width: var(--container); margin: 0 auto; padding: 48px 32px; }
.section-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--brand); font-weight: 600; margin-bottom: 8px;
}
.section-title { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--text); margin-bottom: 8px; }
.section-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: var(--measure);
  line-height: 1.75;
}
.section-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
  max-width: var(--measure);
}
.page-header h1 em { color: #2563eb; font-style: normal; }
.page-header h1 em { color: var(--brand); font-style: normal; }
.bg-light { background: rgba(11, 18, 32, .28); }
.bg-navy { background: var(--bg-elev); }

/* ── Despre mine (despre-noi.html) ── */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-visual {
  background: #eef4ff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  border: 1px solid #bfdbfe;
  min-height: 300px;
}
.story-avatar {
  width: 120px;
  height: 120px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* Crop towards face/head (tune if needed) */
  object-position: 50% 8%;
  transform: scale(1.35);
  transform-origin: 50% 0%;
}
.story-name { font-family: 'DM Serif Display', serif; font-size: 20px; color: #0f1f5c; }
.story-role { font-size: 13px; color: #64748b; }
.story-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  margin-top: 4px;
}
.story-divider { width: 40px; height: 1px; background: #bfdbfe; margin: 4px auto; }
.story-location { font-size: 12px; color: #64748b; line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.value-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px 24px; }
.value-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 2; }
.vi-blue { background: #dbeafe; } .vi-blue svg { stroke: #2563eb; }
.vi-green { background: #dcfce7; } .vi-green svg { stroke: #16a34a; }
.vi-purple { background: #ede9fe; } .vi-purple svg { stroke: #7c3aed; }
.vi-amber { background: #fef3c7; } .vi-amber svg { stroke: #d97706; }
.value-card h3 { font-size: 16px; font-weight: 600; color: #0f1f5c; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: #64748b; line-height: 1.75; max-width: var(--measure); }

.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.highlight-box { background: rgba(17, 31, 53, .65); border: 1.5px solid var(--border); border-radius: 12px; padding: 28px; }
.highlight-box--accent { border-color: rgba(200, 162, 74, .45); }
.highlight-box h3 { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--text); margin-bottom: 14px; }
.highlight-list { display: flex; flex-direction: column; gap: 10px; }
.highlight-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.65; }
.hi-dot { width: 18px; height: 18px; background: #dbeafe; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; color: #2563eb; font-weight: 700; margin-top: 1px; }
.hi-dot--pos { background: #dbeafe; color: #2563eb; }

.honest-box { background: #0f1f5c; border-radius: 16px; padding: 36px; color: #fff; }
.honest-box h3 { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; margin-bottom: 14px; }
.honest-box p { font-size: 14px; color: #bfdbfe; line-height: 1.8; margin-bottom: 12px; max-width: var(--measure); }
.honest-box p:last-child { margin-bottom: 0; }

.mission-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.mission-card { background: #fff; border-radius: 12px; padding: 28px 24px; border: 1px solid #e2e8f0; text-align: center; }
.mission-number { font-family: 'DM Serif Display', serif; font-size: 36px; color: #2563eb; line-height: 1; margin-bottom: 6px; }
.mission-card h4 { font-size: 14px; font-weight: 600; color: #0f1f5c; margin-bottom: 6px; }
.mission-card p { font-size: 12px; color: #64748b; line-height: 1.75; }

/* ── Contact layout (contact.html) ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  max-width: 100%;
  min-height: 600px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.contact-info {
  padding: 48px 32px;
  background: #f8faff;
  border-right: 1px solid #e2e8f0;
}
.contact-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #0f1f5c;
  margin-bottom: 6px;
}
.contact-info .sub {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.75;
  max-width: var(--measure);
}
.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon svg { width: 18px; height: 18px; fill: none; stroke-width: 2; }
.icon-blue { background: #dbeafe; }
.icon-blue svg { stroke: #2563eb; }
.icon-green { background: #dcfce7; }
.icon-green svg { stroke: #16a34a; }
.icon-purple { background: #ede9fe; }
.icon-purple svg { stroke: #7c3aed; }
.icon-amber { background: #fef3c7; }
.icon-amber svg { stroke: #d97706; }
.contact-method-info h4 { font-size: 13px; font-weight: 600; color: #0f1f5c; margin-bottom: 2px; }
.contact-method-info p,
.contact-method-info a {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  line-height: 1.75;
  display: block;
}
.contact-method-info a:hover { color: #2563eb; }
.divider { height: 1px; background: #e2e8f0; margin: 28px 0; }

.program-title {
  font-size: 11px;
  font-weight: 700;
  color: #0f1f5c;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.program-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.program-row:last-child { border-bottom: none; }
.program-day { font-size: 13px; color: #475569; }
.program-hours { font-size: 13px; font-weight: 600; color: #0f1f5c; }
.program-closed { font-size: 13px; color: #94a3b8; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.status-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }

.map-section { padding: 0 32px 32px; background: rgba(11, 18, 32, .28); }
.contact-form-wrap { padding: 48px 40px; background: rgba(17, 31, 53, .65); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.contact-form-wrap h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 6px;
}

/* Contact headings au devenit h3 (a11y: ordine heading-uri) */
.contact-info h3,
.contact-form-wrap h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-form-wrap .sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: var(--measure);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hero-grid { grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
}
.topic-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.alt-contact { background: #1e3a8a; padding: 40px 32px; }
.alt-contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.alt-item h4 { font-size: 13px; font-weight: 600; color: #bfdbfe; margin-bottom: 6px; }
.alt-item a, .alt-item p { font-size: 15px; color: #fff; text-decoration: none; font-weight: 600; display: block; }
.alt-item a:hover { color: #93c5fd; }
.alt-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.alt-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }

/* ── Cards ── */
.feature-card {
  background: rgba(17, 31, 53, .65);
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 40px; height: 40px; background: rgba(200, 162, 74, .12);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 14px;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 2; }
.feature-card h3 { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.credit-card { background: #fff; border: 0.5px solid #e2e8f0; border-radius: 12px; padding: 24px 20px; border-top: 3px solid #2563eb; }
.credit-card h3 { font-size: 15px; font-weight: 500; color: #0f1f5c; margin-bottom: 8px; }
.credit-card p { font-size: 13px; color: #64748b; line-height: 1.6; }
.credite-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .credite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .credite-grid { grid-template-columns: 1fr; }
}

.info-card { background: rgba(17, 31, 53, .65); border: 1px solid var(--border); border-radius: 12px; padding: 24px; border-top: 3px solid rgba(200, 162, 74, .55); box-shadow: var(--shadow); }
.info-card h3 { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.info-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.info-card .value { font-family: 'DM Serif Display', serif; font-size: 24px; color: #2563eb; margin-bottom: 4px; }

/* ── Checklists + docs grid (pagini servicii) ── */
.checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #475569; line-height: 1.6; }
.check-dot {
  width: 20px;
  height: 20px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
  color: #2563eb;
  font-weight: 700;
}
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-item {
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #374151;
}
.doc-icon { font-size: 16px; flex-shrink: 0; }

/* ── Benefit / signal cards (refinanțare) ── */
.benefit-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: #f8faff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.benefit-icon {
  width: 36px;
  height: 36px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.benefit-content h4 { font-size: 14px; font-weight: 600; color: #0f1f5c; margin-bottom: 3px; }
.benefit-content p { font-size: 13px; color: #64748b; line-height: 1.7; max-width: var(--measure); }

.signal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.signal-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.signal-num {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #2563eb;
  flex-shrink: 0;
  line-height: 1;
}
.signal-text { font-size: 13px; color: #475569; line-height: 1.7; max-width: var(--measure); }

/* ── Eligibility grid (Noua Casă) ── */
.eligibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.elig-item { background: #f8faff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; }
.elig-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; margin-bottom: 4px; font-weight: 600; }
.elig-value { font-size: 14px; font-weight: 600; color: #0f1f5c; }

/* ── Use cases + compare table (Credit cu ipotecă) ── */
.usecase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.usecase-card { background: #f8faff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; }
.usecase-icon { font-size: 24px; margin-bottom: 8px; }
.usecase-card h4 { font-size: 14px; font-weight: 600; color: #0f1f5c; margin-bottom: 4px; }
.usecase-card p { font-size: 12px; color: #64748b; line-height: 1.75; max-width: var(--measure); }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.compare-table th {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.compare-table td { font-size: 13px; color: #374151; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight { font-weight: 700; color: #2563eb; }
.compare-table .dim { color: #94a3b8; }

/* ── Article layout ── */
.article-header {
  padding: 56px 32px 48px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8faff 60%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid #bfdbfe;
}
.article-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  color: #0f1f5c;
  margin-bottom: 16px;
  line-height: 1.15;
  max-width: 100%;
}
.article-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.article-meta span { font-size: 12px; color: #94a3b8; }
.article-intro { font-size: 16px; color: #4a5568; line-height: 1.8; max-width: var(--measure); }

.article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 0; align-items: start; }
.article-content { padding: 48px 48px 80px 32px; max-width: 100%; }
.article-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: #0f1f5c;
  margin: 40px 0 14px;
  scroll-margin-top: 80px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}
.article-content h2:first-of-type { border-top: none; margin-top: 0; }
.article-content h3 { font-size: 17px; font-weight: 600; color: #0f1f5c; margin: 24px 0 10px; }
.article-content p { font-size: 15px; color: #475569; line-height: 1.85; margin-bottom: 14px; max-width: var(--measure); }
.article-content ul, .article-content ol { padding-left: 20px; margin-bottom: 14px; max-width: var(--measure); }
.article-content li { font-size: 15px; color: #475569; line-height: 1.85; margin-bottom: 6px; }
.article-content strong { color: #1a2744; font-weight: 600; }
.article-content a { color: #2563eb; text-decoration: none; }
.article-content a:hover { text-decoration: underline; }

.info-box { background: #eef4ff; border-left: 3px solid #2563eb; border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 20px 0; font-size: 14px; color: #1e3a8a; line-height: 1.7; }
.warning-box { background: #fef9c3; border-left: 3px solid #f59e0b; border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 20px 0; font-size: 14px; color: #92400e; line-height: 1.7; }
.success-box { background: #dcfce7; border-left: 3px solid #16a34a; border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 20px 0; font-size: 14px; color: #15803d; line-height: 1.7; }

.compare-table .good { color: #16a34a; font-weight: 700; }
.compare-table .bad { color: #dc2626; font-weight: 700; }

.step-list { display: flex; flex-direction: column; gap: 0; margin: 16px 0; }
.step-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.step-item:last-child { border-bottom: none; }
.step-item .step-num {
  min-width: 32px;
  height: 32px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-item h4 { font-size: 15px; font-weight: 600; color: #0f1f5c; margin-bottom: 4px; }
.step-item p { font-size: 13px; color: #64748b; line-height: 1.7; margin: 0; max-width: var(--measure); }

.cta-inline { background: #1e3a8a; border-radius: 14px; padding: 28px; text-align: center; margin: 32px 0; }
.cta-inline h3 { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; margin-bottom: 8px; }
.cta-inline p { font-size: 13px; color: #bfdbfe; margin-bottom: 20px; line-height: 1.7; max-width: var(--measure); margin-left: auto; margin-right: auto; }
.cta-inline-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn-white-sm { background: #fff; color: #1e3a8a; font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn-outline-white-sm { background: transparent; color: #fff; font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,.4); text-decoration: none; display: inline-flex; align-items: center; }

.article-sidebar {
  padding: 32px 24px;
  border-left: 1px solid #e2e8f0;
  position: sticky;
  top: 57px;
  max-height: calc(100vh - 57px);
  overflow-y: auto;
}
.sidebar-toc h4 { font-size: 12px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.sidebar-toc a { display: block; font-size: 12px; color: #64748b; text-decoration: none; padding: 5px 8px; border-radius: 6px; line-height: 1.4; margin-bottom: 2px; }
.sidebar-toc a:hover { background: #eef4ff; color: #2563eb; }
.sidebar-divider { height: 1px; background: #e2e8f0; margin: 20px 0; }
.sidebar-cta { background: #eef4ff; border-radius: 12px; padding: 20px; text-align: center; border: 1px solid #bfdbfe; }
.sidebar-cta h4 { font-size: 14px; font-weight: 600; color: #0f1f5c; margin-bottom: 6px; }
.sidebar-cta p { font-size: 12px; color: #64748b; margin-bottom: 14px; line-height: 1.6; max-width: 100%; }
.sidebar-cta a { display: block; background: #2563eb; color: #fff; font-size: 12px; font-weight: 700; padding: 9px 16px; border-radius: 8px; text-decoration: none; margin-bottom: 8px; }
.sidebar-cta .phone-link { background: transparent; color: #2563eb; border: 1px solid #bfdbfe; border-radius: 8px; padding: 8px 16px; font-size: 12px; font-weight: 700; text-decoration: none; display: block; }

.related-articles { padding: 0 32px 64px; }
.related-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: #0f1f5c; margin-bottom: 20px; padding-top: 32px; border-top: 1px solid #e2e8f0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.related-card { background: #f8faff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; text-decoration: none; transition: border-color .2s; display: block; }
.related-card:hover { border-color: #2563eb; }
.related-card .tag { font-size: 11px; color: #2563eb; font-weight: 700; margin-bottom: 6px; display: block; }
.related-card h4 { font-size: 14px; font-weight: 700; color: #0f1f5c; line-height: 1.4; margin-bottom: 6px; }
.related-card span { font-size: 12px; color: #94a3b8; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; top: auto; max-height: none; border-left: none; border-top: 1px solid #e2e8f0; }
  .article-content { padding: 36px 24px 56px; }
  .related-articles { padding: 0 24px 56px; }
}

/* ── Blog listing (blog.html) ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filter-btn:hover,
.filter-btn.active { background: #2563eb; border-color: #2563eb; color: #fff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.blog-card:hover { border-color: #bfdbfe; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(2,6,23,.06); }
.blog-card--disabled { cursor: default; }
.blog-card--disabled:hover { border-color: #e2e8f0; transform: none; box-shadow: none; }

.blog-card-img {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, #0f1f5c, #1e3a8a);
  color: #fff;
}
.blog-card-img--refinantare { background: linear-gradient(135deg, #065f46, #10b981); }
.blog-card-img--noua-casa { background: linear-gradient(135deg, #5b21b6, #7c3aed); }
.blog-card-img--general { background: linear-gradient(135deg, #92400e, #d97706); }
.blog-card-img--checklist { background: linear-gradient(135deg, #0f1f5c, #1e3a8a); }
.blog-card-img--trend { background: linear-gradient(135deg, #0e7490, #0ea5e9); }

.blog-card-body { padding: 18px 18px 12px; }
.blog-tag { font-size: 12px; color: #2563eb; font-weight: 700; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 15px; font-weight: 700; color: #0f1f5c; line-height: 1.35; margin-bottom: 8px; }
.blog-card-body p { font-size: 13px; color: #64748b; line-height: 1.7; margin: 0; }

.blog-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; color: #94a3b8; font-size: 12px; }
.soon-pill {
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, .25);
}

.blog-card-footer { padding: 12px 18px 16px; font-size: 12px; color: #2563eb; font-weight: 700; margin-top: auto; }
.blog-card-footer--muted { color: #94a3b8; }

.newsletter-box { background: #1e3a8a; border-radius: 16px; padding: 32px; text-align: center; margin-top: 40px; }
.newsletter-box h3 { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; margin-bottom: 8px; }
.newsletter-box p { font-size: 14px; color: #bfdbfe; margin-bottom: 20px; line-height: 1.7; max-width: var(--measure); margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input {
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  width: 260px;
  color: #0f1f5c;
}
.newsletter-form button { background: #2563eb; color: #fff; font-size: 14px; font-weight: 700; padding: 11px 22px; border-radius: 10px; border: none; cursor: pointer; }

@media (max-width: 700px) {
  .newsletter-form input { width: 100%; }
  .newsletter-form { flex-direction: column; align-items: center; }
}

/* ── Legal/Docs pages (cookies + GDPR) ── */
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 0; max-width: 100%; align-items: start; }
.toc {
  padding: 32px 24px;
  background: #f8faff;
  border-right: 1px solid #e2e8f0;
  position: sticky;
  top: 57px;
  max-height: calc(100vh - 57px);
  overflow-y: auto;
}
.toc-title { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; font-weight: 700; margin-bottom: 16px; }
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-list a { font-size: 12px; color: #64748b; text-decoration: none; padding: 5px 8px; border-radius: 6px; display: block; line-height: 1.4; }
.toc-list a:hover { background: #eef4ff; color: #2563eb; }

.doc-content { padding: 48px 48px 64px; }
.content { max-width: var(--container); width: 100%; margin: 0 auto; padding: 48px 32px 80px; box-sizing: border-box; }

.doc-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid #e2e8f0; }
.doc-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.doc-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #0f1f5c;
  margin-bottom: 16px;
  scroll-margin-top: 80px;
}
.doc-section h3 { font-size: 15px; font-weight: 700; color: #0f1f5c; margin: 20px 0 10px; }
.doc-section p { font-size: 14px; color: #475569; line-height: 1.85; margin-bottom: 12px; max-width: var(--measure); }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section ul, .doc-section ol { padding-left: 20px; margin-bottom: 12px; max-width: var(--measure); }
.doc-section li { font-size: 14px; color: #475569; line-height: 1.85; margin-bottom: 4px; }
.doc-section strong { color: #1a2744; font-weight: 700; }
.doc-section a { color: #2563eb; text-decoration: none; }
.doc-section a:hover { text-decoration: underline; }

.cookie-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.cookie-table th {
  background: #f8faff;
  font-weight: 700;
  color: #374151;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cookie-table td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; color: #475569; vertical-align: top; }
.cookie-table tr:last-child td { border-bottom: none; }

.badge { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid transparent; }
.badge-essential { background: #dcfce7; color: #15803d; border-color: rgba(22, 163, 74, .18); }
.badge-analytics { background: #dbeafe; color: #1d4ed8; border-color: rgba(37, 99, 235, .18); }
.badge-functional { background: #ede9fe; color: #7c3aed; border-color: rgba(124, 58, 237, .18); }

.browser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 12px; }
.browser-item { background: #f8faff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #374151; }
.browser-item a { color: #2563eb; text-decoration: none; font-size: 12px; display: block; margin-top: 4px; }

.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.right-item { background: #f8faff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; }
.right-item h4 { font-size: 13px; font-weight: 700; color: #0f1f5c; margin-bottom: 4px; }
.right-item p { font-size: 12px; color: #64748b; line-height: 1.7; margin: 0; max-width: 100%; }

.contact-box { background: #0f1f5c; border-radius: 14px; padding: 24px; color: #fff; margin-top: 16px; }
.contact-box h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.contact-box p, .contact-box a { font-size: 13px; color: #bfdbfe; line-height: 1.9; text-decoration: none; display: block; max-width: 100%; }
.contact-box a:hover { color: #fff; }

/* ── Thank you page (thank-you.html) ── */
.thankyou-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: radial-gradient(900px 520px at 70% -10%, rgba(200, 162, 74, .14), transparent 60%),
    radial-gradient(800px 420px at 10% 20%, rgba(59, 130, 246, .10), transparent 55%),
    var(--bg);
}
.thankyou-container { text-align: center; max-width: var(--container); width: 100%; padding: 0 24px; box-sizing: border-box; }
.check-circle {
  width: 80px;
  height: 80px;
  background: rgba(200, 162, 74, .12);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: var(--shadow);
}
.check-circle svg { width: 36px; height: 36px; stroke: var(--brand); fill: none; stroke-width: 2.5; }
.thankyou-title { font-family: 'DM Serif Display', serif; font-size: 34px; color: var(--text); margin-bottom: 12px; line-height: 1.2; }
.thankyou-subtitle { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 36px; max-width: var(--measure); margin-left: auto; margin-right: auto; }
.thankyou-subtitle strong { color: var(--text); font-weight: 700; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; text-align: left; }
.info-card { background: rgba(17, 31, 53, .65); border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.info-card-icon { font-size: 20px; margin-bottom: 6px; }
.info-card h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.info-card p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0; max-width: 100%; }
.actions { display: flex; flex-direction: row; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.thankyou-links + .actions { margin-top: 10px; }
.actions .btn-primary,
.actions .btn-wa {
  min-height: 48px;
  align-items: center;
}
.divider { display: flex; align-items: center; gap: 12px; margin: 4px 0; width: 100%; }
.divider-line { flex: 1; height: 1px; background: #e2e8f0; }
.divider span { font-size: 12px; color: #94a3b8; }
.countdown { font-size: 12px; color: var(--muted-2); margin-top: 20px; }
.countdown a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.thankyou-links { margin-top: 24px; width: 100%; text-align: left; }
.thankyou-links-intro { font-size: 12px; color: var(--muted-2); margin-bottom: 12px; text-align: center; }
.thankyou-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.thankyou-link { background: rgba(17, 31, 53, .52); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-decoration: none; display: block; }
.thankyou-link-icon { font-size: 16px; margin-bottom: 4px; }
.thankyou-link-title { font-size: 13px; font-weight: 700; color: var(--text); }
.thankyou-link-meta { font-size: 11px; color: var(--muted-2); }

@media (max-width: 700px) {
  .info-cards { grid-template-columns: 1fr; }
  .thankyou-links-grid { grid-template-columns: 1fr; }
}

/* ── 404 page (404.html) ── */
.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8faff 60%, #fff 100%);
}
.error-container { text-align: center; max-width: var(--container); width: 100%; padding: 0 24px; box-sizing: border-box; }
.error-visual { margin-bottom: 32px; }
.error-num { font-family: 'DM Serif Display', serif; font-size: 120px; color: #dbeafe; line-height: 1; letter-spacing: -4px; margin-bottom: 0; }
.error-icon { width: 64px; height: 64px; background: #eef4ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: -20px auto 0; border: 4px solid #fff; position: relative; }
.error-icon svg { width: 28px; height: 28px; stroke: #2563eb; fill: none; stroke-width: 1.5; }
.error-title { font-family: 'DM Serif Display', serif; font-size: 28px; color: #0f1f5c; margin-bottom: 12px; margin-top: 20px; }
.error-subtitle { font-size: 15px; color: #64748b; line-height: 1.7; margin-bottom: 36px; max-width: var(--measure); margin-left: auto; margin-right: auto; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; text-align: left; }
.quick-link { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: border-color .2s; }
.quick-link:hover { border-color: #2563eb; }
.ql-icon { width: 32px; height: 32px; background: #eef4ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ql-icon svg { width: 15px; height: 15px; stroke: #2563eb; fill: none; stroke-width: 2; }
.ql-text h4 { font-size: 13px; font-weight: 700; color: #0f1f5c; margin-bottom: 1px; }
.ql-text p { font-size: 11px; color: #94a3b8; margin: 0; }

@media (max-width: 700px) {
  .quick-links { grid-template-columns: 1fr; }
}

/* ── Steps ── */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 0.5px solid #e2e8f0; }
.step:last-child { border-bottom: none; }
.step-num {
  min-width: 36px; height: 36px; background: #2563eb; color: #fff;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 500; font-size: 14px; flex-shrink: 0;
}
.step-content h4,
.step-content h3 { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Homepage: steps într-un singur rând (desktop) */
.steps--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.steps--grid .step {
  border-bottom: none;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  height: 100%;
}

@media (max-width: 1024px) {
  .steps--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .steps--grid { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  gap: 16px;
  background: none;
  border: 0;
  text-align: left;
}
.faq-q:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 10px;
}
.faq-icon {
  min-width: 20px; height: 20px; background: rgba(200, 162, 74, .14); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--brand); font-weight: 600; transition: transform .2s;
}
.faq-icon.open { transform: rotate(45deg); }
.faq-a {
  font-size: 13px; color: var(--muted); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
}
.faq-a.open { max-height: 300px; padding-bottom: 16px; }

/* ── Alert / Info Boxes ── */
.alert-box {
  background: #eef4ff; border-left: 3px solid #2563eb;
  border-radius: 0 8px 8px 0; padding: 14px 18px;
  font-size: 13px; color: #1e3a8a; line-height: 1.6; margin-top: 16px;
}
.warning-box {
  background: #fef9c3; border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0; padding: 14px 18px;
  font-size: 13px; color: #92400e; line-height: 1.6; margin-top: 16px;
}
.success-box {
  background: #dcfce7; border-left: 3px solid #16a34a;
  border-radius: 0 8px 8px 0; padding: 14px 18px;
  font-size: 13px; color: #15803d; line-height: 1.6; margin-top: 16px;
}
.how-note {
  background: #eef4ff; border-left: 3px solid #2563eb;
  border-radius: 0 8px 8px 0; padding: 12px 16px;
  margin-top: 16px; font-size: 13px; color: #1e3a8a; line-height: 1.6;
}

/* ── Calculator (eliminat) ── */
/* ── Modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,31,92,.45); z-index: 999;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff; border-radius: 16px; padding: 32px;
  width: 100%; max-width: 460px; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 20px;
  color: #94a3b8; cursor: pointer; line-height: 1;
}
.modal h3 { font-family: 'DM Serif Display', serif; font-size: 22px; color: #0f1f5c; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: #64748b; margin-bottom: 20px; line-height: 1.5; }
.modal-summary {
  background: #eef4ff; border-radius: 8px; padding: 12px 16px;
  margin-bottom: 20px; display: flex; gap: 20px; flex-wrap: wrap;
}
.modal-summary-item { display: flex; flex-direction: column; gap: 2px; }
.modal-summary-item span:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: #3b82f6; }
.modal-summary-item span:last-child { font-size: 15px; font-weight: 500; color: #0f1f5c; }

/* ── Exit intent (doar când e activ — overlay fix pe tot ecranul) ── */
.exit-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  background: rgba(15, 31, 92, 0.52);
  backdrop-filter: blur(4px);
}
.exit-overlay.active {
  display: flex;
}
.exit-popup {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(15, 31, 92, 0.28);
  box-sizing: border-box;
  text-align: center;
}
.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exit-popup-close:hover {
  background: #e2e8f0;
  color: #0f1f5c;
}
.exit-emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
}
.exit-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.exit-popup h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #0f1f5c;
  margin-bottom: 10px;
  line-height: 1.2;
}
.exit-popup p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}
.exit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  align-items: stretch;
}
.exit-form input[type='tel'] {
  flex: 1 1 140px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: #0f1f5c;
}
.exit-form input[type='tel']:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.exit-form button {
  flex: 0 0 auto;
  padding: 12px 20px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.exit-form button:hover {
  background: #1d4ed8;
}
.exit-skip {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.exit-skip:hover {
  color: #64748b;
}

/* ── Form Fields ── */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form-field label { font-size: 12px; font-weight: 500; color: var(--muted); }
.form-field label .req { color: #ef4444; }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(11, 18, 32, .55); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 10px 12px; color: var(--text); font-size: 14px;
  font-family: 'DM Sans', sans-serif; outline: none; width: 100%;
  transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: rgba(200, 162, 74, .55); background: rgba(11, 18, 32, .72);
}
.form-field textarea { resize: none; height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: 11px; color: var(--muted-2); margin-top: 4px; }
.submit-btn {
  width: 100%; background: linear-gradient(180deg, var(--brand), var(--brand-2)); color: rgba(11, 18, 32, .98); font-size: 14px;
  font-weight: 500; padding: 13px; border-radius: 8px; border: none; cursor: pointer; margin-top: 4px;
}
.submit-btn:hover { filter: brightness(1.02); transform: translateY(-1px); }

/* Contact (homepage) — buton mai compact */
#contact .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 13px;
  line-height: 1.1;
  padding: 9px 14px;
  width: auto;
  min-width: 160px;
  margin-top: 6px;
  white-space: nowrap;
}
.gdpr-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.gdpr-check input[type=checkbox] { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--brand); flex-shrink: 0; cursor: pointer; }
.gdpr-check label { font-size: 12px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.gdpr-check a { color: var(--brand); text-decoration: none; }

.form-error {
  display: block;
  background: rgba(127, 29, 29, .22);
  border: 1px solid rgba(239, 68, 68, .30);
  color: rgba(254, 226, 226, .92);
  font-size: 12px;
  line-height: 1.6;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 14px;
}

/* ── Success Message ── */
.success-msg { display: none; text-align: center; padding: 16px 0; }
.success-msg .check {
  width: 48px; height: 48px; background: rgba(22, 163, 74, .18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 22px;
}
.success-msg h4 { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text); margin-bottom: 6px; }
.success-msg p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── CTA Section ── */
.cta-section { background: #eef4ff; border-top: 1.5px solid #bfdbfe; text-align: center; }
.section.cta-section > .container { padding: 56px 32px; }
.cta-section h2 { font-family: 'DM Serif Display', serif; font-size: 32px; color: #0f1f5c; margin-bottom: 10px; }
.cta-section p { font-size: 15px; color: #4a5568; margin-bottom: 32px; line-height: 1.6; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.cta-section .cta-btns { gap: 10px; }
.cta-section .btn-navy,
.cta-section .btn-outline-navy,
.cta-section .btn-wa {
  font-size: 13px;
  padding: 11px 20px;
}
.cta-section .btn-wa svg { width: 14px; height: 14px; }

.cta-section-navy { background: #1e3a8a; padding: 0; text-align: center; }
.cta-section-navy > .container { max-width: var(--container); margin: 0 auto; padding: 48px 32px; }
.cta-section-navy h2 { font-family: 'DM Serif Display', serif; font-size: 28px; color: #fff; margin-bottom: 10px; }
.cta-section-navy p { font-size: 15px; color: #bfdbfe; margin-bottom: 28px; line-height: 1.6; }

/* ── National Banner ── */
.national-banner {
  background: #1e3a8a; padding: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; white-space: nowrap; overflow: hidden;
}
.national-banner > .container {
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 12px 32px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; white-space: nowrap; overflow: hidden;
}
.nb-side { font-size: 11px; color: #bfdbfe; white-space: nowrap; flex-shrink: 0; }
.nb-main { font-size: 13px; color: #fff; font-weight: 600; white-space: nowrap; flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; }
.nb-sep { margin: 0 4px; color: #bfdbfe; font-size: 12px; flex-shrink: 0; }
.national-pill {
  background: rgba(255,255,255,.15); border-radius: 4px;
  padding: 2px 10px; font-size: 11px; color: #e0f2fe;
  font-weight: 500; white-space: nowrap; flex-shrink: 0;
}

/* ── Banks ── */
.banks {
  padding: 0;
  background: radial-gradient(900px 320px at 50% -20%, rgba(59, 130, 246, .12), transparent 60%),
    linear-gradient(180deg, rgba(11, 18, 32, .10), rgba(11, 18, 32, .36));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.banks > .container { max-width: var(--container); margin: 0 auto; padding: 20px 32px; }
.banks-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--text);
  text-align: center;
  margin-bottom: 14px;
}
.banks-list { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bank-pill { background: rgba(17, 31, 53, .65); border: 1px solid var(--border); border-radius: 6px; padding: 6px 14px; font-size: 12px; font-weight: 500; color: var(--muted); }
.banks-logos { margin: 0; padding: 0; display: block; }
.banks-logos-img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  margin: 10px auto 0;
  border-radius: 12px;
  background: rgba(17, 31, 53, .35);
}
.banks-logos-grid {
  margin: 0 auto;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 22px 26px;
  align-items: center;
  justify-items: center;
  padding: 16px 6px 6px;
  background: transparent;
  border: 0;
}
.bank-logo {
  width: 100%;
  max-width: 180px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
}
.bank-logo img {
  display: block;
  width: 100%;
  height: 30px;
  object-fit: contain;
  filter: saturate(1.05);
}

@media (max-width: 700px) {
  .banks-logos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 18px;
    padding: 14px 0 4px;
  }
  .bank-logo {
    height: 54px;
    max-width: 170px;
    padding: 10px 10px;
  }
  .bank-logo img {
    height: 26px;
  }
}

/* ── Utilities ── */
.u-mt-18 { margin-top: 18px; }
.u-mt-16 { margin-top: 16px; }
.u-mb-16 { margin-bottom: 16px; }
.offscreen {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Map / address bits ── */
.map-pin { font-size: 32px; }
.map-address { color: #0f1f5c; font-size: 14px; }
.map-city { font-size: 12px; color: #94a3b8; }

/* ── Contact helpers ── */
.map-pin--sm { font-size: 28px; }
.map-address--sm { font-size: 13px; }
.map-city--sm { font-size: 11px; }
.link-primary { color: #2563eb; }

/* ── Trust strip (servicii) ── */
.trust-strip { background: #1e3a8a; padding: 0; }
.trust-strip > .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  color: #fff;
  margin-bottom: 4px;
}
.trust-item p { font-size: 13px; color: #93c5fd; }

/* ── Servicii (servicii.html) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: rgba(17, 31, 53, .65);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  box-shadow: var(--shadow);
}
.service-card:hover {
  border-color: rgba(200, 162, 74, .45);
  box-shadow: 0 22px 56px rgba(2, 6, 23, 0.55);
  transform: translateY(-1px);
}
.service-card-top { padding: 28px 24px 20px; border-bottom: 1px solid var(--border); flex: 1; }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.service-icon--blue,
.service-icon--green,
.service-icon--purple,
.service-icon--amber { background: rgba(200, 162, 74, .12); }
.service-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; max-width: var(--measure); }
.service-highlights { display: flex; flex-direction: column; gap: 6px; }
.highlight-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.highlight-dot {
  width: 16px;
  height: 16px;
  background: rgba(200, 162, 74, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--brand);
  flex-shrink: 0;
}
.service-card-bottom { padding: 16px 24px; background: rgba(11, 18, 32, .35); display: flex; align-items: center; justify-content: space-between; }
.service-cta { font-size: 13px; font-weight: 600; color: var(--brand); }
.service-arrow { font-size: 16px; color: var(--brand); }

/* ── How it works cards (servicii.html) ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.how-card {
  background: #f8faff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  position: relative;
}
.how-num {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: #dbeafe;
  line-height: 1;
  margin-bottom: 8px;
}
.how-card h3 { font-size: 15px; font-weight: 600; color: #0f1f5c; margin-bottom: 6px; }
.how-card p { font-size: 13px; color: #64748b; line-height: 1.7; max-width: var(--measure); }

/* ── Hero ── */
.hero { padding: 0; background: transparent; position: relative; overflow: hidden; }
.hero > .container { max-width: var(--container); margin: 0 auto; padding: 64px 32px 56px; position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: center;
}
.hero-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(17, 31, 53, .35);
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  height: 380px;
  display: block;
  aspect-ratio: 805 / 1024;
  object-fit: cover;
  object-position: 50% 25%;
}
.hero-content { max-width: 100%; margin: 0; }
.hero::before {
  content: ''; position: absolute; top: -160px; right: -160px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, #dbeafe 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(17, 31, 53, .65); color: var(--brand); font-size: 15px;
  font-weight: 500; padding: 8px 16px; border-radius: 20px;
  margin-bottom: 24px; border: 1px solid var(--border);
}
.hero-dot {
  width: 7px; height: 7px; background: var(--brand);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 18px;
  max-width: 20ch; /* premium: titlu mai controlat */
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: var(--measure);
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 520px;
}
.hero-list li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 999px;
  flex-shrink: 0;
}
.hero-stats { display: none; }
.stat-card {
  background: #f8faff; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 20px 20px 16px; position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 12px 12px 0 0;
}
.stat-card:nth-child(1)::before { background: #2563eb; }
.stat-card:nth-child(2)::before { background: linear-gradient(90deg, #2563eb, #0ea5e9); }
.stat-card:nth-child(3)::before { background: #10b981; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 28px; color: #0f1f5c; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: #64748b; line-height: 1.4; }
.stat-icon {
  position: absolute; top: 16px; right: 16px; width: 28px; height: 28px;
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 14px; height: 14px; fill: none; stroke-width: 2; }
.stat-card:nth-child(1) .stat-icon { background: #dbeafe; }
.stat-card:nth-child(1) .stat-icon svg { stroke: #2563eb; }
.stat-card:nth-child(2) .stat-icon { background: #e0f2fe; }
.stat-card:nth-child(2) .stat-icon svg { stroke: #0ea5e9; }
.stat-card:nth-child(3) .stat-icon { background: #dcfce7; }
.stat-card:nth-child(3) .stat-icon svg { stroke: #10b981; }

/* ── Map ── */
.map-wrap {
  border-radius: 12px; overflow: hidden; border: 0.5px solid #e2e8f0;
  height: 280px; background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  width: 100%;
}
.map-placeholder { font-size: 13px; color: #94a3b8; text-align: center; }
.map-placeholder a { color: #2563eb; text-decoration: none; font-weight: 500; }

/* ── Grids ── */
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.three-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.four-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid-2-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Other service cards ── */
.other-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 8px; }
.other-card { background: #fff; border: 0.5px solid #e2e8f0; border-radius: 10px; padding: 18px; text-decoration: none; transition: border-color .2s; }
.other-card:hover { border-color: #2563eb; }
.other-card h4 { font-size: 14px; font-weight: 500; color: #0f1f5c; margin-bottom: 4px; }
.other-card p { font-size: 12px; color: #94a3b8; }
.other-card-arrow { font-size: 12px; color: #2563eb; margin-top: 8px; display: block; }

/* ── Service badge ── */
.service-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #dbeafe; color: #1d4ed8; font-size: 12px;
  font-weight: 500; padding: 5px 12px; border-radius: 20px;
  margin-bottom: 16px; border: 1px solid #bfdbfe;
}
.gov-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #dcfce7; color: #15803d; font-size: 11px;
  font-weight: 500; padding: 4px 10px; border-radius: 20px;
  margin-left: 8px; border: 1px solid #bbf7d0;
}

/* ── Page header inner (pagini interne; layout split în CSS-ul paginii de serviciu) ── */
.page-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 32px 48px;
}
.page-header-inner--narrow { max-width: 900px; }
.page-header-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 8px;
}
.header-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.header-note { font-size: 11px; color: #94a3b8; text-align: center; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — SISTEM COMPLET
   1280px+  Desktop mare   (default — nicio schimbare)
    1024px  Laptop          ajustări nav, layout compact
     768px  Tabletă         2 coloane, font mai mic
     700px  Tabletă mică   breakpoint curent pentru nav/hamburger
     480px  Mobil mare     optimizări suplimentare
     360px  Mobil mic      fonturi minime, spacing redus
   ══════════════════════════════════════════════════════════════ */

/* ── 1024px — Laptop ── */
@media (max-width: 1024px) {
  /* Nav — mai compact */
  .nav-inner { padding: 12px 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 15.5px; }
  .nav-phone a { font-size: 15px; }
  .nav-cta { padding: 7px 14px; font-size: 15px; }

  /* Hero */
  .hero > .container { padding: 48px 24px 40px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-num { font-size: 24px; }

  /* Sections */
  .section > .container { padding: 44px 24px; }
  .section-title { font-size: 24px; }

  /* Page header */
  .page-header-inner { padding: 44px 24px 40px; }
  .page-header h1 { font-size: 32px; }

  /* Footer — 4 coloane mai strânse */
  .footer > .container { padding: 24px 24px 16px; }
  .footer-top { gap: 16px; }
  .footer-col h4 { font-size: 11px; }
  .footer-col a, .footer-col p { font-size: 11px; }

  /* Calculator (eliminat) */

  /* Comparator (eliminat) */

  /* CTA */
  .cta-section > .container { padding: 44px 24px; }
  .cta-section-navy > .container { padding: 40px 24px; }

  /* National banner */
  .national-banner > .container { padding: 10px 24px; }
}

/* ── 768px — Tabletă ── */
@media (max-width: 768px) {
  /* Nav — pregătim tranziția spre hamburger */
  .nav-inner { padding: 12px 20px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; }

  /* Hero — 2 coloane stats */
  .hero > .container { padding: 40px 20px 32px; }
  .hero h1 { font-size: 32px; line-height: 1.2; }
  .hero p { font-size: 14px; max-width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-btns { gap: 10px; }

  /* Page header */
  .page-header-inner { padding: 40px 20px 32px; }
  .page-header h1 { font-size: 28px; }
  .page-header-split { grid-template-columns: 1fr; gap: 24px; }
  .header-cta { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }

  /* Sections */
  .section > .container { padding: 40px 20px; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 14px; }

  /* Two cols → single col */
  .two-cols { grid-template-columns: 1fr; gap: 24px; }

  /* Three/four cols → 2 cols */
  .three-cols { grid-template-columns: repeat(2, 1fr); }
  .four-cols  { grid-template-columns: repeat(2, 1fr); }

  /* Cards */
  .other-services { grid-template-columns: repeat(2, 1fr); }

  /* Calculator (eliminat) */

  /* Comparator (eliminat) */

  /* Footer — 2x2 grid */
  .footer > .container { padding: 24px 20px 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Modal */
  .modal { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-section > .container { padding: 40px 20px; }
  .cta-section h2 { font-size: 26px; }
  .cta-btns { gap: 10px; }

  /* Article layout */
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .article-content { padding: 32px 20px; }

  /* Doc layout (GDPR pages) */
  .doc-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .doc-content { padding: 32px 20px; }

  /* How/steps grids */
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { gap: 0; }

  /* Services grid on servicii.html */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Trust strip */
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Mission layout */
  .mission-layout { grid-template-columns: repeat(3, 1fr); }

  /* Back to top */
  .back-to-top { bottom: 80px; right: 16px; }
}

/* ── 700px — Tabletă mică / Hamburger ── */
@media (max-width: 700px) {
  /* Nav → hamburger */
  .nav-inner { padding: 12px 16px; }
  .nav-links { display: none !important; }
  .hamburger { display: flex; }
  .nav-right { gap: 10px; }

  /* Hero */
  .hero > .container { padding: 36px 16px 32px; }
  .hero h1 { font-size: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-media { max-width: 340px; }
  .hero-media img { height: auto; object-position: 50% 20%; }
  .hero-list { grid-template-columns: 1fr 1fr; }

  /* Page header */
  .page-header-inner { padding: 32px 16px 28px; }
  .page-header h1 { font-size: 26px; }

  /* Sections */
  .section > .container { padding: 36px 16px; }

  /* Grids → 1 coloană */
  .two-cols { grid-template-columns: 1fr; }
  .three-cols { grid-template-columns: 1fr; }
  .four-cols  { grid-template-columns: 1fr; }
  .how-grid   { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .other-services { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .mission-layout { grid-template-columns: 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: 1fr; }
  .browser-grid { grid-template-columns: repeat(2, 1fr); }

  /* Calculator (eliminat) */

  /* Comparator (eliminat) */

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer > .container { padding: 24px 16px 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Touch targets (Best Practices) */
  .footer-col a,
  .footer-legal a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .social-btn {
    width: 44px;
    height: 44px;
  }

  /* National banner */
  .national-banner > .container { padding: 10px 16px; flex-wrap: wrap; }
  .nb-side { display: none; }
  .nb-main { font-size: 14px; line-height: 1.4; white-space: normal; text-align: center; }

  /* Banks */
  .banks > .container { padding: 14px 16px; }

  .trust-strip > .container { padding: 32px 16px; }

  /* CTA */
  .cta-section > .container { padding: 36px 16px; }
  .cta-section h2 { font-size: 24px; }
  .cta-section-navy > .container { padding: 32px 16px; }
  .cta-btns { flex-direction: column; align-items: center; }

  /* UX Components */
  .sticky-cta-mobile { display: flex; }
  .back-to-top { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); right: 16px; }
  .social-proof-toast {
    left: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    max-width: min(384px, calc(100vw - 24px));
  }
  .exit-form { flex-direction: column; }

  /* Header CTA */
  .page-header-split { grid-template-columns: 1fr; }
  .header-cta { align-items: flex-start; }
}

/* ── 480px — Mobil mare ── */
@media (max-width: 480px) {
  /* Nav (mobil): fără telefon “pe 3 rânduri” + CTA compact */
  .nav-inner { padding: 12px 14px; gap: 10px; }
  .nav-logo { font-size: 18px; }
  .nav-logo-img { height: 44px; }
  .nav-right { gap: 10px; }
  .nav-phone-text { display: none; }
  .nav-phone a { font-size: 16px; }
  /* Premium: pe mobil păstrăm header curat; CTA rămâne în bara sticky */
  .nav-cta { display: none !important; }
  .cta-long { display: none; }
  .cta-short { display: inline; }

  /* Hero */
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 13px; }
  .hero-badge { font-size: 14px; padding: 7px 13px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns a, .hero-btns button { width: 100%; justify-content: center; text-align: center; }

  /* Page header */
  .page-header h1 { font-size: 22px; }

  /* Section title */
  .section-title { font-size: 20px; }

  /* Footer → 1 coloană */
  .footer-top { grid-template-columns: 1fr; }

  /* CTA buttons → stacked */
  .btn-primary, .btn-navy, .btn-white,
  .btn-outline, .btn-outline-navy, .btn-wa { font-size: 13px; padding: 11px 20px; }

  /* Calculator (eliminat) */

  /* Modal */
  .modal { padding: 20px 16px; border-radius: 12px; }
  .modal h3 { font-size: 18px; }

  /* Trust strip */
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item h3 { font-size: 24px; }

  /* Cookie banner */
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .cookie-btns { width: 100%; }
  .cookie-accept, .cookie-reject { flex: 1; text-align: center; }

  /* Exit popup */
  .exit-popup { padding: 28px 20px; }
  .exit-popup h3 { font-size: 18px; }

  /* Other services */
  .other-services { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-q { font-size: 13px; }

  /* Social proof toast */
  .social-proof-toast { padding: 10px 12px; }

  /* Step numbers */
  .step { gap: 14px; }
  .step-num { min-width: 30px; height: 30px; font-size: 12px; }

  /* Docs grid (acte necesare) */
  .docs-grid { grid-template-columns: 1fr !important; }

  /* Comparator (eliminat) */
}

/* ── 360px — Mobil mic ── */
@media (max-width: 360px) {
  /* Nav */
  .nav-logo { font-size: 15px; }
  .nav-phone { display: none; }

  /* Hero */
  .hero h1 { font-size: 22px; }
  .stat-num { font-size: 22px; }

  /* Buttons */
  .btn-primary, .btn-navy, .btn-white,
  .btn-outline, .btn-outline-navy { font-size: 12px; padding: 10px 16px; }

  /* Calculator (eliminat) */

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 6px; }

  /* Trust */
  .trust-inner { grid-template-columns: 1fr; }

  /* Cookie banner */
  .cookie-banner p { font-size: 11px; }

  /* Sticky CTA */
  .sticky-cta-mobile .scm-phone,
  .sticky-cta-mobile .scm-wa { font-size: 12px; padding: 10px 8px; }
}
