/* =========================================================
   INSTANT CASH OFFER — PROFESSIONAL STYLES
   ========================================================= */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #16a34a;
  --green-dark:   #15803d;
  --green-light:  #dcfce7;
  --green-mid:    #22c55e;
  --gold:         #f59e0b;
  --gold-light:   #fef3c7;
  --navy:         #0f172a;
  --slate:        #1e293b;
  --slate-mid:    #334155;
  --gray-700:     #374151;
  --gray-500:     #6b7280;
  --gray-400:     #9ca3af;
  --gray-300:     #d1d5db;
  --gray-200:     #e5e7eb;
  --gray-100:     #f3f4f6;
  --gray-50:      #f8fafc;
  --white:        #ffffff;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --shadow-xl:    0 20px 60px rgba(0,0,0,0.18);
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}
.skip-link:focus {
  top: 12px;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.1s, box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 16px rgba(22,163,74,0.35);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary.btn-xl { padding: 16px 36px; font-size: 17px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--slate);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--gray-300);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--slate); color: var(--navy); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gray-500);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--gray-300);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.btn-ghost:hover { color: var(--navy); border-color: var(--gray-500); }

/* === TOPBAR === */
.topbar {
  background: var(--navy);
  color: #94a3b8;
  font-size: 13px;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.topbar-phone {
  color: #4ade80;
  font-weight: 600;
}
.topbar-phone:hover { color: var(--green-mid); }

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 0;
  transition: box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  display: block;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 18px rgba(15,23,42,0.16));
}
.logo-mark.sm {
  width: 32px;
  height: 32px;
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.logo-tagline {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}
.nav a:hover { color: var(--green); }
.nav-phone { font-size: 13px !important; }

.btn-nav {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background var(--transition), box-shadow var(--transition) !important;
}
.btn-nav:hover {
  background: var(--green-dark) !important;
  box-shadow: 0 4px 12px rgba(22,163,74,0.3) !important;
}

/* Mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  width: 46px;
  height: 46px;
  color: var(--navy);
  line-height: 1;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 24px 18px;
  border-top: 1px solid var(--gray-100);
  background: rgba(255,255,255,0.98);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  min-height: 48px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
}
.mobile-nav a.btn-nav {
  margin-top: 12px;
  text-align: center;
  padding: 12px 20px;
  border-bottom: none;
  border-radius: var(--radius-sm);
}

body.mobile-nav-open {
  overflow: hidden;
}

/* === HERO === */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, #162032 55%, #0f2440 100%);
  color: var(--white);
  padding: 80px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22,163,74,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.4);
  color: #86efac;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-accent { color: #4ade80; }
.hero-sub {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 480px;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 18px 24px;
  backdrop-filter: blur(8px);
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.hsi-num {
  font-size: 26px;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.1;
}
.hsi-label {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-top: 3px;
}
.hsi-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Offer Preview Card */
.offer-preview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  color: var(--navy);
  position: relative;
  z-index: 2;
}
.opc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.opc-icon { font-size: 32px; }
.opc-info { flex: 1; }
.opc-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.opc-address { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.opc-badge {
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.opc-offers { margin-bottom: 20px; }
.opc-offer { padding: 12px 0; }
.opc-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.opc-amount {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}
.opc-amount.opc-gray { color: var(--gray-400); font-size: 28px; }
.opc-sub { display: block; font-size: 12px; color: var(--gray-500); margin-top: 4px; }

.opc-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  padding: 4px 0;
}
.opc-divider::before,
.opc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
  margin: 0 10px;
}

.opc-btn {
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 10px;
}
.opc-disclaimer { font-size: 11px; color: var(--gray-400); text-align: center; }

/* === TRUST BAR === */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-logos span {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

/* === SECTION SHARED === */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--navy);
}
.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: 48px;
}

