/* ============================================
   Asigurări Contactless — Calculator RCA
   Page-specific styles (extracted from inline)
   Used only by: calculator-rca.html
   ============================================ */

:root {
  --primary: #0E5B94;
  --primary-dark: #0a3f68;
  --secondary: #3B8CB8;
  --accent: #A8D8F0;
  --bg-page: #F5F7FA;
  --text: #1A2B3C;
  --muted: #6B7B8A;
  --border: #E1E8EF;
  --gradient: linear-gradient(180deg, #A8D8F0 0%, #3B8CB8 50%, #0E5B94 100%);
  /* umbre stratificate — depth realist, nu o singură umbră plată */
  --shadow-sm: 0 1px 2px rgba(14,91,148,0.06), 0 2px 6px rgba(14,91,148,0.05);
  --shadow-md: 0 2px 4px rgba(14,91,148,0.05), 0 8px 24px rgba(14,91,148,0.08), 0 16px 48px rgba(14,91,148,0.06);
  --shadow-cta: 0 4px 10px rgba(14,91,148,0.22), 0 10px 28px rgba(14,91,148,0.28);
  --shadow-cta-hover: 0 6px 14px rgba(14,91,148,0.26), 0 18px 40px rgba(14,91,148,0.36);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(168,216,240,0.28), transparent 70%),
    var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

/* ===== HEADER minimal (stil Otto) ===== */
.top {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.back {
  justify-self: start;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--text);
  transition: background .2s ease;
}
.back:hover { background: var(--bg-page); }
.logo-mark { display: inline-flex; align-items: center; gap: 10px; justify-self: center; }
.logo-mark svg { width: 34px; height: 41px; }
.logo-mark .t { font-weight: 800; font-size: 16px; letter-spacing: 0.04em; color: var(--primary); line-height: 1; }
.logo-mark .t small { display: block; font-size: 6.5px; font-weight: 500; letter-spacing: 0.42em; color: var(--secondary); margin-top: 4px; white-space: nowrap; }
.top .phone-link {
  justify-self: end;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--bg-page);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.top .phone-link:hover { background: var(--accent); color: var(--primary-dark); }
.top .phone-link svg { transition: transform .2s var(--ease); }
.top .phone-link:hover svg { transform: rotate(-8deg) scale(1.08); }

/* ===== CARD CENTRAL ===== */
/* .cmp-main = wrapper-ul comparatorului in start.php (redenumit din .main
   ca sa nu se bata cu tema antiamenda). Centreaza tot continutul pe pagina. */
.main,
.cmp-main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 36px 20px 40px; width: 100%; }
.card {
  position: relative;
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(225,232,239,0.8);
  box-shadow: var(--shadow-md);
  max-width: 760px;
  width: 100%;
  padding: 52px 48px 44px;
  text-align: center;
  overflow: hidden;
}
/* accent gradient hairline sus */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.025em; color: var(--text); line-height: 1.08; }
.sub3min { font-size: 15px; color: var(--muted); margin-top: 8px; margin-bottom: 28px; font-weight: 500; }
.sub3min strong { color: var(--primary); font-weight: 600; }

/* pași 1-2-3 */
.steps { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.step { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); transition: color .25s var(--ease); }
.step .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cdd9e3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.step.active { color: var(--primary); font-weight: 600; }
.step.active .n {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(14,91,148,0.12);
}
.step-dash { width: 24px; height: 2px; border-radius: 2px; background: var(--border); }

