/********** Template CSS **********/
:root {
    --primary: #1dc920;
    --secondary: #005495;
    --light: #F5F5F5;
    --dark: #02245B;
    
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

/* 1. Contenedor padre debe ser relativo */
.posicion-relativa-item {
    position: relative;
}

/* 2. Estilo del submenú oculto */
.submenu-flotante {
    position: absolute;
    top: 0;
    /* Se abre hacia la IZQUIERDA para no empujar la pantalla */
    right: 100%; 
    left: auto;
    width: 180px; /* Ancho fijo para control */
    display: none; /* Oculto por defecto */
    background-color: #f8f9fa; /* Color light de Bootstrap */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 9999;
}

/* 3. Mostrar al pasar el mouse sobre el contenedor padre */
.posicion-relativa-item:hover > .submenu-flotante {
    display: block !important;
}

/* 4. Ajuste visual para el item */
.item-con-flecha::before {
    content: "« "; /* Flecha indicando que abre a la izquierda */
    color: #007bff;
    font-weight: bold;
}

/* 5. Seguridad: Evitar scroll horizontal en toda la web */
body {
    overflow-x: hidden;
}

/* Cambia el color de los subtítulos pequeños y textos destacados */

.carousel-caption {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%) !important;
}

/* Opcional: Si quieres que el texto resalte más ahora que hay menos azul */
.carousel-caption .container {
    padding-left: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.carousel-caption .text-primary {
    color: var(--primary) !important;
    /* Sombra técnica: Un contorno oscuro sutil para separar el verde de la imagen */
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.8), 
                 -2px -2px 0 rgba(0, 0, 0, 0.5);
    font-weight: 700 !important; /* Aumentamos el grosor solo aquí */
    letter-spacing: 1px;
}

/* Opcional: Si el título blanco grande también se pierde, esta sombra lo hará destacar */
.carousel-caption h1.text-white {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

/* Ajuste para el botón del carrusel para que tenga más fuerza visual */
.carousel-caption .btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: none !important;
}
.text-primary {
    color: var(--primary) !important;
    /* Añade una sombra muy fina para que el verde resalte sobre cualquier fondo */
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.15);
    font-weight: 600; /* Le damos un poco más de grosor para que se vea mejor */
}

/* Cambia el color de los iconos que acompañan a los textos */
i.text-primary {
    color: var(--primary) !important;
    /* Filtro de sombra para iconos vectoriales */
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}

/* Si tienes enlaces que deben ser del color de la marca */
a {
    color: var(--primary);
    transition: 0.3s;
}

a:hover {
    color: var(--secondary) !important; /* Usa el azul para el hover */
    text-decoration: none;
}

/* Específicamente para los checks de "Quienes Somos" */
.fa-check.text-primary {
    color: var(--primary) !important;
    font-size: 0.9em; /* Ajuste leve de tamaño */
}

/* Estilo para los botones que deben ser verdes pero con texto blanco legible */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    text-shadow: none; /* Quitamos sombra al texto dentro de botones */
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
    
}

.bg-primary {
    background-color: #14a617 !important; /* Naranja Plexa */
}
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .logo{
    height: 100%;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--dark);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--dark);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
/* --- 1. REGLAS GENERALES (PARA PC Y TODO LO DEMÁS) --- */
/* Esto faltaba: define la altura y el ajuste para pantallas grandes */
#header-carousel .carousel-item {
    position: relative;
    height: 100vh; /* 100vh = 100% de la altura de la pantalla (Efecto Pantalla Completa) */
    min-height: 600px;
    background-color: #000;
}

#header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* EL SECRETO: Hace que la imagen gigante rellene el cuadro sin deformarse */
    object-position: center;
}

/* --- 2. TUS ESTILOS DE TEXTO Y BOTONES (Se mantienen igual) --- */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

/* --- 3. AJUSTES SOLO PARA CELULARES --- */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        /* En celular no queremos 100vh porque sería muy alto, lo bajamos un poco */
        min-height: 450px;
        height: auto; /* O puedes ponerle 50vh si prefieres */
    }
    
    /* Nota: Ya no necesitamos repetir las reglas de img aquí porque las pusimos arriba en generales */
}

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/serviciosimagenes/Fondonuevo.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

