:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-tint: #eff6ff;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #111827;
  --text-muted: #4b5563;
  --text-subtle: #9ca3af;
  --primary: #1d4ed8;
  --primary-deep: #1e40af;
  --primary-hover: #1e3a8a;
  --accent: #0e7490;
  --accent-bright: #0891b2;
  --grad: linear-gradient(90deg, var(--primary-deep), var(--accent-bright));
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 40px rgba(29, 78, 216, 0.22);
  --ring: 0 0 0 4px rgba(29, 78, 216, 0.18);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 16px/1.55 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ───────────────────────────── */
.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 78, 216, 0.1);
  box-shadow: var(--shadow-sm);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.5), rgba(255, 255, 255, 0.9), rgba(236, 254, 255, 0.5));
  pointer-events: none;
}
.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  text-align: center;
}
.brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: linear-gradient(90deg, #1e40af, #1d4ed8 50%, #0e7490);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
  margin-top: 2px;
}

/* ── PROGRESS ─────────────────────────── */
.progress-track { height: 14px; width: 100%; background: #e5e7eb; }
.progress-bar {
  height: 100%; width: 0%;
  background: var(--grad);
  transition: width 400ms var(--ease);
}
.progress-text {
  margin-top: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── QUIZ ─────────────────────────────── */
.quiz {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px 12px 8px 6px;
  min-height: 44px;
  border: 0;
  background: none;
  font: 600 14px/1 var(--font);
  color: var(--text-subtle);
  cursor: pointer;
  border-radius: 8px;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.back-btn:hover { color: var(--primary); background: var(--surface-tint); }
.back-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.back-btn[hidden] { display: none; }

.step { display: none; }
.step.active { display: block; animation: stepIn 280ms var(--ease) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}
.step h1 {
  margin: 8px 0 0;
  font-size: clamp(30px, 5.4vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hl { color: var(--primary); }
.sub {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--text-muted);
}

/* ── OPTIONS ──────────────────────────── */
.options { margin-top: 32px; }
.options.stack { display: flex; flex-direction: column; gap: 12px; }
.option {
  position: relative;
  width: 100%;
  min-height: 64px;
  padding: 18px 24px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--primary);
  font: 700 20px/1.2 var(--font);
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  transition: all 160ms var(--ease);
}
.option:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.25);
}
.option:active { transform: translateY(0); }
.option:focus-visible { outline: none; box-shadow: var(--ring); }
.option.selected {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

/* ── MATCHING ─────────────────────────── */
.loading-bars {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 40px 0 8px;
  height: 44px;
  align-items: center;
}
.loading-bars span {
  width: 9px;
  height: 36px;
  border-radius: 5px;
  background: var(--grad);
  animation: barPulse 900ms ease-in-out infinite;
}
.loading-bars span:nth-child(2) { animation-delay: 120ms; }
.loading-bars span:nth-child(3) { animation-delay: 240ms; }
.loading-bars span:nth-child(4) { animation-delay: 360ms; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}
.status-list {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.status-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-subtle);
  transition: color 200ms var(--ease);
}
.status-list li.active, .status-list li.done { color: var(--text); }
.status-dot {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  transition: all 200ms var(--ease);
}
.status-list li.active .status-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.18);
  animation: dotPulse 1s ease-in-out infinite;
}
.status-list li.done .status-dot { background: #16a34a; }
@keyframes dotPulse {
  50% { box-shadow: 0 0 0 7px rgba(29, 78, 216, 0.1); }
}

/* ── CALL CTA ─────────────────────────── */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #ecfdf5;
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #15803d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #16a34a;
  animation: dotPulse2 1.4s ease-in-out infinite;
}
@keyframes dotPulse2 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}
.call-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.call-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 48px rgba(29, 78, 216, 0.32); }
.call-cta:active { transform: translateY(0); }
.call-cta:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow-lg); }
.call-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  animation: ringRing 2.4s ease-in-out infinite;
}
@keyframes ringRing {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-12deg); }
  90% { transform: rotate(10deg); }
  92% { transform: rotate(-8deg); }
  94% { transform: rotate(6deg); }
  96% { transform: rotate(-3deg); }
}
.call-copy { display: flex; flex-direction: column; flex: 1; }
.call-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.call-number {
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.call-arrow { flex: none; opacity: 0.9; }

.reservation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.reservation strong { color: var(--primary); font-variant-numeric: tabular-nums; }

.trust-row {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-row svg { color: var(--accent-bright); }

/* ── INFO / SEO SECTION ─────────────────────────────── */
.info {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc, #ffffff 240px);
}
.info-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 20px 72px;
}
.info h2 {
  margin: 56px 0 16px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.info h2:first-child { margin-top: 0; }
.info p { color: var(--text-muted); margin: 0 0 16px; }

.agent-band {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(29, 78, 216, 0.14);
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}
.agent-band h2 { margin: 0 0 8px; font-size: clamp(22px, 3.6vw, 26px); }
.agent-band p { margin: 0; font-size: 15px; }
.agent-band-cta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(29, 78, 216, 0.25);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.agent-band-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(29, 78, 216, 0.32); }
.agent-band-cta:active { transform: translateY(0); }
.agent-band-cta:focus-visible { outline: none; box-shadow: var(--ring); }
.agent-band-cta > span { display: flex; flex-direction: column; }
.agent-band-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.85;
}
.agent-band-number { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }

.how-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.how-steps li {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.how-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
}
.how-steps h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.how-steps p { margin: 0; font-size: 15px; }

.faq { margin: 24px 0 0; }
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item dt {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.faq-item dd { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.info-cta-line {
  margin-top: 48px !important;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-tint);
  border: 1px solid rgba(29, 78, 216, 0.12);
  text-align: center;
  font-weight: 500;
}
.info-cta-line a { color: var(--primary); font-weight: 700; }
.tel-link { white-space: nowrap; }

@media (max-width: 640px) {
  .agent-band { flex-direction: column; align-items: stretch; text-align: center; gap: 20px; }
  .agent-band-cta { justify-content: center; }
  .how-steps li { padding: 20px; }
}

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid #d1d5db;
  background: #fafafa;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: linear-gradient(90deg, #1e40af, #1d4ed8 50%, #0e7490);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.footer-nav a:hover { color: var(--primary); }
.footer-nav a:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.footer-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0 24px;
}
.footer-inner p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}
.footer-inner p:last-child { margin-bottom: 0; }
.footer-inner .center { text-align: center; }

@media (max-width: 480px) {
  .option { font-size: 18px; min-height: 58px; padding: 16px 20px; }
  .quiz { padding-bottom: 56px; }
}
