/* =============================================================
   AQUALUME VOYAGES — RESPONSIVE STYLESHEET
   Mobile-First · Breakpoints: 480 / 768 / 1024 / 1200
   ============================================================= */

/* ─── LARGE DESKTOP (1200px+) ────────────────────────────────── */
@media (min-width: 1200px) {
  :root {
    --section-spacing: 120px;
    --container-pad: 40px;
  }
}

/* ─── TABLET & BELOW (max 1024px) ────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 80px;
    --container-pad: 28px;
  }

  /* Header */
  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtext {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-glass-frame {
    max-width: 540px;
    margin: 0 auto;
  }

  .hero-main-img {
    height: 420px;
  }

  /* Destinations */
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Experience Tabs */
  .exp-panel.active {
    display: flex;
    flex-direction: column;
  }

  .exp-panel-visual {
    height: 320px;
  }

  .exp-panel-content {
    padding: 40px 36px;
  }

  /* Story */
  .story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Eco Pillars */
  .eco-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mission */
  .mission-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Values */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Commitment */
  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Certs */
  .cert-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Legal */
  .legal-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-toc {
    position: static;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  /* CTA */
  .cta-section {
    margin: 0 20px;
    border-radius: var(--radius-lg);
  }
}

/* ─── MOBILE (max 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
    --container-pad: 20px;
  }

  /* Destinations */
  .destinations-grid {
    grid-template-columns: 1fr;
  }

  /* Experience Tabs */
  .experience-tabs {
    flex-wrap: wrap;
    gap: 0;
  }

  .exp-tab {
    flex: 0 0 50%;
    text-align: center;
    font-size: 0.8rem;
    padding: 14px 12px;
  }

  .exp-panel-content h3 {
    font-size: 1.4rem;
  }

  .exp-panel-content {
    padding: 32px 24px;
  }

  /* Eco Pillars */
  .eco-pillars {
    grid-template-columns: 1fr;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Commitment */
  .commitment-grid {
    grid-template-columns: 1fr;
  }

  /* Certs */
  .cert-cards {
    grid-template-columns: 1fr;
  }

  /* Story Mosaic */
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-large img,
  .mosaic-wide img {
    height: 220px;
  }

  /* Testimonial */
  .testimonial {
    padding: 36px 28px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* CTA */
  .cta-section {
    margin: 0 16px;
  }

  .cta-inner {
    padding: 72px 24px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  /* Pledge */
  .eco-pledge {
    flex-direction: column;
    padding: 36px 28px;
    gap: 20px;
  }

  /* Mission card stats */
  .mission-card-stats {
    grid-template-columns: 1fr;
  }

  .m-stat {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
  }

  .m-stat:last-child {
    border-bottom: none;
  }

  /* Page Hero */
  .page-hero {
    min-height: 60vh;
    padding-top: 100px;
  }

  /* Hero float cards */
  .hero-float-card {
    display: none;
  }

  /* Hero scroll hint */
  .hero-scroll-hint {
    display: none;
  }
}

/* ─── SMALL MOBILE (max 480px) ───────────────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .hero-main-img {
    height: 300px;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .exp-tab {
    flex: 0 0 100%;
  }

  .legal-toc ol {
    column-count: 1;
  }

  .cert-badges {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up,
  .fade-in-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bubble {
    display: none;
  }
}