:root {
    /* Colores inferidos de un perfil corporativo logístico */
    --inecex-blue: #4A0B1E; 
    --inecex-light-blue: #641029;
    --inecex-gold: #c5a059; /* Acento para "Certeza" o destacados */
    --text-gray: #555;
}

.text-primary{color: var(--inecex-blue) !important;}

.btn-primary {
    background-color: var(--inecex-blue);
    border-color: var(--inecex-blue);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--inecex-light-blue);
    border-color: var(--inecex-light-blue);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-gray);
    scroll-padding-top: 80px; /* Offset para navbar fijo */
}

p{
    font-size: 20px;
}

.list-group .list-group-item{font-size: 20px;}

#home {
    background-image: url('../images/bg-home.jpg');
    background-size: cover;
    background-position: top;
}

#home .navbar {
    background-color: rgba(217, 217, 217, 0.5);
    border-radius: 8px;
    padding-top: 15px;
    padding-bottom: 15px;
}

#home .navbar .nav-link {
    color: #3C3C3C;
    font-weight: 400;
    transition: color 0.3s;
}

.page{background-color: white;}

.titulos{
    font-weight: medium;font-size: 48px; color: var(--inecex-blue);
}

.big-text{
    font-size:60px; font-weight: bold; color: var(--inecex-blue);
}

.hero-content{ padding-top: 80px;}
.acerca-content{background-color: var(--inecex-blue); border-top-right-radius: 20px;}

.swiper-acerca .swiper-wrapper .swiper-slide{
    border:1px solid white;
    padding: 80px 20px;
    border-radius: 10px;
    color: white;   
}

.swiper-acerca .swiper-wrapper .swiper-slide h3{
    font-weight: 500; font-size: 16px; margin-top: 30px;
}

.swiper-acerca .swiper-wrapper .swiper-slide p{font-size: 14px; margin-top: 20px;}

/* Color y tamaño de los bullets */
.swiper-pagination-bullet {
    background-color: #4A0B1E;
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* Bullet activo */
.swiper-pagination-bullet-active {
    background-color: #4A0B1E;
    opacity: 1;
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
    transform: scale(1.2);
}
.swiper-acerca .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-acerca .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5 !important;
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
}

.swiper-acerca .swiper-pagination-bullet-active {
    opacity: 1 !important;
}


#servicios{background-color: #f5f5f5; padding-top: 80px; padding-bottom: 80px;}

.servicio{color: white; background-size: cover; background-position: center; padding: 80px 40px; border-radius: 10px; height: 100%; position: relative;}

.servicio a {text-decoration: none;color: white;position: absolute;bottom: 20px;left: 20px;}
.servicio a h3{font-size: 16px; font-weight: normal;}

.servicio1{background-image: url('../images/servicios/servicio1.jpg');}
.servicio2{background-image: url('../images/servicios/servicio2.jpg');}
.servicio3{background-image: url('../images/servicios/servicio3.jpg');}
.servicio4{background-image: url('../images/servicios/servicio4.jpg');}
.servicio5{background-image: url('../images/servicios/servicio5.jpg');}

.cobertura-content{background-color: var(--inecex-blue); border-top-left-radius: 20px; padding: 80px 40px;}

#certificaciones{padding-top: 80px; padding-bottom: 80px; }
#contacto{padding-top: 80px; padding-bottom: 80px; background-color: var(--inecex-blue);}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: whatsapp-vibrate 3s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

@keyframes whatsapp-vibrate {
    0% { transform: translateX(0); }
    5% { transform: translateX(-3px); }
    10% { transform: translateX(3px); }
    15% { transform: translateX(-3px); }
    20% { transform: translateX(3px); }
    25% { transform: translateX(0); }
    100% { transform: translateX(0); }
}



.btn-mensaje{color: var(--inecex-blue);}
footer .border-top{border-top: 1px solid var(--inecex-blue) !important;}
footer {color: var(--inecex-blue);}
footer a{color: var(--inecex-blue);}
@media screen and (min-width: 1024px) {
    #acerca{margin-top: -120px;}
    #cobertura{margin-top: -120px;}

    #home{padding-bottom: 180px;}
}

/* =========================
   AJUSTES MOBILE
========================= */
@media screen and (max-width: 768px) {

    /* Texto general */
    p,
    .list-group .list-group-item {
        font-size: 16px;
    }

    /* Títulos */
    .big-text {
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
    }

    .titulos {
        font-size: 30px;
        text-align: center;
    }

    /* Hero */
    .hero-content {
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
    }

    /* Swiper acerca */
    .swiper-acerca .swiper-wrapper .swiper-slide {
        padding: 40px 20px;
    }

    .swiper-acerca .swiper-wrapper .swiper-slide h3 {
        font-size: 15px;
    }

    .swiper-acerca .swiper-wrapper .swiper-slide p {
        font-size: 14px;
    }

    /* Servicios */
    #servicios {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .servicio {
        padding: 50px 20px;
        min-height: 200px;
    }

    .servicio a h3 {
        font-size: 15px;
    }

    /* Secciones azules */
    .acerca-content,
    .cobertura-content {
        padding: 40px 20px;
        border-radius: 0;
    }

    /* Contacto */
    #contacto {
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
    }

    /* WhatsApp flotante */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

