/* ── Tablet (≤ 1024px) ───────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__sub {
    max-width: 100%;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__stats-bar {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .newsletter__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .flight-deal-row {
    grid-template-columns: 160px 1fr auto;
  }

  .flight-deal__action {
    grid-column: 3;
    grid-row: 1;
  }

  .flight-deal__pricing {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
  }
}

/* ── Mobile (≤ 768px) ────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

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

  /* Nav */
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 12, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    z-index: 99;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    font-size: 1.2rem;
    font-weight: 500;
  }

  .nav__toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: var(--nav-height);
  }

  .hero__inner {
    padding: var(--space-12) var(--space-4) var(--space-16);
  }

  .hero__stats-bar {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .stat-divider {
    display: none;
  }

  /* Sections */
  .section--cards,
  .section--flights,
  .section--hotels,
  .section--newsletter {
    padding: var(--space-16) 0;
  }

  /* Cards */
  .offers-grid {
    grid-template-columns: 1fr;
  }

  /* Flights */
  .flight-deal-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .flight-deal__route {
    grid-column: 1 / -1;
  }

  .flight-deal__details {
    grid-column: 1;
  }

  .flight-deal__pricing {
    grid-column: 2;
    align-items: flex-end;
    text-align: right;
  }

  .flight-deal__action {
    grid-column: 1 / -1;
  }

  .flight-deal__action .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hotels */
  .hotels-grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter */
  .newsletter__social-proof {
    flex-wrap: wrap;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__disclaimer {
    text-align: center;
  }
}

/* ── Small Mobile (≤ 480px) ─────────────────────────────────────────────── */

@media (max-width: 480px) {
  .hero__headline {
    font-size: 2.6rem;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .filter-pills {
    gap: var(--space-1);
  }

  .filter-pill {
    font-size: 0.75rem;
    padding: var(--space-1) var(--space-3);
  }
}
