/* --- BOTÓN WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

/* --- MEJORAS DE RESPONSIVE --- */

/* --- CORRECCIÓN DEFINITIVA TELEFIBRA --- */

/* --- SOLUCIÓN DEFINITIVA Y URGENTE TELEFIBRA --- */
/* --- MEJORAS DE RESPONSIVE (Igualando a Telecable) --- */

/* Ajuste general para el banner principal */
#top .left-content {
    padding: 80px 20px !important;
    text-align: center;
}

#top h4 {
    font-size: 28px !important;
    line-height: 1.2;
}

/* Ajuste específico para móviles y tablets (menos de 992px) */
/* --- MEJORAS DE RESPONSIVE (Versión Corregida 2) --- */

@media (max-width: 991px) {
    /* 1. Aumentamos drásticamente el espacio superior a 240px para bajar el texto */
    #top .left-content {
        padding-top: 240px !important; /* ANTES: 140px -> AHORA: 240px */
        padding-bottom: 60px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    /* 2. Aseguramos que el título principal (H4) sea visible y blanco */
    #top h4 {
        font-size: 30px !important; 
        margin-bottom: 15px !important;
        color: #ffffff !important; /* Forzamos blanco por si acaso */
        display: block !important;
        line-height: 1.2 !important;
        position: relative !important;
        z-index: 20 !important; /* Para asegurar que quede por encima de cualquier fondo */
    }
    
    #top h6 {
        font-size: 16px !important;
        margin-bottom: 25px !important;
        color: #ffffff !important;
        opacity: 0.9;
    }

    /* 3. Colocamos el carrusel de imágenes debajo */
    #top .col-lg-8 {
        margin-top: 0 !important;
        padding: 0 !important;
    }
    
    /* 4. Ajuste del contenedor padre */
    div#top {
        height: auto !important;
        min-height: auto !important;
        background-position: center top !important; /* Asegura que el fondo azul empiece arriba */
    }
}


/* Evitar que las tarjetas de tarifas se amontonen */
.menu-item-carousel .item .card {
    margin-bottom: 30px;
}



/* =========================================
   ESTILOS POP-UP PROMO AZUL
   ========================================= */

/* Definimos el color azul principal #2564C1 */
.text-blue-pop {
    color: #3d8eaa !important; /* Azul solicitado */
}

/* Contenedor principal con borde azul */
.custom-modal-content-blue {
    border-radius: 15px;
    border: 3px solid #3d8eaa; /* Borde grueso azul */
    overflow: hidden;
    /* Sombra con tono azulado calculado desde #2564C1 */
    
}

/* Tamaño extra para el precio */
.price-big {
    font-size: 1.6em;
    font-weight: 800;
}

/* Fondo suave para la zona de la imagen (Azul muy claro) */
.bg-promo-img-blue {
    background-color: #e8f0fe; /* Azul muy clarito de fondo */
}

/* Imagen del compañero */
.promo-person-img {
    max-height: 400px;
    object-fit: cover;
}

/* Botón de Acción (CTA) Azul */
.btn-blue-cta {
    background-color: #3d8eaa;
    border: none;
    color: white;
    font-weight: 700;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    transition: all 0.3s ease;
}

.btn-blue-cta:hover {
    background-color: #3d8eaa; /* Azul más oscuro al pasar el ratón */
    color: white;
    transform: translateY(-3px); /* Efecto de elevación */
    
}

/* Botón de cerrar 'X' arriba a la izquierda */
.close-btn-left-blue {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1050;
    
    border: 2px solid white;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
    padding-bottom: 4px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.close-btn-left-blue:hover {
    background: #3d8eaa; /* Azul oscuro al hover */
    transform: rotate(90deg); /* Pequeño efecto de giro al pasar el ratón */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .promo-person-img {
        max-height: 250px;
        margin-top: 20px;
    }
}