/* =====================================================
   LEGALSTHAL — SMART BUSINESS RECOMMENDATION ENGINE
   Premium Corporate Advisory CSS
   ===================================================== */

/* ═══ FONTS ═══ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/RecklessCondensedS-TRIAL-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/midnight-sans-rd-12-medium-trial.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/midnight-sans-rd-12-semibold-trial.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  
  src: url('../assets/fonts/RobotoMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  
  src: url('../assets/fonts/RobotoMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary:        #255E8E;
  --primary-dark:   #1d4d77;
  --primary-mid:    #3a7ab5;
  --primary-light:  #EBF3FA;
  --primary-xlight: #F0F7FF;
  --accent:         #F28C28;
  --accent-dark:    #d97916;
  --accent-light:   #FEF3E2;
  --success:        #16A34A;
  --success-light:  #DCFCE7;
  --danger:         #DC2626;
  --danger-light:   #FEE2E2;
  --info:           #0EA5E9;
  --info-light:     #E0F2FE;
  --purple:         #7C3AED;
  --purple-light:   #EDE9FE;

  --bg-page:        #F1F5F9;
  --bg-card:        #FFFFFF;
  --bg-section:     #F8FAFC;
  --bg-input:       #FAFBFD;

  --text-main:      #0F172A;
  --text-body:      #1E293B;
  --text-muted:     #64748B;
  --text-light:     #94A3B8;
  --text-xlight:    #CBD5E1;
  --border:         #E2E8F0;

  --shadow-xs:      0 1px 2px rgba(15,23,42,0.05);
  --shadow-sm:      0 1px 4px rgba(15,23,42,0.07), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:      0 4px 16px rgba(15,23,42,0.09), 0 2px 4px rgba(15,23,42,0.05);
  --shadow-lg:      0 8px 32px rgba(15,23,42,0.11), 0 4px 8px rgba(15,23,42,0.06);
  --shadow-xl:      0 20px 60px rgba(15,23,42,0.16);

  --r-sm: 6px;  --r-md: 10px;  --r-lg: 14px;  --r-xl: 18px;  --r-2xl: 24px;
  --font-heading: 'Inter', "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  --font-body:    'Inter', "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  --font-mono:    'Inter', "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --t: all 0.22s var(--ease);
}

.score-value, .progress-pct, .form-input, .minput, .svc-timeline {
  font-family: var(--font-mono) !important;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ═══ HEADER ═══ */
.header-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-bottom: 3px solid var(--accent);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.hdr-brand { display: flex; align-items: center; gap: 12px; }
.hdr-logo {
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  padding: 4px; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.brand-logo-img { width: 100%; height: 100%; object-fit: contain; }
.hdr-text { display: flex; flex-direction: column; }
.hdr-name { font-family: var(--font-heading); font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.3px; line-height: 1.2; }
.hdr-tag { font-size: 11px; color: rgba(255,255,255,.68); font-weight: 400; letter-spacing: .2px; }
.hdr-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.14); color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.20); white-space: nowrap;
}
.pill.accent { background: var(--accent); border-color: var(--accent-dark); color: #fff; }

/* ═══ PAGE CONTAINER ═══ */
.page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* ═══ LANDING HERO ═══ */
.landing-hero {
  background: var(--bg-card);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
  animation: heroIn 0.5s var(--ease) both;
  position: relative;
  overflow: hidden;
}
.landing-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 30px;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.hero-badge i { font-size: 14px; }

.hero-title {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero-title span { color: var(--primary); }

.hero-sub {
  font-size: 16px; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-features {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.hero-feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text-body);
}
.hero-feat i { color: var(--success); font-size: 14px; }

.btn-start {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: var(--r-lg);
  font-family: var(--font-heading); font-size: 17px; font-weight: 700;
  cursor: pointer; transition: var(--t);
  box-shadow: 0 6px 24px rgba(37,94,142,0.35);
  position: relative; overflow: hidden;
}
.btn-start::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left 0.55s ease;
}
.btn-start:hover::after { left: 150%; }
.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,94,142,0.45);
}
.btn-start:active { transform: translateY(0); }

