/* ==========================================================================
   HOSPEDAJE - VOLCANIC PARK
   Estilos optimizados para alto rendimiento (60/120 FPS scroll suave)
   Tipografías: 'Rumikon' para títulos/botones, 'Barlow' para contenido y datos
   Fondo limpio transparente/blanco original de Volcanic Park
   ========================================================================== */

:root {
    --hp-blue-primary: #023675;
    --hp-blue-light: #0e58ad;
    --hp-blue-dark: #011d3d;
    --hp-text-dark: #1e293b;
    --hp-text-muted: #64748b;
    --hp-border-light: #e2e8f0;
}

/* --- BANNER PRINCIPAL (MISMAS MEDIDAS Y PROPORCIONES QUE INDEX.PHP) --- */
.hospedaje-banner {
    width: 100%;
    aspect-ratio: 768 / 450;
    height: auto;
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: #000000;
}

@media (min-width: 768px) {
    .hospedaje-banner {
        aspect-ratio: 1024 / 500;
    }
}

@media (min-width: 1024px) {
    .hospedaje-banner {
        aspect-ratio: 1920 / 700;
    }
}

.hospedaje-banner picture {
    width: 100%;
    height: 100%;
    display: block;
}

.hospedaje-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* --- NAVEGADOR RÁPIDO / SELECTOR DE EXPERIENCIAS (ALTO RENDIMIENTO) --- */
.hp-nav-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(2, 54, 117, 0.08);
    position: sticky;
    top: 90px;
    z-index: 90;
    border-bottom: 1px solid rgba(2, 54, 117, 0.1);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hp-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hp-nav-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.hp-nav-pill:hover {
    transform: translateY(-2px);
    border-color: #0e58ad;
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(2, 54, 117, 0.1);
}

.hp-nav-pill .hp-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(2, 54, 117, 0.08);
    color: #023675;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hp-nav-pill:hover .hp-nav-icon {
    background: #023675;
    color: #ffffff;
    transform: scale(1.06);
}

.hp-nav-pill .hp-nav-text {
    display: flex;
    flex-direction: column;
}

