/* ============================================
   DISEÑO RESPONSIVE
   ============================================ */

/* Tablet y móviles grandes */
@media (max-width: 1024px) {
    :root {
        --spacing-4xl: 6rem;
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .intro-content,
    .content-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .intro-image::before {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4/3;
    }
}

/* Móviles */
@media (max-width: 768px) {
    :root {
        --spacing-4xl: 4rem;
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
    }
    
    /* Header móvil */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-primary-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-slow);
    }
    
    .main-navigation.active {
        max-height: 500px;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Hero móvil */
    .hero-section {
        min-height: 80vh;
        padding: calc(var(--spacing-4xl) + 60px) 0 var(--spacing-3xl);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
	
	@media (max-width: 768px) {
    .hero-section {
        min-height: 100svh;
    }
}
    
    /* Secciones */
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .editorial-quote {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    .editorial-quote p {
        font-size: var(--font-size-lg);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    /* Formularios */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Sticky Bar */
    .sticky-booking-bar {
        flex-direction: column;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .sticky-booking-bar p {
        font-size: var(--font-size-sm);
        text-align: center;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    :root {
        --spacing-4xl: 3rem;
        --spacing-3xl: 2rem;
    }
    
    .site-title {
        font-size: var(--font-size-lg);
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-xs);
    }
    
    .btn-large {
        padding: 1rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .editorial-quote::before {
        font-size: 5rem;
    }
    
    .editorial-quote p {
        font-size: var(--font-size-md);
    }
}

/* Landscape móvil */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: calc(var(--spacing-4xl) + 80px) 0 var(--spacing-2xl);
    }
}

/* Preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-on-scroll {
        opacity: 1 !important;
    }
}

/* Modo oscuro (opcional) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-light: #1A1A1A;
        --color-bg-warm: #2A2A2A;
        --color-text: #F5F3F0;
        --color-text-light: #E8E4DF;
        --color-white: #2A2A2A;
    }
    
    .card,
    .contact-form {
        background-color: #2A2A2A;
    }
}