/* =============================================
   CAREMATE — Coral Sunrise Design System
   Coral · Orange · Yellow · Warm & Bright
   ============================================= */

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

:root {
  --coral: #FF6B6B;
  --coral-dark: #E55555;
  --orange: #FF8E53;
  --yellow: #FFD93D;
  --sky: #74C0FC;
  --mint: #63E6BE;
  --white: #FFFFFF;
  --off-white: #FFF8F5;
  --bg-primary: #FFF8F5;
  --bg-secondary: #FFF0EB;
  --bg-card: #FFFFFF;
  --border: rgba(255,107,107,0.12);
  --border-hover: rgba(255,107,107,0.35);
  --text-primary: #1A0A00;
  --text-secondary: #6B4423;
  --text-muted: #A07850;
  --accent: #FF6B6B;
  --accent-2: #FF8E53;
  --green: #63E6BE;
  --red: #ef4444;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(255,107,107,0.10);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute; top: -48px; left: 16px; z-index: 2000;
  background: var(--coral); color: white; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Respect reduced-motion preference — disables decorative animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  background: rgba(255,248,245,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,107,107,0.1);
  transition: var(--transition);
}
.navbar.scrolled { padding: 12px 0; box-shadow: 0 4px 24px rgba(255,107,107,0.1); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 22px; font-weight: 900; color: var(--text-primary);
  text-decoration: none; letter-spacing: -0.5px;
  display: inline-flex; align-items: center;
}
.nav-logo-icon { height: 32px; width: auto; display: block; margin-right: 9px; }
.logo-accent { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 100px; transition: var(--transition);
}
.nav-link:hover { background: rgba(255,107,107,0.1); color: var(--coral); }
.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: white !important; border: none;
  padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: var(--transition); text-decoration: none;
  display: inline-flex; align-items: center; box-shadow: 0 4px 20px rgba(255,107,107,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,107,0.4); }
.menu-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 22px; cursor: pointer; }

/* ===== ANIMATED BLOBS ===== */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4; pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: var(--coral); top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: var(--yellow); bottom: -80px; left: -80px; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; background: var(--sky); top: 40%; left: 30%; animation-delay: -6s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(0.97); }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 120px 80px 80px;
  position: relative; overflow: hidden;
  background: var(--bg-primary);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-content { display: contents; }

.hero-text { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.25);
  color: var(--coral-dark); font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.badge-dot {
  width: 8px; height: 8px; background: var(--coral); border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.hero-title {
  font-size: clamp(48px, 5.5vw, 80px); font-weight: 900; line-height: 1.05;
  letter-spacing: -2.5px; margin-bottom: 24px; color: var(--text-primary);
}
.gradient-text {
  /* No yellow — it disappears against the warm page background */
  background: linear-gradient(135deg, var(--coral-dark), var(--coral), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 18px; color: var(--text-secondary); max-width: 480px;
  margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; align-items: center; margin-bottom: 48px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: white; padding: 16px 32px; border-radius: 100px;
  font-size: 16px; font-weight: 700; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 6px 24px rgba(255,107,107,0.35);
  font-family: var(--font); display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(255,107,107,0.45); }
.btn-arrow { transition: transform 0.2s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-secondary {
  color: var(--coral-dark); font-size: 15px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px;
  background: white; border: 1.5px solid rgba(255,107,107,0.35); border-radius: 100px;
  box-shadow: 0 2px 12px rgba(255,107,107,0.08); transition: var(--transition);
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--coral); background: rgba(255,107,107,0.05);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,0.15);
}

.hero-stats { display: flex; gap: 36px; align-items: center; }
.stat { display: flex; flex-direction: column; }
.stat-value { display: flex; align-items: baseline; gap: 2px; }
.stat-num { font-size: 32px; font-weight: 900; color: var(--text-primary); letter-spacing: -1px; line-height: 1; }
.stat-suffix { font-size: 24px; font-weight: 900; color: var(--coral); }
.stat-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,107,107,0.2); }

