/* ============================================================
   CREDIT SIGUR — creditsigur.ro
   ============================================================ */

:root {
  /* „navy" păstrat ca nume pentru compatibilitate, dar acum verde-închis
     (temă Emerald Fresh) — orice element care încă folosește --navy-* apare
     automat pe verde, nu pe albastrul vechi. */
  --navy-900: #053B2C;
  --navy-800: #064E3B;
  --navy-700: #065F46;
  --blue-600: #1B4DB1;
  --blue-500: #2563EB;
  --green-600: #16A34A;
  --green-500: #22C55E;
  --green-50:  #F0FDF4;
  --orange-500:#F59E0B;
  --ink-900:   #101828;
  --ink-700:   #344054;
  --ink-500:   #667085;
  --line:      #E4E7EC;
  --bg:        #F8FAFC;
  --white:     #FFFFFF;
  --radius:    14px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .10);
  --shadow-lg: 0 20px 50px rgba(11, 31, 63, .22);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Elementele cu atributul hidden rămân ascunse indiferent de display-ul setat */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-500); }

.btn-cta {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 163, 74, .35);
}
.btn-cta:hover { box-shadow: 0 8px 24px rgba(22, 163, 74, .45); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink-700); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }

.btn-block { width: 100%; }
.btn-lg { font-size: 18px; padding: 18px 36px; }
.btn-sm { font-size: 14px; padding: 10px 18px; }

.arrow { font-size: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.logo-icon { width: 34px; height: 34px; }
.logo-text {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -.3px;
}
.logo-text strong { font-weight: 800; color: var(--green-600); }
.logo-light .logo-text { color: #fff; }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
}
.nav a:hover { color: var(--blue-600); }

.header-cta { margin-left: auto; }
.nav + .header-cta { margin-left: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(22, 163, 74, .25), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 72px 0 88px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(34, 197, 94, .16);
  border: 1px solid rgba(34, 197, 94, .4);
  color: #86EFAC;
  font-weight: 700;
  font-size: 13.5px;
  padding: 7px 15px 7px 13px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero-badge .ico { width: 15px; height: 15px; flex: none; }
.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.highlight { color: var(--green-500); }
.hero-sub {
  font-size: 18px;
  color: #C7D2E4;
  max-width: 480px;
  margin-bottom: 26px;
}
.hero-checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-bottom: 34px;
  /* casetă subtilă în jurul avantajelor */
  background: rgba(255, 255, 255, .6);
  border: 1px solid #DCEFE6;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(5, 59, 44, .05);
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-900);
}
.check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(5, 150, 105, .28);
}
.check .ico { width: 14px; height: 14px; }
.hero-trust {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 26px;
}
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-item strong { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.5px; }
.trust-item span { font-size: 13px; color: #9FB0CC; font-weight: 500; }

/* ---------- Calculator card ---------- */
.calc-card {
  background: var(--white);
  color: var(--ink-900);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}
.calc-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.calc-head p { color: var(--ink-500); font-size: 14px; margin: 4px 0 22px; }

.calc-field { margin-bottom: 20px; }
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.calc-label label { font-weight: 700; font-size: 15px; }
.calc-value {
  font-weight: 800;
  font-size: 20px;
  color: var(--green-600);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--green-500) var(--fill, 50%), var(--line) var(--fill, 50%));
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--green-600);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .25);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--green-600);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .25);
  cursor: grab;
}
.calc-range-hints {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 6px;
}

.calc-estimate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.calc-estimate div { display: flex; flex-direction: column; }
.calc-estimate span { font-size: 12.5px; color: var(--ink-500); }
.calc-estimate strong { font-size: 19px; font-weight: 800; color: var(--ink-900); }

.calc-note { font-size: 12.5px; color: var(--ink-500); margin-bottom: 16px; }

.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-700);
  margin-bottom: 12px;
  cursor: pointer;
}
.checkline input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green-600);
  flex: none;
  cursor: pointer;
}

.calc-secure {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 14px;
}

/* ---------- Bara parteneri ---------- */
.partners-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.partners-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.partner-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-700);
  opacity: .85;
}
.partner-chip .partner-dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.partner-chip img {
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

/* ---------- Secțiuni ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-500); font-size: 17px; }
.section-cta { text-align: center; margin-top: 48px; }

/* ---------- Pași ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(22, 163, 74, .35);
}
.step-icon { font-size: 34px; margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-500); }

/* ---------- Avantaje ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-500); }

/* ---------- Condiții ---------- */
.conditions-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.conditions-text h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin-bottom: 14px;
}
.conditions-text > p { color: var(--ink-500); margin-bottom: 24px; }
.conditions-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}
.conditions-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15.5px;
}
.conditions-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-radius: 20px;
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}
.stat-big {
  text-align: center;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.stat-big strong {
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: var(--green-500);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-big span { color: #C7D2E4; font-size: 15px; }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
}
.stat-row strong { display: block; font-size: 22px; font-weight: 800; }
.stat-row span { font-size: 13px; color: #9FB0CC; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 780px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--green-600);
  transition: transform .2s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px;
  color: var(--ink-700);
  font-size: 15px;
}

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(700px 350px at 50% -20%, rgba(34, 197, 94, .3), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  text-align: center;
  padding: 84px 0;
}
.cta-final h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin-bottom: 12px;
}
.cta-final p { color: #C7D2E4; font-size: 17px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: #9FB0CC;
  padding: 64px 0 36px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 30px;
}
.footer-col h4 { white-space: nowrap; }
.footer-brand p { margin: 16px 0; max-width: 280px; }
.footer-badges { display: flex; gap: 14px; font-size: 13px; font-weight: 600; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #9FB0CC;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-legal p { font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.footer-legal strong { color: #C7D2E4; }
.footer-copy { color: #64748B; margin-top: 18px; }
.footer-slim { padding: 40px 0 28px; }
.footer-links-inline { display: flex; flex-wrap: wrap; gap: 20px; margin: 16px 0; }
.footer-links-inline a { color: #C7D2E4; font-weight: 600; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 560px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.cookie-banner p { flex: 1 1 280px; color: var(--ink-700); }
.cookie-actions { display: flex; gap: 10px; }

/* ============================================================
   MODAL LEAD (formular date înainte de oferte)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 63, .62);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 30px 28px 26px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
  animation: modalIn .28s ease;
  /* Cuộn được nhưng ẩn thanh scrollbar (Firefox + IE) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
/* Ẩn scrollbar WebKit (Chrome/Safari/Edge) */
.modal::-webkit-scrollbar { width: 0; height: 0; display: none; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--bg); color: var(--ink-900); }
.modal-head { margin-bottom: 20px; padding-right: 30px; }
.modal-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 6px; }
.modal-head p { font-size: 14px; color: var(--ink-500); }
.modal-head strong { color: var(--green-600); }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink-900);
  background: var(--white);
}
.field input::placeholder { color: #98A2B3; }
.field input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .15);
}
.field .field-err { display: none; color: #DC2626; font-size: 12.5px; margin-top: 5px; }
.field.error input { border-color: #DC2626; }
.field.error .field-err { display: block; }
.field.error .checkline span { color: #DC2626; }
.modal .checkline { font-size: 12.5px; }
.field .checkline {
  display: flex;
  font-weight: 500;
  margin-bottom: 0;
}
.field .checkline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  flex: none;
  margin-top: 2px;
}
.req { color: #DC2626; font-weight: 800; }
.req-note {
  font-size: 12px;
  color: var(--ink-500);
  margin: 10px 0 12px;
}

.modal-note {
  font-size: 12px;
  color: var(--ink-500);
  text-align: center;
  margin-top: 12px;
}

/* ============================================================
   PAGINA OFERTE — loading + rezultate
   ============================================================ */

.loading-screen { padding: 90px 0 120px; }
.loading-inner {
  max-width: 560px;
  text-align: center;
}
.loading-spinner {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-spinner svg { width: 44px; height: 44px; }
.spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--green-600);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-screen h1,
.loading-screen .loading-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.loading-request { color: var(--ink-500); margin-bottom: 28px; }

.loading-bar {
  height: 10px;
  background: var(--line);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 32px;
}
.loading-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--green-500), var(--green-600));
  transition: width .45s ease;
}

