/*GENERAL*/
:root {
    /*BACKGROUND*/
    --electric: #275dadff;
    --electric-hover: #15386c;
    --gray: #2f3036;

    /*COLOR TEXT*/
    --snow: #fcf7f8ff;
    --plata: #aba9c3ff;
    --plata-hover: #767587;

    --whatsapp-green: #25d366;

    /*CATEGORIAS*/
    --tramites: #2786ad;
    --tramites-hover: #1d627e;
    --mantenimiento: #27adad;
    --mantenimiento-hover: #208585;  
    --desarrolloweb: #5a27ad;
    --desarrolloweb-hover: #422079;
    --diseno: #27ad5a;
    --diseno-hover: #1c763e;
    --instalaciones: #ad5a27;
    --instalaciones-hover: #6b3819;
    --erp: #b8b82a;
    --erp-hover: #989824;

    /*FONDOS*/
    --gris-tenue: #f8f9fa;
}

body {
    overflow-x: visible !important;
}

html {
    scroll-behavior: smooth;
}

/*MODAL LOGIN*/
body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}

/*TITULOS*/

/* --- ANIMACIÓN GLOBAL PARA TÍTULOS --- */
.revelar-arriba {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Línea decorativa global */
.linea-dinamica {
    width: 0 !important;
    height: 3px;
    background-color: var(--electric);
    margin: 0 auto;
    margin-bottom: 30px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

/* Estado cuando el elemento entra en pantalla */
.titulo-ready .revelar-arriba {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.titulo-ready .linea-dinamica {
    width: 80px !important; /* Ajusta el largo según prefieras */
}

/* --- NAVBAR DINÁMICO --- */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar-scrolled {
    padding: 10px 0 !important;
    background-color: rgba(26, 26, 26, 0.98) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}




/*BOTONES*/
.btn-primary-electric {
    background-color: var(--electric);
    color: var(--snow);
}

.btn-primary-electric:hover {
    background-color: var(--electric-hover);
    color: var(--snow);
}

.btn-primary-electric-outline-white {
    border: 2px solid var(--electric);
    color: var(--snow);
}

.btn-primary-electric-outline-white:hover {
    border: 2px solid var(--snow);
    color: var(--snow);
}

.btn-primary-electric-outline {
    border: 1.5px solid var(--electric);
    color: var(--electric);
}

.btn-primary-electric-outline:hover {
    border: 2px solid var(--electric-hover);
    background-color: var(--electric-hover);
    color: var(--snow);
}

.btn-primary-electric-outline.active {
    border: 2px solid var(--electric-hover);
    background-color: var(--electric-hover);
    color: var(--snow);
}

.btn-carrusel {
    display: inline-block;
    /* Importante para centrado flex */
    background: var(--electric);
    color: var(--snow);
    /* Texto blanco puro */
    border: 1px solid var(--electric);
    /* Borde sutil */
    padding: 12px 35px;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    /* Tipografía limpia */
    text-transform: uppercase;
    font-size: 14px;
    /* Un poco más grande para el carrusel */
    font-weight: 600;
    letter-spacing: 2.5px;
    /* Espaciado moderno */
    text-decoration: none;
    /* Quitamos subrayado */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 2px;
    /* Esquinas casi rectas, industrial */
    margin-top: 20px;
    /* Separación del texto superior */
    margin-right: 25px;
}

.btn-carrusel:hover {
    color: var(--plata);
    /* Texto negro al rellenarse */
    background-color: transparent;
    /* El cian eléctrico de INTEGRA */
    border-color: var(--electric-hover);

    /* Resplandor eléctrico Premium (múltiples sombras para suavizar) */
    box-shadow: 0 0 15px rgba(0, 64, 255, 0.42),
        0 0 30px rgba(3, 54, 59, 0.4);

    transform: translateY(-2px) scale(1.02);
    /* Pequeña elevación y escala */
}

/* Efecto al hacer clic */
.btn-carrusel:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.text-primary-electric {
    color: var(--electric);
}

.text-primary-tramites {
    color: var(--tramites);
}

.btn-primary-tramites-outline {
    border: 1.5px solid var(--tramites);
    color: var(--tramites);
}

.btn-primary-tramites-outline:hover {
    border: 2px solid var(--tramites-hover);
    background-color: var(--tramites-hover);
    color: var(--snow);
}

.btn-primary-tramites-outline.active {
    border: 2px solid var(--tramites-hover);
    background-color: var(--tramites-hover);
    color: var(--snow);
}

.badge-primary-tramites {
    border: 2px solid var(--tramites-hover);
    background-color: var(--tramites-hover);
    color: var(--snow);
}

.badge-primary-mantenimiento {
    border: 2px solid var(--mantenimiento-hover);
    background-color: var(--mantenimiento-hover);
    color: var(--snow);
}
.badge-primary-desarrolloweb {
    border: 2px solid var(--desarrolloweb-hover);
    background-color: var(--desarrolloweb-hover);
    color: var(--snow);
}
.badge-primary-erp {
    border: 2px solid var(--erp-hover);
    background-color: var(--erp-hover);
    color: var(--snow);
}
.badge-primary-instalaciones {
    border: 2px solid var(--instalaciones-hover);
    background-color: var(--instalaciones-hover);
    color: var(--snow);
}

.badge-primary-diseno {
    border: 2px solid var(--diseno-hover);
    background-color: var(--diseno-hover);
    color: var(--snow);
}

.text-primary-mantenimiento {
    color: var(--mantenimiento);
}

.btn-primary-mantenimiento-outline {
    border: 1.5px solid var(--mantenimiento);
    color: var(--mantenimiento);
}

.btn-primary-mantenimiento-outline:hover {
    border: 2px solid var(--mantenimiento-hover);
    background-color: var(--mantenimiento-hover);
    color: var(--snow);
}

.btn-primary-mantenimiento-outline.active {
    border: 2px solid var(--mantenimiento-hover);
    background-color: var(--mantenimiento-hover);
    color: var(--snow);
}

.text-primary-desarrolloweb {
    color: var(--desarrolloweb);
}

.btn-primary-desarrolloweb-outline {
    border: 1.5px solid var(--desarrolloweb);
    color: var(--desarrolloweb);
}

.btn-primary-desarrolloweb-outline:hover {
    border: 2px solid var(--desarrolloweb-hover);
    background-color: var(--desarrolloweb-hover);
    color: var(--snow);
}

.btn-primary-desarrolloweb-outline.active {
    border: 2px solid var(--desarrolloweb-hover);
    background-color: var(--desarrolloweb-hover);
    color: var(--snow);
}


.text-primary-diseno {
    color: var(--diseno);
}

.btn-primary-diseno-outline {
    border: 1.5px solid var(--diseno);
    color: var(--diseno);
}

.btn-primary-diseno-outline:hover {
    border: 2px solid var(--diseno-hover);
    background-color: var(--diseno-hover);
    color: var(--snow);
}

.btn-primary-diseno-outline.active {
    border: 2px solid var(--diseno-hover);
    background-color: var(--diseno-hover);
    color: var(--snow);
}

.text-primary-instalaciones {
    color: var(--instalaciones);
}

.btn-primary-instalaciones-outline {
    border: 1.5px solid var(--instalaciones);
    color: var(--instalaciones);
}

.btn-primary-instalaciones-outline:hover {
    border: 2px solid var(--instalaciones-hover);
    background-color: var(--instalaciones-hover);
    color: var(--snow);
}

.btn-primary-instalaciones-outline.active {
    border: 2px solid var(--instalaciones-hover);
    background-color: var(--instalaciones-hover);
    color: var(--snow);
}

.text-primary-erp {
    color: var(--erp);
}

.btn-primary-erp-outline {
    border: 1.5px solid var(--erp);
    color: var(--erp);
}

.btn-primary-erp-outline:hover {
    border: 2px solid var(--erp-hover);
    background-color: var(--erp-hover);
    color: var(--snow);
}

.btn-primary-erp-outline.active {
    border: 2px solid var(--erp-hover);
    background-color: var(--erp-hover);
    color: var(--snow);
}


/* Filtros modernos */
.filter-btn {
    border: none;
    background: #eee; /* Gris muy claro */
    color: #555;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn.active {
    background: #002d55; /* Tu azul marino */
    color: white;
    box-shadow: 0 4px 15px rgba(0, 45, 85, 0.3);
}


/*NAV BAR*/
.sticky-top {
    top: 0;
    z-index: 1020;
}

.transition-nav {
    transition: all 0.4s ease-in-out;
    padding: 10px 0;
    /* Un poco más ancho al inicio */
    background-color: transparent !important;
}

.nav-solid {
    background-color: var(--gray) !important;
    /* Negro sólido */
    padding: 10px 0 !important;
    /* Se hace más delgado al bajar */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/*MENU*/
#mainNav .container {
    padding: 10px;
}

#mainNav {
padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    transition: all 0.3s ease; /* Para que si haces scroll, cambie de tamaño suavemente */
}

/*LOGO MENU*/
.logo-nav {
    height: 25px;
    /* Ajusta la altura según tu diseño */
    width: auto;
    /* Mantiene la proporción */
    transition: all 0.4s ease-in-out;
    /* Para que también se anime al bajar */
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
    /* Ayuda a que se vea si la imagen de fondo es clara */
}

.nav-solid .logo-nav {
    height: 15px;
}

/*NAV LINK MENU*/
.nav-link-menu {
    color: var(--plata);
    text-decoration: none;
    font-size: large;
    border: none;
}

.nav-link-menu:hover {
    color: var(--plata-hover);
    text-decoration: none;
    font-size: large;
}

.nav-link-menu.active {
    color: var(--snow) !important;
    /* Tu cian eléctrico */
    border-bottom: 2px solid var(--snow);
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-solid .nav-link-menu {
    color: var(--snow);
    text-decoration: none;
    font-size: large;
}

/*CARRUSEL*/
/*CARRUSEL*/
.carousel-control-next-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 25px;
    background-size: 50%;
}

#carouselOfertas {
    margin-top: 0;
}

/*SLIDER #1*/
.animacion_slider_1 {
    animation: tracking-in-contract 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.animacion_slider_1:nth-child(1) {
    animation-delay: 0s;
}

.animacion_slider_1:nth-child(2) {
    animation-delay: 0.5s;
}

.animacion_slider_1:nth-child(3) {
    animation-delay: 1s;
}

@keyframes tracking-in-contract {
    0% {
        letter-spacing: .15em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        letter-spacing: normal;
        opacity: 1;
    }
}

@keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.animacion_boton_s1 {
    animation: tracking-in-contract 2s cubic-bezier(0.215, 0.610, 0.355, 1.000) 1s both,
        pulsate-fwd 1.5s ease-in-out infinite both;
    box-shadow: 0 0 20px 0px rgb(44, 110, 209);
}

/*SLIDER #2*/

.animacion_slider_2 {
    animation: tracking-in-contract 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.animacion_slider_2:nth-child(1) {
    animation-delay: 0s;
}

.animacion_slider_2:nth-child(2) {
    animation-delay: 0.5s;
}

.animacion_slider_2:nth-child(3) {
    animation-delay: 1s;
}


/* Contenedor de cada item */
.service-item-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUpBadge 0.8s ease forwards;
    opacity: 0;
    /* Empieza invisible para la animación */
}

/* Retraso para que aparezcan uno tras otro */
.service-item-badge:nth-child(1) {
    animation-delay: 0.2s;
}

.service-item-badge:nth-child(2) {
    animation-delay: 0.4s;
}

.service-item-badge:nth-child(3) {
    animation-delay: 0.6s;
}

.service-item-badge:nth-child(4) {
    animation-delay: 0.8s;
}

.service-item-badge:nth-child(5) {
    animation-delay: 1.0s;
}

.service-item-badge:nth-child(6) {
    animation-delay: 1.2s;
}

.service-item-badge:nth-child(7) {
    animation-delay: 1.4s;
}

.service-item-badge:nth-child(8) {
    animation-delay: 1.6s;
}

.circle-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.service-item-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* El Badge (Etiqueta debajo del círculo) */
.badge-tag {
    position: absolute;
    top: -40px;
    /* Se posiciona arriba del círculo */
    background: var(--electric);
    color: white;
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    /* Evita que el texto se rompa en 2 líneas */
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    /* Evita que el badge estorbe al cursor */
}

.badge-tag::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--electric);
}