/* Contenedor para forzar la verticalidad sin deformar */
.vertical-container {
    width: 100%;
    aspect-ratio: 3 / 4; /* Esto crea una forma vertical perfecta (como un retrato) */
    overflow: hidden; /* Corta lo que sobre de la foto horizontal */
    position: relative;
    background: #f0f0f0; /* Color de fondo mientras carga */
}

.vertical-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción y calidad, recortando los lados */
    object-position: center; /* Enfoca el centro de la foto */
    transition: transform 0.6s ease;
}

/* Efecto elegante al pasar el mouse */
.vertical-container:hover img {
    transform: scale(1.1); /* Zoom suave que se ve muy profesional */
}

/* Mejora para el cuadro naranja/verde de los 52 años */
.bg-primary.p-4 {
    min-width: 160px;
    text-align: center;
}

/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    background: #FFFFFF;
    min-height: 500px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
    display: flex;
    align-items: center;      
    justify-content: center;   
    padding: 15px;            
    overflow: hidden;
}

.service-item .service-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.service-item > img:first-of-type {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.container-xxl.py-5 {
    display: block;
    clear: both;
    overflow: hidden;
}

/* =================================================MA
   MUNDO AMARILLO: PLEXAPORT
   ================================================== */

/* Forzar Amarillo en textos y párrafos */
.plexaport-page .text-primary, 
.plexaport-page p.text-primary, 
.plexaport-page span.text-primary,
.plexaport-page .fw-medium {
    color: #FFCC00 !important;
}

/* Forzar Amarillo en fondos y botones */
.plexaport-page .bg-primary,
.plexaport-page .btn-primary,
.plexaport-page .btn-lg-square,
.plexaport-page .team-item .btn-square.bg-primary {
    background-color: #FFCC00 !important;
}

/* Botones Leer Más */
.plexaport-page .btn-light {
    background-color: #FFCC00 !important;
    border-color: #FFCC00 !important;
    color: #000000 !important;
}

/* Bordes y Líneas */
.plexaport-page .border,
.plexaport-page hr {
    border-color: #FFCC00 !important;
    border-top-color: #FFCC00 !important;
}

/* Icono Play Video */
.plexaport-page .btn-play span {
    border-left-color: #FFCC00 !important;
}

/* ==================================================
   MUNDO AZUL: YEGO ECO-T CHILE
   ================================================== */
.plexachile-page .text-primary, 
.plexachile-page p.text-primary,
.plexachile-page span.text-primary { color: #00BFFF !important; } /* Celeste/Azul */

.plexachile-page .bg-primary,
.plexachile-page .btn-primary,
.plexachile-page .btn-lg-square.bg-primary,
.plexachile-page .team-item .btn-square.bg-primary { background-color: #00BFFF !important; }

.plexachile-page .project-overlay { border-left: 5px solid #00BFFF !important; }

.plexachile-page .btn-primary, .plexachile-page .btn-light {
    background-color: #00BFFF !important;
    border-color: #00BFFF !important;
    color: #fff !important; /* Texto blanco para el azul */
}
/* --- Ver lo que hemos completado recientemente  PLEXA --- */

.project-item {
    display: block;
    margin: 0 10px;
    overflow: hidden;
    pointer-events: none;
    cursor: default;
}

.project-vertical-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Forzamos la altura vertical */
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.project-vertical-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la foto horizontal al marco vertical sin estirar */
    object-position: center;
    transition: transform 0.6s ease;
}

/* Capa de texto y degradado */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Texto al fondo de la imagen */
    padding: 30px;
    /* Degradado negro suave para que las letras blancas resalten */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
    transition: background 0.4s ease;
}

.project-info {
    transform: translateY(5px);
    transition: 0.4s ease;
}

/* Efectos al pasar el mouse */
.project-item:hover .project-vertical-wrapper img {
    transform: scale(1.1); /* Zoom suave */
}

.project-item:hover .project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.project-item:hover .project-info {
    transform: translateY(-5px);
}

/* Estilo para el logo en el pie de página */
.footer-logo-container {
    text-align: left;
}

/* En celulares el logo se centrará automáticamente gracias a las clases de Bootstrap arriba */
@media (max-width: 991px) {
    .footer-logo-container {
        text-align: center;
        margin-top: 20px;
    }
}

.footer-logo-container img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.3)); /* Le da profundidad al logo */
}