.loading-steps {
  list-style: none;
  display: grid;
  gap: 14px;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}
.loading-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-500);
  opacity: .5;
  transition: opacity .3s ease, color .3s ease;
}
.loading-steps li .dot {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  transition: all .3s ease;
}
.loading-steps li.active { opacity: 1; color: var(--ink-900); }
.loading-steps li.active .dot { border-color: var(--green-600); }
.loading-steps li.done { opacity: 1; color: var(--ink-900); }
.loading-steps li.done .dot {
  background: var(--green-600);
  border-color: var(--green-600);
}
.loading-steps li.done .dot::after { content: "✓"; }

/* ---------- Rezultate ---------- */
.results { padding: 48px 0 72px; }
.results-head { text-align: center; margin-bottom: 36px; }
.results-found {
  display: inline-block;
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  color: var(--green-600);
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.results-found strong { color: #15803D; }
.results-head h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin-bottom: 8px;
}
.results-head p { color: var(--ink-500); font-size: 16px; }
.results-edit {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
}

.offers-list { display: grid; gap: 20px; max-width: 720px; margin: 0 auto; }

.offer-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(5, 59, 44, .05);
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  animation: cardIn .45s ease both;
}
.offer-card:hover {
  box-shadow: 0 14px 36px rgba(5, 59, 44, .12);
  transform: translateY(-3px);
  border-color: #C4E4D6;
}
.offer-card.featured {
  border: 2px solid var(--green-600);
  box-shadow: 0 10px 30px rgba(5, 150, 105, .12);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.offer-flag {
  position: absolute;
  top: -13px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 5px 13px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, .35);
}
.offer-flag .ico { width: .9em; height: .9em; }

/* ---- HEADER: logo + nume + rating ---- */
.offer-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #EEF4F1;
}
.offer-head-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.offer-name { font-size: 20px; font-weight: 800; color: var(--ink-900); line-height: 1.15; }
.offer-rating {
  font-size: 13px;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.offer-rating .stars { color: #F59E0B; letter-spacing: .5px; font-size: 13px; }
.offer-rating b { color: var(--ink-900); font-weight: 800; }

.offer-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  flex: none;
}
.offer-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.offer-logo.has-img {
  width: 116px;
  height: 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}
.offer-logo.has-img img { border-radius: 0; }

/* ---- ANCORĂ DE VALOARE: promoția 0% ---- */
.offer-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(100deg, #ECFDF5, #F0FDFA);
  border: 1px solid #BBF3DC;
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 800;
  color: #065F46;
  line-height: 1.25;
}
.offer-promo .ico {
  width: 20px;
  height: 20px;
  flex: none;
  color: #059669;
}

/* ---- SPECS ca grilă de pastile ---- */
.offer-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.offer-spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #F6FBF8;
  border: 1px solid #EAF3EE;
  border-radius: 11px;
  padding: 10px 12px;
}
.offer-spec span {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 700;
}
.offer-spec strong { font-size: 14.5px; font-weight: 800; color: var(--ink-900); line-height: 1.2; }

/* ---- BULLETS ---- */
.offer-bullets {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}
.offer-bullets li {
  font-size: 13.5px;
  color: var(--ink-700);
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.4;
}
.offer-bullets li .ico {
  width: 15px;
  height: 15px;
  flex: none;
  color: #059669;
  margin-top: 2px;
}