/* === WHY US === */
.why-us {
  padding: 88px 0;
  background: var(--white);
}
.why-us .container > * { text-align: center; }
.why-us .section-sub { margin-left: auto; margin-right: auto; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.why-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--green);
}
.why-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  border-color: var(--navy);
  color: var(--white);
}
.why-card.featured:hover { border-color: var(--green); }
.why-card.featured p { color: #94a3b8; }
.why-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.why-icon { font-size: 28px; margin-bottom: 14px; color: var(--green); }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--gray-50);
  padding: 88px 0;
}
.how-it-works .container { text-align: center; }
.how-it-works .section-sub { margin: 0 auto 52px; }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 12px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}
.step-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.step-content p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--gray-300);
  margin-top: 28px;
  position: relative;
}
.step-connector::after {
  content: '›';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--white);
  padding: 88px 0;
}
.testimonials .container { text-align: center; }
.testimonials .section-sub { margin: 0 auto 52px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  align-items: start;
}
.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  position: relative;
}
.testimonial-card.featured-tc {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.tc-verified {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 10px;
}
.tc-stars {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.tc-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 20px;
  font-style: italic;
}
.featured-tc .tc-text { color: #cbd5e1; }
.tc-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tc-name { font-size: 14px; font-weight: 700; }
.featured-tc .tc-name { color: var(--white); }
.tc-loc { font-size: 12px; color: var(--gray-500); }
.featured-tc .tc-loc { color: #94a3b8; }

/* === FORM SECTION === */
.form-section {
  background:
    radial-gradient(circle at top left, rgba(22,163,74,0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f8fafc 42%, #ffffff 100%);
  padding: 96px 0;
}
.form-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.form-section-header .section-sub { margin: 0 auto; }

.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(15,23,42,0.08);
  border: 1px solid rgba(148,163,184,0.22);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}

/* Step track */
.step-track {
  display: flex;
  align-items: center;
  padding: 26px 44px;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f7fb 100%);
  border-bottom: 1px solid var(--gray-200);
}
.step-track-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.sti-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.step-track-item.active .sti-dot { background: var(--green); }
.step-track-item.completed .sti-dot { background: var(--green-dark); }
.sti-label {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}
.step-track-item.active .sti-label { color: var(--green); font-weight: 600; }
.step-track-item.completed .sti-label { color: var(--green-dark); }
.sti-line {
  flex: 1;
  height: 2px;
  background: var(--gray-300);
  margin-bottom: 20px;
  transition: background var(--transition);
}

/* Progress bar */
.progress-bar-wrap {
  height: 3px;
  background: var(--gray-100);
}
.progress-bar {
  height: 100%;
  background: var(--green);
  width: 25%;
  transition: width 0.4s ease;
}

/* Form steps */
.form-step { display: none; padding: 44px 56px 48px; }
.form-step.active { display: block; }

.step-header { margin-bottom: 36px; }
.step-header h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.step-header p {
  font-size: 14px;
  color: var(--gray-500);
  max-width: 620px;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
  margin-bottom: 36px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: 1 / -1; }

label {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input, select {
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fcfdff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
input:focus, select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.11);
}
input.error, select.error { border-color: #ef4444; }
.error-msg { font-size: 12px; color: #ef4444; min-height: 16px; display: block; }
.field-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-500);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 4px;
}
.form-actions .btn-primary,
.form-actions .btn-outline { align-self: flex-start; }
.form-actions .btn-primary + .btn-outline {
  align-self: flex-start;
}

/* When back + forward are both present, show inline */
.form-actions:has(.btn-outline) {
  flex-direction: row;
  align-items: center;
}

.form-privacy {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 0;
  max-width: 560px;
  line-height: 1.65;
}

.form-consent-group {
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 500;
  line-height: 1.72;
  text-transform: none;
  letter-spacing: normal;
  color: var(--gray-700);
}

.consent-checkbox {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
}

#step1 .form-grid {
  margin-bottom: 10px;
}

#step1 .form-actions {
  gap: 14px;
}

/* Condition cards */
.condition-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0 28px;
}
.condition-card { cursor: pointer; }
.condition-card input[type="radio"] { display: none; }
.condition-card-inner {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.1s;
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.condition-card:hover .condition-card-inner {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
  transform: translateY(-1px);
}
.condition-card input:checked + .condition-card-inner {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}
.cond-icon { font-size: 26px; margin-bottom: 8px; }
.cond-stars {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.cond-stars span { font-size: 10px; color: var(--gray-400); }
.condition-card h4 { font-size: 12px; font-weight: 700; margin-bottom: 5px; color: var(--navy); }
.condition-card p { font-size: 11px; color: var(--gray-500); line-height: 1.4; margin-bottom: 10px; flex: 1; }

/* Condition badges */
.cond-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-red    { background: #fee2e2; color: #dc2626; }
.badge-orange { background: #ffedd5; color: #ea580c; }
.badge-yellow { background: var(--gold-light); color: #b45309; }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-green  { background: var(--green-light); color: var(--green-dark); }

/* === RESULTS (Step 4) === */
.results-header {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 32px;
}
.results-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.results-header h3 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.results-address { font-size: 14px; color: var(--gray-500); }

.offer-cards {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 32px;
}
.offer-card {
  flex: 1;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.cash-card {
  background: linear-gradient(140deg, var(--navy) 0%, var(--slate) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.realtor-card {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  color: var(--navy);
}
.offer-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.realtor-tag { background: var(--gray-500); }
.offer-amount {
  font-size: 42px;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.1;
  margin-bottom: 4px;
}
.realtor-amount { color: var(--navy); }
.offer-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 20px;
}
.realtor-card .offer-label { color: var(--gray-500); }

.offer-perks {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.offer-perks li {
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}
.realtor-perks li {
  color: var(--gray-500);
  border-bottom-color: var(--gray-200);
}
.perk-check { color: #4ade80; font-weight: 700; flex-shrink: 0; }
.perk-x { color: #f87171; font-weight: 700; flex-shrink: 0; }

.btn-offer { width: 100%; justify-content: center; }

.offer-vs-col {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 4px;
}
.offer-vs {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-400);
  letter-spacing: 0.1em;
}

/* Market breakdown */
.market-breakdown {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.mb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mb-header h4 { font-size: 15px; font-weight: 700; }
.mb-live {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
.breakdown-item { display: flex; flex-direction: column; gap: 4px; }
.breakdown-item-wide { grid-column: 1 / -1; }
.bi-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); font-weight: 600; }
.bi-value { font-size: 16px; font-weight: 700; color: var(--navy); }
.bi-value.bi-deduct { color: #b45309; }
.mb-note { font-size: 11px; color: var(--gray-500); font-style: italic; }

.results-actions { text-align: center; padding-top: 8px; }

/* === ADDRESS VERIFICATION === */
.autocomplete-wrap { position: relative; }
.address-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.address-suggestion {
  width: 100%;
  border: none;
  background: var(--white);
  text-align: left;
  min-height: 52px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: inherit;
}
.address-suggestion.is-active { background: #eef6ff; }
.address-suggestion:last-child { border-bottom: none; }
.address-suggestion:hover,
.address-suggestion:focus-visible {
  background: var(--gray-50);
  outline: none;
}
.address-suggestion-line1 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.address-suggestion-line2 {
  font-size: 12px;
  color: var(--gray-500);
}
.address-helper {
  min-height: 0;
  margin-top: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-500);
}
.address-helper[data-state="loading"] { color: #0369a1; }
.address-helper[data-state="success"] { color: var(--green-dark); }
.address-helper[data-state="error"] { color: #b91c1c; }

/* === CAPACITY NOTICE === */
.capacity-notice {
  display: none;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 16px;
  line-height: 1.5;
}

#step2 .form-grid {
  align-items: start;
  row-gap: 24px;
}

#step2 .form-group.full-width input {
  font-size: 16px;
}

#step2 .step-header {
  margin-bottom: 34px;
}

#step2 .form-actions {
  margin-top: 30px;
}

/* === FAQ === */
.faq {
  background: var(--white);
  padding: 88px 0;
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-left { position: sticky; top: 120px; }
.faq-left .section-sub { margin-bottom: 28px; }

.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  text-align: left;
  min-height: 52px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--green); }
.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green); }
.faq-a { display: none; padding-bottom: 16px; }
.faq-a:not([hidden]) { display: block; }
.faq-a p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* === FINAL CTA === */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2942 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.final-cta-inner { max-width: 600px; margin: 0 auto; }
.final-cta h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.final-cta p {
  font-size: 17px;
  color: #94a3b8;
  margin-bottom: 32px;
}

/* === LOADING OVERLAY === */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.8);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.loading-overlay.active { display: flex; }
.loading-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: var(--shadow-xl);
}
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-100);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.loading-steps { text-align: left; }
.ls-item {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--gray-300);
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
}
.ls-item.active { color: var(--navy); background: var(--green-light); font-weight: 500; }
.ls-item.done { color: var(--green-dark); font-weight: 500; }

/* === MODAL === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.75);
  z-index: 600;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 92%;
  position: relative;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--navy); }
.modal-panel { display: none; }
.modal-panel.active { display: block; }
.modal-icon { font-size: 52px; margin-bottom: 14px; }
.modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.modal p { color: var(--gray-500); font-size: 15px; margin-bottom: 24px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-info-box {
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 500;
  margin-bottom: 20px;
}
.followup-schedule {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  text-align: left;
}
.fs-item { padding: 6px 0; font-size: 13px; color: var(--slate); }
.opt-out { font-size: 11px; color: var(--gray-500); margin-bottom: 20px !important; }

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 60px 0 32px;
}
.footer-top {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { flex: 1.2; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 280px;
}
.footer-phone {
  font-size: 15px;
  font-weight: 600;
  color: #4ade80;
  display: inline-block;
}
.footer-phone:hover { color: var(--green-mid); }
.footer-links {
  display: flex;
  gap: 48px;
  flex: 1;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: #94a3b8;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom { text-align: center; }
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #64748b;
}
.footer-copy { font-size: 12px; color: #475569; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content h1 { font-size: 40px; }
  .hero-visual { order: -1; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured-tc { transform: none; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-left { position: static; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; }
  .steps { flex-wrap: wrap; gap: 24px; }
  .step-connector { display: none; }
  .step { max-width: 220px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .topbar { display: none; }
  .header { padding: 10px 0; }
  .hero { padding: 34px 0 34px; }
  .hero-inner { gap: 24px; }
  .hero-badge {
    font-size: 11px;
    padding: 7px 12px;
    margin-bottom: 16px;
  }
  .hero-content h1 {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 14px;
  }
  .hero-sub {
    font-size: 15px;
    max-width: none;
    margin-bottom: 20px;
  }
  .hero-ctas { margin-bottom: 22px; }
  .hero-ctas .btn-primary { width: 100%; }
  .offer-preview-card {
    padding: 20px 18px;
    border-radius: 18px;
  }
  .opc-offers { gap: 12px; }
  .opc-offer { padding: 14px 12px; }
  .opc-amount { font-size: 28px; }
  .header-inner { gap: 12px; }
  .logo-text-wrap { min-width: 0; }
  .logo-name { font-size: 15px; }
  .why-grid { grid-template-columns: 1fr; }
  .form-section-header { margin-bottom: 22px; }
  .form-wrapper { border-radius: 20px; }
  .form-step { padding: 30px 24px 34px; }
  .step-track {
    padding: 14px 18px;
    gap: 8px;
  }
  .step-track-item { min-width: 0; }
  .sti-dot {
    width: 32px;
    height: 32px;
  }
  .sti-num { font-size: 13px; }
  .sti-label { font-size: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-consent-group {
    padding: 18px;
    margin-top: 6px;
    margin-bottom: 16px;
  }
  .form-actions {
    margin-top: 20px;
  }
  #step2 .form-actions {
    margin-top: 24px;
  }
  .condition-cards {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    margin: 14px -4px 24px;
    padding: 4px 4px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .condition-cards::-webkit-scrollbar {
    height: 8px;
  }
  .condition-cards::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,0.45);
    border-radius: 999px;
  }
  .condition-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }
  .condition-card-inner {
    padding: 18px 14px;
  }
  .offer-cards { flex-direction: column; }
  .offer-vs-col { display: none; }
  .results-header {
    text-align: left;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .results-check { margin: 0 0 12px; }
  .offer-cards {
    gap: 14px;
    margin-bottom: 24px;
  }
  .offer-card {
    padding: 22px 20px;
    border-radius: 18px;
  }
  .offer-amount { font-size: 36px; }
  .offer-perks li {
    font-size: 12px;
    padding: 6px 0;
  }
  .market-breakdown {
    padding: 22px 20px;
    margin-bottom: 22px;
  }
  .breakdown-grid { grid-template-columns: 1fr; }
  .topbar-inner { gap: 12px; font-size: 12px; }
  .final-cta h2 { font-size: 28px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .section-title { font-size: 30px; }
  .hero-stats {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  .hero-stat-item {
    min-width: calc(50% - 8px);
    padding: 10px 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
  }
  .hsi-divider { display: none; }
  .results-address { font-size: 13px; word-break: break-word; }
  .capacity-notice { font-size: 12px; }
}

@media (max-width: 480px) {
  .hero { padding: 26px 0 28px; }
  .hero-content h1 { font-size: 29px; }
  .hero-sub { font-size: 14px; }
  .hero-stat-item { min-width: 100%; }
  .form-step { padding: 24px 16px; }
  .step-track { padding: 14px 16px; }
  .step-track-item { flex: 1 1 0; }
  .sti-dot {
    width: 30px;
    height: 30px;
  }
  .consent-label {
    gap: 10px;
    line-height: 1.65;
  }
  .form-consent-group {
    padding: 16px;
    margin-bottom: 14px;
  }
  .sti-label { display: none; }
  .condition-card { flex-basis: 214px; }
  .offer-amount { font-size: 34px; }
  .modal { padding: 36px 24px 28px; }
  .section-title { font-size: 26px; }
  .container { padding: 0 18px; }
  .logo-name { font-size: 14px; }
  .logo-tagline { font-size: 10px; }
  .form-actions:has(.btn-outline) {
    flex-direction: column;
    align-items: stretch;
  }
  .form-actions .btn-primary,
  .form-actions .btn-outline {
    width: 100%;
  }
  .form-privacy {
    max-width: none;
  }
  .breakdown-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 22px 18px; }
  .market-breakdown { padding: 20px; }
  .results-header h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   VISUAL POLISH
   ========================================================= */

/* Progress bar — gradient for depth */
.progress-bar {
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--green-mid) 100%);
}

/* Step track — completed dot shows checkmark, connector line turns green */
.step-track-item.completed .sti-num { font-size: 0; }
.step-track-item.completed .sti-num::after { content: '✓'; font-size: 14px; }
.step-track-item.completed + .sti-line { background: var(--green); }

/* Section labels — leading dot */
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
  opacity: 0.85;
}

/* Why-cards — featured card icon tint */
.why-card.featured .why-icon { color: #4ade80; }

/* Condition card — green checkmark badge when selected */
.condition-card input:checked + .condition-card-inner::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
}

/* Results check icon — pop-in animation when step 4 activates */
#step4.active .results-check {
  animation: result-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes result-pop {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Offer amount — count-up glow */
#cashOfferAmount {
  text-shadow: 0 0 40px rgba(74, 222, 128, 0.25);
}