.footer-logo-container img:hover {
    transform: scale(1.05); /* Efecto de crecimiento suave */
}

/* --- LIMPIEZA TOTAL DEL NARANJA EN BOTONES PLEXA --- */

/* Forzamos el estado normal, activo y enfocado */
.btn-plexa-filter, 
.btn-plexa-filter.active, 
.btn-plexa-filter:focus, 
.btn-plexa-filter:active,
.btn-plexa-filter:hover {
    box-shadow: none !important;           /* Elimina el resplandor naranja */
    outline: none !important;             /* Elimina el borde de selección */
    -webkit-box-shadow: none !important;
}

/* Color cuando NO está seleccionado (Borde verde, fondo transparente) */
.btn-plexa-filter {
    background-color: transparent !important;
    border: 2px solid #28a745 !important;
    color: #28a745 !important;
}

/* Color cuando SÍ está seleccionado (Fondo verde, texto blanco) */
.btn-plexa-filter.active {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

/* IMPORTANTE: Esto elimina el color naranja que pone Bootstrap 
   por defecto en los botones cuando se hace click */
.btn:focus, .btn:active, .btn-primary:focus, .btn-primary:active {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    box-shadow: none !important;
}

/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
    padding: 20px 0;
}

.project-item {
    position: relative;
    display: block;
    height: 600px;
    
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}

/* ==================================================
   TIMELINE PLEXA - DISEÑO FINAL (LIMPIO Y SIN NEÓN)
   ================================================== */

/* --- 1. ESTILOS DE IMÁGENES Y ANIMACIONES (Para todo dispositivo) --- */

/* Imágenes: Bordes redondeados y sombra suave */
.history-img-mask img {
    border-radius: 30px !important; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Sombra elegante gris, no neón */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    object-fit: cover;
}

/* Efecto al pasar el mouse: Zoom suave y elevación */
.modern-history-wrap .row:hover img {
    transform: scale(1.03) translateY(-5px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.25); /* Sombra más profunda */
}

/* El marco decorativo detrás de la foto */
.history-img-mask {
    position: relative;
    padding: 15px;
}

/* Animación sutil del texto (Sin brillo neón) */
.modern-history-wrap .row:hover .text-primary {
    transform: translateX(5px); /* Pequeño movimiento a la derecha en lugar de brillo */
    transition: 0.3s ease;
}


/* --- 2. LÓGICA DE LÍNEA CENTRAL Y CONECTORES (Solo Computadores) --- */
@media (min-width: 992px) {

    /* Contenedor Principal */
    .modern-history-wrap {
        position: relative;
        padding: 40px 0;
    }

    /* LÍNEA VERTICAL CENTRAL */
    .modern-history-wrap::before {
        content: '';
        position: absolute;
        top: 0; bottom: 0;
        left: 50%;
        width: 6px; /* Grosor robusto */
        background-color: var(--secondary); /* Azul Plexa */
        transform: translateX(-50%);
        z-index: 0;
    }

    /* FORZAR COLUMNAS AL 50% PARA CENTRAR */
    .modern-history-wrap .row > [class*='col-lg-'] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Espacio para que el texto no toque la línea */
    .modern-history-wrap .row .col-lg-5 {
        padding-left: 50px;
        padding-right: 50px;
        position: relative;
    }

    /* --- BOLITA DEL AÑO (Punto Central) --- */
    .modern-history-wrap .col-lg-5::before {
        content: ' ';
        position: absolute;
        top: 25px; /* Altura ajustada al título */
        width: 30px; 
        height: 30px;
        background-color: #fff;
        border: 6px solid var(--primary); /* Borde verde sólido */
        border-radius: 50%;
        z-index: 10;
        /* Borde blanco sólido para separar de la línea azul (Sin difuminado) */
        box-shadow: 0 0 0 5px #fff; 
    }

    /* --- CONECTOR HORIZONTAL (El brazo) --- */
    .modern-history-wrap .col-lg-5::after {
        content: ' ';
        position: absolute;
        top: 38px; /* Centro de la bolita */
        height: 4px; /* Grosor del brazo */
        width: 50px; /* Largo del brazo */
        background-color: var(--secondary); /* Azul */
        z-index: 1;
    }

    /* --- CONFIGURACIÓN IZQUIERDA (Filas Impares) --- */
    /* Texto a la derecha */
    .modern-history-wrap .row:nth-child(odd) .col-lg-5 {
        text-align: right;
    }
    /* Bolita a la derecha */
    .modern-history-wrap .row:nth-child(odd) .col-lg-5::before {
        right: -15px; 
    }
    /* Brazo hacia la derecha */
    .modern-history-wrap .row:nth-child(odd) .col-lg-5::after {
        right: 0;
    }

    /* --- CONFIGURACIÓN DERECHA (Filas Pares) --- */
    /* Texto a la izquierda */
    .modern-history-wrap .row:nth-child(even) .col-lg-5 {
        text-align: left;
    }
    /* Bolita a la izquierda */
    .modern-history-wrap .row:nth-child(even) .col-lg-5::before {
        left: -15px;
    }
    /* Brazo hacia la izquierda */
    .modern-history-wrap .row:nth-child(even) .col-lg-5::after {
        left: 0;
    }
}
/* --- FIN DE NUESTRA HISTORIA --- */


