/* =========================================
   CABECERA FOTOGRÁFICA CON EFECTO ZOOM Y RESPALDO
========================================= */
.hero-image-bg {
    /* Color azul de rescate si la imagen demora en cargar o falla */
    background-color: #1a56a0; 
    /* Filtro oscuro y la imagen fotográfica */
    background-image: linear-gradient(rgba(26, 86, 160, 0.85), rgba(17, 58, 110, 0.85)), 
                      url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 85vh; 
    display: flex; 
    align-items: center;
    position: relative; 
    overflow: hidden; 
    
    /* Efecto de Zoom Lento */
    animation: zoomLento 20s infinite alternate linear;
}

@keyframes zoomLento {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}

/* =========================================
   EFECTO DE TARJETA FLOTANTE (REEMPLAZA LA ONDA)
========================================= */
.floating-box {
    margin-top: -80px; /* Hace que la tarjeta suba y se superponga a la foto */
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* =========================================
   EFECTOS DE LAS TARJETAS DE SERVICIOS
========================================= */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.15)!important;
    border-color: #1a56a0 !important;
}

/* =========================================
   BOTÓN FLOTANTE DE WHATSAPP
========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
}
.whatsapp-icon {
    margin-top: 16px;
}

/* =========================================
   COLORES CORPORATIVOS (AZUL DEL LOGO)
========================================= */
.text-primary {
    color: #1a56a0 !important; 
}

.btn-primary {
    background-color: #1a56a0 !important;
    border-color: #1a56a0 !important;
}

.btn-primary:hover {
    background-color: #113a6e !important; 
    border-color: #113a6e !important;
}

.bg-primary {
    background-color: #1a56a0 !important;
}
