body {
    overflow-x: hidden;
}

/* Sección Habitaciones - Diseño Genérico */
.container-habitaciones {
    position: relative;
    background: radial-gradient(circle at 30% 50%, color-mix(in srgb, var(--uesca-primary) 15%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, color-mix(in srgb, var(--uesca-primary-light) 10%, transparent) 0%, transparent 50%),
        linear-gradient(135deg, var(--uesca-light) 0%, var(--uesca-neutral) 100%);
    padding: 6rem 2rem;
    overflow: hidden;
}

.habitaciones-fondo-animado {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.habitaciones-particula {
    position: absolute;
    background: var(--uesca-accent);
    border-radius: 50%;
    opacity: 0.08;
    animation: flotar-habitaciones 25s linear infinite;
}

.habitaciones-particula:nth-child(1) {
    width: 3px;
    height: 3px;
    left: 15%;
    animation-delay: 0s;
}

.habitaciones-particula:nth-child(2) {
    width: 5px;
    height: 5px;
    left: 35%;
    animation-delay: 3s;
}

.habitaciones-particula:nth-child(3) {
    width: 4px;
    height: 4px;
    left: 55%;
    animation-delay: 6s;
}

.habitaciones-particula:nth-child(4) {
    width: 6px;
    height: 6px;
    left: 75%;
    animation-delay: 9s;
}

.habitaciones-particula:nth-child(5) {
    width: 3px;
    height: 3px;
    left: 85%;
    animation-delay: 12s;
}

@keyframes flotar-habitaciones {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10%,
    90% {
        opacity: 0.08;
    }

    50% {
        opacity: 0.15;
    }
}

.habitaciones-forma-decorativa {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--uesca-accent), var(--uesca-secondary));
    border-radius: 50%;
    opacity: 0.06;
    top: 10%;
    right: -200px;
    z-index: 1;
    animation: rotar-habitaciones 30s linear infinite;
}

.habitaciones-forma-decorativa-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    background: linear-gradient(-45deg, var(--uesca-primary), var(--uesca-accent));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.05;
    bottom: 20%;
    left: -125px;
    z-index: 1;
    animation: rotar-habitaciones 20s linear infinite reverse;
}

@keyframes rotar-habitaciones {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.habitaciones-contenido-principal {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.habitaciones-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: aparecer-arriba 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.habitaciones-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: color-mix(in srgb, var(--uesca-primary) 10%, transparent);
    color: var(--uesca-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
}

.habitaciones-titulo {
    font-size: 28.8px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--uesca-dark) 0%, var(--uesca-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.habitaciones-descripcion {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.habitaciones-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 500px));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.habitacion-card {
    background: var(--uesca-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(134, 47, 46, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(134, 47, 46, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    animation: aparecer-escala 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    margin: auto;
}

.habitacion-card:nth-child(1) {
    animation-delay: 0.1s;
}

.habitacion-card:nth-child(2) {
    animation-delay: 0.2s;
}

.habitacion-card:nth-child(3) {
    animation-delay: 0.3s;
}

.habitacion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(134, 47, 46, 0.18);
}

.habitacion-imagen-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.habitacion-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.habitacion-card:hover .habitacion-imagen {
    transform: scale(1.08);
}

.habitacion-imagen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--uesca-primary) 10%, transparent) 0%,
            color-mix(in srgb, var(--uesca-primary-light) 50%, transparent) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.habitacion-card:hover .habitacion-imagen-overlay {
    opacity: 1;
}

.habitacion-precio-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(134, 47, 46, 0.3);
    backdrop-filter: blur(10px);
}


.habitacion-disponible {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--uesca-secondary);
    color: var(--uesca-light);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(10px);
}

.habitacion-contenido {
    padding: 2rem;
}

.habitacion-titulo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--uesca-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.habitacion-descripcion {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.habitacion-amenidades-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.habitacion-amenidad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--uesca-dark);
    font-size: 0.85rem;
    font-weight: 500;
    background: color-mix(in srgb, var(--uesca-primary) 8%, transparent);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--uesca-primary) 15%, transparent);
}

.habitacion-amenidad i {
    color: var(--uesca-primary);
    font-size: 0.9rem;
}

.habitacion-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 2px solid color-mix(in srgb, var(--uesca-primary) 10%, transparent);
}