.service-item-badge:hover .badge-tag {
    opacity: 1;
    transform: translateY(0);
    /* Sube a su posición final */
}

.service-item-badge:hover .circle-icon {
    background: var(--electric);
    border-color: var(--electric);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(39, 93, 173, 0.5);
    color: #fff;
}

/* Animación de entrada */
@keyframes fadeInUpBadge {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*SLIDER #3*/
/* Ajuste del logo dentro del H1 */
.logo-hero {
    /* Ajustamos la altura para que coincida visualmente con las mayúsculas de Servicios */
    height: 2.8em;
    width: auto;
    display: block;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 0px transparent);
    /* Alineación fina si notas que el logo queda muy arriba o muy abajo */
    position: relative;
    top: -0px;
    bottom: -2px;
}




/* Ajuste para que el enlace no tenga estilos por defecto que rompan el diseño */
.integra-container .navbar-brand:hover {
    background: transparent;
}




.animacion_slider_3 {
    animation: tracking-in-contract 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.animacion_slider_3:nth-child(1) {
    animation-delay: 0s;
}

.animacion_slider_3:nth-child(2) {
    animation-delay: 0.5s;
}

.animacion_slider_3:nth-child(3) {
    animation-delay: 1s;
}




/*FONDOS*/

.bg-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../../img/carrusel/01.png');
}

