/* ========================================
   RESPONSIVE OVERRIDES
   Mobile-first: base styles are mobile
   ======================================== */

/* ---- TABLET (768px+) ---- */
@media (min-width: 768px) {
  .hero {
    padding: 140px var(--space-xl) 100px;
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }

  .section {
    padding: 6rem 0;
  }

  .container {
    padding: 0 var(--space-xl);
  }

  .accreditation-logo img {
    height: 48px;
    max-width: 180px;
  }

  .accreditation-row {
    gap: var(--space-2xl) var(--space-3xl);
  }

  .lead-magnet-preview {
    width: 180px;
    height: 230px;
  }

  .urgency-bar {
    font-size: var(--font-size-base);
  }

  .modal-container {
    padding: var(--space-3xl) var(--space-3xl);
  }
}

/* ---- DESKTOP (1024px+) ---- */
@media (min-width: 1024px) {
  .section {
    padding: var(--space-section) 0;
  }

  .accreditation-logo img {
    height: 52px;
    max-width: 200px;
  }

  .accreditation-row {
    gap: var(--space-3xl) var(--space-4xl, 4rem);
  }

  /* Timeline goes horizontal on desktop */
  .timeline-horizontal {
    display: flex;
    gap: 0;
    padding-left: 0;
  }

  .timeline-horizontal::before {
    display: none;
  }

  .timeline-horizontal .timeline-step {
    flex: 1;
    padding-bottom: 0;
    padding-top: 40px;
    position: relative;
  }

  .timeline-horizontal .timeline-step::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
  }

  .timeline-horizontal .timeline-step:first-child::before {
    left: 50%;
  }

  .timeline-horizontal .timeline-step:last-child::before {
    right: 50%;
  }

  .timeline-horizontal .timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .timeline-horizontal .timeline-step {
    text-align: center;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  /* Section illustrations — show on desktop */
  .section-illustration {
    display: block;
  }
}

/* ---- LARGE DESKTOP (1400px+) ---- */
@media (min-width: 1400px) {
  .container {
    padding: 0 var(--space-2xl);
  }

  .hero-content {
    max-width: 1000px;
  }

  .hero::before {
    width: 1000px;
    height: 700px;
  }

  .section-illustration {
    width: 320px;
  }

  .section-illustration--right {
    right: 4%;
  }

  .section-illustration--left {
    left: 4%;
  }
}

/* ---- SMALL MOBILE FIXES ---- */
@media (max-width: 374px) {
  :root {
    --font-size-hero: 2rem;
    --font-size-4xl: 1.75rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: var(--font-size-sm);
  }

  .hero {
    padding: 100px var(--space-md) 60px;
    min-height: auto;
  }

  .modal-container {
    padding: var(--space-lg);
  }
}

/* ---- Scroll offset for fixed header ---- */
#booking,
#how-it-works,
#why-us,
#eligibility,
#pricing,
#testimonials,
#faq {
  scroll-margin-top: 80px;
}

/* ---- PRINT ---- */
@media print {
  .header,
  .mobile-sticky-cta,
  .footer-socials {
    display: none;
  }

  body {
    background: white;
    color: #303030;
  }

  body::after {
    display: none;
  }

  .hero {
    background: white;
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  .hero::before {
    display: none;
  }

  .hero h1,
  .hero-subtitle,
  h1, h2, h3, h4 {
    color: #303030;
  }

  .section {
    padding: var(--space-xl) 0;
  }
}