.offer-note {
  font-size: 11.5px;
  color: var(--ink-500);
  line-height: 1.55;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* ---- FOOTER: CTA + timp aprobare ---- */
.offer-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #EEF4F1;
}
.offer-apply {
  flex: 1;
  justify-content: center;
  font-size: 15.5px;
  padding: 13px 20px;
}
.offer-approval {
  font-size: 12.5px;
  color: var(--ink-500);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.offer-approval .ico { color: #F59E0B; }

.results-help {
  max-width: 860px;
  margin: 34px auto 0;
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  border-radius: 14px;
  padding: 22px 26px;
}
.results-help h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.results-help p { font-size: 14.5px; color: var(--ink-700); }

.results-disclaimer {
  max-width: 860px;
  margin: 22px auto 0;
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.7;
}
.results-disclaimer p { margin-bottom: 10px; }

/* ============================================================
   PAGINI LEGALE + CONTACT
   ============================================================ */
.legal-page { padding: 56px 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin-bottom: 8px;
}
.legal-updated { color: var(--ink-500); font-size: 14px; margin-bottom: 36px; }
.legal-page h2 { font-size: 21px; font-weight: 800; margin: 34px 0 12px; }
.legal-page p, .legal-page li { font-size: 15.5px; color: var(--ink-700); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.contact-card p { margin-bottom: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-content { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-checks { max-width: 520px; margin-inline: auto; margin-bottom: 34px; text-align: left; }
  .hero-trust { justify-content: center; }
  .calc-card { max-width: 520px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .conditions-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; padding-bottom: 16px; }
  /* link-uri de nivel 1 (fără dropdown) — aceleași proporții ca butoanele */
  .nav > a { padding: 14px 2px; border-bottom: 1px solid #EEF2F0; font-size: 16px; font-weight: 700; color: var(--ink-900); }
  .nav > a:last-child { border-bottom: none; }
  .nav-drop { border-bottom: 1px solid #EEF2F0; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { margin-left: 0; display: none; }
  /* HERO mobil — compact, îngrijit, calculatorul urcă sus */
  .hero { padding: 22px 0 30px; }
  .hero-badge {
    font-size: 12px;
    padding: 7px 14px;
    margin-bottom: 18px;
    line-height: 1.35;
    align-items: flex-start;
  }
  .hero-badge .ico { margin-top: 1px; }
  .hero h1 { font-size: 29px; line-height: 1.14; letter-spacing: -.7px; margin-bottom: 12px; }
  .hero-sub { font-size: 15.5px; margin-bottom: 22px; line-height: 1.55; }
  /* checks — 2 coloane compacte, ca niște pastile ușoare */
  .hero-checks {
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    margin-bottom: 6px;
  }
  .hero-checks li {
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.3;
  }
  .hero .check { width: 20px; height: 20px; margin-top: 1px; }
  .hero .check .ico { width: 12px; height: 12px; }
  /* 3 statistici egale pe rând, aliniate — nu 2+1 rupt */
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 10px;
    text-align: center;
  }
  .hero-trust .trust-item { align-items: center; }
  .hero-trust .trust-item strong { font-size: 20px; }
  .hero-trust .trust-item span { font-size: 11.5px; line-height: 1.3; }
  .section { padding: 44px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .offer-card { padding: 20px 18px 22px; }
  .offer-specs { grid-template-columns: repeat(2, 1fr); }
  .offer-head { gap: 12px; }
  .offer-name { font-size: 18px; }
  .offer-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .offer-approval { justify-content: center; }
}

/* ============================================================
   NAVIGAȚIE CU DROPDOWN
   ============================================================ */
.nav-drop { position: relative; }
.nav-drop-btn {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-700);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-drop-btn .caret { font-size: 11px; transition: transform .2s ease; }
.nav-drop:hover .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn { color: var(--blue-600); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: none;
  z-index: 60;
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
}
.nav-drop-menu a:hover { background: var(--bg); text-decoration: none; }

/* ============================================================
   BREADCRUMBS + PAGE HERO (subpagini)
   ============================================================ */
.breadcrumbs {
  font-size: 13.5px;
  color: var(--ink-500);
  padding: 18px 0 0;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-500); }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs [aria-current] { color: var(--ink-700); font-weight: 600; }

.page-hero { padding: 22px 0 10px; }
.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.7px;
  line-height: 1.18;
  margin-bottom: 14px;
  max-width: 820px;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.page-meta strong { color: var(--ink-700); font-weight: 700; }
.lead {
  font-size: 18px;
  color: var(--ink-700);
  max-width: 800px;
  margin-bottom: 26px;
}
.lead strong { color: var(--ink-900); }

/* ============================================================
   CONȚINUT EDITORIAL (money pages, blog)
   ============================================================ */
.content-page { padding-bottom: 72px; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.prose { max-width: 780px; min-width: 0; }
.prose h2 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin: 42px 0 14px;
  scroll-margin-top: 90px;
}
.prose h3 { font-size: 19px; font-weight: 800; margin: 28px 0 10px; scroll-margin-top: 90px; }
.prose p { font-size: 16px; color: var(--ink-700); margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { font-size: 16px; color: var(--ink-700); margin-bottom: 8px; }
.prose strong { color: var(--ink-900); }
.prose a { font-weight: 600; }

/* Caseta „Pe scurt" — răspuns direct pentru AEO/featured snippets */
.keybox {
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  border-left: 4px solid var(--green-600);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 8px 0 30px;
}
.keybox h2, .keybox h3 { font-size: 17px; font-weight: 800; margin: 0 0 12px; }
.keybox ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
/* display:block + ::before absolut — altfel <strong>-urile din text devin
   flex items separate și textul se rupe/suprapune (vezi keybox „Piața IFN"). */
.keybox li {
  display: block;
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
}
.keybox li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 800;
}

/* Tabele comparative */
.table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.table-wrap th {
  background: var(--navy-900);
  color: #fff;
  text-align: left;
  font-weight: 700;
  padding: 12px 16px;
  white-space: nowrap;
}
.table-wrap td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-700); }
.table-wrap tr:nth-child(even) td { background: var(--bg); }
.table-wrap td strong { color: var(--ink-900); }
.table-note { font-size: 12.5px; color: var(--ink-500); margin-top: -14px; margin-bottom: 24px; }

/* Bandă CTA în conținut */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
  border-radius: 16px;
  padding: 26px 28px;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta-band h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.cta-band p { color: #C7D2E4; font-size: 14.5px; margin: 0; }

/* Sidebar sticky */
.side-col { position: sticky; top: 92px; display: grid; gap: 20px; }
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.side-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.side-card ul { list-style: none; display: grid; gap: 10px; }
.side-card li a { font-size: 14.5px; font-weight: 600; }
.side-cta {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border: none;
  text-align: center;
}
.side-cta h3 { color: #fff; }
.side-cta p { font-size: 14px; color: #C7D2E4; margin-bottom: 16px; }

/* Cuprins (TOC) */
.toc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 28px;
}
.toc h2 { font-size: 15px; font-weight: 800; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .5px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc li { font-size: 14.5px; margin: 0; }

/* Linkuri conexe */
.related {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.related h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-grid a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.related-grid a:hover { border-color: var(--green-600); box-shadow: var(--shadow-sm); text-decoration: none; }
.related-grid a span { display: block; font-weight: 500; font-size: 13px; color: var(--ink-500); margin-top: 4px; }

/* Disclaimer în pagină */
.page-disclaimer {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.7;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 32px;
}

/* ============================================================
   BLOG
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-thumb {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--green-600); }
.post-card h2, .post-card h3 { font-size: 17px; font-weight: 800; line-height: 1.35; }
.post-card h2 a, .post-card h3 a { color: var(--ink-900); }
.post-card p { font-size: 14px; color: var(--ink-500); flex: 1; }
.post-card time { font-size: 12.5px; color: var(--ink-500); }

.author-box {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 36px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex: none;
}
.author-box strong { display: block; font-size: 15px; }
.author-box span { font-size: 13.5px; color: var(--ink-500); }

/* ============================================================
   PAGINA TOP IFN — carduri creditori statice
   ============================================================ */
.lender-review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(5, 59, 44, .05);
  scroll-margin-top: 90px;
}
.lender-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #EEF4F1;
}
.lender-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.lender-logo.has-img {
  width: 120px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 10px;
}
.lender-logo.has-img img { width: 100%; height: 100%; object-fit: contain; }
.lender-head h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  color: var(--ink-900);
}
/* Badge lender ca „pastilă" verde deschis (armonizat cu ancora din card) */
.lender-head .offer-badge {
  margin-left: auto;
  background: #ECFDF5;
  border: 1px solid #BBF3DC;
  color: #065F46;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}
.lender-review > p { color: var(--ink-700); line-height: 1.62; }
/* Specs ca grilă de pastile — identic cu cardul de ofertă */
.lender-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.lender-specs div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #F6FBF8;
  border: 1px solid #EAF3EE;
  border-radius: 11px;
  padding: 10px 12px;
}
.lender-specs span {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 700;
}
.lender-specs strong { font-size: 14.5px; font-weight: 800; color: var(--ink-900); }
.lender-review .btn { margin-top: 4px; }
.lender-review .btn-cta { box-shadow: 0 4px 14px rgba(5, 150, 105, .22); }

/* ============================================================
   PAGINI RECENZII
   ============================================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0 24px;
}
.pros-card, .cons-card {
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line);
}
.pros-card { background: var(--green-50); border-color: #BBF7D0; }
.cons-card { background: #FFF7ED; border-color: #FED7AA; }
.pros-card h3, .cons-card h3 { font-size: 16px; font-weight: 800; margin: 0 0 12px; }
.pros-card ul, .cons-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pros-card li, .cons-card li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--ink-700); margin: 0; }
.pros-card li::before { content: "✓"; color: var(--green-600); font-weight: 800; flex: none; }
.cons-card li::before { content: "✕"; color: #EA580C; font-weight: 800; flex: none; }

.review-verdict {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-radius: 16px;
  padding: 26px 28px;
  margin: 30px 0;
}
.review-verdict h2 { color: #fff; margin: 0 0 10px; font-size: 20px; }
.review-verdict p { color: #C7D2E4; margin: 0; font-size: 15px; }
.review-verdict .verdict-score {
  display: inline-block;
  background: var(--green-600);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 12px;
}

.review-card-list { display: grid; gap: 16px; }
.review-card-list .lender-review p { margin-bottom: 10px; }

@media (max-width: 720px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* ============================================================
   CALCULATOR PAGE
   ============================================================ */
.calc-tool {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 30px 28px;
  margin: 10px 0 34px;
}
.calc-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.calc-tab {
  flex: 1;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-700);
  cursor: pointer;
}
.calc-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.calc-result {
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.calc-result span { display: block; font-size: 12.5px; color: var(--ink-500); margin-bottom: 4px; }
.calc-result strong { font-size: 22px; font-weight: 800; }
.calc-result.accent { background: var(--navy-900); border-color: var(--navy-900); }
.calc-result.accent span { color: #9FB0CC; }
.calc-result.accent strong { color: #fff; }

/* ============================================================
   RESPONSIVE — componente noi
   ============================================================ */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav .nav-drop { width: 100%; }
  .nav .nav-drop-btn {
    padding: 14px 2px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--bg);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-900);
  }
  .nav .nav-drop-btn .caret { transition: transform .22s ease; font-size: 13px; }
  /* dropdown ÎNCHIS implicit pe mobil — se deschide doar la tap (accordion) */
  .nav .nav-drop-menu {
    position: static;
    display: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 4px 0 8px 14px;
    background: transparent;
  }
  /* hover NU mai deschide pe mobil — doar clasa .open (JS) */
  .nav .nav-drop:hover .nav-drop-menu,
  .nav .nav-drop:focus-within .nav-drop-menu { display: none; }
  .nav .nav-drop.open .nav-drop-menu { display: block; }
  .nav .nav-drop.open .nav-drop-btn .caret { transform: rotate(180deg); }
  .nav .nav-drop-menu a { padding: 11px 0; border-bottom: 1px solid var(--bg); font-size: 15px; }
  .post-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; }
  .lender-head .offer-badge { margin-left: 0; }
  .lender-specs { grid-template-columns: repeat(2, 1fr); }
  .partner-chip img { height: 22px; max-width: 104px; }
}

/* ============================================================
   DESIGN POLISH v2 — bố cục, bảng biểu, màu sắc, trình bày
   (ghi đè có chủ đích peste regulile de mai sus)
   ============================================================ */

/* ---------- Bandă decorativă în capul paginilor de conținut ---------- */
.content-page {
  background:
    radial-gradient(720px 220px at 18% 0%, rgba(37, 99, 235, .07), transparent 70%),
    radial-gradient(680px 200px at 85% 0%, rgba(22, 163, 74, .07), transparent 70%),
    var(--bg);
}
.page-hero h1 { color: var(--ink-900); }

/* Meta sub titlu — pastile */
.page-meta { gap: 8px 10px; margin-bottom: 22px; }
.page-meta span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Paragraful-răspuns (lead) — accent de citare */
.lead {
  border-left: 3px solid var(--green-500);
  padding-left: 18px;
}

/* ---------- Titluri de secțiune cu accent ---------- */
.prose > h2 {
  padding-left: 16px;
  border-left: 4px solid var(--green-600);
  line-height: 1.3;
}
.legal-page h2 {
  padding-left: 14px;
  border-left: 4px solid var(--green-600);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--green-500), var(--green-600));
  margin: 14px auto 0;
}

