/* --- ESTILOS GENERALES --- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    animation: fadeIn 0.7s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.fade-out {
    opacity: 0;
}

/* --- HEADER UNIFICADO Y DINÁMICO --- */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-sizing: border-box;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* ESTADO INICIAL (Transparente en la página de inicio) */
body.home .main-header { background-color: transparent; }
body.home .main-logo-text, body.home .main-nav a { color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.4); }
body.home .hamburger-menu span { background-color: #fff; }
body.home .main-nav a:hover { color: #fff; background-color: rgba(255, 255, 255, 0.15); }

/* ESTADO AL HACER SCROLL */
body.home .main-header.scrolled { background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
body.home .main-header.scrolled .main-logo-text, body.home .main-header.scrolled .main-nav a { color: #333; text-shadow: none; }
body.home .main-header.scrolled .hamburger-menu span { background-color: #333; }
body.home .main-header.scrolled .main-nav a:hover { color: #000; background-color: rgba(0, 0, 0, 0.05); }

/* ESTADO PARA PÁGINAS INTERNAS */
body:not(.home) .main-header { background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
body:not(.home) .main-logo-text, body:not(.home) .main-nav a { color: #333; }
body:not(.home) .hamburger-menu span { background-color: #333; }
body:not(.home) .main-nav a:hover { color: #000; background-color: rgba(0, 0, 0, 0.05); }

.main-content {
    padding-top: 80px;
    /* width: 100%; <-- Esta regla se elimina para arreglar el layout */
}

/* .main-content > section { ... } <-- Esta regla se elimina para arreglar el layout */

/* --- SECCIÓN HERO --- */
.hero-section { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); z-index: -1; }

@keyframes slideUpFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { position: relative; z-index: 2; color: #fff; text-align: center; transition: opacity 0.4s ease, visibility 0.4s ease; }
.hero-content.is-hidden { opacity: 0; visibility: hidden; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 4.5rem; font-weight: 700; color: #fff; margin: 0 0 20px 0; line-height: 1.2; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); opacity: 0; animation: slideUpFadeIn 0.8s ease-out forwards; animation-delay: 0.5s; }
.hero-subtitle { font-size: 1.1rem; font-weight: 300; text-transform: uppercase; letter-spacing: 3px; margin: 0 0 40px 0; color: rgba(255, 255, 255, 0.9); text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); opacity: 0; animation: slideUpFadeIn 0.8s ease-out forwards; animation-delay: 0.8s; }

/* --- LOGO Y MENÚ --- */
.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.main-logo-image { height: 50px; }
.main-logo-text { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; transition: color 0.4s ease; }
.main-nav a { text-decoration: none; margin-left: 10px; font-weight: 400; font-size: 0.95rem; padding: 10px 14px; border-radius: 50px; transition: all 0.4s ease; }
.hamburger-menu { display: none; }

/* --- BOTÓN DE RESERVA HERO --- */
.hero-button { position: relative; display: inline-block; color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: bold; padding: 10px 0; overflow: hidden; background-color: transparent; border: none; transition: all 0.3s ease; opacity: 0; animation: slideUpFadeIn 0.8s ease-out forwards; animation-delay: 1.1s; }
.hero-button::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #ff8a7a; transform: translateX(-101%); transition: transform 0.4s ease; }
.hero-button span { display: inline-block; margin-left: 10px; opacity: 0; transform: translateX(-10px); transition: all 0.4s ease; }
.hero-button:hover::after { transform: translateX(0); }
.hero-button:hover span { opacity: 1; transform: translateX(0); }

/* --- SECCIÓN DE HABITACIONES --- */
.habitaciones-section { padding: 60px 20px; background-color: #f8f8f8; width: 100%; box-sizing: border-box; }
.habitaciones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.habitacion-card { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; cursor: pointer; opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.habitacion-card.is-visible { opacity: 1; transform: translateY(0); }
.habitacion-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.habitacion-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); z-index: 1; }
.habitacion-card-content { position: relative; z-index: 2; padding: 25px; color: #fff; width: 100%; box-sizing: border-box; }
.habitacion-card-content h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin: 0; }

/* --- SECCIONES DE CONTENIDO --- */
.carousel-section, .about-section, .gallery-page-section, .experiences-section, .feature-section { padding: 80px 20px; text-align: center; }
.section-title, .about-text h2, .gallery-page-section .section-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin: 0 0 20px 0; position: relative; padding-bottom: 15px; display: inline-block; }
#experiencias .section-title::after, .about-text h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background-color: #ff8a7a; transition: width 0.8s ease-out; }
.is-visible #experiencias .section-title::after, .is-visible .about-text h2::after { width: 80px; transition-delay: 0.5s; }
.section-title { margin-bottom: 40px; }
#galeria .section-title a { color: inherit; text-decoration: none; position: relative; overflow: hidden; display: inline-block; padding: 10px 0; }
#galeria .section-title a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background-color: #ff8a7a; transform: translateX(-101%); transition: transform 0.4s ease; }
#galeria .section-title a span { display: inline-block; margin-left: 15px; font-size: 2.5rem; opacity: 0; transform: translateX(-20px); transition: all 0.4s ease; }
#galeria .section-title a:hover::after { transform: translateX(0); }
#galeria .section-title a:hover span { opacity: 1; transform: translateX(0); }
.btn-grad { display: inline-block; padding: 10px 25px; color: #fff; text-decoration: none; font-weight: bold; border-radius: 50px; background: linear-gradient(90deg, #ff8a7a, #e73f86, #6b47a6); background-size: 200% 100%; transition: all 0.4s ease-in-out; }
.btn-grad:hover { background-position: 100% 0; }

/* --- SECCIONES CON ANIMACIÓN DE SCROLL --- */
.carousel-section, .about-section, .experiences-section, .feature-section { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.carousel-section.is-visible, .about-section.is-visible, .experiences-section.is-visible, .feature-section.is-visible { opacity: 1; transform: translateY(0); }

/* --- CARRUSEL INDEX --- */
.carousel-section { background-color: #f8f8f8; width: 100%; box-sizing: border-box;}
.gallery-swiper.swiper { width: 100%; max-width: 1200px; height: 500px; margin: 0 auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.gallery-swiper .swiper-slide { cursor: pointer; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-pagination-bullet-active { background: #ff8a7a !important; }

/* --- SECCIÓN SOBRE NOSOTROS (INDEX) --- */
.about-section { background-color: #fff; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; text-align: left; }
.about-subtitle { font-size: 1.2rem; font-style: italic; color: #888; margin-top: -15px; margin-bottom: 25px; }
.about-text p { line-height: 1.7; color: #666; margin-bottom: 20px; }
.image-accordion { display: flex; width: 100%; height: 450px; gap: 10px; }
.accordion-item { flex: 1; border-radius: 10px; background-size: cover; background-position: center; transition: flex 0.8s ease; position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.image-accordion:hover .accordion-item:hover { flex: 5; }
.accordion-item h3 { font-family: 'Playfair Display', serif; color: white; font-size: 1.5rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.8); margin: 20px; opacity: 0; transform: translateY(20px); transition: all 0.5s ease 0.3s; }
.image-accordion:hover .accordion-item:hover h3 { opacity: 1; transform: translateY(0); }

/* --- SECCIÓN DE EXPERIENCIAS --- */
.experiences-section { background-color: #f8f8f8; }
.experiences-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.experience-card { background-color: #fff; padding: 35px 30px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.07); transition: all 0.4s ease; }
.experience-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.experience-icon { font-size: 2.5rem; color: #ff8a7a; margin-bottom: 20px; }
.experience-card h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin: 0 0 10px 0; }
.experience-price { font-size: 1.2rem; font-weight: bold; color: #333; margin: 0 0 15px 0; }
.experience-card p { font-size: 0.9rem; line-height: 1.6; color: #666; margin-top: 0; }

/* --- SECCIÓN CASA PALMAREK --- */
.feature-section { background-color: #fff; }
.feature-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.feature-image img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.feature-text { text-align: left; }
.feature-text h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin: 0 0 20px 0; }
.feature-text p { line-height: 1.7; color: #666; margin-bottom: 30px; }

/* --- BARRA DE DISPONIBILIDAD --- */
.booking-bar-container { background-color: #f8f8f8; padding: 40px 20px; width: 100%; box-sizing: border-box;}
.booking-bar { display: grid; grid-template-columns: 1.5fr 2fr 1.5fr auto; max-width: 1200px; margin: 0 auto; background-color: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.booking-field { display: flex; align-items: center; padding: 20px; border-right: 1px solid #eee; gap: 15px; color: #555; }
.booking-field i { font-size: 1.2rem; color: #888; }
.booking-field input[type="text"], .booking-field select { border: none; outline: none; font-family: 'Roboto', sans-serif; font-size: 1rem; width: 100%; background-color: transparent; }
.booking-field.dates input { width: 40%; }
.date-arrow { color: #aaa; }
.booking-button { background-color: #e73f86; color: #fff; border: none; font-size: 1.1rem; font-weight: bold; padding: 20px 30px; cursor: pointer; transition: background-color 0.3s ease; }
.booking-button:hover { background-color: #d13276; }

/* --- ESTILOS PARA MENSAJES DE BÚSQUEDA --- */
.search-status {
    display: none; /* Oculto por defecto */
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px 20px;
    margin: -30px auto 30px auto; /* Centrado y con márgenes */
    max-width: 1200px; /* Mismo ancho que el contenido */
}
.search-status.success,
.search-status.error {
    display: block; /* Se muestra si tiene clase */
}
.search-status.success {
    color: #28a745;
}
.search-status.error {
    color: #dc3545;
}


/* --- SELECTOR DE HUÉSPEDES --- */
.booking-field.guests { position: relative; cursor: pointer; }
#guest-display { flex-grow: 1; }
.guest-popup { display: none; position: absolute; top: 100%; left: 0; width: 300px; background-color: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); z-index: 1001; padding: 20px; margin-top: 10px; border: 1px solid #eee; }
.guest-popup.is-active { display: block; }
.guest-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.guest-row label { font-weight: bold; color: #333; }
.guest-row label span { display: block; font-weight: normal; font-size: 0.8rem; color: #888; }
.guest-counter { display: flex; align-items: center; gap: 15px; }
.guest-counter input { border: none; width: 25px; text-align: center; font-weight: bold; font-size: 1.1rem; color: #333; padding: 0; }
.stepper-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #ccc; background-color: #fff; color: #555; font-size: 1.2rem; cursor: pointer; line-height: 28px; transition: all 0.2s ease; }
.stepper-btn:hover { background-color: #f0f0f0; border-color: #999; }
.close-popup-btn { background: none; border: none; color: #e73f86; font-weight: bold; cursor: pointer; display: block; margin: 10px auto 0 auto; padding: 10px; }

/* --- BOTONES EN TARJETA DE HABITACIÓN --- */
.card-buttons { display: flex; gap: 10px; margin-top: 15px; }
.btn-details { display: inline-block; padding: 8px 20px; border: 1px solid rgba(255,255,255,0.7); border-radius: 50px; color: #fff; font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; margin-top: 15px; }
.habitacion-card:hover .btn-details { background-color: #fff; color: #333; }
/* .btn-add-to-cart (eliminado de las tarjetas) */

/* --- CARRITO DE SELECCIÓN --- */
.selection-cart { position: fixed; bottom: -100%; left: 0; width: 100%; background-color: #fff; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); z-index: 1001; display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; box-sizing: border-box; transition: bottom 0.4s ease-in-out; }
.selection-cart.is-active { bottom: 0; }
.cart-summary ul { list-style: none; padding: 0; margin: 0; }
.cart-summary li { margin-bottom: 5px; color: #555; }
.cart-actions { display: flex; align-items: center; gap: 20px; }
.cart-totals { text-align: right; }
.cart-totals .total-capacity { font-weight: bold; color: #333; }
.cart-totals .total-capacity.text-success { color: #28a745; }
.cart-totals .total-capacity.text-danger { color: #dc3545; }
.cart-totals .total-price { font-size: 1.2rem; font-weight: bold; }
#btn-reservar-seleccion:disabled { background: #ccc; cursor: not-allowed; }
.remove-from-cart { background: none; border: none; color: #dc3545; font-weight: bold; cursor: pointer; margin-left: 10px; font-size: 1rem; padding: 0 5px; }
.remove-from-cart:hover { color: #a71d2a; }

/* --- MODAL DE HABITACIÓN --- */
.room-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.room-modal-overlay.is-active { opacity: 1; visibility: visible; }
.room-modal { background-color: #fff; width: 90%; max-width: 900px; max-height: 90vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: grid; grid-template-columns: 1fr 1fr; position: relative; transform: scale(0.9); transition: all 0.4s ease; }
.room-modal-overlay.is-active .room-modal { transform: scale(1); }
.close-modal { position: absolute; top: 15px; right: 20px; background: transparent; border: none; font-size: 2.5rem; color: #aaa; cursor: pointer; line-height: 1; z-index: 10; }
.modal-image { background-size: cover; background-position: center; border-radius: 10px 0 0 10px; }
.modal-info { padding: 40px; overflow-y: auto; }
.modal-info h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin: 0 0 10px 0; }
.modal-price { font-size: 1.5rem; font-weight: bold; color: #ff8a7a; display: block; margin-bottom: 20px; }
.modal-details { display: flex; gap: 20px; margin-bottom: 20px; color: #555; }
.modal-details p { margin: 0; }
.modal-details i { margin-right: 8px; color: #888; }
.modal-info h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.modal-info ul { list-style: none; padding: 0; color: #555; line-height: 1.8; }
.modal-notes { font-style: italic; color: #e74c3c; margin-top: 20px; }
.modal-disclaimer { font-size: 0.8rem; color: #999; margin-top: 30px; }
.modal-add-to-cart { width: 100%; text-align: center; box-sizing: border-box; margin-top: 20px; }
.modal-add-to-cart.is-selected { background: #555; }

/* --- VISIBILIDAD DE RESULTADOS --- */
section#habitaciones { display: none; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
section#habitaciones.visible { display: block; opacity: 1; transform: translateY(0); }

/* --- PIE DE PÁGINA (FOOTER) --- */
.main-footer { background-color: #222; color: #aaa; text-align: left; padding: 60px 20px; width: 100%; box-sizing: border-box; }
.footer-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; max-width: 1200px; margin: 0 auto; align-items: center; }
.footer-contact { justify-self: start; }
.footer-contact h3 { font-family: 'Playfair Display', serif; font-size: 2rem; color: #fff; margin-top: 0; margin-bottom: 25px; }
.social-links { margin-bottom: 30px; }
.social-links a { display: inline-flex; justify-content: center; align-items: center; width: 45px; height: 45px; border: 1px solid #555; border-radius: 50%; color: #fff; text-decoration: none; margin-right: 15px; font-size: 1.1rem; transition: all 0.3s ease; }
.social-links a:hover { background: linear-gradient(90deg, #ff8a7a, #e73f86, #6b47a6); border-color: transparent; transform: translateY(-5px); }
.social-links a.whatsapp-link:hover { background: #25D366; }
.footer-info p { margin: 10px 0; font-size: 0.9rem; line-height: 1.6; }
.footer-map { height: 300px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.footer-map iframe { width: 100%; height: 100%; border: 0; }

/* --- PÁGINA DE HISTORIA --- */
body:not(.home) .story-hero { height: 50vh; background-size: cover; background-position: center; display: flex; justify-content: center; align-items: center; text-align: center; position: relative; width: 100%; box-sizing: border-box;}
body:not(.home) .story-hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4); }
body:not(.home) .story-hero h1 { font-family: 'Playfair Display', serif; font-size: 4rem; color: #fff; z-index: 2; text-shadow: 2px 2px 8px rgba(0,0,0,0.6); }
body:not(.home) .story-section { padding: 60px 20px; box-sizing: border-box; width: 100%;}
body:not(.home) .story-content { max-width: 800px; margin: 0 auto; padding: 0 0 60px 0; text-align: left; }
body:not(.home) .story-content h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-top: 40px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
body:not(.home) .story-content h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background-color: #ff8a7a; }
body:not(.home) .story-content p { line-height: 1.8; color: #555; font-size: 1.1rem; margin-bottom: 20px; }
body:not(.home) .story-list { list-style: none; padding-left: 0; margin: 30px 0; }
body:not(.home) .story-list li { font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 15px; text-align: left; }
body:not(.home) .story-highlight-image-container { display: flex; flex-direction: column; align-items: center; max-width: 1200px; margin: 60px auto; gap: 40px; padding: 20px; box-sizing: border-box; width: 100%;}
body:not(.home) .story-highlight-image { width: 100%; max-width: 600px; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); height: auto; object-fit: cover; }
body:not(.home) .story-highlight-text { text-align: center; max-width: 500px; }
body:not(.home) .story-highlight-text h3 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #333; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
body:not(.home) .story-highlight-text h3::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: #ff8a7a; }
body:not(.home) .story-highlight-text p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 20px; }
body:not(.home) .evana-meaning-small { font-style: italic; font-weight: bold; color: #888; margin-top: 30px; }

/* --- PÁGINA DE GALERÍA --- */
.gallery-page-section { padding: 60px 20px; width: 100%; box-sizing: border-box;}
.gallery-page-section .section-title { text-align: center; margin-bottom: 50px; }
.gallery-grid { column-count: 4; column-gap: 15px; max-width: 1400px; margin: 0 auto; }
.grid-item { display: inline-block; width: 100%; margin-bottom: 15px; break-inside: avoid; overflow: hidden; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: all 0.3s ease; cursor: pointer; }
.grid-item:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.2); transform: scale(1.03); z-index: 10; }
.grid-item img { width: 100%; height: auto; display: block; }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .main-nav { position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; background-color: #222; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: left 0.4s ease-in-out; z-index: 999; }
    .main-nav.is-active { left: 0; }
    .main-nav a { display: block; margin: 20px 0; font-size: 1.5rem; padding: 10px 20px; color: #fff !important; }
    .main-nav a:hover { background-color: transparent; }
    .hamburger-menu { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1000; }
    .hamburger-menu span { width: 100%; height: 3px; border-radius: 5px; transition: all 0.3s ease-in-out; }
    .hamburger-menu.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger-menu.is-active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.is-active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
}

@media (max-width: 992px) {
    .booking-bar { grid-template-columns: 1fr 1fr; }
    .booking-field.promo { grid-column: 1 / -1; }
    .habitaciones-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { column-count: 3; }
    .experiences-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-container { grid-template-columns: 1fr; }
    body.home .about-container { grid-template-columns: 1fr; }
    body.home .image-accordion { flex-direction: column; height: 600px; margin-top: 40px; }
    body.home .accordion-item h3 { opacity: 1; transform: translateY(0); }
    body:not(.home) .story-highlight-image-container { flex-direction: column; }
}

@media (max-width: 768px) {
    .booking-bar { grid-template-columns: 1fr; }
    .booking-field { border-right: none; border-bottom: 1px solid #eee; }
    .booking-bar .booking-field:last-of-type { border-bottom: none; }
    .main-logo-text { font-size: 1.2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 0.9rem; letter-spacing: 2px; padding: 0 10px; }
    .habitaciones-grid { grid-template-columns: 1fr; }
    .gallery-swiper.swiper { height: 300px; }
    .section-title, .about-text h2 { font-size: 2rem; }
    body.home .about-text { padding-right: 0; text-align: center;}
    body.home .about-text h2::after { margin: 0 auto; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .main-footer { text-align: center; }
    .footer-contact { justify-self: auto; }
    .footer-map { margin-top: 40px; }
    .room-modal { display: flex; flex-direction: column; width: 95%; max-height: 90vh; }
    .modal-image { height: 250px; flex-shrink: 0; border-radius: 10px 10px 0 0; }
    .modal-info { padding: 30px; flex: 1; overflow-y: auto; min-height: 0; }
    .experiences-grid { grid-template-columns: 1fr; }
    .feature-text { order: 1; text-align: center; }
    .feature-image { order: 2; }
    .gallery-grid { column-count: 2; }
    body:not(.home) .story-hero h1 { font-size: 2.2rem; }
    body:not(.home) .story-content h2 { font-size: 2rem; }
    body:not(.home) .story-highlight-text h3 { font-size: 2rem; }
}