/* =========================================================================
   etorim.com — Investigative Modern design system
   Brand: #0866FF electric blue + pure black. Magnifying glass motif.
   Single font: Heebo (400/500/700/900) — no serif.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800;900&display=swap');

:root {
  /* BRAND — user-specified */
  --blue:         #0866FF;
  --blue-dark:    #0550CC;
  --blue-darker:  #033EA0;
  --blue-soft:    #E8F0FF;
  --blue-line:    #C9DCFF;
  --blue-glow:    rgba(8,102,255,0.22);

  /* NEUTRAL */
  --black:        #000000;
  --ink:          #0A0A14;
  --ink-soft:     #242430;
  --grey:         #5A5A68;
  --mute:         #9095A3;
  --line:         #E6E8EE;
  --line-soft:    #F0F2F6;
  --bg:           #FFFFFF;
  --bg-alt:       #F7F8FB;

  /* SEMANTIC */
  --success:      #0F9D58;
  --success-bg:   #E7F6EF;

  /* TYPE */
  --font:         'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* MOTION */
  --ease:         cubic-bezier(.2,.8,.2,1);
  --ease-spring:  cubic-bezier(.2,1.4,.4,1);

  /* RHYTHM */
  --container:    1160px;
  --r-sm:         4px;
  --r-md:         8px;
  --r-lg:         14px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 900; color: var(--black); line-height: 1.05; letter-spacing: -0.03em; }
p { margin: 0; }
::selection { background: var(--blue); color: #FFF; }

/* LAYOUT */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

/* =================== HEADER =================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}
.site-header .logo { display: inline-flex; align-items: center; }
.site-header .logo img { height: 40px; width: auto; }
@media (max-width: 520px) { .site-header .logo img { height: 32px; } }

.site-header .cta-top {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--blue);
  color: #FFF;
  font-weight: 800;
  font-size: 14px;
  border-radius: var(--r-md);
  box-shadow: 0 4px 14px -4px var(--blue-glow);
  transition: transform .12s var(--ease), box-shadow .2s var(--ease);
}
.site-header .cta-top:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -6px var(--blue-glow); }
.site-header .cta-top::after { content: "←"; font-size: 16px; }

/* =================== HERO =================== */
.hero {
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 85% 20%, var(--blue-glow) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.5;
}

/* Live status indicator */
.live-strip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  background: var(--black);
  color: #FFF;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.live-strip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--blue-glow); }
  50%    { box-shadow: 0 0 0 10px rgba(8,102,255,0); }
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--black);
  margin-bottom: 28px;
  max-width: 880px;
}
.hero h1 .blue { color: var(--blue); }
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 4px;
  height: 12px;
  background: var(--blue);
  opacity: 0.22;
  z-index: -1;
  transform: skewY(-1deg);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--grey);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding: 28px 0;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  margin-top: 40px;
  max-width: 660px;
  position: relative;
  z-index: 1;
}
.stat-item .num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.03em;
}
.stat-item .num .sym { color: var(--blue); }
.stat-item .lbl {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
}
@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 8px;
    margin-top: 24px;
  }
  .stat-item { text-align: center; }
  .stat-item .num { font-size: 20px !important; line-height: 1; }
  .stat-item .num .sym { font-size: 0.75em; }
  .stat-item .lbl { font-size: 10.5px; margin-top: 4px; line-height: 1.25; }
  /* compress hero so form fits above the fold on mobile */
  .hero { padding: 28px 0 24px; }
  .hero h1 { font-size: clamp(30px, 8vw, 44px) !important; line-height: 1.05; margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 20px; }
  .live-strip { font-size: 12px; padding: 6px 14px; margin-bottom: 14px; }
}

/* Two-column hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =================== FORM CARD =================== */
.form-card {
  background: var(--bg);
  border: 2px solid var(--black);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  position: relative;
  box-shadow: 8px 8px 0 var(--black);
  max-width: 480px;
  margin-left: auto;
}
.form-card::before {
  content: "";
  position: absolute;
  top: -14px; right: 24px;
  width: 28px; height: 28px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--black);
}
.form-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.form-card .step-num { color: var(--blue); }
.form-card .dots { display: inline-flex; gap: 4px; }
.form-card .dots .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.form-card .dots .dot.active { background: var(--blue); transform: scale(1.2); }

