/* --- VARIABLES LOCALES --- */
:root {
    --card-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --border-soft: #e5e7eb;
}

.lodging-page {
    background-color: #fcfcfc;
}

/* --- HEADER --- */
.lodging-header {
    background-color: var(--color-text);
    color: white;
    padding: 30px 0px 80px 0px;
    text-align: center;
}

.top-label {
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.lodging-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.lodging-header p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- CARDS (SPLIT DESIGN) --- */
.section-spacing {
    margin-top: -3rem; /* Eleva un poco las tarjetas sobre el header */
}

.lodging-card {
    display: flex;
    flex-direction: column; /* Móvil por defecto */
    background: white;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.card-image {
    flex: 1;
    min-height: 300px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    background: #fff1f2;
    color: var(--color-brand);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.badge.secondary {
    background: #f0fdf4;
    color: #166534;
}

.card-body h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.card-body p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* --- AMENITIES --- */
.amenities-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.amenities-list li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- FOOTER CARD --- */
.card-footer {
    border-top: 1px solid var(--border-soft);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-box strong { display: block; font-size: 0.8rem; color: #999; }
.location-box span { font-size: 0.9rem; }

.btn-maps {
    color: var(--color-brand);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-maps:hover { text-decoration: underline; }

/* --- BENEFITS STRIP --- */
.benefits-strip {
    display: flex;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 2rem;
    gap: 1rem;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.benefit-icon { font-size: 2rem; }
.benefit-text h4 { margin: 0; font-size: 1.1rem; }
.benefit-text p { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); }

/* --- MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 992px) {
    .lodging-card {
        flex-direction: row;
        min-height: 500px;
    }

    .lodging-card.reverse {
        flex-direction: row-reverse;
    }

    .card-content {
        padding: 4rem;
    }

    .card-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .amenities-list { grid-template-columns: 1fr; }
    .card-content { padding: 1.5rem; }
}


.lodging-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 4rem 0;
    padding: 0 1rem;
}

.divider-line {
    flex: 1;
    height: 2px;
    background-color: var(--color-brand);
    opacity: 0.3; /* Para que no sea demasiado pesado visualmente */
}

.divider-text {
    color: var(--color-brand);
    font-family: var(--font-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    white-space: nowrap; /* Evita que el texto se parta en celulares */
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .lodging-divider {
        margin: 2rem 0;
    }
    
    .divider-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* --- BENTO GRID GALLERY --- */
.gallery-section-bento {
    margin: 5rem 0 4rem;
}

.bento-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bento-header h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.divider-line-bento {
    width: 60px;
    height: 4px;
    background-color: var(--color-brand);
    margin: 0 auto;
    border-radius: 2px;
}

/* El contenedor del Mosaico */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas de base */
    grid-auto-rows: 220px; /* Altura base de cada cuadro */
    gap: 16px;
}

/* Estilo individual de las fotos */
.bento-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.bento-item img,
.bento-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none; /* Quita el borde por defecto del mapa */
}

.bento-item img {
    transition: transform 0.6s ease;
}

.bento-item:hover img {
    transform: scale(1.08); /* Zoom suave al pasar el ratón */
}

/* --- TAMAÑOS DEL ROMPECABEZAS --- */
.item-1 { grid-column: span 2; grid-row: span 2; } /* Foto principal (Cuadrada grande) */
.item-2 { grid-column: span 1; grid-row: span 1; } /* Pequeña */
.item-3 { grid-column: span 1; grid-row: span 2; } /* Vertical alta */
.item-4 { grid-column: span 1; grid-row: span 1; } /* Pequeña */
.item-5 { grid-column: span 2; grid-row: span 1; } /* Horizontal ancha */
.item-6 { grid-column: span 1; grid-row: span 1; } /* Pequeña */
.item-7 { grid-column: span 1; grid-row: span 1; } /* Pequeña */
.item-8 { grid-column: span 2; grid-row: span 1; } /* Horizontal ancha */

/* --- RESPONSIVO --- */

/* Tablets */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .item-1, .item-3, .item-5, .item-8 { grid-column: span 2; }
    .item-2, .item-4, .item-6, .item-7 { grid-column: span 1; }
    .item-3 { grid-row: span 1; } /* Evita que quede muy estirada en tablet */
}

/* Celulares */
@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    /* En celular, todas pasan a ocupar 1 fila y 1 columna, apiladas hacia abajo */
    .bento-item { 
        grid-column: span 1 !important; 
        grid-row: span 1 !important; 
    }
}
