.cancun-vive-wrap {
    width: 90%;
    max-width: 1300px;
    margin: 15px auto;
    color: #fff;
    font-family: 'Cairo', sans-serif;
}

/* HERO BANNER */
.cv-carrusel {
    display: block !important;
    position: relative;
    width: 100%;
    height: 460px !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    background: #0a0a0c;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Soporte para transiciones de carrusel */
.carrusel-item {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carrusel-item.activa {
    opacity: 1;
    z-index: 2;
}

.carrusel-item.inactiva {
    opacity: 0;
    z-index: 1;
}

@keyframes cv-parpadeo {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.transicion-activa {
    animation: cv-parpadeo 1s ease-in-out forwards;
    z-index: 3;
}

.cv-carrusel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease-out;
}

.cv-carrusel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 80%, transparent 100%);
    z-index: 2;
}

.cv-carrusel-caption h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: #fdd835;
    margin: 0;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cv-carrusel-caption p {
    font-size: 1.1rem;
    color: #eee;
    margin-top: 10px;
}

/* LAYOUT HÍBRIDO */
.cv-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px; /* Estilo sidebar de radio */
    gap: 50px;
    align-items: start;
}

/* COLUMNA NOTICIAS (CARRUSEL) */
.cv-news-section {
    min-width: 0; /* Fix para flex/grid containers */
}

/* Ajustes específicos para el carrusel de noticias en esta página */
.cv-news-section .carousel-container {
    background: rgba(255,255,255,0.02);
    padding: 30px 15px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cv-news-section .news-card {
    flex: 0 0 280px; /* Un poco más anchas para esta sección */
}

/* SIDEBAR (ESTILO RADIO) */
.cv-sidebar {
    background: #111;
    padding: 30px 20px;
    border-radius: 30px;
    border: 1px solid #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cv-cases-division h2 {
    border-bottom: 2px solid #fdd835;
    display: inline-block;
    padding-bottom: 5px;
    letter-spacing: 1px;
}

/* Sobreescritura suave de Radio.css para adaptarlo */
.cv-radio-list .radio-btn-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cv-radio-list .radio-btn-item img {
    background: #000;
    padding: 2px;
    border: 1px solid #333;
}

/* WHATSAPP BANNER */
.cv-whatsapp-banner {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.cv-whatsapp-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.cv-whatsapp-banner i { font-size: 3rem; }
.cv-whatsapp-banner span { font-size: 1.1rem; font-weight: 900; }
.cv-whatsapp-banner p { font-size: 0.85rem; margin: 0; opacity: 0.9; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .cv-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cv-sidebar {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cancun-vive-wrap { width: 95%; }
    .cv-carrusel { height: 340px !important; }
    .cv-news-section .news-card { flex: 0 0 240px; }
}


/* Eliminados estilos de footer redundantes para usar includes/footer.php */