/* ===== HERO VISUAL (dashboard card) ===== */
.hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-mock {
  background: white; border-radius: 32px; padding: 32px;
  box-shadow: 0 24px 80px rgba(255,107,107,0.15);
  width: 360px;
  animation: cardFloat 6s ease-in-out infinite;
  border: 1px solid rgba(255,107,107,0.08);
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.mock-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}
.mock-title { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.mock-badge {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: white; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px;
}
.mock-risk-ring {
  display: flex; justify-content: center; margin-bottom: 24px; position: relative;
}
.ring-svg { width: 160px; height: 160px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #FFF0ED; stroke-width: 14; }
.ring-fill {
  /* r=46 → circumference = 2π×46 ≈ 289. Show 68%: offset = 289 × (1 − 0.68) ≈ 92.5 */
  fill: none; stroke: url(#mockRingGrad); stroke-width: 14;
  stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 92.5;
  transition: stroke-dashoffset 1.5s ease;
}
.ring-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.ring-pct { font-size: 36px; font-weight: 900; color: var(--text-primary); line-height: 1; display: block; }
.ring-sub { font-size: 11px; color: var(--text-secondary); font-weight: 600; }
.mock-vax-list { display: flex; flex-direction: column; gap: 10px; }
.mock-vax-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 14px; background: #FFF8F5;
  transition: var(--transition); cursor: default;
}
.mock-vax-item:hover { background: #FFF0ED; transform: translateX(4px); }
.mvax-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mvax-name { font-size: 13px; font-weight: 600; color: var(--text-primary); flex: 1; }
.mvax-chip { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.chip-urgent { background: #FFE4E4; color: #E55555; }
.chip-soon   { background: #FFF3CD; color: #B8860B; }
.chip-ok     { background: #D4EDDA; color: #1B6B2F; }

/* hero-float kept for compat */
.hero-float { display: none; }

/* ===== TRUST BAR ===== */
.trust-section {
  padding: 36px 80px; display: flex; align-items: center; justify-content: center; gap: 48px;
  background: var(--white);
  border-top: 1px solid rgba(255,107,107,0.1);
  border-bottom: 1px solid rgba(255,107,107,0.1);
  flex-wrap: wrap;
}
.trust-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.trust-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-logo {
  background: white; border: 1px solid rgba(255,107,107,0.15);
  padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 700; color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: var(--transition);
  text-decoration: none; cursor: pointer;
}
.trust-logo:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
  padding: 100px 80px; background: white;
  position: relative; overflow: hidden;
}
.how-it-works-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow));
}
.section-header { text-align: center; margin-bottom: 72px; }
.section-badge {
  display: inline-block; background: rgba(255,107,107,0.1); color: var(--coral-dark);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -2px; margin-bottom: 16px; color: var(--text-primary); }
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* Steps row */
.hiw-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.hiw-steps::after {
  content: ''; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow), var(--mint));
  z-index: 0;
}
.hiw-step {
  text-align: center; padding: 0 24px; position: relative; z-index: 1;
  opacity: 0; transform: translateY(30px); transition: all 0.6s ease;
}
.hiw-step.visible { opacity: 1; transform: translateY(0); }
.hiw-step:nth-child(2) { transition-delay: .15s; }
.hiw-step:nth-child(3) { transition-delay: .30s; }
.hiw-step:nth-child(4) { transition-delay: .45s; }

.hiw-step-icon {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative;
  background: white; border: 3px solid var(--coral);
  box-shadow: 0 8px 24px rgba(255,107,107,0.2); transition: var(--transition);
}
.hiw-step:hover .hiw-step-icon { transform: scale(1.1); box-shadow: 0 12px 36px rgba(255,107,107,0.3); }
.hiw-step:nth-child(2) .hiw-step-icon { border-color: var(--orange); }
.hiw-step:nth-child(3) .hiw-step-icon { border-color: var(--yellow); }
.hiw-step:nth-child(4) .hiw-step-icon { border-color: var(--mint); }

.hiw-step-num { font-size: 32px; font-weight: 900; color: var(--coral); line-height: 1; }
.hiw-step:nth-child(2) .hiw-step-num { color: var(--orange); }
.hiw-step:nth-child(3) .hiw-step-num { color: #D97706; }
.hiw-step:nth-child(4) .hiw-step-num { color: var(--mint); }

.hiw-step-title { font-size: 17px; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; }
.hiw-step-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
/* compat aliases */
.hiw-connector  { display: none; }

/* ===== FEATURES SECTION ===== */
.features-section { padding: 80px 80px; background: var(--off-white); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.feature-card {
  border-radius: 18px; background: white; overflow: hidden;
  border: 1px solid rgba(255,107,107,0.12);
  transition: var(--transition); cursor: default;
  opacity: 0; transform: translateY(20px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { border-color: var(--coral); box-shadow: 0 12px 32px rgba(255,107,107,0.12); transform: translateY(-4px); }
.feature-photo {
  display: block; width: 100%; height: 120px; object-fit: cover;
  border-bottom: 1px solid rgba(255,107,107,0.08);
}
.feature-body { padding: 16px 18px 18px; }
.feature-title { font-size: 15px; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.feature-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== ASSESSMENT SECTION ===== */
.assessment-section {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.assessment-container { max-width: 720px; margin: 0 auto; }
.assessment-header { text-align: center; margin-bottom: 48px; }
.form-card {
  background: white; border: 1.5px solid rgba(255,107,107,0.12);
  border-radius: 28px; padding: 48px;
  box-shadow: 0 8px 40px rgba(255,107,107,0.08);
}

/* STEPS BAR */
.steps-bar { display: flex; align-items: center; justify-content: center; margin-bottom: 48px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,107,107,0.06); border: 2px solid rgba(255,107,107,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--text-muted); transition: var(--transition);
}
.step.active .step-circle, .step.done .step-circle { background: var(--coral); border-color: var(--coral); color: white; }
.step span { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.step.active span { color: var(--coral); font-weight: 600; }
.step-line { flex: 1; max-width: 80px; height: 2px; background: rgba(255,107,107,0.15); margin: 0 12px; margin-bottom: 20px; }

/* FORM ELEMENTS */
.form-step { animation: fadeUp 0.4s ease both; }
.step-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--text-primary); }
.step-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.form-group { margin-bottom: 28px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.required { color: var(--red); }

/* AGE SLIDER */
.age-input-group { display: flex; align-items: center; gap: 20px; }
.age-slider {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; outline: none;
  background: linear-gradient(to right, var(--coral) 47%, rgba(255,107,107,0.15) 47%);
}
.age-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: white; cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,107,107,0.3);
  border: 3px solid var(--coral); transition: var(--transition);
}
.age-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.age-display { min-width: 80px; text-align: center; }
.age-display span:first-child { font-size: 32px; font-weight: 900; color: var(--coral); }
.age-unit { display: block; font-size: 12px; color: var(--text-muted); }
.age-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* OPTIONS */
.option-group { display: flex; gap: 12px; flex-wrap: wrap; }
.option-card { cursor: pointer; }
.option-card input { display: none; }
.option-content {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(255,107,107,0.03); border: 1.5px solid rgba(255,107,107,0.12);
  border-radius: 14px; padding: 16px 24px; min-width: 100px;
  font-size: 14px; font-weight: 500; transition: var(--transition); text-align: center; color: var(--text-secondary);
}
.option-card input:checked + .option-content { border-color: var(--coral); background: rgba(255,107,107,0.07); color: var(--coral-dark); }
.option-content:hover { border-color: rgba(255,107,107,0.3); background: rgba(255,107,107,0.05); }
.option-icon { font-size: 22px; }

/* CONDITIONS GRID */
.conditions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.condition-card { cursor: pointer; }
.condition-card input { display: none; }
.condition-content {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,107,107,0.03); border: 1.5px solid rgba(255,107,107,0.12);
  border-radius: 14px; padding: 14px; transition: var(--transition);
}
.condition-content:hover { border-color: rgba(255,107,107,0.3); background: rgba(255,107,107,0.05); }
.condition-card input:checked + .condition-content { border-color: var(--red); background: rgba(239,68,68,0.06); }
.condition-icon { font-size: 22px; }
.condition-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.condition-risk { font-size: 11px; color: var(--text-muted); }
.condition-card.none-card input:checked + .condition-content { border-color: var(--mint); background: rgba(99,230,190,0.07); }

/* REGIONS GRID */
.regions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.region-card { cursor: pointer; }
.region-card input { display: none; }
.region-content {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(255,107,107,0.03); border: 1.5px solid rgba(255,107,107,0.12);
  border-radius: 12px; padding: 14px 10px; font-size: 13px; font-weight: 500;
  text-align: center; transition: var(--transition); color: var(--text-secondary);
}
.region-card input:checked + .region-content { border-color: var(--sky); background: rgba(116,192,252,0.08); color: #0369A1; }
.region-content:hover { border-color: rgba(255,107,107,0.3); }
.region-content span:first-child { font-size: 22px; }

/* BUTTONS */
.btn-next, .btn-back, .btn-submit {
  padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: var(--transition); border: none;
}
.btn-next, .btn-submit {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: white; width: 100%; margin-top: 8px; font-weight: 800;
  box-shadow: 0 6px 20px rgba(255,107,107,0.3); font-family: var(--font);
}
.btn-next:hover, .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,107,0.4); }
.btn-submit { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; padding: 18px; }
.btn-back { background: rgba(255,107,107,0.06); color: var(--text-secondary); border: 1px solid rgba(255,107,107,0.2); }
.btn-back:hover { background: rgba(255,107,107,0.1); color: var(--text-primary); }
.step-nav { display: flex; gap: 12px; margin-top: 12px; }
.step-nav .btn-back { width: auto; min-width: 120px; }
.step-nav .btn-next { flex: 1; margin-top: 0; }

/* ===== LOADING ===== */
.loading-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(255,248,245,0.95); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.loading-content { text-align: center; }
.loading-spinner {
  width: 64px; height: 64px; border: 4px solid rgba(255,107,107,0.15);
  border-top-color: var(--coral); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 16px; }
.loading-dots { display: flex; gap: 8px; justify-content: center; }
.loading-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
  animation: dotBounce 1.2s ease infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce { 0%,80%,100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

/* ===== RESULTS ===== */
.results-section { padding: 80px 24px; background: var(--off-white); border-top: 1px solid var(--border); }
.results-container { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.ai-summary-card {
  background: linear-gradient(135deg, rgba(255,107,107,0.06), rgba(255,142,83,0.04));
  border: 1px solid rgba(255,107,107,0.2); border-radius: var(--radius); padding: 32px;
  animation: fadeUp 0.5s ease both;
}
.ai-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,107,0.1); color: var(--coral-dark);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.ai-dot { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; animation: pulse-dot 2s infinite; }
.ai-summary-text { font-size: 17px; line-height: 1.8; color: var(--text-primary); }

/* RISK CARD */
.risk-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-card); animation: fadeUp 0.5s ease 0.1s both;
  position: relative; overflow: hidden;
}
.risk-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow));
}
.risk-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.risk-header h3 { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.risk-badge { padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 700; }
.risk-visual { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.risk-gauge-container { position: relative; width: 220px; flex-shrink: 0; }
.risk-gauge { width: 220px; overflow: visible; }
.gauge-arc { transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.risk-factors-list { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.risk-factor-item { display: flex; align-items: center; justify-content: space-between; background: rgba(255,107,107,0.04); border: 1px solid rgba(255,107,107,0.1); border-radius: 10px; padding: 10px 14px; }
.risk-factor-label { font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--text-primary); }
.risk-factor-pts { font-size: 13px; font-weight: 700; color: var(--coral-dark); background: rgba(255,107,107,0.1); padding: 2px 10px; border-radius: 20px; }
.risk-advice { margin-top: 20px; padding: 14px 18px; background: rgba(255,107,107,0.06); border-left: 3px solid var(--coral); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--text-secondary); }

/* VACCINES GRID */
.vaccines-section { animation: fadeUp 0.5s ease 0.2s both; }
.vaccines-title { font-size: 22px; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; color: var(--text-primary); }
.vaccines-count { background: var(--coral); color: white; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.vaccines-grid { display: flex; flex-direction: column; gap: 28px; }
.vr-section { display: flex; flex-direction: column; gap: 0; }
.vr-section-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 10px 16px; border-radius: 10px 10px 0 0; border: 1px solid transparent;
}
.vr-section-priority { background: rgba(239,68,68,0.07); color: #dc2626; border-color: rgba(239,68,68,0.2); }
.vr-section-other    { background: rgba(100,116,139,0.06); color: var(--text-muted); border-color: var(--border); }
.vr-section-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.vr-dot-priority { background: #dc2626; box-shadow: 0 0 0 3px rgba(239,68,68,0.2); }
.vr-dot-other    { background: #94a3b8; }
.vr-section-count { margin-left: auto; background: currentColor; color: white; font-size: 9px; font-weight: 800; padding: 1px 7px; border-radius: 20px; opacity: 0.85; }
.vr-rows { border: 1px solid var(--border); border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; }
.vr-row { border-bottom: 1px solid var(--border); background: white; animation: fadeUp 0.35s ease both; }
.vr-row:last-child { border-bottom: none; }
.vr-row-main { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; transition: background 0.15s; }
.vr-row-main:hover { background: rgba(255,107,107,0.03); }
.vr-icon-wrap { width: 40px; height: 40px; border-radius: 10px; background: #FFF8F5; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.vr-row-content { flex: 1; min-width: 0; }
.vr-name-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.vr-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.vr-cond-badge { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 20px; background: rgba(124,58,237,0.09); color: #7c3aed; border: 1px solid rgba(124,58,237,0.2); letter-spacing: 0.3px; flex-shrink: 0; }
.vr-subtitle { font-size: 11px; color: var(--text-muted); line-height: 1.4; }
.vr-row-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.vr-badge { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: 0.3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; border: 1px solid transparent; }
.vr-badge-high    { background: rgba(239,68,68,0.1); color: #dc2626; border-color: rgba(239,68,68,0.2); }
.vr-badge-routine { background: rgba(5,150,105,0.1); color: #059669; border-color: rgba(5,150,105,0.2); }
.vr-badge-rec     { background: rgba(2,132,199,0.1); color: #0284c7; border-color: rgba(2,132,199,0.2); }
.vr-badge-catchup { background: rgba(245,158,11,0.1); color: #d97706; border-color: rgba(245,158,11,0.2); }
.vr-badge-travel  { background: rgba(124,58,237,0.1); color: #7c3aed; border-color: rgba(124,58,237,0.2); }
.vr-expand-btn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: #FFF8F5; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); flex-shrink: 0; transition: transform 0.2s, background 0.15s; }
.vr-expand-btn:hover { background: rgba(255,107,107,0.06); }
.vr-expand-btn.rotated svg { transform: rotate(180deg); }
.vr-expand-btn svg { transition: transform 0.2s; }
.vr-expand-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1); }
.vr-expand-panel.open { max-height: 2000px; }
.vr-expand-inner { padding: 16px 18px 18px; border-top: 1px solid var(--border); background: #FFFAF8; }
.vr-schedule-chip { display: inline-block; padding: 7px 13px; margin-bottom: 14px; background: rgba(2,132,199,0.05); border: 1px solid rgba(2,132,199,0.15); border-radius: 10px; font-size: 12px; color: #0284c7; line-height: 1.5; }
.vr-expand-reasons { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.vr-reason-item { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.vr-detail-btn { margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--coral-dark); background: none; border: 1px solid rgba(255,107,107,0.3); border-radius: 8px; padding: 6px 14px; cursor: pointer; transition: var(--transition); }
.vr-detail-btn:hover { background: rgba(255,107,107,0.06); }

/* legacy vaccine-card */
.vaccine-card { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 0; overflow: hidden; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-card); animation: fadeUp 0.4s ease both; display: flex; flex-direction: column; }
.vaccine-card:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: 0 16px 48px rgba(255,107,107,0.1); }
.vc-header { padding: 20px 20px 14px; border-bottom: 1px solid var(--border); }
.vc-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.vc-name { font-size: 17px; font-weight: 800; color: var(--text-primary); line-height: 1.3; flex: 1; }
.vc-badges { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.vc-badge { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: 0.3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.vc-badge-high     { background: rgba(239,68,68,0.1); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.vc-badge-routine  { background: rgba(5,150,105,0.1); color: #059669; border: 1px solid rgba(5,150,105,0.2); }
.vc-badge-rec      { background: rgba(2,132,199,0.1); color: #0284c7; border: 1px solid rgba(2,132,199,0.2); }
.vc-badge-catchup  { background: rgba(245,158,11,0.1); color: #d97706; border: 1px solid rgba(245,158,11,0.2); }
.vc-badge-travel   { background: rgba(124,58,237,0.1); color: #7c3aed; border: 1px solid rgba(124,58,237,0.2); }
.vc-badge-type     { background: rgba(100,116,139,0.08); color: #64748b; border: 1px solid rgba(100,116,139,0.2); }
.vc-subtitle { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.vc-schedule-block { margin: 14px 20px 0; padding: 10px 13px; background: rgba(2,132,199,0.05); border: 1px solid rgba(2,132,199,0.15); border-radius: 10px; font-size: 12px; color: #0284c7; line-height: 1.6; }
.vc-reasons { padding: 14px 20px 0; display: flex; flex-direction: column; gap: 6px; }
.vc-reason { display: flex; gap: 7px; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.vc-reason::before { content: "•"; color: var(--coral); flex-shrink: 0; margin-top: 1px; }
.vc-interaction { margin: 0 0 12px; border: 1px solid rgba(124,58,237,0.2); border-radius: 12px; overflow: hidden; }
.vc-interaction-label { background: rgba(124,58,237,0.07); padding: 8px 12px; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #7c3aed; border-bottom: 1px solid rgba(124,58,237,0.12); }
.vc-interaction-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; }
.vc-int-col { padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.vc-int-col-right { border-left: 1px solid rgba(124,58,237,0.12); }
.vc-int-col-header { font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(100,116,139,0.7); }
.vc-int-col-text { font-size: 11px; color: var(--text-secondary); line-height: 1.6; }
.vc-int-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 10px; gap: 3px; flex-shrink: 0; border-left: 1px solid rgba(124,58,237,0.12); border-right: 1px solid rgba(124,58,237,0.12); }
.vc-int-arrow-icon { font-size: 14px; color: #7c3aed; }
.vc-int-arrow-label { font-size: 8px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #7c3aed; white-space: nowrap; }
.vc-plain-language { padding: 10px 12px; border-top: 1px solid rgba(124,58,237,0.12); font-size: 11px; color: var(--text-secondary); line-height: 1.6; background: rgba(255,255,255,0.5); }
.vc-plain-language em { color: var(--text-primary); font-style: normal; font-weight: 600; }
.vc-risk-block { margin: 0 0 10px; border: 1px solid rgba(239,68,68,0.2); border-radius: 10px; overflow: hidden; }
.vc-risk-label { background: rgba(239,68,68,0.07); padding: 7px 12px; font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: #dc2626; border-bottom: 1px solid rgba(239,68,68,0.12); }
.vc-risk-text { padding: 10px 12px; font-size: 11px; color: var(--text-secondary); line-height: 1.6; }
.vc-why-block { margin: 0 0 10px; border: 1px solid rgba(5,150,105,0.2); border-radius: 10px; overflow: hidden; }
.vc-why-label { background: rgba(5,150,105,0.07); padding: 7px 12px; font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: #059669; border-bottom: 1px solid rgba(5,150,105,0.12); }
.vc-why-text { padding: 10px 12px; font-size: 11px; color: var(--text-secondary); line-height: 1.6; }
.vc-footer { display: flex; flex-wrap: wrap; gap: 5px; border-top: 1px solid var(--border); padding-top: 10px; }
.source-tag { font-size: 10px; color: var(--text-muted); background: #FFF8F5; border: 1px solid var(--border); padding: 2px 8px; border-radius: 20px; }
.vaccine-priority { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 20px; }
.priority-high        { background: rgba(239,68,68,0.1); color: #dc2626; }
.priority-routine     { background: rgba(5,150,105,0.1); color: #059669; }
.priority-recommended { background: rgba(2,132,199,0.1); color: #0284c7; }
.priority-catch_up    { background: rgba(245,158,11,0.1); color: #d97706; }
.priority-travel      { background: rgba(124,58,237,0.1); color: #7c3aed; }

/* RESULTS CTA */
.results-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; animation: fadeUp 0.5s ease 0.3s both; }
.cta-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.cta-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--coral), var(--orange)); }
.cta-card.secondary { opacity: 0.85; }
.cta-icon { font-size: 36px; }
.cta-text h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.cta-text p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: #1A0A00; color: rgba(255,255,255,0.7);
  padding: 60px 80px 32px;
  border-top: none;
}
.footer-content { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 32px; }
.footer-brand .nav-logo { margin-bottom: 12px; display: inline-flex; color: white; font-size: 22px; font-weight: 900; text-decoration: none; }
.footer-brand .logo-accent { color: var(--coral); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); max-width: 240px; line-height: 1.7; }
.footer-links { display: flex; gap: 64px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.3); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(26,10,0,0.6); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-content {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto;
  padding: 36px; position: relative; animation: scaleIn 0.3s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
@keyframes scaleIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  background: rgba(255,107,107,0.08); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text-secondary); cursor: pointer; font-size: 14px; transition: var(--transition);
}
.modal-close:hover { background: rgba(255,107,107,0.15); color: var(--text-primary); }

/* ===== CHATBOT ===== */
.chatbot-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 1500;
  width: 360px; border-radius: 24px; overflow: hidden;
  background: white; border: 1px solid rgba(255,107,107,0.15);
  box-shadow: 0 16px 48px rgba(255,107,107,0.15);
  transition: var(--transition);
}
.chatbot-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; cursor: pointer;
  background: linear-gradient(135deg, #FFE9E3, #FFF0E6);
  border-bottom: 1px solid rgba(255,107,107,0.15);
}
.chatbot-avatar { width: 40px; height: 40px; background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; object-fit: cover; flex-shrink: 0; }
.chatbot-title { flex: 1; }
.chatbot-title span { display: block; font-size: 15px; font-weight: 700; color: var(--text-primary); }
.chatbot-status { font-size: 11px; color: #16a34a; }
.chatbot-online-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
  background: #22c55e; border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
  animation: pulse-dot 2s ease infinite;
}
.chatbot-body { max-height: 400px; display: flex; flex-direction: column; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; max-height: 300px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,107,107,0.2); border-radius: 2px; }
.chat-message { display: flex; }
.chat-message.bot { justify-content: flex-start; }
.chat-message.user { justify-content: flex-end; }
.chat-bubble { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.6; }
.chat-message.bot .chat-bubble { background: #FFF8F5; border: 1px solid rgba(255,107,107,0.1); border-bottom-left-radius: 4px; color: var(--text-primary); }
.chat-message.user .chat-bubble { background: linear-gradient(135deg, var(--coral), var(--orange)); color: white; font-weight: 600; border-bottom-right-radius: 4px; }
.chat-suggestions { display: flex; flex-direction: column; gap: 6px; }
.chat-suggestion {
  background: rgba(255,107,107,0.06); border: 1px solid rgba(255,107,107,0.15);
  color: var(--coral-dark); font-size: 12px; padding: 8px 12px; border-radius: 10px;
  cursor: pointer; text-align: left; transition: var(--transition);
}
.chat-suggestion:hover { background: rgba(255,107,107,0.12); border-color: rgba(255,107,107,0.3); }
.chat-thinking { display: flex; gap: 4px; padding: 12px; }
.chat-thinking span { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; opacity: 0.5; animation: dotBounce 1.2s infinite; }
.chat-thinking span:nth-child(2) { animation-delay: 0.2s; }
.chat-thinking span:nth-child(3) { animation-delay: 0.4s; }
.chat-input-area { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid rgba(255,107,107,0.1); background: #FFFAF8; }
.chat-input {
  flex: 1; background: #FFF8F5; border: 1px solid rgba(255,107,107,0.15);
  color: var(--text-primary); border-radius: 12px; padding: 10px 14px; font-size: 14px;
  outline: none; transition: var(--transition); font-family: var(--font);
}
.chat-input:focus { border-color: var(--coral); background: white; }
.chat-send-btn {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border: none; border-radius: 12px; color: white; font-size: 16px;
  cursor: pointer; transition: var(--transition); font-weight: 800;
}
.chat-send-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(255,107,107,0.3); }
.chatbot-widget.collapsed .chatbot-body { display: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.6s ease both; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== TELECONSULTATION PAGE ===== */
.telecon-page { background: var(--bg-primary); }
.telecon-hero { position: relative; overflow: hidden; padding: 140px 24px 80px; text-align: center; background: var(--off-white); }
.telecon-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; color: var(--text-primary); }
.telecon-hero-content .hero-title { color: var(--text-primary); }
.telecon-hero-content .hero-subtitle { color: var(--text-secondary); max-width: 100%; }
.telecon-stats { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 40px; }
.tstat { text-align: center; padding: 0 40px; }
.tstat-num { display: block; font-size: 36px; font-weight: 900; background: linear-gradient(135deg, var(--coral), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tstat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.tstat-div { width: 1px; height: 56px; background: rgba(255,107,107,0.2); }
.geo-banner { background: rgba(2,132,199,0.06); border-bottom: 1px solid rgba(2,132,199,0.15); padding: 14px 24px; }
.geo-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.geo-icon { font-size: 18px; }
.geo-content span { flex: 1; font-size: 14px; color: #0284c7; }
.geo-btn { background: rgba(2,132,199,0.1); border: 1px solid rgba(2,132,199,0.3); color: #0284c7; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.geo-btn:hover { background: rgba(2,132,199,0.18); }
.filters-section { padding: 28px 24px; border-bottom: 1px solid var(--border); background: white; }
.filters-container { max-width: 1200px; margin: 0 auto; display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.filter-group label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-group select, .filter-group input[type="text"] { background: #FFF8F5; border: 1px solid var(--border); color: var(--text-primary); padding: 10px 14px; border-radius: 10px; font-size: 14px; outline: none; transition: var(--transition); font-family: var(--font); }
.filter-group select:focus, .filter-group input[type="text"]:focus { border-color: var(--coral); background: white; }
.filter-search { flex: 1; min-width: 240px; }
.filter-search input { width: 100%; }
.filter-toggle { flex-direction: row; align-items: center; gap: 10px; }
.toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-primary); }
.toggle-label input { display: none; }
.toggle-switch { width: 44px; height: 24px; background: #e2e8f0; border: 1px solid var(--border); border-radius: 12px; position: relative; transition: var(--transition); }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #94a3b8; border-radius: 50%; transition: var(--transition); }
.toggle-label input:checked + .toggle-switch { background: var(--coral); border-color: var(--coral); }
.toggle-label input:checked + .toggle-switch::after { left: 23px; background: white; }
.map-banner { padding: 0 24px; max-width: 1200px; margin: 24px auto; }
.map-container { height: 180px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.map-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #FFF8F5, #FFE0D0); position: relative; display: flex; align-items: center; justify-content: center; }
.map-label { font-size: 15px; font-weight: 600; color: var(--text-muted); z-index: 1; }
.map-cities { position: absolute; inset: 0; }
.map-city { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.map-city span { font-size: 11px; color: var(--text-secondary); white-space: nowrap; }
.map-pin { width: 14px; height: 14px; background: #fed7aa; border-radius: 50%; border: 2px solid rgba(255,107,107,0.2); }
.map-pin.active { background: var(--coral); border-color: rgba(255,107,107,0.4); }
.map-pin.pulse { animation: mapPulse 2s ease infinite; }
@keyframes mapPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,107,107,0.5); } 50% { box-shadow: 0 0 0 10px rgba(255,107,107,0); } }
.doctors-section { padding: 32px 24px 80px; max-width: 1200px; margin: 0 auto; }
.doctors-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.doctors-header h2 { font-size: 24px; font-weight: 800; color: var(--text-primary); }
.doctors-count { font-size: 14px; color: var(--text-muted); background: white; border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; }
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.doctor-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: relative; transition: var(--transition); overflow: hidden; box-shadow: var(--shadow-card); }
.doctor-card:hover { transform: translateY(-4px); border-color: rgba(255,107,107,0.3); box-shadow: 0 12px 40px rgba(255,107,107,0.1); }
.doctor-card.unavailable { opacity: 0.7; }
.doctor-status-ribbon { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.doctor-status-ribbon.available { background: rgba(16,185,129,0.12); color: #059669; }
.doctor-status-ribbon.busy { background: rgba(245,158,11,0.12); color: #d97706; }
.doctor-card-top { display: flex; gap: 16px; }
.doctor-photo-wrap { position: relative; width: 72px; height: 72px; flex-shrink: 0; }
.doctor-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.doctor-online-dot { position: absolute; bottom: 2px; right: 2px; width: 14px; height: 14px; background: #94a3b8; border-radius: 50%; border: 2px solid white; }
.doctor-online-dot.online { background: #22c55e; animation: mapPulse 2s infinite; }
.doctor-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.doctor-specialty { font-size: 13px; color: var(--coral); font-weight: 500; margin-bottom: 4px; }
.doctor-hospital, .doctor-city { font-size: 13px; color: var(--text-muted); }
.doctor-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #FFF8F5; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.doctor-meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.meta-val { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.meta-val.rating { color: #d97706; }
.meta-val.fee { color: var(--coral-dark); }
.slots-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.slots-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.slot-btn { background: rgba(255,107,107,0.07); border: 1px solid rgba(255,107,107,0.2); color: var(--coral-dark); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 8px; cursor: pointer; transition: var(--transition); }
.slot-btn:hover, .slot-btn.selected { background: var(--coral); border-color: var(--coral); color: white; }
.no-slots { font-size: 13px; color: var(--text-muted); }
.doctor-actions { display: flex; gap: 10px; }
.btn-consult { flex: 1; background: linear-gradient(135deg, var(--coral), var(--orange)); color: white; border: none; padding: 12px; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.btn-consult:hover:not(.disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,107,0.3); }
.btn-consult.disabled { opacity: 0.5; cursor: not-allowed; background: #e2e8f0; color: #94a3b8; }
.btn-profile { background: #FFF8F5; border: 1px solid var(--border); color: var(--text-secondary); padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-profile:hover { border-color: var(--coral); color: var(--coral); background: #FFF0EB; }
.how-telecon { padding: 80px 24px; max-width: 1200px; margin: 0 auto; text-align: center; }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 48px; flex-wrap: wrap; }
.how-step { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; max-width: 220px; text-align: center; transition: var(--transition); box-shadow: var(--shadow-card); }
.how-step:hover { border-color: rgba(255,107,107,0.3); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(255,107,107,0.1); }
.how-step-num { font-size: 12px; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.how-step-icon { font-size: 36px; margin-bottom: 12px; }
.how-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.how-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.how-arrow { font-size: 24px; color: var(--text-muted); }
.booking-modal { background: white; border: 1px solid var(--border); border-radius: 24px; max-width: 480px; width: 100%; padding: 36px; position: relative; animation: scaleIn 0.3s ease; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.15); }
.booking-header { text-align: center; margin-bottom: 24px; }
.booking-icon { font-size: 48px; margin-bottom: 12px; }
.booking-header h3 { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.booking-doctor-name { text-align: center; color: var(--coral); font-weight: 600; margin-bottom: 20px; }
.booking-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.booking-field { display: flex; flex-direction: column; gap: 6px; }
.booking-field label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.booking-field input, .booking-field textarea { background: #FFF8F5; border: 1px solid var(--border); color: var(--text-primary); padding: 12px 14px; border-radius: 10px; font-size: 14px; outline: none; transition: var(--transition); font-family: var(--font); }
.booking-field input:focus, .booking-field textarea:focus { border-color: var(--coral); background: white; }
.booking-field textarea { height: 80px; resize: vertical; }
.booking-submit { width: 100%; }
.booking-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* text-input used in form */
.text-input { width:100%;padding:12px 16px;border-radius:12px;border:1.5px solid rgba(255,107,107,0.2);background:rgba(255,107,107,0.03);font-size:15px;font-family:var(--font);outline:none;color:var(--text-primary);transition:border-color .2s; }
.text-input:focus { border-color:var(--coral); }
.form-hint { font-size:12px;color:var(--text-muted);margin-top:6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { padding: 120px 48px 80px; gap: 40px; }
  .how-it-works-section { padding: 80px 48px; }
  .features-section { padding: 80px 48px; }
  .footer { padding: 60px 48px 32px; }
  .trust-section { padding: 36px 48px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 100px; gap: 48px; padding-left: 32px; padding-right: 32px; }
  .hero-text { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .results-cta { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .hiw-steps::after { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .stat-num { font-size: 24px; }
  .stat-suffix { font-size: 18px; }
  .stat-divider { display: none; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-badge { font-size: 10px; letter-spacing: 1px; }
  .form-card { padding: 24px; }
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .chatbot-widget { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
  .doctors-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links { display: none; }
  .hiw-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-section { flex-direction: column; gap: 16px; padding: 28px 24px; }
  .hero { padding-left: 24px; padding-right: 24px; }
  .how-it-works-section { padding: 60px 24px; }
  .features-section { padding: 60px 24px; }
  .footer { padding: 48px 24px 28px; }
  .footer-links { flex-direction: column; gap: 28px; }
  .tstat { padding: 0 20px; }
}