.hero-meta {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 24px; flex-wrap: wrap;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-light); font-weight: 500;
}
.hero-meta-item i { font-size: 12px; color: var(--accent); }

/* ═══ WIZARD CONTAINER ═══ */
.wizard-container {
  display: none;
  animation: wizIn 0.4s var(--ease) both;
}
.wizard-container.active { display: block; }
@keyframes wizIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ PROGRESS BAR ═══ */
.progress-section {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.progress-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.progress-step {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700; color: var(--primary);
}
.progress-pct {
  font-size: 13px; font-weight: 700; color: var(--text-muted);
}
.progress-track {
  width: 100%; height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 0.6s var(--ease-spring);
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 20px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35));
  border-radius: 0 4px 4px 0;
}

/* ═══ QUESTION CARD ═══ */
.question-card {
  background: var(--bg-card);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 36px 32px 28px;
  position: relative;
  overflow: hidden;
}
.question-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.q-number {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.q-number i { font-size: 14px; }

.q-title {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -.3px;
  line-height: 1.3;
}
.q-hint {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 24px; line-height: 1.5;
}

/* ═══ OPTION CARDS ═══ */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.options-grid.narrow {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.options-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.option-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
  user-select: none;
  min-height: 72px;
}
.option-card:hover {
  border-color: var(--primary-mid);
  background: var(--primary-xlight);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,94,142,0.12);
}
.option-card.selected .opt-radio,
.option-card.selected .opt-check {
  border-color: var(--primary);
  background: var(--primary);
}
.option-card.selected .opt-radio::after { opacity: 1; }
.option-card.selected .opt-check::after { opacity: 1; }

.opt-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  transition: var(--t);
}
.option-card.selected .opt-icon {
  background: var(--primary);
  color: #fff;
}

.opt-radio, .opt-check {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 2px solid var(--border);
  background: #fff;
  transition: var(--t);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
}
.opt-radio { border-radius: 50%; }
.opt-check { border-radius: 5px; }

.opt-radio::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.opt-check::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.opt-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  padding-right: 6px;
}
.opt-label {
  font-size: 14.5px; font-weight: 600;
  color: var(--text-body);
  line-height: 1.35;
}
.opt-desc {
  font-size: 12px; color: var(--text-muted);
  margin-top: 2px; line-height: 1.4;
}

/* ═══ WIZARD NAVIGATION ═══ */
.wizard-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.btn-prev, .btn-next {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  border: none;
}
.btn-prev {
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.btn-prev:hover { border-color: var(--primary-mid); color: var(--primary); background: var(--primary-light); }

.btn-next {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,94,142,0.3);
}
.btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,94,142,0.4);
}
.btn-next:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none;
  box-shadow: none;
}

.nav-help {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-light); font-weight: 500;
}
.nav-help a {
  color: var(--primary); text-decoration: none; font-weight: 600;
}
.nav-help a:hover { text-decoration: underline; }

/* ═══ STEP ANIMATION ═══ */
.step-panel {
  display: none;
}
.step-panel.active {
  display: block;
  animation: stepIn 0.35s var(--ease) both;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.step-panel.exit-left {
  animation: stepOutL 0.25s var(--ease) both;
}
@keyframes stepOutL {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-24px); }
}

/* ═══ ANALYZING SCREEN ═══ */
.analyzing-screen {
  display: none;
  background: var(--bg-card);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 60px 40px;
  text-align: center;
}
.analyzing-screen.active { display: block; animation: heroIn 0.4s var(--ease) both; }

.analyze-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 32px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,94,142,0.4); }
  50%      { box-shadow: 0 0 0 20px rgba(37,94,142,0); }
}

.analyze-title {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 800;
  color: var(--text-main); margin-bottom: 28px;
}