/* mașina line-art cu plăcuța */
.car-zone { position: relative; max-width: 420px; margin: 0 auto 6px; }
.car-zone svg.car { width: 100%; height: auto; display: block; transition: transform .35s var(--ease); }
/* muscle car colorat (paleta brand) — ușor lift la hover pe zonă */
.car-zone svg.car-muscle { max-width: 320px; margin: 0 auto -6px; }
.car-zone:hover svg.car-muscle { transform: translateY(-3px) scale(1.02); }
/* plăcuță RO realistă — alb, bandă UE albastră în stânga, font negru îngroșat */
.plate-wrap {
  position: absolute;
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  width: clamp(210px, 64%, 290px);
  aspect-ratio: 520 / 110;            /* proporții reale plăcuță RO */
  border: 2.5px solid #1a1a1a;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 8px rgba(14,91,148,0.12), 0 12px 26px rgba(14,91,148,0.2);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
/* banda UE albastră (≈ 12% din lățime, ca pe plăcuța reală) */
.plate-wrap .ro {
  background: #003399;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13%;
  min-width: 30px;
  flex-shrink: 0;
}
.plate-wrap .ro svg { width: 78%; height: auto; }
.plate-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(22px, 6vw, 34px);
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 6px;
  color: #1a1a1a;
  background: #fff;
  min-width: 0;
}
.plate-wrap input::placeholder { color: #c2ccd4; font-weight: 800; letter-spacing: 0.10em; }
.plate-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14,91,148,0.14), 0 12px 26px rgba(14,91,148,0.2);
}
/* stare invalidă a plăcuței */
.plate-wrap.is-invalid { border-color: #e0584a; box-shadow: 0 0 0 4px rgba(224,88,74,0.16); }
.plate-error {
  margin: 10px auto 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #e0584a;
}
.plate-error strong { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
  margin: 16px 0 26px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 100px;
  transition: background .2s var(--ease);
}
.check-row:hover { background: var(--bg-page); }
.check-row input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #16a34a 0%, #1aa35a 100%);
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 17px 52px;
  border-radius: 14px;
  box-shadow: var(--shadow-cta);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
/* sheen overlay subtil pe partea de sus a butonului */
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 45%);
  pointer-events: none;
}
.cta svg { transition: transform .25s var(--ease); }
.cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.cta:hover svg { transform: translateX(4px); }
.cta:active { transform: translateY(0); }

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13px;
  color: var(--text);
}
.trust-row .t {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 100px;
  background: var(--bg-page);
  font-weight: 500;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.trust-row .t:hover { background: var(--accent); transform: translateY(-1px); }
.trust-row .t svg { color: var(--secondary); flex-shrink: 0; }
.wa-line { margin-top: 18px; font-size: 13px; color: var(--muted); }
.wa-line a { color: var(--primary); font-weight: 600; text-underline-offset: 2px; }
.wa-line a:hover { text-decoration: underline; }

/* ===== DUO: beneficii + asiguratori (stil Insurex) ===== */
.duo {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  max-width: 760px;
  width: 100%;
  margin-top: 18px;
}
.duo-card {
  background: white;
  border-radius: 22px;
  border: 1px solid rgba(225,232,239,0.8);
  box-shadow: var(--shadow-sm);
  padding: 30px 32px;
  text-align: left;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.duo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.duo-card h3 { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.015em; margin-bottom: 5px; line-height: 1.25; }
.duo-card .lead { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.duo-benefit { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--bg-page); }
.duo-benefit:last-of-type { border-bottom: 0; padding-bottom: 0; }
.duo-benefit:first-of-type { padding-top: 6px; }
.duo-benefit .ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #eef5fb, var(--bg-page));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.duo-card:hover .duo-benefit .ic { background: var(--accent); }
.duo-benefit strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.duo-benefit p { font-size: 12px; color: var(--muted); line-height: 1.55; }
.duo-card.insurers {
  position: relative;
  background: linear-gradient(155deg, #145d97 0%, #0E5B94 45%, #0a3f68 100%);
  color: white;
  border-color: transparent;
  overflow: hidden;
}
.duo-card.insurers:hover { transform: translateY(-3px); }
/* glow decorativ subtil în colț */
.duo-card.insurers::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(168,216,240,0.22), transparent 70%);
  pointer-events: none;
}
.duo-card.insurers > * { position: relative; z-index: 1; }
.duo-card.insurers h3 { color: white; }
.duo-card.insurers .lead { color: var(--accent); }
.insurer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.insurer-chips span {
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid rgba(168,216,240,0.35);
  background: rgba(255,255,255,0.07);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.9);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.insurer-chips span:hover { background: rgba(255,255,255,0.16); border-color: rgba(168,216,240,0.6); }
.duo-card.insurers .mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.duo-card.insurers .mini-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.26); }
.duo-card.insurers .mini-cta svg { transition: transform .2s var(--ease); }
.duo-card.insurers .mini-cta:hover svg { transform: translateX(3px); }