.habitacion-capacidad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--uesca-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.habitacion-capacidad i {
    color: var(--uesca-primary);
}

.habitacion-botones {
    display: flex;
    gap: 1rem;
}

.habitacion-boton-reserva-rapida {
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.habitacion-boton-ver-mas {
    background: transparent;
    color: var(--uesca-primary);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--uesca-primary);
}

.habitacion-boton-reserva-rapida:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(134, 47, 46, 0.3);
}

.habitacion-boton-ver-mas:hover {
    background: var(--uesca-primary);
    color: var(--uesca-light);
    transform: translateY(-2px);
}

.habitacion-boton-reserva-rapida::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.habitacion-boton-reserva-rapida:hover::before {
    left: 100%;
}

/* Card de Reserva Rápida (Modal) */
.reserva-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.reserva-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--uesca-light);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(134, 47, 46, 0.2);
}

.reserva-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid color-mix(in srgb, var(--uesca-primary) 10%, transparent);
}

.reserva-modal-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--uesca-primary);
}

.reserva-modal-cerrar {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--uesca-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.reserva-modal-cerrar:hover {
    background: color-mix(in srgb, var(--uesca-primary) 10%, transparent);
}

.reserva-fechas-container,
.container-dato-huesped {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* .container-dato-huesped{
    border-bottom: 2px solid color-mix(in srgb, var(--uesca-primary) 15%, transparent);
    padding-bottom: 1.5rem;
} */

.reserva-fecha-grupo {
    position: relative;
}

.reserva-fecha-label,
.reserva-dni-label,
.reserva-nombre-apellido-label {
    display: block;
    font-weight: 600;
    color: var(--uesca-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.reserva-fecha-input,
.reserva-dni-input,
.reserva-nombre-apellido-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
    border-radius: 12px;
    font-size: 0.9rem;
    background: var(--uesca-light);
    color: var(--uesca-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.reserva-fecha-input:focus,
.reserva-dni-input:focus,
.reserva-nombre-apellido-input:focus {
    outline: none;
    border-color: var(--uesca-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--uesca-primary) 10%, transparent);
}

.reserva-huespedes {
    margin-bottom: 1.5rem;
}

.reserva-huespedes-label {
    display: block;
    font-weight: 600;
    color: var(--uesca-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.reserva-huespedes-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--uesca-light);
    border: 2px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
    border-radius: 12px;
    padding: 0.8rem;
}

.reserva-huespedes-btn {
    background: var(--uesca-primary);
    color: var(--uesca-light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reserva-huespedes-btn:hover {
    background: var(--uesca-primary-dark);
    transform: scale(1.1);
}

.reserva-huespedes-cantidad {
    font-size: 1rem;
    font-weight: 600;
    color: var(--uesca-dark);
    min-width: 25px;
    text-align: center;
}

.reserva-precio-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-top: 2px solid color-mix(in srgb, var(--uesca-primary) 15%, transparent);
    margin-bottom: 1.5rem;
    font-size: 16px;
}

.reserva-precio-label {
    color: var(--uesca-dark);
    font-weight: 600;
}

.reserva-precio-valor {
    font-weight: 800;
    color: var(--uesca-primary);
}

.reserva-boton-confirmar {
    width: 100%;
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reserva-boton-confirmar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(134, 47, 46, 0.4);
}

/* Personalización del DatePicker */
.flatpickr-calendar {
    background: var(--uesca-light);
    border-radius: 12px;
    border: 2px solid var(--uesca-primary);
    box-shadow: 0 15px 40px rgba(134, 47, 46, 0.15);
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--uesca-primary);
    color: var(--uesca-light);
    border-radius: 6px;
}

.flatpickr-day.selected {
    background: var(--uesca-primary);
    border-color: var(--uesca-primary);
}

.flatpickr-day.today {
    border-color: var(--uesca-accent);
}

.flatpickr-day:hover {
    background: var(--uesca-primary-light);
    color: var(--uesca-light);
}

/* Animaciones */
@keyframes aparecer-arriba {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aparecer-escala {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container-habitaciones {
        padding: 4rem 1rem;
    }

    .habitaciones-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .habitacion-botones {
        flex-direction: column;
        gap: 0.8rem;
    }

    .reserva-modal-content {
        padding: 1.5rem;
    }

    .reserva-fechas-container,
    .container-dato-huesped {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .habitacion-contenido {
        padding: 1.5rem;
    }

    .habitacion-imagen-container {
        height: 200px;
    }

    .habitacion-amenidades-preview {
        gap: 0.5rem;
    }

    .habitacion-amenidad {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}





























/* ESTILO PARA FECHAS OCUPADAS */
/* Solo las fechas con reserva en rojo */
.flatpickr-day.fecha-reservada {
    background-color: #fee2e2 !important;
    border: 2px solid #dc2626 !important;
    color: #991b1b !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
    font-weight: bold;
}




/* Días disponibles */
.flatpickr-day:not(.flatpickr-disabled):hover {
    background-color: var(--uesca-primary) !important;
}

.flatpickr-day.fecha-reservada:hover {
    background-color: #fca5a5 !important;
    border-color: #b91c1c !important;
}

/* Día seleccionado */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background-color: #22c55e !important;
    border-color: #16a34a !important;
    color: white !important;
}

/* Día de hoy */
.flatpickr-day.today {
    border-color: white !important;
}

/* Fechas pasadas (estilo por defecto de Flatpickr) */
.flatpickr-day.flatpickr-disabled:not(.fecha-reservada) {
    color: #cbd5e1 !important;
    cursor: not-allowed !important;
}























/* Modal Principal */
.detalle-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.detalle-modal-content {
    position: relative;
    background: var(--uesca-light);
    max-width: 1100px;
    width: 95%;
    max-height: 95vh;
    margin: 2.5vh auto;
    border-radius: 24px;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(134, 47, 46, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header del Modal */
.detalle-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detalle-titulo {
    font-size: 1.5rem;
    font-weight: 700;
}

.detalle-cerrar {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--uesca-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detalle-cerrar:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Contenido del Modal */
.detalle-body {
    padding: 2rem;
}

/* Galería de Imágenes */
.detalle-galeria {
    margin-bottom: 2rem;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.galeria-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.galeria-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(134, 47, 46, 0.3);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay i {
    color: var(--uesca-light);
    font-size: 1.5rem;
}

/* Video */
.detalle-video {
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--uesca-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uesca-light);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--uesca-primary-dark);
}

/* Información */
.detalle-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-descripcion {
    background: var(--uesca-neutral);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--uesca-primary);
}

.info-descripcion h3 {
    color: var(--uesca-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-descripcion p {
    color: var(--uesca-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.info-precio {
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(134, 47, 46, 0.3);
}

.precio-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.precio-valor {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.precio-por-noche {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Amenidades */
.detalle-amenidades {
    margin-bottom: 2rem;
}

.detalle-amenidades h3 {
    color: var(--uesca-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.amenidades-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    gap: 1rem;
}

.amenidad-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--uesca-neutral);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.amenidad-card:hover {
    background: color-mix(in srgb, var(--uesca-primary) 10%, var(--uesca-neutral));
    transform: translateX(4px);
}

.amenidad-icon {
    width: 40px;
    height: 40px;
    background: var(--uesca-primary);
    color: var(--uesca-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.amenidad-texto {
    color: var(--uesca-dark);
    font-weight: 600;
}

/* Botón de Reserva */
.detalle-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid color-mix(in srgb, var(--uesca-primary) 10%, transparent);
}

.btn-reservar {
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-reservar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(134, 47, 46, 0.4);
}

/* Modal de Imagen Expandida */
.imagen-expandida-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.imagen-expandida-contenido {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.imagen-expandida-contenido img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.imagen-expandida-cerrar {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--uesca-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.imagen-expandida-cerrar:hover {
    background: var(--uesca-primary);
    transform: rotate(90deg);
}

/* Modal de Video Expandido */
.video-expandido-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.video-expandido-contenido {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-expandido-contenido video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.video-expandido-cerrar {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--uesca-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-expandido-cerrar:hover {
    background: var(--uesca-primary);
    transform: rotate(90deg);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .detalle-modal-content {
        width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .detalle-body {
        padding: 1.5rem;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .detalle-info {
        grid-template-columns: 1fr;
    }

    .amenidades-grid {
        grid-template-columns: 1fr;
    }

    .precio-valor {
        font-size: 2.5rem;
    }
}