.analyze-steps {
  max-width: 380px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.analyze-step {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--bg-section);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.analyze-step.done {
  background: var(--success-light);
  border-color: var(--success);
}
.analyze-step-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  background: var(--border); color: var(--text-light);
  transition: all 0.4s ease;
}
.analyze-step.done .analyze-step-icon {
  background: var(--success); color: #fff;
}
.analyze-step-text {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: color 0.4s ease;
}
.analyze-step.done .analyze-step-text {
  color: var(--success);
}

.analyze-bar {
  margin-top: 28px;
  width: 100%; height: 6px;
  background: var(--border);
  border-radius: 3px; overflow: hidden;
}
.analyze-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* ═══ RESULTS PAGE ═══ */
.results-page {
  display: none;
}
.results-page.active {
  display: block;
  animation: heroIn 0.5s var(--ease) both;
}

/* Score Card */
.score-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--r-2xl);
  padding: 36px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.score-card::before {
  content: '';
  position: absolute; top: -60%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.score-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.score-ring-wrap {
  position: relative;
  width: 160px; height: 160px;
  margin: 0 auto 20px;
}
.score-ring {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.score-ring-bg {
  fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 10;
}
.score-ring-fill {
  fill: none; stroke: var(--accent); stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1.5s var(--ease);
}
.score-value {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 42px; font-weight: 900;
  color: #fff;
  line-height: 1;
}
.score-value span { font-size: 22px; font-weight: 700; }

.score-label {
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
}
.score-sublabel {
  font-size: 13px; color: rgba(255,255,255,0.55);
}

/* ═══ RESULT SECTIONS ═══ */
.result-section {
  margin-bottom: 24px;
}
.result-section-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.rsh-icon {
  width: 36px; height: 36px;
  background: var(--primary-light); color: var(--primary);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.rsh-text {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 800;
  color: var(--text-main);
  letter-spacing: -.2px;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  transition: var(--t);
  display: flex; flex-direction: column;
  animation: cardIn 0.4s var(--ease) both;
}
.service-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.svc-top {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 14px;
}
.svc-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.svc-icon.blue { background: var(--primary); color: #fff; }
.svc-icon.orange { background: var(--accent); color: #fff; }
.svc-icon.green { background: var(--success); color: #fff; }
.svc-icon.purple { background: var(--purple); color: #fff; }
.svc-icon.info { background: var(--info); color: #fff; }

.svc-name {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 700;
  color: var(--text-main);
  line-height: 1.3; margin-bottom: 4px;
}
.svc-desc {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.5;
}

.svc-benefits {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px; flex: 1;
}
.svc-benefit {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-body); font-weight: 500;
}
.svc-benefit i {
  color: var(--success); font-size: 11px;
  margin-top: 4px; flex-shrink: 0;
}

.svc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.svc-timeline {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-muted);
}
.svc-timeline i { color: var(--accent); font-size: 13px; }

.btn-learn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--primary-light); color: var(--primary);
  border: none; border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700;
  cursor: pointer; transition: var(--t);
}
.btn-learn:hover {
  background: var(--primary); color: #fff;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Missing compliance */
.missing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.missing-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--danger-light);
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: var(--r-md);
}
.missing-dot {
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%; flex-shrink: 0;
}
.missing-text {
  font-size: 13.5px; font-weight: 600;
  color: var(--text-body);
}

/* ═══ CONSULTATION SECTION ═══ */
.consult-section {
  background: var(--bg-card);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 36px 32px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}
.consult-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.consult-head {
  text-align: center; margin-bottom: 28px;
}
.consult-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
  box-shadow: 0 6px 20px rgba(242,140,40,0.3);
}
.consult-title {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 800;
  color: var(--text-main); margin-bottom: 8px;
}
.consult-sub {
  font-size: 14.5px; color: var(--text-muted);
  max-width: 480px; margin: 0 auto;
  line-height: 1.6;
}

.consult-form {
  max-width: 540px; margin: 0 auto;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
}
.form-label .req { color: var(--danger); }
.form-input, .form-select {
  width: 100%; height: 46px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 400;
  color: var(--text-main);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-input);
  outline: none; transition: var(--t);
  appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,94,142,0.11);
  background: #fff;
}
.form-input.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }
.form-err {
  display: block; font-size: 12px;
  color: var(--danger); margin-top: 4px;
  min-height: 14px; font-weight: 500;
}