.fineprint {
  margin: 26px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: clamp(8.5px, 1.45vw, 12px);   /* se micșorează ca să încapă pe un rând */
  line-height: 1.7;
  color: var(--muted);
  white-space: nowrap;                       /* un singur rând */
  overflow-x: auto;                          /* fallback pe ecrane foarte mici */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fineprint::-webkit-scrollbar { display: none; }
.fineprint a { color: var(--primary); font-weight: 600; }

/* skyline line-art jos (stil Otto) — păstrat ca fallback static */
.skyline { margin-top: auto; overflow: hidden; }
.skyline svg { width: 100%; min-width: 900px; height: auto; display: block; color: #C8D8E4; }

/* ── BANDĂ AUTO ANIMATĂ (footer comparator) ─────────────────── */
.road-band{
  margin-top: auto;
  position: relative;
  height: 150px;
  overflow: hidden;
  /* fundal light, legat de pagină (NU night-sky dark) */
  background: linear-gradient(180deg, #EAF4FC 0%, #D6EAF8 55%, #C8D8E4 100%);
}
/* skyline siluetă statică în spate */
.road-band .rb-skyline{
  position:absolute; left:0; right:0; bottom:46px; height:90px;
  background:
    linear-gradient(#bcd2e4,#bcd2e4) 4%   bottom / 36px 64px no-repeat,
    linear-gradient(#c6dae9,#c6dae9) 11%  bottom / 28px 84px no-repeat,
    linear-gradient(#b3cce0,#b3cce0) 18%  bottom / 42px 52px no-repeat,
    linear-gradient(#c6dae9,#c6dae9) 27%  bottom / 30px 74px no-repeat,
    linear-gradient(#bcd2e4,#bcd2e4) 72%  bottom / 34px 60px no-repeat,
    linear-gradient(#c6dae9,#c6dae9) 80%  bottom / 26px 82px no-repeat,
    linear-gradient(#b3cce0,#b3cce0) 88%  bottom / 40px 56px no-repeat;
  opacity:.9;
}
/* drumul */
.road-band .rb-road{
  position:absolute; left:0; right:0; bottom:0; height:46px;
  background:#5b6b7a; border-top:5px solid #45525e;
}
.road-band .rb-lane{
  position:absolute; left:-10%; right:-10%; bottom:20px; height:4px;
  background:repeating-linear-gradient(90deg,#EAF4FC 0 40px,transparent 40px 80px);
  animation:rb-lane 1.2s linear infinite;
}
@keyframes rb-lane{ to{ transform:translateX(-80px); } }

/* mașina (siluetă brand) */
.road-band .rb-car{
  position:absolute; bottom:30px; left:-220px;
  width:200px; height:78px;
  animation:rb-drive 9s linear infinite;
  transform:scale(.92);
}
.road-band .rb-car .rb-top{
  position:absolute; top:0; left:30px; width:110px; height:42px;
  background:#2c7bb0; border:4px solid #0E5B94; border-bottom:none;
  border-radius:22px 32px 0 0;
}
.road-band .rb-car .rb-win{
  position:absolute; top:10px; width:34px; height:24px; background:#E2F0F6;
  border:3px solid #3B8CB8; border-radius:4px;
}
.road-band .rb-car .rb-win.l{ left:42px; }
.road-band .rb-car .rb-win.r{ left:90px; }
.road-band .rb-car .rb-body{
  position:absolute; bottom:14px; left:0; width:200px; height:36px;
  background:#3B8CB8; border:4px solid #0E5B94; border-radius:14px;
}
.road-band .rb-car .rb-head{
  position:absolute; bottom:24px; right:2px; width:10px; height:12px;
  background:#A8D8F0; border-radius:3px; box-shadow:0 0 8px #A8D8F0;
}
.road-band .rb-car .rb-wheel{
  position:absolute; bottom:0; width:34px; height:34px; border-radius:50%;
  background:#1a1c20; border:5px solid #3a444e;
  animation:rb-spin .6s linear infinite;
}
.road-band .rb-car .rb-wheel::after{
  content:""; position:absolute; inset:9px; border-radius:50%;
  background:#8b97a3;
}
.road-band .rb-car .rb-wheel.l{ left:34px; }
.road-band .rb-car .rb-wheel.r{ right:34px; }
@keyframes rb-spin{ to{ transform:rotate(360deg); } }
@keyframes rb-drive{
  0%   { left:-220px; }
  100% { left:110%; }
}
/* respectă preferința de mișcare redusă + pauză când nu e vizibilă */
.road-band.is-paused .rb-car,
.road-band.is-paused .rb-lane,
.road-band.is-paused .rb-wheel{ animation-play-state:paused; }
@media (prefers-reduced-motion: reduce){
  .road-band .rb-car,
  .road-band .rb-lane,
  .road-band .rb-wheel{ animation:none; }
  .road-band .rb-car{ left:42%; }
}
@media (max-width:640px){
  .road-band{ height:120px; }
  .road-band .rb-car{ transform:scale(.7); }
}
.legal-line {
  background: white;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 10.5px;
  color: var(--muted);
  padding: 12px 24px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .card { padding: 36px 22px 32px; }
  .duo { grid-template-columns: 1fr; }
  .top { grid-template-columns: auto 1fr auto; gap: 8px; }
  .logo-mark { justify-self: center; }
  .top .phone-link span { display: none; }
  .plate-wrap { width: clamp(200px, 78%, 260px); }
  .steps { gap: 8px; }
  .step-dash { width: 12px; }
  .trust-row { gap: 12px; }
}
/* ===== FLUX MULTI-PAS (după introducerea numărului) ===== */
.flow-card {
  position: relative;
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(225,232,239,0.8);
  box-shadow: var(--shadow-md);
  max-width: 760px;
  width: 100%;
  overflow: hidden;
  text-align: left;
}
.flow-head {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 26px 32px 22px;
  position: relative;
}
.flow-head .ttl { display: flex; align-items: center; gap: 14px; }
.flow-head .ttl .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-head h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.flow-head .lead { font-size: 12.5px; color: var(--accent); margin-top: 3px; display: inline-flex; align-items: center; gap: 7px; }
.flow-head .lead .pin { background: rgba(255,255,255,0.14); border-radius: 7px; padding: 2px 9px; font-weight: 600; color: white; }
.flow-progress {
  position: absolute;
  top: 26px; right: 32px;
  width: 52px; height: 52px;
}
.flow-progress .pct { font-size: 12px; font-weight: 700; }
/* stepper */
.flow-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.flow-steps .fs { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.6); }
.flow-steps .fs .n {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
  transition: all .25s var(--ease);
}
.flow-steps .fs.active { color: white; font-weight: 600; }
.flow-steps .fs.active .n { background: white; border-color: white; color: var(--primary); }
.flow-steps .fs.done .n { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.flow-steps .fs-dash { flex: 1; min-width: 14px; height: 1.5px; background: rgba(255,255,255,0.25); border-radius: 2px; }
.flow-body { padding: 30px 32px 26px; }
.flow-pane { display: none; }
.flow-pane.active { display: block; animation: rise .4s var(--ease) both; }
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.field-label .req { color: #e0584a; }
.field-group { margin-bottom: 22px; }
/* carduri radio (ca în screenshot) */
.opt-grid { display: grid; gap: 12px; }
.opt-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.opt-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.opt {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.opt:hover { border-color: var(--secondary); }
.opt .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid #c2d0db;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: border-color .2s var(--ease);
}
.opt .txt strong { display: block; font-size: 14px; color: var(--text); font-weight: 600; line-height: 1.2; }
.opt .txt small { font-size: 11.5px; color: var(--muted); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt.sel { border-color: var(--primary); background: #f1f7fc; }
.opt.sel .dot { border-color: var(--primary); }
.opt.sel .dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
}
/* inputuri & select */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fctrl {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-page);
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.fctrl:focus { border-color: var(--primary); background: white; }
.fhint { font-size: 11.5px; color: var(--muted); margin-top: 7px; }
/* footer navigare */
.flow-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 32px 24px;
  border-top: 1px solid var(--border);
}
.flow-foot .secure { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.flow-foot .nav-btns { display: flex; gap: 10px; }
.btn-back[hidden] { display: none; }
.btn-back {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 14px; font-weight: 600;
  transition: border-color .2s var(--ease);
}
.btn-back:hover { border-color: var(--secondary); }
.btn-next {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: 12px;
  border: none;
  background: var(--gradient);
  color: white;
  font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-cta);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-next:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.btn-next svg { transition: transform .2s var(--ease); }
.btn-next:hover svg { transform: translateX(3px); }
/* pane oferte (rezumat) */
.offer-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.offer-row:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.offer-row.best { border-color: var(--primary); background: #f1f7fc; }
.offer-row .nm { font-size: 14px; font-weight: 700; color: var(--text); }
.offer-row .nm small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.offer-row .pr { font-size: 18px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.offer-row .pr small { font-size: 11px; font-weight: 500; color: var(--muted); }
.best-badge { font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: var(--primary-dark); padding: 2px 8px; border-radius: 6px; margin-left: 8px; }
.offer-note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

@media (max-width: 640px) {
  .flow-head, .flow-body, .flow-foot { padding-left: 20px; padding-right: 20px; }
  .opt-grid.cols-2, .opt-grid.cols-3 { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .flow-progress { display: none; }
  .flow-foot { flex-direction: column-reverse; align-items: stretch; }
  .flow-foot .nav-btns { justify-content: space-between; }
}

/* intrare subtilă, scalonată */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card { animation: rise .6s var(--ease) both; }
.duo  { animation: rise .6s var(--ease) .12s both; }
.fineprint { animation: rise .6s var(--ease) .2s both; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation: none !important; }
}