.form-card h2 {
  font-size: 26px;
  color: var(--black);
  margin-bottom: 8px;
}
.form-card .hint { color: var(--grey); font-size: 15px; margin-bottom: 20px; line-height: 1.5; }

.form-card label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-card input[type="text"],
.form-card input[type="tel"],
.form-card input[type="email"],
.form-card input[type="date"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  transition: all .15s var(--ease);
}
.form-card input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
}
.form-card input.error { border-color: #D93025; background: #FDEDED; }
.form-card .error-msg { color: #D93025; font-size: 13px; margin-top: 6px; font-weight: 600; }

.form-card .consent {
  display: flex; gap: 10px; margin-top: 14px;
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}
.form-card .consent input[type="checkbox"] {
  margin: 3px 0 0 0;
  accent-color: var(--blue);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.form-card .consent a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-card .consent a:hover { color: var(--blue-dark); }

/* PRIMARY CTA BUTTON — the conversion workhorse */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  padding: 18px 24px;
  background: var(--black);
  color: #FFF;
  font-weight: 900;
  font-size: 17px;
  border-radius: var(--r-md);
  letter-spacing: -0.005em;
  margin-top: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .14s var(--ease), background .2s var(--ease);
  box-shadow: 0 0 0 0 var(--blue-glow), 0 6px 0 0 var(--blue-darker), 0 12px 24px -6px var(--blue-glow);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(101%);
  transition: transform .4s var(--ease);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary .label { font-weight: 900; }
.btn-primary::after {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative; z-index: 1;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 35%, transparent 45%, currentColor 50%);
  transition: transform .3s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px var(--blue-glow), 0 8px 0 0 var(--blue-darker), 0 16px 30px -6px var(--blue-glow); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover::after { transform: rotate(-20deg); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 0 var(--blue-glow), 0 2px 0 0 var(--blue-darker); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: 0 4px 0 0 var(--mute); }
.btn-primary:disabled:hover { transform: none; box-shadow: 0 4px 0 0 var(--mute); }
.btn-primary:disabled::before { display: none; }

.form-card .trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--grey);
  font-weight: 600;
}
.form-card .trust-row span { display: inline-flex; align-items: center; gap: 4px; }

.btn-ghost {
  padding: 14px 18px;
  background: var(--bg);
  border: 2px solid var(--line);
  color: var(--grey);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 14px;
  transition: all .18s var(--ease);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--black); }

.form-step { display: none; }
.form-step.active-step { display: block; animation: slideIn .35s var(--ease) both; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =================== SCANNER STRIP =================== */
.scanner {
  padding: 28px 0;
  background: var(--black);
  color: #FFF;
  overflow: hidden;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  position: relative;
}
.scanner .inner {
  display: flex; gap: 56px; align-items: center;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.scanner .item {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: -0.005em;
}
.scanner .item::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--blue);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* =================== SECTION HEADERS =================== */
.s-head {
  margin-bottom: 48px;
  max-width: 780px;
}
.s-head.center { margin: 0 auto 48px; text-align: center; }
.s-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.s-head .kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--blue);
}
.s-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.s-head h2 .blue { color: var(--blue); }
.s-head p {
  color: var(--grey);
  font-size: 18px;
  max-width: 600px;
  line-height: 1.55;
}
.s-head.center p { margin: 0 auto; }

