/* ============================================
   RESPONSIVE — mobile-first media queries
   All breakpoint overrides. Always loaded last.
   ============================================ */

/* ── Small (>= 480px) ─────────────────────── */
@media (min-width: 480px) {
  .hero__title {
    font-size: var(--text-2xl);
  }

  .package__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Tablet (>= 768px) ────────────────────── */
@media (min-width: 768px) {
  .container {
    padding-left: var(--container-pad-lg);
    padding-right: var(--container-pad-lg);
  }

  .section        { padding-top: var(--s-16); padding-bottom: var(--s-16); }
  .section--sm    { padding-top: var(--s-10); padding-bottom: var(--s-10); }
  .section--lg    { padding-top: var(--s-20); padding-bottom: var(--s-20); }

  .hero           { min-height: 480px; }
  .hero__content  { min-height: 480px; }
  .hero__title    { font-size: var(--text-3xl); }

  .facts-strip__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .facts-strip__item { border-bottom: none; }

  .cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ── Desktop (>= 1024px) ──────────────────── */
@media (min-width: 1024px) {
  .hero           { min-height: 560px; }
  .hero__content  { min-height: 560px; }
  .hero__title    { font-size: var(--text-4xl); }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s-10);
  }
}

/* ── Wide (>= 1200px) ─────────────────────── */
@media (min-width: 1200px) {
  /* spacing comfort on wide screens */
}

/* ── Mobile polish (≤ 767px) ─────────────── */
.v8 .hero__title {
  font-size: clamp(1.4rem, 5.2vw + 0.4rem, 2.75rem);
  line-height: 1.22;
  text-wrap: balance;
}

@media (max-width: 767px) {
  .v8-hero,
  .v8-hero .hero__content {
    min-height: 440px;
  }

  .v8 .section {
    padding-top: var(--s-10);
    padding-bottom: var(--s-10);
  }

  .v8-gallery { gap: var(--s-2); }
  .v8-gallery-item { flex-basis: 88%; }

  .v8-cta-banner .cta-banner__text {
    font-size: var(--text-sm);
    text-wrap: balance;
    line-height: 1.55;
  }

  .v8-cta-banner .cta-banner__text strong {
    font-size: var(--text-md);
    display: inline-block;
    margin-bottom: var(--s-1);
  }
}

/* ── Compact (≤ 480px) ───────────────────── */
@media (max-width: 480px) {
  .v8 .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .v8-facts .facts-strip__item {
    padding: var(--s-4) var(--s-3);
    gap: var(--s-2);
  }

  .v8-facts .facts-strip__icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .v8 .package__item {
    padding: var(--s-3) var(--s-4);
    gap: var(--s-3);
  }

  .v8 .testimonial__card {
    padding: var(--s-6) var(--s-5);
  }
}

/* ── Tiny (≤ 360px) ─────────────────────── */
@media (max-width: 360px) {
  .v8 .container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .v8-facts .facts-strip__value { font-size: var(--text-base); }
  .v8-facts .facts-strip__label { font-size: 0.65rem; }

  .v8 .btn--lg {
    padding: var(--s-3) var(--s-5);
    font-size: var(--text-base);
  }
}

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