.hp-nav-pill .hp-nav-name {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #023675;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.hp-nav-pill .hp-nav-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

/* --- SECCIÓN BASE DE HOSPEDAJE (CONTENT VISIBILITY PARA SCROLL ULTRA FLUIDO) --- */
.hp-experience-section {
    width: 100%;
    padding: 85px 0;
    position: relative;
    scroll-margin-top: 140px;
    background: transparent;
    border-bottom: 1px solid rgba(2, 54, 117, 0.08);
    content-visibility: auto;
    contain-intrinsic-size: 550px;
}

.hp-experience-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.hp-experience-section.reverse .hp-experience-container {
    flex-direction: row-reverse;
}

/* Columna de contenido */
.hp-content-col {
    flex: 1.05;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Columna de galería / fotos */
.hp-gallery-col {
    flex: 0.95;
    position: relative;
    width: 100%;
}

/* Títulos principales con tipografía Rumikon y degradado azul oficial */
.hp-main-title {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 60px;
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
    background: linear-gradient(180deg, #0e58ad 0%, #023675 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Descripción principal del guion */
.hp-main-description {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.65;
    color: #1e293b;
    margin: 0;
}

/* Lista de ventajas / características exactas del guion */
.hp-feature-list {
    list-style: none;
    padding: 0;
    margin: 6px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-feature-item {
    font-family: 'Barlow', sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: #1e293b;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.hp-feature-item i {
    font-size: 19px;
    margin-top: 4px;
    color: #0e58ad;
    flex-shrink: 0;
}

/* Botones de acción */
.hp-action-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    background: linear-gradient(180deg, #0e58ad 0%, #023675 100%);
    color: #ffffff;
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 54, 117, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 54, 117, 0.4);
    background: linear-gradient(180deg, #023675 0%, #011d3d 100%);
    color: #ffffff;
}

.hp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 50px;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #023675;
    background: #ffffff;
    border: 2px solid #023675;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hp-btn-secondary:hover {
    background: #023675;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   GALERÍA INTERACTIVA DE FOTOS PARA CADA SECCIÓN
   ========================================================================== */

.hp-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

/* Visor principal de la foto activa */
.hp-main-viewer {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(2, 54, 117, 0.12);
    cursor: pointer;
    transform: translateZ(0);
}

.hp-main-viewer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

/* Flechas de navegación prev/next */
.hp-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #023675;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 5;
    opacity: 0.9;
}

.hp-gallery-arrow:hover {
    opacity: 1;
    background: #023675;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.hp-gallery-arrow.prev {
    left: 14px;
}

.hp-gallery-arrow.next {
    right: 14px;
}

/* Badges sobre la foto principal */
.hp-viewer-top-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 4;
}

.hp-photo-counter {
    background: rgba(2, 54, 117, 0.9);
    color: #ffffff;
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.hp-zoom-hint {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Tira de miniaturas */
.hp-thumbnails-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.hp-thumbnails-strip::-webkit-scrollbar {
    height: 5px;
}

.hp-thumbnails-strip::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.hp-thumb-item {
    flex: 0 0 74px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #e2e8f0;
}

.hp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.hp-thumb-item:hover img {
    opacity: 1;
}

.hp-thumb-item.active {
    border-color: #0e58ad;
    box-shadow: 0 0 0 2px rgba(14, 88, 173, 0.3);
}

.hp-thumb-item.active img {
    opacity: 1;
}

/* ==========================================================================
   TARJETA NOTA EXPERIENCIAS NOCTURNAS AL FINAL
   ========================================================================== */

.hp-night-note-section {
    width: 100%;
    padding: 40px 0 20px 0;
    background: transparent;
    content-visibility: auto;
    contain-intrinsic-size: 150px;
}

.hp-night-note-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.hp-night-note-card {
    background: linear-gradient(135deg, #023675 0%, #0e58ad 100%);
    border-radius: 20px;
    padding: 28px 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(2, 54, 117, 0.16);
    border-left: 6px solid #ffd166;
}

.hp-night-note-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffd166;
    flex-shrink: 0;
}

.hp-night-note-p {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
}

.hp-night-note-p strong {
    color: #ffd166;
}

/* ==========================================================================
   MODAL LIGHTBOX FULLSCREEN
   ========================================================================== */

.hp-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hp-lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.hp-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hp-lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hp-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.2s ease;
}

.hp-lightbox-close:hover {
    transform: scale(1.2);
    color: #ef4444;
}

.hp-lightbox-title {
    font-family: 'Rumikon', Arial, sans-serif;
    color: #ffffff;
    font-size: 18px;
    margin-top: 14px;
    text-align: center;
}

/* --- SECCIÓN DE ACTIVIDADES Y ASISTENCIA --- */
.hp-actividades-wrapper {
    background: #ffffff;
    padding: 60px 0 0 0;
    text-align: center;
    content-visibility: auto;
    contain-intrinsic-size: 400px;
}

.hp-actividades-header {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.hp-actividades-title {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 60px;
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    background: linear-gradient(180deg, #0e58ad 0%, #023675 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
}

.hp-actividades-sub {
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #023675;
    margin: 0;
}

.hp-banner-actividades {
    width: 100%;
    margin-bottom: 0;
}

.hp-banner-actividades img {
    width: 100%;
    height: auto;
    display: block;
}

/* Banner WhatsApp interactivo / soporte */
.hp-support-banner {
    background: linear-gradient(135deg, #023675 0%, #0e58ad 100%);
    padding: 45px 20px;
    color: #ffffff;
    text-align: center;
    content-visibility: auto;
    contain-intrinsic-size: 200px;
}

.hp-support-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hp-support-container h3 {
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 32px;
    margin: 0;
    letter-spacing: 0.5px;
}

.hp-support-container p {
    font-family: 'Barlow', sans-serif;
    font-size: 19px;
    font-weight: 500;
    margin: 0;
    opacity: 0.95;
}

.hp-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    background: #25d366;
    color: #ffffff;
    font-family: 'Rumikon', Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVIDAD Y ADAPTACIÓN MULTIDISPOSITIVO
   ========================================================================== */

@media (max-width: 1200px) {
    .hp-experience-container {
        gap: 40px;
        padding: 0 30px;
    }
    
    .hp-main-title {
        font-size: 50px;
    }

    .hp-main-description {
        font-size: 20px;
    }

    .hp-feature-item {
        font-size: 18px;
    }

    .hp-main-viewer {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .hp-nav-wrapper {
        top: 70px;
    }

    .hp-nav-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hp-experience-section {
        padding: 60px 0;
    }

    .hp-experience-container,
    .hp-experience-section.reverse .hp-experience-container {
        flex-direction: column;
        gap: 40px;
    }

    .hp-content-col,
    .hp-gallery-col {
        width: 100%;
        flex: auto;
    }

    .hp-main-viewer {
        height: 380px;
    }

    .hp-main-title {
        font-size: 44px;
    }

    .hp-night-note-card {
        padding: 24px 28px;
        gap: 18px;
    }

    .hp-night-note-p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hp-nav-wrapper {
        position: relative;
        top: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hp-nav-container {
        display: flex;
        flex-wrap: nowrap;
        padding: 12px 16px;
        gap: 10px;
        min-width: max-content;
    }

    .hp-nav-pill {
        min-width: 200px;
        padding: 8px 12px;
    }

    .hp-experience-section {
        padding: 45px 0;
    }

    .hp-experience-container {
        padding: 0 20px;
        gap: 30px;
    }

    .hp-main-viewer {
        height: 280px;
    }

    .hp-main-title {
        font-size: 38px;
    }

    .hp-main-description {
        font-size: 18px;
    }

    .hp-feature-item {
        font-size: 17px;
    }

    .hp-action-group {
        flex-direction: column;
        width: 100%;
    }

    .hp-btn-primary,
    .hp-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hp-night-note-container {
        padding: 0 20px;
    }

    .hp-night-note-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hp-actividades-title {
        font-size: 40px;
    }

    .hp-actividades-sub {
        font-size: 20px;
    }
}
