@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/********** Template CSS - SICORP 2030 Enterprise Dark Mode **********/
:root {
    --primary: #25D366; /* Verde SICORP */
    --primary-dark: #1eb855;
    --bg-primary: #0A1F2D; /* Fondo principal */
    --bg-secondary: #132738; /* Fondo secundario */
    --white: #F8FAFC;
    --grey: #CBD5E1;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --border-color: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(19, 39, 56, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    
    /* Variables Bootstrap overrides */
    --bs-body-bg: var(--bg-primary);
    --bs-body-color: var(--grey);
}

body {
    background-color: var(--bg-primary) !important;
    color: var(--grey) !important;
    font-family: var(--font-primary) !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--white) !important;
    font-family: var(--font-secondary) !important;
    font-weight: 600 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
.space-around {
    justify-content: space-around !important;
}


/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.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;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

/* Nuevo Branding Moderno Vertical con Imagen Unificada en el Navbar */
.navbar .navbar-brand.navbar-brand-modern {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 75px !important;
    padding: 6px 0 !important;
    margin-left: -12px !important;
}

@media (min-width: 992px) {
    .navbar .navbar-brand.navbar-brand-modern {
        margin-left: -24px !important;
    }
}

.navbar-brand-modern .brand-logo-sin-fondo-header {
    height: 48px !important;
    width: auto !important;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto hover premium suave */
.navbar-brand-modern:hover .brand-logo-sin-fondo-header {
    transform: scale(1.05);
}

.navbar a.btn {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: -12px !important;
}

@media (min-width: 992px) {
    .navbar a.btn {
        margin-right: -24px !important;
    }
    .navbar .navbar-nav {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--light);
}

.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 ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/project1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    border-radius: 20px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .05);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    border-color: var(--primary);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}

.service-icon-inline {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(33, 84, 104, 0.2);
}

.service-item:hover .service-icon-inline {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(33, 84, 104, 0.4);
}

.service-item .btn.rounded-circle {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(33, 84, 104, 0.3);
}

.service-item .btn.rounded-circle:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 15px rgba(33, 84, 104, 0.5);
    background: var(--light) !important;
}

.service-item .btn.rounded-circle i {
    transition: transform 0.3s ease;
}

.service-item .btn.rounded-circle:hover i {
    transform: scale(1.2);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** 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);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #1A2A36 0%, #215468 100%) !important;
}

.footer h5 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--light);
}

.footer .btn.btn-square {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: .3s;
}

.footer .btn.btn-square:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer .btn.btn-social {
    margin-right: 5px;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    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;
    color: var(--light);
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
    padding-left: 5px;
}

.footer .btn.btn-link:hover::before {
    color: var(--primary);
}

.footer p {
    color: #9B9B9B;
    line-height: 1.8;
}

.footer p i {
    color: var(--light);
    transition: .3s;
}

.footer p:hover i {
    color: var(--primary);
    transform: scale(1.2);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
    text-decoration: none;
    transition: .3s;
}

.footer .copyright a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}


/*** Clients ***/
.client-carousel {
    position: relative;
}

.client-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 120px);
    left: -60px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.client-carousel .owl-nav .owl-prev,
.client-carousel .owl-nav .owl-next {
    pointer-events: all;
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--primary) !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary) !important;
    margin: 0;
    position: relative;
    z-index: 11;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.client-carousel .owl-nav .owl-prev:hover,
.client-carousel .owl-nav .owl-next:hover {
    background: var(--light) !important;
    border-color: var(--light) !important;
    transform: scale(1.1);
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.client-carousel .owl-nav .owl-prev:focus,
.client-carousel .owl-nav .owl-next:focus {
    outline: none;
}

.client-carousel .owl-nav .owl-prev.disabled,
.client-carousel .owl-nav .owl-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.client-item {
    position: relative;
    transition: .3s;
    padding: 15px;
}

.client-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 150px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    transition: .3s;
}

.client-item:hover .client-image-wrapper {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.client-image-wrapper img {
    transition: .3s;
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.client-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 84, 104, 0.95);
    color: #FFFFFF;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: .3s;
    opacity: 0;
    border-radius: 0 0 8px 8px;
}

.client-item:hover .client-overlay {
    transform: translateY(0);
    opacity: 1;
}

.client-item:hover .client-image-wrapper img {
    transform: scale(1.05);
}

.client-name {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
   SICORP 2030 ENTERPRISE THEME OVERRIDES
   ========================================================================== */

/* Overrides para Bootstrap oscurecido */
.bg-light, .container-fluid.bg-light, .container-xxl.bg-light {
    background-color: var(--bg-secondary) !important;
}

.bg-white, .container-fluid.bg-white, .container-xxl.bg-white {
    background-color: var(--bg-secondary) !important;
}

.text-dark {
    color: var(--white) !important;
}

.text-body, .text-muted, p, span {
    color: var(--grey) !important;
}

/* Rediseño de Botones */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #0A1F2D !important;
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    font-family: var(--font-secondary);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 4px;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #0A1F2D !important;
    transform: translateY(-2px);
}

