/* ====================================
   HABITACIONES LISTADO (GRID DE 3)
   ==================================== */
.habitaciones-wrapper {
    background: #f8f8f8 !important;
    min-height: 100vh !important;
    padding-bottom: 80px !important;
    margin-bottom: 0 !important;
}

/* Título grande */
.habitaciones-listado h2 {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--verde-yanay);
}

/* GRID 3 COLUMNAS */
.habitaciones-grid {
    max-width: 1300px;
    margin: 0 auto 0 !important; /* CAMBIO CRÍTICO: 80px → 0 */
    padding: 20px;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}

/* ====================================
   TARJETA — AJUSTE PERFECTO DE ALTURA
   ==================================== */
.habitacion-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.habitacion-card:hover {
    transform: translateY(-6px);
}

/* Imagen */
.habitacion-imagen {
    position: relative;
}

.habitacion-imagen img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Etiqueta */
.habitacion-etiqueta {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--verde-yanay);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
}

/* ====================================
   INFO — USA FLEX PARA ALINEAR TODO
   ==================================== */
.habitacion-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.habitacion-info h3 {
    text-align: center;
    color: var(--verde-yanay);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.habitacion-capacidad {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--verde-yanay);
}

.habitacion-capacidad i {
    color: #999;
}

/* Descripción — se expande según contenido */
.habitacion-descripcion {
    color: #444;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* ====================================
   BOTÓN — SIEMPRE VERDE (NUNCA AMARILLO)
   ==================================== */
.yanay-btn-vermas {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--verde-yanay) !important;
    color: #fff !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    margin-top: auto;
    width: 100%;
}

.yanay-btn-vermas:hover {
    background: var(--dorado-yanay) !important;
    color: #fff !important;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 992px) {
    .habitaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .habitaciones-grid {
        grid-template-columns: 1fr;
    }
}

/* Enlace completo sin subrayado */
.enlace-habitacion {
    text-decoration: none;
    color: inherit;
}

/* Mantener hover elegante */
.enlace-habitacion:hover .habitacion-card,
.habitacion-card:hover {
    transform: translateY(-6px);
}

/* ELIMINAR ESPACIO BAJO EL SLIDER */
.page-template-pagina-habitaciones .slider,
.habitaciones-wrapper .slider {
    margin-bottom: 20px !important;
    height: 35vh !important;
    min-height: 35vh !important;
}

/* Ajustar título del slider */
.page-template-pagina-habitaciones .slider h1,
.habitaciones-wrapper .slider h1 {
    top: 55% !important;
    font-size: 36px !important;
}

/* ====================================
   FIX FINAL: BODY Y FOOTER
   ==================================== */
body {
    background: #f8f8f8 !important;
}

main.habitaciones-wrapper {
    background: #f8f8f8 !important;
    margin-bottom: 0 !important;
}

.habitaciones-listado {
    background: #f8f8f8 !important;
    margin-bottom: 0 !important;
}

footer,
#contacto,
.site-footer {
    margin-top: 0 !important;
}