﻿/* ============================================================
   FASTYTRAVEL — Responsive Breakpoints
   ============================================================ */

/* ── 1366px ─────────────────────────────────────────────── */
@media (max-width: 1366px) {
  .destinations-grid .dest-card:nth-child(1) { grid-column: span 6; }
  .destinations-grid .dest-card:nth-child(2) { grid-column: span 3; }
  .destinations-grid .dest-card:nth-child(3) { grid-column: span 3; }
  .destinations-grid .dest-card:nth-child(4) { grid-column: span 4; }
  .destinations-grid .dest-card:nth-child(5) { grid-column: span 4; }
  .destinations-grid .dest-card:nth-child(6) { grid-column: span 4; }
  .destinations-grid .dest-card:nth-child(7) { grid-column: span 8; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

/* ── 1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --space-3xl: 5rem; --space-xl: 3rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { display: none; }
  /* Cotizador oculto en tablet/móvil — hero vuelve a 1 columna */
  .hero-quote-card { display: none; }
  .hero-inner { min-height: auto; }
  .hero-content {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 6rem;
  }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .btn-lg { grid-column: span 2; }
  .destinations-grid { grid-template-columns: repeat(6, 1fr); }
  .destinations-grid .dest-card:nth-child(1) { grid-column: span 6; grid-row: span 1; aspect-ratio: 16/7; }
  .destinations-grid .dest-card:nth-child(2) { grid-column: span 3; }
  .destinations-grid .dest-card:nth-child(3) { grid-column: span 3; }
  .destinations-grid .dest-card:nth-child(4) { grid-column: span 2; }
  .destinations-grid .dest-card:nth-child(5) { grid-column: span 2; }
  .destinations-grid .dest-card:nth-child(6) { grid-column: span 2; }
  .destinations-grid .dest-card:nth-child(7) { grid-column: span 6; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-visual { display: none; }
  .hotels-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
  .events-featured { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 180px); }
  .gallery-item:first-child { grid-column: span 2; }
}

/* ── 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --space-3xl: 4rem; --nav-height: 68px; }
  .display-hero { font-size: clamp(2rem, 8vw, 3rem); }
  .search-section { margin-top: -40px; }
  .search-fields { grid-template-columns: 1fr; }
  .search-fields .btn-lg { grid-column: span 1; }
  .destinations-grid { display: flex; flex-direction: column; gap: 1rem; }
  .dest-card { aspect-ratio: 16/9 !important; }
  .hotels-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 160px); }
  .gallery-item:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .experience-float-card { display: none; }
}

/* ── 425px ──────────────────────────────────────────────── */
@media (max-width: 425px) {
  :root { --space-3xl: 3rem; --space-xl: 2rem; }
  .search-box { padding: 1.25rem; border-radius: var(--radius-lg); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 130px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { font-size: 0.72rem; }
  .btn-lg { padding: 1rem 1.75rem; font-size: 0.9rem; }
  .partners-logos { gap: 1.5rem; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

/* ── 375px ──────────────────────────────────────────────── */
@media (max-width: 375px) {
  .search-tabs { flex-wrap: wrap; }
  .hero-title { font-size: 2rem; }
  .section-header .display-xl { font-size: 1.7rem; }
}

/* ── 320px ──────────────────────────────────────────────── */
@media (max-width: 320px) {
  .container { padding: 0 1rem; }
  .search-tab { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
}