/* Navbar Oscuro */
.navbar {
    background: rgba(10, 31, 45, 0.95) !important;
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

.navbar .navbar-brand h2 {
    color: var(--white) !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
}

.navbar .navbar-nav .nav-link {
    color: var(--grey) !important;
    font-family: var(--font-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Tarjetas y Contenedores Premium (Glassmorphism) */
.service-item, .client-image-wrapper, .team-item, .testimonial-text, .card, .infographic-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25) !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-item:hover, .client-image-wrapper:hover, .team-item:hover, .card:hover, .infographic-card:hover {
    border-color: rgba(37, 211, 102, 0.3) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.15) !important;
}

.service-icon {
    background: var(--bg-primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.service-item:hover .service-icon {
    background: var(--primary) !important;
    color: #0A1F2D !important;
}

/* Ecosistema SICORP Visual Grid */
.ecosystem-container {
    position: relative !important;
    padding: 50px 0 !important;
    background: rgba(19, 39, 56, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin: 45px 0;
    overflow: hidden;
}

/* Red de Conexión del Ecosistema */
.ecosystem-svg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.ecosystem-flow-line {
    stroke: rgba(37, 211, 102, 0.08); /* Extremadamente sutil para no competir con el contenido */
    stroke-width: 1.5px;
    stroke-dasharray: 4, 8;
    fill: none;
    transition: stroke 0.3s ease;
}

.ecosystem-flow-line.intelligence-line {
    stroke: rgba(37, 211, 102, 0.16); /* Capa de inteligencia ligeramente más visible */
    stroke-width: 2px;
    stroke-dasharray: 6, 6;
    fill: none;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 25px; /* Generoso espacio vertical para apreciar el flujo de las conexiones */
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ecosystem-placeholder {
    visibility: hidden;
    pointer-events: none;
}

.ecosystem-node {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--glass-border) !important;
    padding: 24px 20px !important;
    border-radius: 14px !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
}

.ecosystem-node h5 {
    color: var(--white) !important;
    margin: 0 0 6px 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    font-family: var(--font-secondary) !important;
    transition: color 0.3s ease !important;
}

.ecosystem-node span {
    font-size: 0.82rem !important;
    color: var(--grey) !important;
    font-weight: 400 !important;
}

.ecosystem-node:hover {
    border-color: rgba(37, 211, 102, 0.5) !important;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.12) !important;
    transform: translateY(-5px) !important;
    background: rgba(19, 39, 56, 0.95) !important;
}

/* Desactivar para que el resto del nombre no se pinte de verde en hover */
/* .ecosystem-node:hover h5 {
    color: var(--primary) !important;
} */

/* Copilot: Capa de Inteligencia Superior */
.ecosystem-node.copilot {
    grid-column: 1 / -1;
    max-width: 680px;
    margin: 0 auto 15px auto;
    border: 2px solid var(--primary) !important;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18) 0%, rgba(10, 31, 45, 0.98) 100%) !important;
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.25) !important;
    padding: 28px 30px !important;
    border-radius: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.copilot-badge {
    background: rgba(37, 211, 102, 0.12) !important;
    border: 1px solid rgba(37, 211, 102, 0.35) !important;
    color: var(--primary) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    margin-bottom: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.copilot-subtitle {
    color: var(--white) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    margin: 4px 0 8px 0 !important;
    text-transform: uppercase !important;
    opacity: 0.95 !important;
}

.copilot-description {
    color: var(--grey) !important;
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    opacity: 0.85 !important;
}

.ecosystem-node.copilot:hover {
    box-shadow: 0 0 45px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-5px) !important;
}

/* Núcleo Central: Hub Corporativo (Sin apariencia de tarjeta/módulo) */
.ecosystem-hub-nucleus {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    z-index: 5 !important;
    pointer-events: none !important; /* No interactivo, puro ecosistema */
    padding: 10px !important;
    background: transparent !important;
    border: none !important;
}

.ecosystem-hub-nucleus img {
    height: 48px !important;
    width: auto !important;
    margin-bottom: 12px !important;
    filter: drop-shadow(0 0 12px rgba(37, 211, 102, 0.45)) !important;
    animation: pulse-logo-glow 3.5s infinite alternate ease-in-out !important;
}

.ecosystem-hub-nucleus .brand-logo-sin-fondo {
    max-width: 90% !important;
    height: auto !important;
    max-height: 90px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.4)) !important;
    animation: pulse-logo-glow 4s infinite alternate ease-in-out !important;
    margin: 0 auto !important;
}