/* --- COMPORTAMIENTO NAVBAR --- */

/* Hace que el dropdown se abra al pasar el mouse en computadoras */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
    }
}

/* En móviles, dejamos que se vea el menú dentro del bloque colapsado */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        display: block; 
        border: none;
        padding-left: 1.5rem;
    }
}

/* Estilo de la tarjeta de logo */
.vendor-item {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    border: 1px solid #f0f0f0;
}

.vendor-item img {
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.4s;
}

.vendor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.vendor-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Estilo botones de filtro */
.filter-btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}
.bg-light {
    background-color: #ffffff !important;
}

/* --- ESTILO PERSONALIZADO BOTONES PLEXA --- */

.btn-plexa-filter {
    border: 2px solid #28a745 !important; /* Verde Plexa */
    color: #28a745 !important;
    background-color: transparent;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none !important; /* Elimina sombras naranjas/azules */
    outline: none !important;    /* Elimina el recuadro de selección al hacer clic */
}

/* Cuando el botón está seleccionado */
.btn-plexa-filter.active, .btn-plexa-filter:hover {
    background-color: #28a745 !important;
    color: white !important;
}

/* --- LIMPIEZA DE RECUADROS EN IMÁGENES --- */

.logo-card {
    border: none !important; /* Elimina recuadros naranjas de las columnas */
    outline: none !important;
}

.vendor-item {
    border: 1px solid #eee !important; /* Un borde gris muy sutil casi invisible */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Sombra suave en lugar de recuadro sólido */
}

.vendor-item:hover {
    border-color: #28a745 !important; /* Solo se pone verde al pasar el mouse */
}

/* Animación de aparición suave sin movimiento */
.logo-card {
    animation: fadeInPure 0.5s ease forwards;
}

@keyframes fadeInPure {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Evitar que el contenedor salte cuando cambias de pestaña */
#logo-grid {
    min-height: 400px; /* Ajusta esta altura según lo que ocupen tus logos */
    align-items: flex-start;
}

.vendor-item {
    border-radius: 15px !important;
}
/*** Footer ***/
/* Estilos generales del Footer */
.footer {
    margin-top: 100px !important;
    width: 100%;
    clear: both;
    display: block;
    background: #001D3D !important; 
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

/* 1. Animación del Logo */
.footer img.img-fluid {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Movimiento fluido */
    cursor: default;
}

.footer img.img-fluid:hover {
    transform: scale(1.08); /* Zoom sutil al pasar el mouse */
    filter: brightness(1.1); /* Brillo ligero */
}

.footer-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary) !important;
    transform: translateX(10px); /* Se desplaza a la derecha */
    text-shadow: 0px 0px 5px rgba(45, 172, 218, 0); /* Resplandor verde suave */
}

/* 3. Animación de Iconos de Redes Sociales */
.footer .btn-square {
    transition: all 0.4s ease;
}

.footer .btn-square:hover {
    transform: translateY(-5px); /*Salto hacia arriba*/ 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


/* Copyright Section */
.copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}