/* =====================================================================
   RESPONSIVE - TIMELINE TOUR
   Mobile First Adjustments
   ===================================================================== */

/* Tablet (max 992px) */
@media (max-width: 992px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
        overflow-y: auto;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu a {
        font-size: 1.125rem;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .navbar-menu a::after {
        display: none;
    }

    .navbar-toggle {
        display: flex;
        z-index: 1001;
    }

    .navbar-actions .btn:not(.lang-switcher) {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat-number {
        font-size: 1.875rem;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    body { font-size: 15px; }

    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .hero-stat {
        flex: 1;
        min-width: 100px;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand,
    .footer-social {
        justify-content: center;
    }

    .footer-about {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact-item {
        justify-content: center;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .tour-card-meta {
        gap: 0.75rem;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .testimonials-section::before {
        font-size: 12rem;
    }
}

/* Mobile pequeño (max 480px) */
@media (max-width: 480px) {
    .navbar-brand-text {
        font-size: 1.125rem;
    }

    .navbar-brand-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-eyebrow {
        font-size: 0.6875rem;
        padding: 0.4rem 0.75rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   SECCIONES ESPECÍFICAS RESPONSIVE
   ===================================================================== */

/* Página de detalle del tour */
@media (max-width: 992px) {
    .tour-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .tour-booking-card {
        position: static !important;
    }
}

/* Mapa */
@media (max-width: 768px) {
    .map-container {
        height: 500px !important;
    }

    .map-filters {
        flex-wrap: wrap;
    }
}

/* Galería */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* =====================================================================
   RESPONSIVE - PÁGINAS INTERNAS NUEVAS
   ===================================================================== */
@media (max-width: 992px) {
    .tour-detail-grid,
    .article-grid,
    .contact-grid,
    .booking-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .tour-detail-sidebar,
    .article-sidebar .sticky-card,
    .booking-side .sticky-card {
        position: static !important;
    }
    .tour-includes-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .tour-hero { min-height: 380px; padding: 3rem 0 2rem; }
    .tour-hero-meta { gap: 1rem; font-size: 0.88rem; }
    .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
    .article-hero { min-height: 320px; padding: 2.5rem 0; }
    .article-meta { gap: 0.8rem; font-size: 0.85rem; }
    .filters, .map-filters { gap: 0.4rem; }
    .filter-btn { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
    #full-map { height: 460px; }
    .gallery-masonry { grid-auto-rows: 180px; }
    .personal-message-card { padding: 2rem 1.5rem; }
    .personal-message-card p { font-size: 1.15rem; }
    .timeline { padding-left: 1.5rem; }
    .timeline-dot { left: -1.5rem; }
    .traveler-image { height: 180px; }
}

@media (max-width: 480px) {
    .tour-hero-title { font-size: 1.8rem; }
    .tour-hero-meta li { width: 100%; font-size: 0.85rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .gallery-masonry { grid-auto-rows: 140px; }
    .article-content { font-size: 1rem; }
    .article-content h2 { font-size: 1.4rem; }
    .map-legend { gap: 0.7rem; font-size: 0.82rem; }
    .pag-btn { width: 38px; height: 38px; font-size: 0.9rem; }
    .tour-hero, .article-hero { background-attachment: scroll; }
}