.btn-submit {
  width: 100%; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border: none;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: var(--t);
  box-shadow: 0 4px 16px rgba(242,140,40,0.35);
  margin-top: 8px;
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(242,140,40,0.48);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ═══ SUCCESS STATE ═══ */
.success-state {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.success-state.active { display: block; }
.success-icon {
  font-size: 56px; color: var(--success);
  margin-bottom: 16px;
  animation: bounceIn 0.5s var(--ease-spring) both;
}
@keyframes bounceIn {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
.success-title {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 800;
  color: var(--text-main); margin-bottom: 8px;
}
.success-msg {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 20px;
}

/* ═══ FLOATING HELP ═══ */
.float-help {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 100;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--t);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--primary); }
.float-btn .tooltip {
  position: absolute; right: 62px;
  background: var(--text-main); color: #fff;
  padding: 6px 12px; border-radius: var(--r-sm);
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.float-btn:hover .tooltip { opacity: 1; }

/* ═══ RESTART BUTTON ═══ */
.btn-restart {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  color: var(--text-muted);
  cursor: pointer; transition: var(--t);
  margin-top: 28px;
}
.btn-restart:hover {
  border-color: var(--primary-mid);
  color: var(--primary);
  background: var(--primary-light);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .header-strip { padding: 14px 16px; gap: 10px; }
  .hdr-pills { display: none; }
  .page-wrap { padding: 20px 14px 40px; }
  .landing-hero { padding: 32px 22px; }
  .hero-title { font-size: 24px; }
  .hero-sub { font-size: 14.5px; }
  .hero-features { gap: 14px; }
  .hero-feat { font-size: 12.5px; }
  .btn-start { padding: 14px 28px; font-size: 15px; }
  .question-card { padding: 28px 20px 22px; }
  .q-title { font-size: 19px; }
  .options-grid { grid-template-columns: 1fr; }
  .options-grid.wide { grid-template-columns: 1fr; }
  .options-grid.narrow { grid-template-columns: 1fr; }
  .wizard-nav { flex-wrap: wrap; gap: 10px; }
  .btn-prev, .btn-next { flex: 1; justify-content: center; min-width: 120px; }
  .nav-help { width: 100%; justify-content: center; order: 3; }
  .services-grid { grid-template-columns: 1fr; }
  .missing-grid { grid-template-columns: 1fr; }
  .score-card { padding: 28px 20px; }
  .score-ring-wrap { width: 130px; height: 130px; }
  .score-value { font-size: 34px; }
  .consult-section { padding: 28px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .analyzing-screen { padding: 40px 20px; }
  .float-help { bottom: 16px; right: 16px; }
  .float-btn { width: 46px; height: 46px; font-size: 18px; }
  .result-section-head { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .header-strip { padding: 12px 12px; }
  .hdr-name { font-size: 16px; }
  .page-wrap { padding: 16px 10px 40px; }
  .landing-hero { padding: 24px 16px; }
  .hero-title { font-size: 21px; }
  .btn-start { width: 100%; justify-content: center; font-size: 14.5px; padding: 14px 20px; }
  .hero-meta { flex-direction: column; align-items: center; gap: 8px; }
  .question-card { padding: 22px 16px 18px; }
  .q-title { font-size: 17px; }
  .option-card { padding: 14px 14px; }
  .opt-icon { width: 36px; height: 36px; font-size: 15px; }
  .opt-label { font-size: 13.5px; }
  .progress-section { padding: 16px 16px; }
  .score-value { font-size: 28px; }
}