/* =================== STEPS =================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--black);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step-cell {
  padding: 40px 32px;
  position: relative;
  border-left: 2px solid var(--black);
  transition: background .25s var(--ease);
}
.step-cell:first-child { border-left: 2px solid var(--black); }
.step-cell:last-child { border-left: 0; }
@media (max-width: 820px) {
  .step-cell { border-left: 0; border-top: 2px solid var(--black); }
  .step-cell:first-child { border-top: 0; }
}
.step-cell:hover { background: var(--blue-soft); }
.step-cell .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 18px;
}
.step-cell h3 {
  font-size: 22px;
  color: var(--black);
  margin-bottom: 8px;
}
.step-cell p { color: var(--grey); font-size: 15.5px; line-height: 1.55; }

/* =================== CATEGORIES GRID =================== */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } }
.cat {
  padding: 28px 24px;
  background: var(--bg);
  border: 2px solid var(--black);
  border-radius: var(--r-md);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s var(--ease);
  z-index: 0;
}
.cat:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--black);
}
.cat:hover::before { transform: scaleY(1); }
.cat:hover .cat-icon,
.cat:hover .cat-ttl,
.cat:hover .cat-desc { color: #FFF; }
.cat:hover .cat-stat { color: #FFF; opacity: 0.9; }
.cat > * { position: relative; z-index: 1; }
.cat-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--blue-soft);
  border-radius: 50%;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 22px;
  transition: all .25s var(--ease);
}
.cat:hover .cat-icon { background: rgba(255,255,255,0.2); color: #FFF; }
.cat-ttl { font-size: 19px; font-weight: 900; color: var(--black); margin-bottom: 6px; }
.cat-desc { font-size: 14px; color: var(--grey); line-height: 1.5; }
.cat-stat {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cat:hover .cat-stat { border-top-color: rgba(255,255,255,0.3); }

/* =================== CASE FILES (testimonials) =================== */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }
.case {
  position: relative;
  background: var(--bg);
  border: 2px solid var(--black);
  border-radius: var(--r-md);
  padding: 28px 28px 24px;
  box-shadow: 6px 6px 0 var(--black);
  transition: all .25s var(--ease);
}
.case:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--black);
}
.case-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.case-id {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--mute);
  text-transform: uppercase;
}
.case-status {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 100px;
}
.case-status::before { content: "✓ "; }
.case-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 22px;
  font-weight: 500;
}
.case-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px;
  border-top: 2px solid var(--black);
}
.case-person { font-size: 13px; color: var(--grey); font-weight: 600; }
.case-person strong { display: block; color: var(--black); font-weight: 800; font-size: 15px; }
.case-amt {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-amt .sym { color: var(--black); }

/* =================== FAQ =================== */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  background: var(--bg);
  transition: all .2s var(--ease);
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--black);
  box-shadow: 4px 4px 0 var(--black);
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--blue);
  transition: transform .25s var(--ease-spring);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-item .body {
  padding: 0 24px 22px;
  color: var(--grey);
  font-size: 16px;
  line-height: 1.65;
}

/* =================== FINAL CTA =================== */
.final-cta {
  background: var(--black);
  color: #FFF;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -20%, var(--blue-glow) 0%, transparent 60%),
    linear-gradient(135deg, transparent 0%, rgba(8,102,255,0.08) 100%);
  pointer-events: none;
}
.final-cta .inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.final-cta h2 {
  font-size: clamp(36px, 6vw, 64px);
  color: #FFF;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.final-cta h2 .blue { color: var(--blue); }
.final-cta p {
  color: rgba(255,255,255,0.72);
  font-size: 19px;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .btn-primary {
  display: inline-flex;
  width: auto;
  padding: 20px 44px;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.1), 0 6px 0 0 var(--blue-darker), 0 14px 40px -6px var(--blue-glow);
}
.final-cta .btn-primary::before { background: #FFF; }
.final-cta .btn-primary:hover { color: var(--black); }
.final-cta .btn-primary:hover .label { color: var(--black); }

/* =================== FOOTER =================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
}
.site-footer .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  font-size: 14px;
  color: var(--grey);
}
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--grey); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--blue); }
.site-footer .disclaimer {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.6;
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* =================== REVEAL =================== */
/* ====================== AUTHORITY ROW (under live pill) ====================== */
.authority-row {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: -14px 0 24px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: -0.005em;
}
.authority-row .sep { color: var(--mute); }
@media (max-width: 720px) { .authority-row { font-size: 11px; gap: 6px; margin: -10px 0 16px; } }

/* ====================== STICKY MOBILE CTA ====================== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.95) 30%, #FFF 100%);
  padding: 14px 16px 18px;
  pointer-events: none;
}
.sticky-mobile-cta a {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 20px;
  background: var(--blue);
  color: #FFF;
  font-weight: 900;
  font-size: 17px;
  border-radius: 12px;
  box-shadow:
    0 0 0 4px rgba(8,102,255,0.18),
    0 12px 32px -6px rgba(8,102,255,0.45);
  letter-spacing: -0.01em;
  animation: stickyPulse 2.5s ease-in-out infinite;
}
.sticky-mobile-cta a::after {
  content: "←";
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s var(--ease);
}
.sticky-mobile-cta a:active { transform: scale(0.98); }
@keyframes stickyPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(8,102,255,0.18), 0 12px 32px -6px rgba(8,102,255,0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(8,102,255,0.10), 0 16px 38px -4px rgba(8,102,255,0.55); }
}
@media (max-width: 720px) {
  .sticky-mobile-cta { display: block; }
  /* Pad bottom of body so the sticky doesn't hide content */
  body { padding-bottom: 80px; }
  .final-cta { padding-bottom: 80px; }
}

/* ====================== RISK REVERSAL BADGES ====================== */
.risk-row {
  display: flex; align-items: stretch; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px;
  background: rgba(8,102,255,0.05);
  border: 1px solid rgba(8,102,255,0.18);
  border-radius: 10px;
}
.risk-row .item {
  flex: 1 1 130px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: #FFFFFF;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  min-width: 0;
}
.risk-row .item .ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--blue);
  color: #FFF;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}