.bg-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../../img/carrusel/02.png');
}

.bg-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../../img/carrusel/03.png');
}

.bg-common {
    background-position: center;
    background-size: cover;
}


/*MODAL TRAMITES DE INTERCONEXION*/

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    opacity: 0.7;
    animation: pulse-whatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}


.tooltip-text {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
}

/* Contenedor del icono lateral */
.icon-side-container {
    background-color: rgba(39, 93, 173, 0.08);
    color: var(--electric);
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* Título superior */
.title-inline {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a4b53;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Precio destacado */
.price-inline {
    font-size: 2rem;
    /* Tamaño fuerte para resaltar en el renglón */
    font-weight: 800;
    color: #212529;
    line-height: 1.1;
}

.currency-inline {
    font-size: 0.9rem;
    color: #adb5bd;
    font-weight: 600;
}

/* Estilos para tus textos de abajo (Mantenidos) */
.description-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #a0a0a0;
}

.link-cotiza {
    color: var(--electric);
    text-decoration: underline;
    font-weight: 600;
}

/* Card con efecto de hover lateral */
.card-highlight {
    background: #ffffff;
    border: 1px solid #f1f1f1;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.card-highlight:hover {
    border-color: var(--electric);
    transform: translateX(8px);
    /* Efecto de empuje lateral */
    box-shadow: 0 6px 25px rgba(39, 93, 173, 0.1);
}

/* Contenedor de cada paso del proceso */
.process-step-card {
    background-color: #f8f9fa;
    /* Gris crema suave */
    border: 1px solid #eef0f2;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    background-color: #ffffff;
    border-color: var(--electric);
    box-shadow: 0 5px 15px rgba(39, 93, 173, 0.1);
}

/* Icono pequeño circular */
.step-icon {
    background-color: rgba(39, 93, 173, 0.1);
    /* Azul al 10% */
    color: var(--electric);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.process-step-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--gray);
    text-transform: uppercase;
}