.ecosystem-hub-nucleus h5 {
    color: var(--white) !important;
    font-weight: 800 !important;
    font-size: 1.35rem !important;
    letter-spacing: 2px !important;
    margin: 0 0 4px 0 !important;
    text-transform: uppercase !important;
    font-family: var(--font-secondary) !important;
}

.ecosystem-hub-nucleus span {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

@keyframes pulse-logo-glow {
    0% {
        filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.35));
        transform: scale(1.0);
    }
    100% {
        filter: drop-shadow(0 0 22px rgba(37, 211, 102, 0.75));
        transform: scale(1.06);
    }
}

/* Frase de Cierre Premium */
.ecosystem-footer-phrase {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    letter-spacing: 0.5px !important;
    background: linear-gradient(90deg, #FFFFFF 20%, var(--primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
    padding: 10px 20px !important;
    border-bottom: 1.5px solid rgba(37, 211, 102, 0.25) !important;
}

/* Responsividad para la Red del Ecosistema */
@media (max-width: 768px) {
    .ecosystem-container {
        padding: 30px 15px !important;
    }
    .ecosystem-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .ecosystem-svg-lines {
        display: none !important; /* Ocultar líneas en mobile para priorizar claridad */
    }
    .ecosystem-hub-nucleus {
        transform: none !important;
        padding: 20px 10px !important;
    }
}

/* Sección Trayectoria e Impacto */
.impact-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(19, 39, 56, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.impact-item:hover {
    border-color: var(--primary);
    transform: scale(1.03);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.impact-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

/* Sección Lo que NO hacemos */
.no-item {
    background: rgba(220, 53, 69, 0.03);
    border: 1px solid rgba(220, 53, 69, 0.15) !important;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.no-item:hover {
    border-color: rgba(220, 53, 69, 0.3) !important;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.05);
}

.no-icon {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Footer Premium */
.footer {
    background: #06151f !important;
    border-top: 1px solid var(--border-color);
}

.footer .btn-link {
    color: var(--grey) !important;
    transition: all 0.3s ease;
}

.footer .btn-link:hover {
    color: var(--primary) !important;
    padding-left: 8px !important;
}

.footer h5::after {
    background: var(--primary) !important;
}

/* Spinner override */
#spinner {
    background-color: var(--bg-primary) !important;
}

#spinner .spinner-border {
    color: var(--primary) !important;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Sección de Respaldo y Confianza (Light Neutral) */
.clientes-trust-section {
    background-color: #F8FAFC !important; /* Fondo neutro claro */
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.clientes-trust-section h1, 
.clientes-trust-section h2, 
.clientes-trust-section h3, 
.clientes-trust-section h4, 
.clientes-trust-section h5, 
.clientes-trust-section h6,
.clientes-trust-section p {
    color: #0A1F2D !important; /* Forzar texto oscuro en esta sección clara */
}

.clientes-trust-section h6.text-primary {
    color: var(--primary-dark) !important; /* Verde con contraste suficiente en fondo claro */
}

.clientes-trust-section .text-muted-dark {
    color: #475569 !important; /* Gris oscuro para el texto secundario/respaldo */
}

/* Tarjetas de Logotipos Premium */
.logo-card {
    background: #FFFFFF !important; /* Tarjeta blanca para logos con fondo */
    border: 1px solid #E2E8F0 !important; /* Borde sutil y limpio */
    border-radius: 12px !important; /* Bordes redondeados premium */
    padding: 15px 20px !important;
    height: 100px !important; /* Altura uniforme perfecta */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

.logo-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 25px -5px rgba(10, 31, 45, 0.1), 0 10px 10px -5px rgba(10, 31, 45, 0.04) !important;
    border-color: var(--primary) !important; /* Resalta en verde SICORP en hover */
}

.logo-img {
    max-height: 48px;
    max-width: 85%;
    object-fit: contain !important;
    filter: grayscale(1) opacity(0.65) !important; /* Grayscale elegante de inicio */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.logo-card:hover .logo-img {
    filter: grayscale(0) opacity(1) !important; /* Recupera su color original brillante */
    transform: scale(1.05) !important;
}

/* ==========================================================================
   RED DE INTELIGENCIA DE PROCESOS Y DATOS (SiCopilot)
   ========================================================================== */
.copilot-network-viz {
    position: relative;
    width: 100%;
    height: 300px;
    max-width: 320px;
    margin: 0 auto 30px auto;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 75%);
}

.network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.flow-line {
    stroke: rgba(37, 211, 102, 0.3);
    stroke-width: 2.5;
    stroke-dasharray: 6, 8;
    animation: copilot-data-flow 6s linear infinite;
}

@keyframes copilot-data-flow {
    to {
        stroke-dashoffset: -56;
    }
}

.viz-node {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.viz-node.central-node {
    width: 75px;
    height: 75px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #132738 0%, #0A1F2D 100%) !important;
    border: 2px solid var(--primary) !important;
    z-index: 5;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.25) !important;
    animation: pulse-nucleus 3s infinite alternate ease-in-out !important;
}

.viz-node.central-node img {
    height: 26px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.4));
    transition: all 0.3s ease;
}

.viz-node.outer-node {
    width: 50px;
    height: 50px;
    background: #132738 !important;
    border: 1px solid var(--glass-border) !important;
    z-index: 3;
}

.viz-node.outer-node i {
    font-size: 1.1rem;
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

/* Bucle de flotamiento para nodos externos */
@keyframes float-node {
    0% { transform: translate(-50%, -50%) translateY(0px); }
    100% { transform: translate(-50%, -50%) translateY(-6px); }
}

.viz-node.outer-node.node-1 { top: 13%; left: 50%; animation: float-node 3.0s infinite alternate ease-in-out; }
.viz-node.outer-node.node-2 { top: 28%; left: 83%; animation: float-node 3.2s infinite alternate ease-in-out; }
.viz-node.outer-node.node-3 { top: 58%; left: 86%; animation: float-node 3.4s infinite alternate ease-in-out; }
.viz-node.outer-node.node-4 { top: 83%; left: 70%; animation: float-node 3.6s infinite alternate ease-in-out; }
.viz-node.outer-node.node-5 { top: 83%; left: 30%; animation: float-node 3.8s infinite alternate ease-in-out; }
.viz-node.outer-node.node-6 { top: 58%; left: 14%; animation: float-node 4.0s infinite alternate ease-in-out; }
.viz-node.outer-node.node-7 { top: 28%; left: 17%; animation: float-node 4.2s infinite alternate ease-in-out; }

.node-title-label {
    position: absolute;
    bottom: -22px;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--grey) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.viz-node.outer-node:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.35) !important;
    transform: translate(-50%, -50%) scale(1.15) !important;
    z-index: 10;
}

.viz-node.outer-node:hover i {
    color: var(--white) !important;
    transform: scale(1.1);
}

.viz-node.outer-node:hover .node-title-label {
    color: var(--white) !important;
    letter-spacing: 1px;
}

/* ==========================================================================
   CENTRO DE COMANDO Y CONTROL SICOPILOT (HOME REDESIGN)
   ========================================================================== */
.copilot-command-center {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.command-grid-layout {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.command-col-left, .command-col-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.command-capability-card {
    background: rgba(19, 39, 56, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 3px solid var(--primary) !important;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.command-capability-card i {
    font-size: 1.1rem;
    color: var(--primary) !important;
    margin-right: 12px;
    flex-shrink: 0;
}

.command-capability-card .capability-info {
    display: flex;
    flex-direction: column;
}

.command-capability-card h6 {
    color: var(--white) !important;
    font-weight: 700;
    margin: 0 0 2px 0;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.command-capability-card span {
    color: #8c9fae !important;
    font-size: 0.65rem;
    display: block;
    line-height: 1.25;
}

.command-capability-card:hover {
    border-color: rgba(37, 211, 102, 0.3) !important;
    border-left-color: var(--primary) !important;
    background: rgba(19, 39, 56, 0.85) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.command-nucleus-center {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, #132738 0%, #0A1F2D 100%) !important;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.3) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 2;
    animation: pulse-nucleus-center 4s infinite alternate ease-in-out;
}

.command-nucleus-center i.nucleus-icon {
    font-size: 2.2rem;
    color: var(--primary) !important;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6));
}

.nucleus-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nucleus-text .brand {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: var(--font-secondary);
}

.nucleus-text .sub {
    color: var(--primary);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 3px;
}

@keyframes pulse-nucleus-center {
    0% {
        transform: scale(0.97);
        box-shadow: 0 0 25px rgba(37, 211, 102, 0.2);
    }
    100% {
        transform: scale(1.03);
        box-shadow: 0 0 45px rgba(37, 211, 102, 0.45);
    }
}

@media (max-width: 991px) {
    .command-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .command-nucleus-center {
        order: -1;
        margin-bottom: 10px;
        width: 150px;
        height: 150px;
    }
}

/* ==========================================================================
   IDENTIDAD DE LA SUITE SICORP
   ========================================================================== */
.ecosystem-node h5 .sicorp-si,
.ecosystem-node h3 .sicorp-si,
.sicorp-si {
    color: var(--primary) !important; /* #25D366 Verde SICORP */
    font-size: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    text-transform: inherit !important;
}

/* Asegurar legibilidad del prefijo "Si" dentro de cualquier botón */
.btn .sicorp-si {
    color: inherit !important;
}

/* Corregir tamaño y formato del prefijo "Si" en el núcleo central del ecosistema */
.ecosystem-hub-nucleus .sicorp-si {
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: inherit !important;
    letter-spacing: inherit !important;
    color: var(--primary) !important;
}