/* ---------- Liste în conținut ---------- */
.prose > ul { list-style: none; padding-left: 0; }
.prose > ul > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.prose > ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-50);
}

/* Pași numerotați — cercuri verzi */
.prose > ol {
  list-style: none;
  counter-reset: pas;
  padding-left: 0;
}
.prose > ol > li {
  counter-increment: pas;
  position: relative;
  padding-left: 46px;
  margin-bottom: 14px;
  min-height: 30px;
}
.prose > ol > li::before {
  content: counter(pas);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-50);
  border: 2px solid var(--green-600);
  color: var(--green-600);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Tabele — mai aerisite, cu hover ---------- */
.table-wrap { box-shadow: var(--shadow-sm); }
.table-wrap th {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 13px 16px;
}
.table-wrap td { padding: 13px 16px; line-height: 1.5; }
.table-wrap tbody tr { transition: background .12s ease; }
.table-wrap tbody tr:hover td { background: #EFF8F2; }
.table-wrap td a { text-decoration: none; }
.table-wrap td a:hover { text-decoration: underline; }

/* ---------- Caseta „Pe scurt" ---------- */
.keybox {
  background: linear-gradient(160deg, #F0FDF4, #ECFDF5 60%, #F0FDF4);
  box-shadow: var(--shadow-sm);
  padding: 24px 26px;
}
.keybox h2, .keybox h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.keybox h2::before, .keybox h3::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23059669"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>') center/contain no-repeat;
}

/* ---------- Cuprins pe 2 coloane ---------- */
.toc { background: var(--white); box-shadow: var(--shadow-sm); }
.toc ol { column-count: 2; column-gap: 32px; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- FAQ — buton rotund +/− ---------- */
.faq-item { background: var(--white); transition: box-shadow .15s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary:hover { color: var(--green-600); }
.faq-item summary::after {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1px solid #BBF7D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
}
.section-alt .faq-item { background: var(--bg); }
.section-alt .faq-item[open] { background: var(--white); }

/* ---------- CTA band — strălucire discretă ---------- */
.cta-band {
  background:
    radial-gradient(420px 160px at 88% -20%, rgba(34, 197, 94, .35), transparent 70%),
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  box-shadow: var(--shadow-md);
}

/* ---------- Carduri — hover consistent ---------- */
.lender-review { transition: transform .15s ease, box-shadow .15s ease; }
.lender-review:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step { transition: transform .15s ease, box-shadow .15s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card { transition: transform .15s ease, box-shadow .15s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.side-card:not(.side-cta) { border-top: 3px solid var(--green-500); }
.side-card h3 { display: flex; align-items: center; gap: 8px; }

/* ---------- Linkuri conexe — săgeată la hover ---------- */
.related-grid a { position: relative; padding-right: 42px; }
.related-grid a::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 16px;
  color: var(--green-600);
  font-weight: 800;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .15s ease, transform .15s ease;
}
.related-grid a:hover::after { opacity: 1; transform: translateX(0); }

/* ---------- Blog — coperți colorate alternativ ---------- */
.post-card { border: none; box-shadow: var(--shadow-sm); }
.post-card:nth-child(3n+2) .post-card-thumb { background: linear-gradient(160deg, #14532D, #16A34A); }
.post-card:nth-child(3n) .post-card-thumb { background: linear-gradient(160deg, #312E81, #6366F1); }
.post-card-thumb { position: relative; }
.post-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 90px at 80% -10%, rgba(255, 255, 255, .18), transparent 70%);
}
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--green-600); text-decoration: none; }

/* ---------- Verdict recenzii ---------- */
.review-verdict {
  background:
    radial-gradient(420px 180px at 90% -30%, rgba(34, 197, 94, .3), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-md);
}

/* ---------- Pagini legale — liste aerisite ---------- */
.legal-page ul { list-style: none; padding-left: 0; }
.legal-page ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.legal-page ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
}

/* ---------- Focus vizibil pentru accesibilitate ---------- */
.btn:focus-visible, a:focus-visible, input:focus-visible, .calc-tab:focus-visible {
  outline: 3px solid rgba(22, 163, 74, .4);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .toc ol { column-count: 1; }
  .related-grid a { padding-right: 18px; }
  .related-grid a::after { display: none; }
}

/* ============================================================
   LOGO-URI PARTENERI — rame dreptunghiulare uniforme, mai mari
   (carduri de oferte, recenzii, hub și bara de pe prima pagină)
   ============================================================ */
.lender-logo.has-img {
  width: 168px;
  height: 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.lender-logo.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
/* Logo în cardul de ofertă (header) — mai compact, echilibrat cu textul */
.offer-logo.has-img {
  width: 116px;
  height: 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 1px 3px rgba(5, 59, 44, .06);
}
.offer-logo.has-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }

/* Bara de parteneri (prima pagină) — casete egale */
.partner-chip {
  width: 190px;
  height: 68px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  opacity: 1;
}
.partner-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.partner-chip img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partners-logos { gap: 14px 16px; }

@media (max-width: 720px) {
  .lender-logo.has-img { width: 132px; height: 62px; padding: 8px 12px; }
  .offer-logo.has-img { width: 104px; height: 48px; padding: 6px 10px; }
  .partners-logos { gap: 10px; }
  .partner-chip { width: calc(50% - 5px); height: 58px; padding: 10px 14px; }
}

/* ============================================================
   THEME ACTIV — „Emerald Fresh" (V1, ales de utilizator)
   Fintech mint: hero sáng, emerald đậm, bo góc lớn, thoáng đãng
   ============================================================ */
500;600;700;800&display=swap');

:root {
  --navy-900: #053B2C;
  --navy-800: #064E3B;
  --navy-700: #065F46;
  --blue-600: #0E7490;
  --blue-500: #0891B2;
  --green-600: #059669;
  --green-500: #10B981;
  --green-50:  #ECFDF5;
  --orange-500:#F59E0B;
  --ink-900:   #0C1F17;
  --ink-700:   #35493F;
  --ink-500:   #64766D;
  --line:      #DCEAE2;
  --bg:        #F6FBF8;
  --white:     #FFFFFF;
  --radius:    18px;
  --shadow-sm: 0 1px 3px rgba(6, 78, 59, .07);
  --shadow-md: 0 10px 28px rgba(6, 78, 59, .10);
  --shadow-lg: 0 24px 60px rgba(6, 78, 59, .16);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Hero — sáng, mint, chữ tối */
.hero {
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(16, 185, 129, .18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(8, 145, 178, .12), transparent 55%),
    linear-gradient(165deg, #EFFBF5, #F6FBF8 70%);
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.hero h1 { color: var(--ink-900); }
.highlight { color: var(--green-600); }
.hero-sub { color: var(--ink-700); }
.hero-badge {
  background: #D9F5E8;
  border-color: #A9E8CE;
  color: #047857;
}
.hero-trust { border-top-color: var(--line); }
.trust-item strong { color: var(--green-600); }
.trust-item span { color: var(--ink-500); }
.hero .check { background: var(--green-600); }

.calc-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(6, 78, 59, .14);
}

/* Butoane */
.btn { border-radius: 12px; }
.btn-primary { background: var(--green-600); }
.btn-primary:hover { background: var(--green-500); }
.btn-cta {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 8px 20px rgba(5, 150, 105, .3);
}
.btn-cta:hover { box-shadow: 0 10px 26px rgba(5, 150, 105, .4); }

/* Secțiuni & carduri */
.section-alt { background: #FFFFFF; }
.step, .feature, .lender-review, .side-card, .post-card, .faq-item, .toc, .calc-tool { border-radius: 18px; }
.step-num { background: var(--green-600); box-shadow: 0 4px 10px rgba(5, 150, 105, .3); }
.feature-icon { background: var(--green-50); border-color: #A9E8CE; }

/* Keybox */
.keybox {
  background: linear-gradient(160deg, #ECFDF5, #F0FDF9);
  border-color: #A9E8CE;
  border-left-color: var(--green-600);
  border-radius: 16px;
}

/* Tabele — header verde smarald */
.table-wrap { border-radius: 16px; }
.table-wrap th {
  background: linear-gradient(135deg, #065F46, #047857);
}
.table-wrap tbody tr:hover td { background: #E8F8F0; }
.table-wrap tr:nth-child(even) td { background: #F6FBF8; }

/* CTA band & verdict — verde profund */
.cta-band, .review-verdict {
  background:
    radial-gradient(420px 160px at 88% -20%, rgba(16, 185, 129, .4), transparent 70%),
    linear-gradient(135deg, #064E3B, #065F46);
  border-radius: 20px;
}
.cta-final {
  background:
    radial-gradient(700px 350px at 50% -20%, rgba(16, 185, 129, .32), transparent 60%),
    linear-gradient(160deg, #053B2C, #065F46);
}
/* Cardul „92%" (conditions-card) — a rămas pe navy vechi; îl aducem pe verde */
.conditions-card {
  background:
    radial-gradient(560px 300px at 85% -15%, rgba(16, 185, 129, .28), transparent 60%),
    linear-gradient(160deg, #053B2C, #065F46);
}
.conditions-card .stat-big strong { color: #34D399; }
.conditions-card .stat-big span,
.conditions-card .stat-cell span { color: #9DBFB1; }
.conditions-card .stat-big { border-bottom-color: rgba(255, 255, 255, .18); }

/* Footer verde-închis */
.footer { background: #05291F; color: #9DBFB1; }
.footer-col a { color: #9DBFB1; }
.footer-legal strong { color: #C4DED3; }
.footer-copy { color: #6E8F81; }
.trust-item strong { font-weight: 800; }

/* Meta pills + accente */
.page-meta span { border-color: var(--line); }
.lead { border-left-color: var(--green-500); }
.prose > h2 { border-left-color: var(--green-600); }
.faq-item summary::after { background: var(--green-50); border-color: #A9E8CE; }
.side-card:not(.side-cta) { border-top-color: var(--green-500); }
.side-cta { background: linear-gradient(160deg, #053B2C, #065F46); }

/* Blog coperți */
.post-card-thumb { background: linear-gradient(160deg, #065F46, #10B981); }
.post-card:nth-child(3n+2) .post-card-thumb { background: linear-gradient(160deg, #0E7490, #22D3EE); }
.post-card:nth-child(3n) .post-card-thumb { background: linear-gradient(160deg, #053B2C, #059669); }

/* Loading & results */
.spinner-ring { border-top-color: var(--green-600); }
.results-found { background: var(--green-50); border-color: #A9E8CE; color: #047857; }
.results-found strong { color: #065F46; }
.offer-card.featured { border-color: var(--green-600); }
.offer-flag { background: var(--green-600); }
.results-help { background: var(--green-50); border-color: #A9E8CE; }

/* Calculator estimare */
.calc-estimate { background: var(--green-50); border-color: #A9E8CE; }
.calc-value { color: var(--green-600); }
input[type="range"]::-webkit-slider-thumb { border-color: var(--green-600); }

/* Pros/cons */
.pros-card { background: #ECFDF5; border-color: #A9E8CE; }
.pros-card li::before { color: var(--green-600); }
.review-verdict .verdict-score { background: var(--green-600); }

/* ============================================================
   SISTEM DE ICONIȚE SVG (înlocuiesc emoji-urile)
   Mărimea = 1em → moștenește automat font-size-ul contextului
   ============================================================ */
.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.13em;
  flex: none;
}

/* Culori contextuale */
.page-meta .ico,
.results-found .ico,
.results-help h3 .ico,
.contact-card h3 .ico,
.calc-secure .ico,
.modal-note .ico,
.footer-badges .ico,
.req-note .ico { color: var(--green-600); }

.step-icon { color: var(--green-600); }
.feature-icon { color: var(--green-600); }
.post-card-thumb { color: #fff; }
.post-card-thumb .ico { width: 1.05em; height: 1.05em; }

.ico-ok { color: #059669; }
.ico-warn { color: #D97706; }
.ico-no { color: #DC2626; }

.offer-flag .ico, .verdict-score .ico, .offer-approval .ico { vertical-align: -0.14em; }
.loading-request .ico { color: var(--green-600); }
.modal-head h3 .ico { color: var(--green-600); vertical-align: -0.1em; }
.hero-badge .ico { vertical-align: -0.12em; }
.lead .ico { color: var(--green-600); }

/* ============================================================
   POPUP FLUX — căutare + oferte în fereastră modală
   ============================================================ */
.modal-wide {
  max-width: 960px;
  width: 100%;
  padding: 30px 30px 26px;
  transition: max-width .35s ease;
}
/* În timpul încărcării, modalul se strânge la conținutul real (fără goluri laterale) */
.modal-wide.is-loading { max-width: 520px; }
.flow-loading {
  text-align: center;
  padding: 20px 4px 10px;
}
.flow-loading .loading-spinner { margin: 0 auto 24px; }
.flow-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 8px;
}
.flow-loading .loading-request { margin-bottom: 24px; }
.flow-loading .loading-bar { max-width: 460px; margin: 0 auto 28px; }
.flow-loading .loading-steps { max-width: 440px; margin: 0 auto 10px; }

.flow-results-head { text-align: center; margin-bottom: 20px; padding-right: 26px; }
.flow-results-head .results-found { margin-bottom: 10px; }
.flow-summary { color: var(--ink-500); font-size: 14.5px; }
.flow-results-head .results-edit { margin-top: 8px; }
.modal-wide .offers-list { max-width: none; }
.flow-disclaimer {
  font-size: 11.5px;
  color: var(--ink-500);
  line-height: 1.65;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

@media (max-width: 720px) {
  .modal-wide { padding: 20px 14px 18px; max-height: 94vh; }
  .modal-overlay { padding: 12px; }
  .flow-results-head { padding-right: 20px; }
}

/* ============================================================
   CSS FIXES — audit 07/2026 (sửa lỗi + đồng bộ nốt theme Emerald)
   ============================================================ */

/* FIX 1: TOC — regula veche `display:grid` anula column-count;
   acum cuprinsul chiar se afișează pe 2 coloane */
.toc ol {
  display: block;
  column-count: 2;
  column-gap: 32px;
}

/* FIX 2: nuanțe albastru-gri rămase din tema navy veche,
   pe componente care acum au fundal verde-închis */
.stat-big span,
.cta-final p,
.cta-band p,
.side-cta p,
.review-verdict p,
.footer-links-inline a { color: #C4DED3; }
.stat-row span,
.calc-result.accent span { color: #9DBFB1; }

/* FIX 3: overlay-ul modalelor — tentă verde-închis în loc de navy */
.modal-overlay { background: rgba(4, 32, 24, .62); }

/* FIX 4: focus ring + focus input pe verdele actual (nu verdele vechi) */
.btn:focus-visible, a:focus-visible, input:focus-visible, .calc-tab:focus-visible {
  outline: 3px solid rgba(5, 150, 105, .45);
}
.field input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .15);
}

/* FIX 5: fundalul decorativ al paginilor de conținut — tente emerald/teal
   (înainte: albastru + verdele vechi) */
.content-page {
  background:
    radial-gradient(720px 220px at 18% 0%, rgba(8, 145, 178, .06), transparent 70%),
    radial-gradient(680px 200px at 85% 0%, rgba(5, 150, 105, .08), transparent 70%),
    var(--bg);
}

@media (max-width: 720px) {
  .toc ol { column-count: 1; }
}

/* ============================================================
   QUIZ — Verificator de eligibilitate
   ============================================================ */
.quiz-box {
  background: #fff;
  border: 1px solid #DCEDE4;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(5, 59, 44, .06);
  margin: 8px 0 24px;
}
.quiz-progress {
  height: 6px;
  background: #E4F2EA;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}
.quiz-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #059669, #10B981);
  border-radius: 99px;
  transition: width .3s ease;
}
.quiz-count {
  font-size: .82rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 6px;
}
.quiz-box h3 { margin: 0 0 16px; font-size: 1.25rem; }
.quiz-options { display: grid; gap: 10px; }
.quiz-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid #DCEDE4;
  border-radius: 12px;
  background: #F6FBF8;
  font: inherit;
  font-weight: 600;
  color: #053B2C;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.quiz-opt:hover {
  border-color: #059669;
  background: #ECFDF5;
  transform: translateX(3px);
}
.quiz-back {
  margin-top: 16px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: #059669;
  cursor: pointer;
  padding: 4px 0;
}
.quiz-back:hover { text-decoration: underline; }
.quiz-result p { margin: 12px 0; }
.quiz-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 6px;
}
.quiz-score strong { font-size: 2.4rem; line-height: 1; }
.quiz-score span { font-weight: 600; }
.quiz-score.ok { background: #ECFDF5; color: #065F46; }
.quiz-score.mid { background: #FFFBEB; color: #92400E; }
.quiz-score.low { background: #FEF2F2; color: #991B1B; }
.quiz-note {
  font-size: .88rem;
  color: #5C7268;
  background: #F6FBF8;
  border-left: 3px solid #10B981;
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
}
.quiz-result .offers-list { margin: 14px 0; }
@media (max-width: 720px) {
  .quiz-box { padding: 20px 16px; }
  .quiz-score strong { font-size: 2rem; }
}

/* Calculator refinanțare — verdictul */
.refi-verdict {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  background: #F6FBF8;
  color: #35524A;
  border-left: 3px solid #9DBFB1;
}
.refi-verdict.ok { background: #ECFDF5; color: #065F46; border-left-color: #059669; }
.refi-verdict.warn { background: #FFFBEB; color: #92400E; border-left-color: #F59E0B; }

/* inputurile numerice din instrumentele de calcul (fără wrapper .field) */
.calc-field { margin-bottom: 16px; }
.calc-field > input[type="number"] {
  width: 100%;
  font: inherit;
  font-weight: 600;
  color: #053B2C;
  padding: 12px 14px;
  border: 1.5px solid #DCEDE4;
  border-radius: 10px;
  background: #F6FBF8;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.calc-field > input[type="number"]:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .14);
  background: #fff;
}

/* ============================================================
   OFFER CARDS — buton „Vezi încă N oferte" (afișare graduală)
   ============================================================ */
.offers-more-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 4px;
}
.offers-more-btn {
  font-weight: 700;
  padding: 13px 26px;
  border: 1.5px solid #A7D9C4;
  color: #059669;
  background: #ECFDF5;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.offers-more-btn:hover {
  background: #D1FADF;
  border-color: #059669;
  transform: translateY(-1px);
}

/* ============================================================
   TABEL COMPARATIV IFN (hub) — armonizat cu cardurile de ofertă
   ============================================================ */
.offers-table td .off-pill {
  display: inline-block;
  background: #ECFDF5;
  border: 1px solid #BBF3DC;
  color: #065F46;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  white-space: nowrap;
}
/* Coloana # — cerc numerotat */
.offers-table tbody td:first-child {
  font-weight: 800;
  color: var(--ink-500);
}
/* Top 3 evidențiate discret */
.offers-table tbody tr:nth-child(1) td:first-child,
.offers-table tbody tr:nth-child(2) td:first-child,
.offers-table tbody tr:nth-child(3) td:first-child {
  color: #059669;
}
.offers-table tbody tr:nth-child(-n+3) td { background: #F6FBF8 !important; }
.offers-table td a { color: var(--ink-900); font-weight: 800; text-decoration: none; }
.offers-table td a:hover { color: #059669; }

/* ============================================================
   TRUST BADGES — 4 casete de încredere (sub bara de parteneri)
   ============================================================ */
.trust-badges {
  padding: 44px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-badge {
  background: #fff;
  border: 1px solid #E4F0EA;
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(5, 59, 44, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(5, 59, 44, .1);
  border-color: #C4E4D6;
}
.trust-badge-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  margin-bottom: 8px;
}
.trust-badge-ico svg { width: 26px; height: 26px; }
.trust-badge strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.15;
}
.trust-badge > span:last-child {
  font-size: 13.5px;
  color: var(--ink-500);
  font-weight: 500;
}
@media (max-width: 720px) {
  .trust-badges { padding: 32px 0; }
  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-badge { padding: 20px 14px; }
  .trust-badge strong { font-size: 19px; }
  .trust-badge-ico { width: 46px; height: 46px; }
}

/* ============================================================
   HOME — tabele + keybox centrate (secțiuni Tipuri / Cât costă)
   ============================================================ */
.home-table { max-width: 900px; margin: 0 auto 16px; }
.home-table table a { color: var(--green-700, #047857); font-weight: 700; text-decoration: none; }
.home-table table a:hover { text-decoration: underline; }
.home-keybox {
  max-width: 900px;
  margin: 0 auto 26px;
}
.home-keybox ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
/* display:block ghi đè .keybox li{display:flex} — altfel <strong>-urile din text
   devin flex items separate și apar goluri între cuvinte. */
.home-keybox li {
  display: block;
  padding-left: 26px;
  position: relative;
  line-height: 1.6;
  font-size: 15px;
  color: var(--ink-700);
}
.home-keybox li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-600);
}
.section .table-note a { color: var(--green-700, #047857); font-weight: 600; }

/* ============================================================
   VS HEADER — comparație 2 creditori (logo + VS)
   ============================================================ */
.vs-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #E4F0EA;
  border-radius: 18px;
  padding: 28px 24px;
  margin: 4px 0 28px;
  box-shadow: 0 6px 20px rgba(5, 59, 44, .06);
}
.vs-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
}
.vs-logo {
  width: 150px;
  height: 66px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  box-shadow: 0 1px 3px rgba(5, 59, 44, .06);
}
.vs-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vs-name { font-size: 18px; font-weight: 800; color: var(--ink-900); }
.vs-meta { font-size: 13px; color: var(--ink-500); }
.vs-review { font-size: 13.5px; font-weight: 700; color: #059669; }
.vs-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 6px 16px rgba(5, 150, 105, .32);
}
@media (max-width: 560px) {
  .vs-header { padding: 20px 14px; gap: 12px; }
  .vs-logo { width: 116px; height: 52px; padding: 8px 10px; }
  .vs-name { font-size: 15px; }
  .vs-meta { font-size: 11.5px; }
  .vs-badge { width: 42px; height: 42px; font-size: 14px; }
}

/* ============================================================
   CTA ÎN TABEL COMPARAȚIE (rând „Aplică acum" pentru fiecare creditor)
   ============================================================ */
.vs-cta-row td { padding: 16px 16px !important; vertical-align: middle; }
.vs-cta-row td:first-child { background: transparent; }
.vs-cta {
  display: inline-flex;
  width: 100%;
  max-width: 220px;
  justify-content: center;
  font-size: 14px;
  padding: 10px 16px;
  white-space: nowrap;
}

/* ============================================================
   HERO-CHECKS — redesign pastile (07/2026): text scurt, fiecare
   avantaj într-o pastilă cu fundal mint, aliniat curat pe 1 rând.
   Append la final ca să câștige cascada.
   ============================================================ */
.hero-checks {
  gap: 12px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid #DBEFE7;
  border-radius: 18px;
  padding: 16px;
}
.hero-checks li {
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.1px;
  color: #0B3B2C;
  background: #F1FAF5;
  border: 1px solid #E1F1EA;
  border-radius: 12px;
  padding: 11px 14px;
  transition: border-color .18s ease, background .18s ease;
}
.hero-checks li:hover {
  background: #EAF7F1;
  border-color: #BFE6D5;
}
.hero-checks .check {
  width: 22px;
  height: 22px;
  box-shadow: 0 2px 5px rgba(5, 150, 105, .25);
}
.hero-checks .check .ico { width: 13px; height: 13px; }

@media (max-width: 720px) {
  .hero-checks {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    margin-bottom: 8px;
  }
  .hero-checks li {
    font-size: 12.5px;
    padding: 9px 11px;
    gap: 8px;
    align-items: center;
  }
  .hero-checks .check { width: 20px; height: 20px; }
}

/* ============================================================
   CONDITIONS-CARD („92%") — tinh chỉnh 07/2026: icon badge deasupra
   cifrei, cele 2 statistici de jos devin pastile glass, spacing curat.
   Append la final ca să câștige cascada.
   ============================================================ */
.conditions-card {
  padding: 40px 36px;
}
.stat-big-ico {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(52, 211, 153, .14);
  border: 1px solid rgba(52, 211, 153, .28);
  color: #34D399;
}
.stat-big-ico svg { width: 24px; height: 24px; }
.conditions-card .stat-big strong { font-size: 66px; letter-spacing: -1px; }
.conditions-card .stat-big span { font-size: 15px; max-width: 340px; margin: 0 auto; line-height: 1.5; }
.conditions-card .stat-row { gap: 14px; }
.conditions-card .stat-cell {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 16px 12px;
}
.conditions-card .stat-cell strong { font-size: 24px; letter-spacing: -.5px; margin-bottom: 3px; }
.conditions-card .stat-cell span { font-size: 12.5px; }

@media (max-width: 560px) {
  .conditions-card { padding: 30px 22px; }
  .conditions-card .stat-big strong { font-size: 54px; }
  .conditions-card .stat-cell strong { font-size: 20px; }
}

/* ============================================================
   TBL-CTA — buton „Aplică →" în ultima coloană a tabelelor
   „Cine îți dă" (07/2026). Compact, nu îngroașă rândul.
   ============================================================ */
.tbl-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9px;
  white-space: nowrap;
  line-height: 1;
}
table td:has(.tbl-cta) { white-space: nowrap; vertical-align: middle; }
@media (max-width: 560px) {
  .tbl-cta { font-size: 12px; padding: 9px 13px; min-height: 40px; display: inline-flex; align-items: center; }
}

/* ============================================================
   TABLE MOBILE SCROLL-HINT (audit 07/2026): pe mobile, tabelele
   creditor (min-width 560) se scrollează orizontal, iar coloana
   „Aplică" (CTA) e ascunsă la dreapta. Adăugăm gradient-hint +
   text „glisează" + scroll fluid iOS ca userul să știe.
   ============================================================ */
.table-wrap { position: relative; -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) {
  .table-wrap::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 36px; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.92));
    pointer-events: none;
    border-radius: 0 var(--radius, 14px) var(--radius, 14px) 0;
  }
  .table-scroll-hint {
    display: block;
    font-size: 12px;
    color: var(--ink-500, #64766D);
    margin: 6px 2px 0;
    font-weight: 600;
  }
  .table-scroll-hint::before { content: "\2194  "; }
}
.table-scroll-hint { display: none; }