.process-step-card p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Tarjeta de Cobertura Azul */
.coverage-card {
    background: var(--electric);
    color: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-top: 0px;
}

.coverage-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.coverage-card ul li::before {
    content: '→';
    margin-right: 10px;
    opacity: 0.7;
}

/*MODAL TRAMITES DE INTERCONEXION*/

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    opacity: 0.7;
    animation: pulse-whatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}


.tooltip-text {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
}

/* Contenedor del icono lateral */
.icon-side-container {
    background-color: rgba(39, 93, 173, 0.08);
    color: var(--electric);
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* Título superior */
.title-inline {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a4b53;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Precio destacado */
.price-inline {
    font-size: 2rem;
    /* Tamaño fuerte para resaltar en el renglón */
    font-weight: 800;
    color: #212529;
    line-height: 1.1;
}

.currency-inline {
    font-size: 0.9rem;
    color: #adb5bd;
    font-weight: 600;
}

/* Estilos para tus textos de abajo (Mantenidos) */
.description-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #a0a0a0;
}

.link-cotiza {
    color: var(--electric);
    text-decoration: underline;
    font-weight: 600;
}

/* Card con efecto de hover lateral */
.card-highlight {
    background: #ffffff;
    border: 1px solid #f1f1f1;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.card-highlight:hover {
    border-color: var(--electric);
    transform: translateX(8px);
    /* Efecto de empuje lateral */
    box-shadow: 0 6px 25px rgba(39, 93, 173, 0.1);
}

/* Contenedor de cada paso del proceso */
.process-step-card {
    background-color: #f8f9fa;
    /* Gris crema suave */
    border: 1px solid #eef0f2;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    background-color: #ffffff;
    border-color: var(--electric);
    box-shadow: 0 5px 15px rgba(39, 93, 173, 0.1);
}

/* Icono pequeño circular */
.step-icon {
    background-color: rgba(39, 93, 173, 0.1);
    /* Azul al 10% */
    color: var(--electric);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.process-step-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--gray);
    text-transform: uppercase;
}