.risk-row .item span { line-height: 1.25; min-width: 0; }
@media (max-width: 540px) {
  .risk-row { padding: 10px; gap: 6px; }
  .risk-row .item { font-size: 12px; padding: 7px 9px; flex-basis: calc(50% - 6px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .7s var(--ease) both; }
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .15s; }
.reveal-3 { animation-delay: .25s; }
.reveal-4 { animation-delay: .35s; }
.reveal-5 { animation-delay: .45s; }

/* ===== Live-chat agent bubble (above form-card) ===== */
.chat-agent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(180deg, #F0F8FF 0%, #E8F2FF 100%);
  border: 1px solid #BFD9F5;
  border-radius: 18px;
  padding: 12px 14px 12px 12px;
  margin: -6px -4px 16px -4px;
  box-shadow: 0 8px 24px rgba(20, 90, 200, 0.08);
  animation: chatPop .55s cubic-bezier(.22,1.2,.36,1) both;
}
.chat-agent .avatar {
  position: relative;
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FFF;
  box-shadow: 0 4px 12px rgba(20, 90, 200, 0.18);
  background: #4A90E2;
}
.chat-agent .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.chat-agent .avatar::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #FFF;
  animation: pulseDot 2s ease-in-out infinite;
}
.chat-agent .bubble {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}
.chat-agent .bubble .who {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #1E40AF;
  font-weight: 800;
  margin-bottom: 4px;
}
.chat-agent .bubble .who .live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #15803D;
  background: #DCFCE7;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.chat-agent .bubble .who .live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulseDot 1.4s ease-in-out infinite;
}
.chat-agent .bubble .msg {
  font-size: 14.5px;
  color: #0F2342;
  line-height: 1.5;
  font-weight: 500;
}
.chat-agent .bubble .msg strong { color: #1E40AF; font-weight: 800; }
.chat-agent .bubble .typing {
  display: inline-flex;
  gap: 3px;
  margin-right: 4px;
  vertical-align: middle;
}
.chat-agent .bubble .typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #5A86C9;
  animation: typing 1.2s ease-in-out infinite;
}
.chat-agent .bubble .typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-agent .bubble .typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chatPop {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94, 0.55); }
  70%      { box-shadow: 0 0 0 6px rgba(34,197,94, 0); }
}
@keyframes typing {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-2px); }
}

@media (max-width: 540px) {
  .chat-agent { padding: 10px 11px; gap: 10px; margin: -4px -2px 14px -2px; }
  .chat-agent .avatar { width: 48px; height: 48px; }
  .chat-agent .bubble .msg { font-size: 13.5px; }
}

/* ===== Consent validation hint (Step 3 — phone) ===== */
.consent-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-right: 4px solid #DC2626;
  border-radius: 10px;
  color: #991B1B;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  animation: hintShake .5s cubic-bezier(.36,.07,.19,.97) both;
}
.consent-hint.is-visible { display: flex; }
.consent-hint .ic {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: #DC2626;
  color: #FFF;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  animation: pulseRed 1.6s ease-in-out infinite;
}
@keyframes hintShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-4px); }
  40%      { transform: translateX(4px); }
  60%      { transform: translateX(-2px); }
  80%      { transform: translateX(2px); }
}
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38, 0.5); }
  70%      { box-shadow: 0 0 0 6px rgba(220,38,38, 0); }
}