.process-step-card p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Tarjeta de Cobertura Azul */
.coverage-card {
    background: var(--electric);
    color: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-top: 0px;
}

.coverage-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.coverage-card ul li::before {
    content: '→';
    margin-right: 10px;
    opacity: 0.7;
}

.animacion-card-modal {
    animation: swing-in-top-fwd 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}

.animacion-card-modal:nth-child(1) {
    animation-delay: 0.2s;
}

.animacion-card-modal:nth-child(2) {
    animation-delay: 0.4s;
}

.animacion-card-modal:nth-child(3) {
    animation-delay: 0.6s;
}

.animacion-card-proceso-izquierda {
    animation: slide-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.animacion-card-proceso-izquierda:nth-child(0) {
    animation-delay: 0.4s;
}

.animacion-card-proceso-izquierda:nth-child(1) {
    animation-delay: 0.6s;
}

.animacion-card-proceso-izquierda:nth-child(2) {
    animation-delay: 0.8s;
}

.animacion-card-proceso-izquierda:nth-child(3) {
    animation-delay: 1s;
}

.animacion-card-proceso-izquierda:nth-child(4) {
    animation-delay: 1.2s;
}

.animacion-card-proceso-izquierda:nth-child(5) {
    animation-delay: 1.4s;
}

.animacion-card-proceso-izquierda:nth-child(6) {
    animation-delay: 1.6s;
}

@keyframes swing-in-top-fwd {
    0% {
        -webkit-transform: rotateX(-100deg);
        transform: rotateX(-100deg);
        -webkit-transform-origin: top;
        transform-origin: top;
        opacity: 0;
    }

    100% {
        -webkit-transform: rotateX(0deg);
        transform: rotateX(0deg);
        -webkit-transform-origin: top;
        transform-origin: top;
        opacity: 1;
    }
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}
/* ==========================================================================
   SECCIÓN NOSOTROS - INTEGRA
   ========================================================================== */
#Nosotros{
scroll-margin-top: 70px; /* Ajusta según el alto de tu menú */
}
/* ==========================================================================
   SECCIÓN SERVICIOS - INTEGRA
   ========================================================================== */

#Servicios {
    margin-top: 30px;
    background-color: #f8f9fa;
    overflow: hidden; /* Evita desbordamientos durante animaciones */
    min-height: 80vh;
    scroll-margin-top: 100px; /* Ajusta según el alto de tu menú */
    margin-bottom: 30px;

}

/* --- FILTROS (PILLS) --- */
.filter-btn {
    border: none !important;
    background-color: #e9ecef;
    color: #495057;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
}

.filter-btn:hover {
    background-color: #dee2e6;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #002d55 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 15px rgba(0, 45, 85, 0.25);
}


/* --- CARDS MODERNAS --- */
.card-modern {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    margin-top: -20px;
}

.card-modern:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* Compacta el padding interno de la card */
.card-content {
    padding: 1.5rem !important; /* Un poco menos de espacio arriba/abajo */
}

/* Reduce el margen del título y la descripción */
.card-content h4 {
    margin-top: 1rem !important;
    font-size: 1.2rem; /* Títulos ligeramente más pequeños */
}

.card-content p {
    margin-bottom: 1rem !important;
    font-size: 0.9rem; /* Texto de descripción más compacto */
}

/* --- CONTENEDOR DE IMAGEN Y EFECTOS --- */
.img-zoom-container {
    position: relative;
    overflow: hidden;
    height: 160px;
    background-color: #000;
}

.img-zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Overlay de oscuridad en Hover */
.img-zoom-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.4s ease;
    z-index: 1;
}

.card-modern:hover .img-zoom-container img {
    transform: scale(1.1);
}

.card-modern:hover .img-zoom-container::after {
    background-color: rgba(0,0,0,0.3);
}

/* --- ELEMENTOS INTERNOS (BADGE E ICONO) --- */
.badge-modern {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    background:var(--electric);
    backdrop-filter: blur(4px);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric);
    font-size: 2rem;
    margin-top: -45px;
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card-modern:hover .icon-circle{
    transform: rotate(90deg); /* ¡El engrane girará al hacer hover! */
    color: var(--electric-hover); /* Cambia al azul oscuro de INTEGRA */
}

.link-modern {
    color: var(--electric);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.link-modern:hover {
    color: #002d55;
    transform: translateX(5px);
}

/* --- BOTÓN EXPANDIR --- */
.btn-expand {
    background: transparent;
    border: 2px solid #002d55;
    color: #002d55;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-expand:hover {
    background: #002d55;
    color: white;
}

/* ==========================================================================
   LÓGICA DE FILTRADO (ANIMACIONES)
   ========================================================================== */

/* 1. Ocultar elementos */


.card-hidden {
    opacity: 0 !important;
    transform: scale(0) !important; /* Cambiamos a 0 para que desaparezca total */
    pointer-events: none;
    
    /* Forzamos colapso total para evitar el estiramiento vertical */
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex: 0 0 0 !important;
    max-width: 0 !important;
    overflow: hidden;
}

/* 2. Mostrar elementos con rebote suave */
.card-show {
    animation: bounceIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes bounceIn {
    0% { 
        opacity: 0; 
        transform: scale(0.8) translateY(20px); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

/* ==========================================================================
   SECCIÓN CLIENTES - INTEGRA
   ========================================================================== */
/* Contenedor de la marca/institución */

#Respaldo{
    scroll-margin-top: 90px; /* Ajusta según el alto de tu menú */
}
.section-modern-bg {
    padding: 80px 0;
    position: relative;
}

/* --- SLIDER INFINITO --- */
.logos-slider {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.logos-track {
    margin-top: 200px;
    display: flex;
    width: calc(250px * 10); /* Ajustar según número de logos */
    animation: scrollInfinito 25s linear infinite;
}

.logos-track:hover {
    animation-play-state: paused; /* Se detiene al hacer hover */
}

@keyframes scrollInfinito {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 5)); }
}

.logo-item {
    width: 250px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-item img {
    max-height: 70px;
    max-width: 160px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.2); /* Se agranda al resaltar */
}

/* Clase que aplicaremos vía JS */
.logo-active img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
}

/* --- MINI MODAL --- */
.mini-modal {
    display: none;
    position: fixed;
    background: white;
    padding: 20px;
    border-radius: 15px;
    z-index: 10000;
    width: 250px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-top: 5px solid #0d6efd;
    transition: all 0.3s ease;
}

/* El "pico" o flecha del modal */
.mini-modal::after {
    content: "";
    position: absolute;
    bottom: -15px; /* Lo posiciona justo debajo del borde inferior */
    left: 50%;
    transform: translateX(-50%); /* Lo centra horizontalmente respecto al modal */
    border-width: 15px 15px 0 15px; /* Crea la forma de triángulo */
    border-style: solid;
    border-color: white transparent transparent transparent; /* Triángulo blanco */
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1)); /* Sombra para que combine con el modal */
}

.btn-close-mini {
    float: right;
    border: none;
    background: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}


/* ==========================================================================
   SECCIÓN FOOTER - INTEGRA
   ========================================================================== */
footer {
    background-color: var(--gray);
}