/* ----------------------- FUENTES ------------------------------------------*/

@font-face {
    font-family: "icons";
    src: url('fonts/websymbols-regular-webfont.eot');
    src: url('fonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/websymbols-regular-webfont.woff') format('woff'),
        url('fonts/websymbols-regular-webfont.ttf') format('truetype'),
        url('fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "symbols";
    src: url('fonts/material-symbols-outlined-latin-100-normal.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Material-Icons-Outlined';
    font-style: normal;
    src: url('fonts/MaterialIcons-Regular.ttf') format('truetype');
}

/* MONTSERRAT FONT */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/Montserrat-Light.woff2') format('woff2'),
        url('fonts/Montserrat/Montserrat-Light.woff') format('woff'),
        url('fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/Montserrat-Regular.woff2') format('woff2'),
        url('fonts/Montserrat/Montserrat-Regular.woff') format('woff'),
        url('fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/Montserrat-SemiBold.woff2') format('woff2'),
        url('fonts/Montserrat/Montserrat-SemiBold.woff') format('woff'),
        url('fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/Montserrat-Bold.woff2') format('woff2'),
        url('fonts/Montserrat/Montserrat-Bold.woff') format('woff'),
        url('fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* OPEN SANS FONT */
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/Open Sans/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/Open Sans/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/Open Sans/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    height: 100%;
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
    background-color: #ffffff !important;
}

/* Prevención global de desbordamiento por palabras largas en traducciones (alemán, francés, etc.) */
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
button,
label,
input,
textarea,
.nav-link,
.dropdown-item,
.card-title,
.titulo-secciones,
.descripcion-secciones {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p,
.descripcion-secciones,
.text-normal,
.text-nos,
.text-nos-sec,
.descripcion-indicador,
.descripcion-indicadores,
.text-propuesta {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.material-icons-outlined {
    font-family: 'Material-Icons-Outlined' !important;
    font-size: 16pt !important;
    font-weight: bold !important;
}



/************************************************************************/


/* ---------------------------------ANIMACIONES DE CARGA POR SCROLL: TÍTULOS, TEXTOS E IMÁGENES ---------------------*/

/* Base para todos los elementos con scroll reveal */
.t4i-scroll-reveal {
    opacity: 0;
    will-change: opacity, transform;
}

/* 1. TÍTULOS: Elevación suave y definida */
.t4i-scroll-reveal.t4i-reveal-title {
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. TEXTOS: Entrada fluida con leve retraso tras el título */
.t4i-scroll-reveal.t4i-reveal-text {
    transform: translateY(20px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

/* 3. IMÁGENES: Entrada con suave escala y elevación */
.t4i-scroll-reveal.t4i-reveal-image {
    transform: scale(0.95) translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

/* 4. TARJETAS Y BLOQUES: Elevación limpia */
.t4i-scroll-reveal.t4i-reveal-card {
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado ACTIVO al entrar en pantalla (al hacer scroll hacia arriba o hacia abajo) */
.t4i-scroll-reveal.t4i-scroll-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Retardos en cascada */
.t4i-scroll-reveal.delay-1 {
    transition-delay: 0.1s !important;
}

.t4i-scroll-reveal.delay-2 {
    transition-delay: 0.2s !important;
}

.t4i-scroll-reveal.delay-3 {
    transition-delay: 0.3s !important;
}

.t4i-scroll-reveal.delay-4 {
    transition-delay: 0.4s !important;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {

    .t4i-scroll-reveal,
    .t4i-scroll-reveal.t4i-reveal-title,
    .t4i-scroll-reveal.t4i-reveal-text,
    .t4i-scroll-reveal.t4i-reveal-image,
    .t4i-scroll-reveal.t4i-reveal-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Estado inicial de las tarjetas de datos */
.tarjeta-datos {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Clase que dispara la visibilidad al hacer scroll */
.tarjeta-datos.activo {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto cascada para que entren una tras otra */
.tarjeta-datos:nth-child(2).activo {
    transition-delay: 0.15s;
}

.tarjeta-datos:nth-child(3).activo {
    transition-delay: 0.3s;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*------------------------------------------------------------------*/

/* ESTILOS BARRA DE NAVEGACIÓN */

.navbar {
    position: relative;
    z-index: 10;
}



#prod-serv {
    scroll-margin-top: 90px;
}

.dropdown-toggle::after {
    /*Afecta únicamente a la flecha del dropdown*/
    display: none !important;
}



.navbar .dropdown-menu {
    z-index: 1080 !important;
}

.navbar-brand img {
    width: auto;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !;
}

.nav-link {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15pt !important;
    font-weight: normal !important;
    color: #ffffff !important;
}

.nav-link:hover,
.nav-link:focus {
    color: #89a9d0 !important;
}

/* ==========================================================================
   INTEGRACIÓN GTRANSLATE EN EL MENÚ DE NAVEGACIÓN (ESTILOS CORPORATIVOS T4I)
   ========================================================================== */

/* 1. Contenedores y anulación de estilos flotantes forzados */
.navbar-nav .nav-item .gtranslate_wrapper,
.navbar-nav .gtranslate_wrapper,
.gtranslate_wrapper {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    position: relative !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

#gt_float_wrapper,
div#gt_float_wrapper,
.navbar-nav #gt_float_wrapper,
#navbarSupportedContent #gt_float_wrapper {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1050 !important;
    box-shadow: none !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
}

.gt_float_switcher,
div.gt_float_switcher,
.navbar-nav .gt_float_switcher,
#navbarSupportedContent .gt_float_switcher {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15pt !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: auto !important;
    border-radius: 0 !important;
    opacity: 1 !important;
}

/* 2. Botón del idioma activo (estilo nativo nav-link del sitio T4I) */
.gt_float_switcher .gt-selected,
.gt_float_switcher .gt-current-lang,
.gt_float_switcher .gt_switcher,
#navbarSupportedContent .gt_float_switcher .gt-selected,
#navbarSupportedContent .gt_float_switcher .gt-current-lang,
#navbarSupportedContent .gt_float_switcher .gt_switcher {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15pt !important;
    font-weight: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0.5rem 0.6rem !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
    line-height: 1.2 !important;
    border-radius: 0 !important;
}

.gt_float_switcher .gt-selected:hover,
.gt_float_switcher .gt-current-lang:hover,
.gt_float_switcher .gt_switcher:hover,
.gt_float_switcher:hover .gt-selected,
.gt_float_switcher:hover .gt-current-lang,
.gt_float_switcher:hover .gt_switcher,
.gt_float_switcher:hover .gt-lang-code {
    color: #52b5d5 !important;
}

.gt_float_switcher .gt-lang-code {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15pt !important;
    font-weight: normal !important;
    color: inherit !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

/* 3. Banderas con bordes y sombra sutil */
.gt_float_switcher img,
.gt_float_switcher .gt-selected img,
.gt_float_switcher .gt-current-lang img,
.gt_float_switcher .gt_options img {
    width: 22px !important;
    height: 15px !important;
    border-radius: 3px !important;
    object-fit: cover !important;
    vertical-align: middle !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* 4. Flecha indicadora del desplegable */
.gt_float_switcher .gt_float_switcher-arrow,
.gt_float_switcher .gt_arrow,
.gt_float_switcher-arrow {
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    border-top: 5px solid #ffffff !important;
    border-right: 4px solid transparent !important;
    border-left: 4px solid transparent !important;
    border-bottom: 0 !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.gt_float_switcher:hover .gt_float_switcher-arrow,
.gt_float_switcher:hover .gt_arrow {
    border-top-color: #52b5d5 !important;
}

.gt_float_switcher.gt-open .gt_float_switcher-arrow,
.gt_float_switcher.open .gt_float_switcher-arrow,
.gt_float_switcher .gt_float_switcher-arrow.gt_arrow_rotate,
body.gt-panel-abierto .gt_float_switcher .gt_float_switcher-arrow,
body:has(.gt_options.show) .gt_float_switcher .gt_float_switcher-arrow,
body:has(.gt_options.gt-open) .gt_float_switcher .gt_float_switcher-arrow,
.gt_float_switcher:has(.gt_options[style*="display: block"]) .gt_float_switcher-arrow {
    transform: rotate(180deg) !important;
}

/* 5. Estilos base de las opciones de idioma */
.gt_float_switcher .gt_options a,
.gt_float_switcher .gt_options a.nturl,
.gt_float_switcher .gt_options a.gt_option {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13pt !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    background: transparent !important;
    padding: 0.65rem 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    border: none !important;
    line-height: 1.3 !important;
    text-align: left !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Efecto hover idéntico a .dropdown-item del sitio T4I */
.gt_float_switcher .gt_options a:hover,
.gt_float_switcher .gt_options a.nturl:hover,
.gt_float_switcher .gt_options a.gt_option:hover {
    background-color: #ffffff !important;
    color: #0a2777 !important;
    font-weight: bold !important;
}

/* Idioma activo en la lista */
.gt_float_switcher .gt_options a.gt-current,
.gt_float_switcher .gt_options a.selected {
    display: flex !important;
    color: #52b5d5 !important;
    font-weight: bold !important;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler:active,
.navbar-toggler:hover {
    text-decoration: none !important;
    border: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #ffffff !important;
}

.navbar-toggler .material-icons-outlined {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Material-Icons-Outlined' !important;
    font-size: 25pt !important;
    line-height: 1 !important;
    display: inline-block !important;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.navbar-toggler.abierto .material-icons-outlined {
    transform: rotate(90deg);
}

/* DESPLEGABLES EN PANTALLAS GRANDES: PANEL LATERAL EN COLUMNA CON EFECTO BLUR */
@media (min-width: 992px) {

    /* Panel lateral derecho desplegable */
    .navbar-collapse .dropdown-menu {
        position: fixed !important;
        top: 90px !important;
        bottom: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 500px !important;
        max-width: 85vw !important;
        height: 100dvh !important;
        margin: 0 !important;
        background-color: #101f38 !important;
        padding: 1.75rem 1.75rem 2rem !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        z-index: 10000 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -8px 0 25px #0000004b !important;
        clip-path: inset(0px -50px -50px -50px);
        border: none !important;
        border-radius: 0 !important;
    }

    /* Al pasar el cursor o al activarse (.show) el panel se desliza desde la derecha */

    .navbar-collapse .dropdown-menu.show {
        right: 0 !important;
    }

    /* Efecto blur de fondo que inicia justo debajo de la cabecera para no tapar el navbar */
    body:has(.navbar .dropdown-menu.show)::before,
    body:has(#navbarSupportedContent.show)::before {
        content: "";
        position: fixed;
        top: 90px;
        left: 0;
        width: 100vw;
        height: calc(100dvh - 90px);
        background-color: rgba(8, 15, 28, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1020;
        pointer-events: auto;
        animation: fadeInMenuBlur 0.25s ease forwards;
    }

    /* Asegura que el header y el menú siempre estén nítidos */
    header,
    .header,
    .navbar,
    .dropdown-menu {
        filter: none !important;
    }



    /* Adaptación a columna vertical de todos los elementos */
    .navbar-collapse .dropdown-menu .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .navbar-collapse .dropdown-menu .row {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }

    .navbar-collapse .dropdown-menu .col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .navbar-collapse .dropdown-menu .contenedor-productos {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Sobrescribe utilidades de Bootstrap align-items-end / justify-content-end */
    .navbar-collapse .dropdown-menu .align-items-end,
    .navbar-collapse .dropdown-menu .justify-content-end,
    .navbar-collapse .dropdown-menu .justify-content-center {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    /* Lista vertical de enlaces */
    .navbar-collapse .dropdown-menu .list-unstyled {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-collapse .dropdown-menu .list-unstyled li {
        width: 100% !important;
        list-style: none !important;
        margin: 0 !important;
    }

    /* Encabezados de bloque con comportamiento desplegable */
    .navbar-collapse .dropdown-menu .dropdown-header {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 15pt !important;
        font-weight: normal !important;
        color: #ffffff !important;

        letter-spacing: 0.05em;
        width: 100% !important;
        padding: 0.65rem 0.75rem !important;
        margin: 0.2rem 0 !important;
        cursor: pointer;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-radius: 6px;

        transition: background-color 0.2s ease, color 0.2s ease;
        user-select: none;
    }

    .navbar-collapse .dropdown-menu .dropdown-header::after {

        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 2px solid #ffffff !important;
        border-bottom: 2px solid #ffffff !important;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        margin-right: 0.25rem;
    }

    .navbar-collapse .dropdown-menu .dropdown-header:hover,
    .navbar-collapse .dropdown-menu .dropdown-header:hover::after {
        background-color: #e1e7ef;
        color: #0a2777 !important;
        font-weight: bold !important;
        border-right: 2px solid #0a2777 !important;
        border-bottom: 2px solid #0a2777 !important;
    }



    .navbar-collapse .dropdown-menu .dropdown-header.desplegado::after {
        transform: rotate(-135deg);
    }

    /* Submenú desplegable dentro del menú lateral en desktop */
    .navbar-collapse .dropdown-menu .mega-menu-list {
        display: none;
        width: 100% !important;
        padding-left: 0.5rem !important;
        margin: 0.35rem 0 0.6rem 0 !important;
    }

    .navbar-collapse .dropdown-menu .mega-menu-list.show {
        display: block !important;
        animation: fadeInMegaSubmenu 0.25s ease-out;
    }

    /* Enlaces individuales con tipografía, color blanco y hover original */
    .navbar-collapse .dropdown-menu .dropdown-item {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 13pt !important;
        width: 100% !important;
        display: block !important;
        color: #ffffff !important;
        white-space: normal !important;
        text-align: left !important;
        padding: 0.5rem 0.75rem !important;
    }

    .navbar-collapse .dropdown-menu .dropdown-item:hover {
        background-color: #ffffff !important;
        color: #0a2777 !important;
        font-weight: bold !important;
    }

    /* ======================================================================
       PANEL LATERAL DE IDIOMAS (COMPORTAMIENTO IDÉNTICO A SOLUCIONES)
       ====================================================================== */

    .navbar-collapse .gt_float_switcher .gt_options,
    #navbarSupportedContent .gt_float_switcher .gt_options,
    .navbar-nav .gt_float_switcher .gt_options,
    .gt_float_switcher .gt_options {
        position: fixed !important;
        top: 90px !important;
        bottom: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 500px !important;
        max-width: 85vw !important;
        max-height: none !important;
        height: calc(100dvh - 90px) !important;
        margin: 0 !important;
        background-color: #101f38 !important;
        padding: 1.75rem 1.75rem 2rem !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        z-index: 10000 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        transform: none !important;
        opacity: 1 !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.45) !important;
        clip-path: inset(0px -50px -50px -50px);
        border: none !important;
        border-radius: 0 !important;
        pointer-events: none;
    }

    /* Al activarse se desliza desde la derecha exactamente igual que Soluciones */
    .navbar-collapse .gt_float_switcher .gt_options.show,
    .navbar-collapse .gt_float_switcher .gt_options.gt-open,
    .navbar-collapse .gt_float_switcher.gt-open .gt_options,
    .navbar-collapse .gt_float_switcher.open .gt_options,
    body.gt-panel-abierto .navbar-collapse .gt_float_switcher .gt_options,
    body.gt-panel-abierto #navbarSupportedContent .gt_float_switcher .gt_options,
    body.gt-panel-abierto .gt_float_switcher .gt_options,
    body:has(.navbar .gt_options.show) .gt_float_switcher .gt_options,
    body:has(.navbar .gt_options.gt-open) .gt_float_switcher .gt_options,
    body:has(.navbar .gt_options[style*="display: block"]) .gt_float_switcher .gt_options {
        right: 0 !important;
        display: flex !important;
        pointer-events: auto !important;
        transform: none !important;
        opacity: 1 !important;
    }

    /* Fondo blur idéntico al de Soluciones activado cuando el panel de idioma está abierto */
    body.gt-panel-abierto::before,
    body:has(.navbar .gt_options.show)::before,
    body:has(.navbar .gt_options.gt-open)::before,
    body:has(.navbar .gt_options[style*="display: block"])::before {
        content: "";
        position: fixed;
        top: 90px;
        left: 0;
        width: 100vw;
        height: calc(100dvh - 90px);
        background-color: rgba(8, 15, 28, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1020;
        pointer-events: auto;
        animation: fadeInMenuBlur 0.25s ease forwards;
    }

    /* Encabezado del panel lateral de idiomas */
    .gt_float_switcher .gt_options::before {
        content: " ";
        font-family: 'Montserrat', sans-serif !important;
        font-size: 15pt !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        padding: 0 0.75rem 1.25rem !important;
        margin-bottom: 1.25rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        display: block !important;
        letter-spacing: 0.5px;
    }

    /* Opciones individuales de idioma en el panel lateral */
    .navbar-collapse .gt_float_switcher .gt_options a,
    .navbar-collapse .gt_float_switcher .gt_options a.nturl,
    .navbar-collapse .gt_float_switcher .gt_options a.gt_option {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 13pt !important;
        font-weight: 500 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        color: #ffffff !important;
        white-space: normal !important;
        text-align: left !important;
        padding: 0.65rem 0.85rem !important;
        border-radius: 6px !important;
        margin-bottom: 0.4rem !important;
        background: transparent !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        transform: none !important;
        opacity: 1 !important;
        cursor: pointer !important;
    }

    /* Hover idéntico a los dropdown-item de Soluciones */
    .navbar-collapse .gt_float_switcher .gt_options a:hover,
    .navbar-collapse .gt_float_switcher .gt_options a.nturl:hover,
    .navbar-collapse .gt_float_switcher .gt_options a.gt_option:hover {
        background-color: #ffffff !important;
        color: #0a2777 !important;
        font-weight: bold !important;
    }

    .navbar-collapse .gt_float_switcher .gt_options a.gt-current,
    .navbar-collapse .gt_float_switcher .gt_options a.selected {
        display: flex !important;
        color: #52b5d5 !important;
        font-weight: bold !important;
    }
}

/* En pantallas de 1260px o menos la cabecera mide 90px */
@media (max-width: 1260px) {
    body.menu-abierto::after {
        top: 90px !important;

        height: calc(100dvh - 90px) !important;
    }
}

@keyframes fadeInMenuBlur {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInMegaSubmenu {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


header,
.header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 90px;
    z-index: 1030 !important;
    background-color: #101f38 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

/* NAVEGACIÓN HAMBURGUESA */

@media (max-width: 991.98px) {
    #navbarSupportedContent {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        right: -100% !important;
        width: 360px !important;
        max-width: 85vw !important;
        height: 100dvh !important;
        margin: 0 !important;
        background-color: #101f38 !important;
        padding: 4.5rem 1.5rem 2rem !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        z-index: 10000 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.5) !important;
    }

    #navbarSupportedContent.show {
        right: 0 !important;
    }

    .navbar-toggler,
    .navbar-toggler:focus,
    .navbar-toggler:focus-visible,
    .navbar-toggler:active,
    .navbar-toggler:hover {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        position: relative;
        z-index: 10001 !important;
        color: #ffffff !important;
        background: transparent !important;
        padding: 0.25rem !important;
    }

    /* 1. Cada nav-item ocupa el 100% del ancho con línea separadora */
    #navbarSupportedContent .navbar-nav {
        align-items: stretch !important;
        width: 100%;
    }

    #navbarSupportedContent .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.4rem 0;
    }

    /* 2. Enlaces principales claros y con flecha a la derecha */
    #navbarSupportedContent .nav-link {
        color: #ffffff !important;
        font-size: 1.05rem;
        padding: 0.6rem 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }



    #navbarSupportedContent .nav-item:hover {
        transform: translateY(-5px) scale(1.03);
    }

    /* GTranslate en menú móvil */
    #navbarSupportedContent .nav-item:has(.gtranslate_wrapper),
    #navbarSupportedContent .nav-item .gtranslate_wrapper {
        width: 100% !important;
        display: flex !important;
    }

    #navbarSupportedContent #gt_float_wrapper,
    #navbarSupportedContent .gt_float_switcher {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #navbarSupportedContent .gt_float_switcher .gt-selected,
    #navbarSupportedContent .gt_float_switcher .gt-current-lang,
    #navbarSupportedContent .gt_float_switcher .gt_switcher {
        width: 100% !important;
        font-size: 1.05rem !important;
        padding: 0.6rem 0.5rem !important;
        justify-content: space-between !important;
    }

    #navbarSupportedContent .gt_float_switcher .gt-lang-code {
        font-size: 1.05rem !important;
    }

    #navbarSupportedContent .gt_float_switcher .gt_options {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        background: rgba(8, 15, 28, 0.75) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        margin-top: 0.35rem !important;
        padding: 4px 0 !important;
        display: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    #navbarSupportedContent .gt_float_switcher .gt_options::before {
        display: none !important;
    }

    #navbarSupportedContent .gt_float_switcher .gt_options.show,
    #navbarSupportedContent .gt_float_switcher .gt_options.gt-open,
    #navbarSupportedContent .gt_float_switcher.gt-open .gt_options,
    #navbarSupportedContent .gt_float_switcher.open .gt_options,
    #navbarSupportedContent .gt_float_switcher .gt_options[style*="display: block"],
    #navbarSupportedContent .gt_float_switcher .gt_options[style*="display: flex"] {
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    #navbarSupportedContent .gt_float_switcher .gt_options a,
    #navbarSupportedContent .gt_float_switcher .gt_options a.nturl,
    #navbarSupportedContent .gt_float_switcher .gt_options a.gt_option {
        font-size: 0.95rem !important;
        padding: 0.6rem 0.8rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        color: #ffffff !important;
        text-decoration: none !important;
        border-radius: 6px !important;
    }

    /* 3. Adapta los mega-menús (Soluciones y Nosotros) a una sola columna vertical */
    #navbarSupportedContent .dropdown-menu {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 15pt !important;
        font-weight: normal !important;
        color: #ffffff !important;

        position: static !important;
        float: none;
        width: 100% !important;
        background-color: transparent !important;
        border: none;
        border-radius: 8px;
        padding: 0.75rem 0 !important;
        /* Ajustado para unificar el contenedor del menú */
        margin-top: 0.25rem;
        box-shadow: none;
    }

    /* Apila las columnas internas de Productos/Servicios y SAS BIC/Historia */
    #navbarSupportedContent .dropdown-menu .row {
        flex-direction: column !important;
        margin: 0;
    }

    #navbarSupportedContent .dropdown-menu .col {
        width: 100% !important;
        align-items: flex-start !important;
        padding: 0;
        margin-bottom: 0.75rem;
    }

    #navbarSupportedContent .contenedor-productos {
        align-items: flex-start !important;
        width: 100%;
    }

    #navbarSupportedContent .dropdown-menu .list-unstyled {
        width: 100% !important;
    }

    /* 4. Títulos y submenús desplegables en móviles */
    #navbarSupportedContent .dropdown-header {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 15pt !important;
        font-weight: normal !important;
        color: #ffffff !important;
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        width: 100% !important;
        padding: 0.65rem 0.75rem !important;
        margin: 0.2rem 0 !important;
        cursor: pointer;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-radius: 6px;

        transition: background-color 0.2s ease, color 0.2s ease;
        user-select: none;
    }

    #navbarSupportedContent .dropdown-header:hover,
    #navbarSupportedContent .dropdown-header:active {

        color: #ffffff !important;
    }



    #navbarSupportedContent .dropdown-header.desplegado::after {
        transform: rotate(-135deg);
    }

    /* Submenú mega-menu-list colapsable en móvil */
    #navbarSupportedContent .dropdown-menu .mega-menu-list,
    #navbarSupportedContent .mega-menu-list {

        display: none;
        width: 100% !important;
        padding-left: 0.5rem !important;
        margin: 0.35rem 0 0.6rem 0 !important;
    }

    #navbarSupportedContent .dropdown-menu .mega-menu-list.show,
    #navbarSupportedContent .mega-menu-list.show {
        display: block !important;
        animation: fadeInMegaSubmenu 0.25s ease-out;
    }

    #navbarSupportedContent .dropdown-item {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 13pt !important;
        width: 100% !important;
        display: block !important;
        color: #ffffff !important;
        white-space: normal;
        font-size: 0.95rem;
        width: 100% !important;
        display: block !important;
        padding: 0.6rem 1rem !important;
        /* Altura y espaciado simétrico para el hover */
        border-radius: 6px;
    }

    #navbarSupportedContent .dropdown-item:hover {
        background-color: #ffffff !important;
        color: #0a2777 !important;
        font-weight: bold !important;
    }
}





/* ESTILOS MAIN */

.main {

    flex: 1;


}

.tarjeta-ppal-ind {
    background-color: #080f1c;
    border-radius: 0 !important;
    width: 100% !important;
    max-height: 600px !important;
}

.tarjeta-ppal-ind .textos {
    max-width: 50%;
    ;
}

.tarjeta-ppal-ind .container-fluid {
    max-height: 90% !important;
}

.tarjeta-ppal-cli {
    background-color: #ffffff !important;

    width: 100% !important;
    height: 250px !important;
    /*box-shadow: 0  15px -2px #0a2777 !important;*/
}

.titulo-ppal {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42pt !important;
    font-weight: normal;
    color: #ffffff !important;
    line-height: 1;
}

.subtitulo {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 21pt !important;
    font-weight: normal !important;
    color: #ffffff !important;
    line-height: 1;
}

.text-normal {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14pt !important;
    font-weight: normal !important;
    color: #ffffff !important;
    line-height: 1;
}

/* SEGUNDA SECCIÓN */

.tarjeta-second-ind {

    background: #ffffff;
    height: 200px;


}

.tarjeta-second-cert {
    background: #ffffff;
    height: 250px;
    box-shadow: 0 10px 15px -2px #0a2777 !important;

}

.line {
    width: 1px !important;
    height: 90% !important;
    background-color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: inline-block !important;
    align-items: center !important;
}

.tarjetas-datos {

    border-color: #ffffff !important;
    background-color: #e1e7ef !important;
}

.titulo-datos1 {
    font-family: 'Montserrat', sans-serif !important;
    color: #0a2777;
    font-weight: bold;
    font-size: 50pt;
    line-height: 1;
    animation: fadeInSlide 0.8s ease forwards;
    ;
}



.texto-datos1 {
    font-family: 'Open Sans', sans-serif;
    color: #101f38;
    font-size: 20pt;
    line-height: 1;
    animation: fadeInSlide 0.8s ease forwards;

}

/* TERCERA SECCIÓN */

/* Centra verticalmente las flechas de control y las separa un poco de los lados */
.carousel-control-prev,
.carousel-control-next {
    width: 100%;
}

/* Forzar que todas las tarjetas del carrusel mantengan exactamente la misma altura */
.carousel-item .card {
    display: flex;
    flex-direction: column;
}

/* Oculta la barra de desplazamiento horizontal pero permite el scroll */
#cardCarousel::-webkit-scrollbar {
    display: none;
}

#cardCarousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#cardCarousel3 .card-horizontal .image img,
#cardCarousel4 .card-horizontal .image img {
    max-height: 95% !important;
    width: auto !important;
}

.position-relative .btn {
    position: absolute;
    background: #ffffff;

    height: 45px;
    border-radius: 50% !important;
    top: 50%;
    transform: translateY(-50%);

}

.position-relative .btn:hover {
    background: #0a277780 !important;
    color: #ffffff;
}

.cardcarrousel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.text-uppercase {
    font-family: 'Montserrat', sans-serif;
    font-size: 12pt;
    color: #ffffff;
}

.small {
    font-family: 'Open Sans', sans-serif;
    font-size: 12pt !important;
    color: #ffffff !important;
}

.vermas {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12pt !important;
    color: #ffffff !important;
    justify-content: end !important;
    align-items: end !important;

}

.cardcarrousel .card {
    width: 400px;
    max-width: 90vw !important;
    max-height: 480px;
    height: auto !important;
    border-radius: 24px !important;
    box-shadow: 5px 5px 5px -4px #ffffff !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden !important;
}

.card-body {
    height: 100% !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.cardcarrousel .card:hover {
    transform: translateY(-5px) scale(1.03);
}

.cardcarrousel .card-horizontal {
    width: 400px;
    max-width: 90vw !important;
    min-height: 150px !important;
    height: auto !important;
    border-radius: 20px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardcarrousel .card-horizontal:hover {
    transform: translateY(-5px) scale(1.03);
}

.cardcarrousel .card .card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12pt;
    font-weight: bold;
    color: #0a2777;
    letter-spacing: 1px;
    overflow-wrap: break-word !important;
}

.cardcarrousel .card h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 16pt;
    font-weight: bold;
    color: #48648e;
    letter-spacing: 1px;
    min-height: 50px !important;
    height: auto !important;
    overflow-wrap: break-word !important;
}

.cardcarrousel .card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 12pt;
    min-height: 80px !important;
    height: auto !important;
    color: #0a2777;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.cardcarrousel .card .image {
    height: 40%;
    border-radius: 5%;


}



.tarjeta-ppal-ind h3 {
    color: #ffffff;
}

.tarjeta-ppal-cli h3 {
    color: #0a2777;
}

.tarjeta-second-cert .certificaciones,
.tarjeta-second-cert .reconocimientos {
    height: 90%;
}

.tarjeta-second-cert .certificaciones img {
    max-height: 80px;
    width: auto;

}

.certificaciones h3,
.reconocimientos h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 10pt;
    font-weight: bold !important;
    color: #ffffff;
}



.tarjeta-second-cert .reconocimientos img {
    max-height: 100px;
    width: auto;
}

.card-horizontal .image {

    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;

}

.card-horizontal .image img {
    width: auto !important;
    height: 105px !important;
    max-width: 90% !important;

    object-fit: contain !important;

}

.card-horizontal .image img.financiera {
    transform: scale(2) !important;
}

.card-horizontal .image img.microsoft,
.card-horizontal .image img.quest {
    transform: scale(0.8) !important;
}

.custom-footer.footer-bar {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px 24px !important;
    box-sizing: border-box;
}

.footer-copy {
    text-align: center;
    white-space: nowrap;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

/* Si la pantalla es angosta y los enlaces chocan con el texto del centro */
@media (max-width: 1100px) {
    .custom-footer.footer-bar {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 8px;
    }

    .footer-spacer {
        display: none;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }
}


/* -------------------------------INDEX.HTML -----------------------------*/

/* ----------------- CAROUSEL ----------------------*/

.tarjeta-ppal-ind:has(#miCarrusel),
.tarjeta-ppal-ind:has(.carousel) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

#miCarrusel {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#miCarrusel .carousel-inner {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#miCarrusel .carousel-inner>a {
    width: 100% !important;
    display: block !important;
}

.carousel-item {
    height: 400px;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.img-carrusel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    /* Sobrescribe el max-width global de img */
    padding: 0 !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: bottom !important;
    filter: brightness(0.35) !important;
    z-index: 1 !important;
}

.carousel-caption.custom-caption {
    position: relative !important;
    /* Siempre relative para que no se desplace ni se salga */
    inset: auto !important;
    z-index: 2 !important;
    /* Nivel 2: siempre ENCIMA de .img-carrusel */
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 3rem !important;
}

.ver {

    color: #ffffff !important;
}


.card img {

    height: 60% !important;

}

/* ------------------------------- ACORDEÓN ------------------------------- */

#accordionExample.accordion.accordion-t4i {
  --t4i-acc-bg-closed: #101f38;
  --t4i-acc-bg-closed-hover: #162b4d;
  --t4i-acc-bg-open: #162642;
  --t4i-acc-border: rgba(137, 169, 208, 0.28);
  --t4i-acc-border-open: #52b5d5;
  --t4i-acc-text: #ffffff;
  --t4i-acc-text-body: #e1e7ef;
  --t4i-acc-gap: 10px;
  --t4i-acc-radius: 6px;

  display: flex;
  flex-direction: column;
  gap: var(--t4i-acc-gap);
}

#accordionExample.accordion-t4i .accordion-item {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: var(--t4i-acc-gap);
}

#accordionExample.accordion-t4i .accordion-header {
  margin: 0;
}

#accordionExample.accordion-t4i .accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background-color: var(--t4i-acc-bg-closed);
  border: 1px solid var(--t4i-acc-border);
  border-left: 4px solid #016fa4;
  border-radius: var(--t4i-acc-radius);
  box-shadow: none;
  color: var(--t4i-acc-text);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#accordionExample.accordion-t4i .accordion-button:hover {
  background-color: var(--t4i-acc-bg-closed-hover);
  border-color: rgba(82, 181, 213, 0.55);
}

#accordionExample.accordion-t4i .accordion-button:not(.collapsed) {
  background-color: var(--t4i-acc-bg-closed-hover);
  color: #c6e3ff;
  border-color: var(--t4i-acc-border-open);
  border-left-color: #52b5d5;
  box-shadow: none;
}

#accordionExample.accordion-t4i .accordion-button:focus {
  box-shadow: none;
}

#accordionExample.accordion-t4i .accordion-button:focus-visible {
  outline: 2px solid #52b5d5;
  outline-offset: 2px;
}

/* Chevron tipo ">" en celeste/blanco que rota hacia abajo al abrir */
#accordionExample.accordion-t4i .accordion-button::after {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: auto;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2389a9d0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 15 12 9 18'%3E%3C/polyline%3E%3C/svg%3E");
  transition: transform 0.25s ease;
}

#accordionExample.accordion-t4i .accordion-button:not(.collapsed)::after {
  transform: rotate(90deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352b5d5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 15 12 9 18'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Bloque separado al abrirse con borde sutil de la paleta T4I */
#accordionExample.accordion-t4i .accordion-collapse {
  background-color: var(--t4i-acc-bg-open);
  border: 1px solid rgba(137, 169, 208, 0.2);
  border-radius: var(--t4i-acc-radius);
}

#accordionExample.accordion-t4i .accordion-body {
  padding: 20px 24px;
  color: var(--t4i-acc-text-body);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (max-width: 600px) {
  #accordionExample.accordion-t4i .accordion-button {
    padding: 15px 16px;
    font-size: 0.96rem;
  }

  #accordionExample.accordion-t4i .accordion-body {
    padding: 16px;
    font-size: 0.94rem;
  }
}

/* ------------------------------- FOOT-DATOS ------------------------------- */

.foot-datos .atencion-cli {
    position: relative;
    right: 8%;
}

.foot-datos .atencion-cli .dato-atencion .telefono {
    position: relative !important;
    right: 6% !important;
}

.foot-datos .atencion-cli .dato-atencion .correo {
    position: relative !important;
    left: 11% !important;
}

.foot-datos .row.social a {
    color: #f5f6f7 !important;
}

/* ==========================================================================
   BANNER DE COOKIES HORIZONTAL (ESTILO BARRA INFERIOR)
   ========================================================================== */
.t4i-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #18191b;
    color: #ffffff;
    padding: 14px 24px;
    z-index: 10600;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
    font-family: 'Open Sans', sans-serif;
}

.t4i-cookie-container {
    max-width: 1240px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px 28px;
    margin: 0 auto;
}

.t4i-cookie-text {
    margin: 0;
    font-size: 9.5pt;
    line-height: 1.45;
    color: #f1f5f9;
    font-weight: 600;
    text-align: center;
}

.t4i-cookie-text a {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
}

.t4i-cookie-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.t4i-cookie-settings-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.t4i-btn-cookie-accept {
    background-color: #0b4a99;
    color: #ffffff;
    border: 1px solid #0b4a99;
    border-radius: 50px;
    padding: 8px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9pt;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.t4i-btn-cookie-accept:hover {
    background-color: #093a7a;
}

.t4i-btn-cookie-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    padding: 8px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9pt;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.t4i-btn-cookie-outline:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.t4i-btn-cookie-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14pt;
    line-height: 1;
    cursor: pointer;
    margin-left: 2px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.t4i-btn-cookie-close:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);
}

/* Modal de Ajustes de Cookies */
.t4i-cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 28, 0.75);
    backdrop-filter: blur(4px);
    z-index: 10700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.t4i-cookie-modal {
    background: #101f38;
    border: 1px solid #48648e;
    border-radius: 14px;
    max-width: 500px;
    width: 100%;
    padding: 24px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
}

@media (max-width: 991px) {
    .t4i-cookie-bar {
        padding: 14px 18px;
    }

    .t4i-cookie-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .t4i-cookie-text {
        text-align: center;
        font-size: 9pt;
    }
}

@media (max-width: 576px) {
    .t4i-cookie-bar {
        padding: 12px 14px;
    }

    .t4i-cookie-container {
        gap: 10px;
    }

    .t4i-cookie-text {
        font-size: 8.5pt;
        line-height: 1.4;
    }

    .t4i-cookie-actions {
        gap: 8px;
        width: 100%;
        justify-content: center;
    }

    .t4i-cookie-settings-group {
        gap: 8px;
    }

    .t4i-btn-cookie-accept {
        padding: 7px 18px;
        font-size: 8.5pt;
    }

    .t4i-btn-cookie-outline {
        padding: 7px 16px;
        font-size: 8.5pt;
    }

    .t4i-btn-cookie-close {
        width: 32px;
        height: 32px;
        font-size: 13pt;
        margin-left: 0;
    }
}

@media (max-width: 380px) {
    .t4i-cookie-actions {
        gap: 6px;
    }

    .t4i-cookie-settings-group {
        gap: 6px;
    }

    .t4i-btn-cookie-accept {
        padding: 6px 13px;
        font-size: 8pt;
    }

    .t4i-btn-cookie-outline {
        padding: 6px 12px;
        font-size: 8pt;
    }

    .t4i-btn-cookie-close {
        width: 30px;
        height: 30px;
        font-size: 12pt;
    }
}


/* ==========================================================================
   MODAL DE AJUSTES DE COOKIES (ESTILO 2 COLUMNAS CON PESTAÑAS - T4I)
   ========================================================================== */
.t4i-cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 10700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.t4i-gdpr-modal {
    position: relative;
    background: #ffffff;
    max-width: 880px;
    width: 100%;
    min-height: 460px;
    border-radius: 6px;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: 'Open Sans', sans-serif;
    color: #333333;
}

/* Botón circular azul flotante de cierre (esquina superior derecha) */
.t4i-gdpr-close-floating {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #0b4a99;
    color: #ffffff;
    border: none;
    font-size: 16pt;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 10;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.t4i-gdpr-close-floating:hover {
    background-color: #083670;
    transform: scale(1.06);
}

/* Columna Izquierda: Logo + Pestañas */
.t4i-gdpr-sidebar {
    width: 34%;
    background-color: #f4f5f7;
    padding: 32px 24px;
    border-radius: 6px 0 0 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.t4i-gdpr-logo {
    max-width: 75px;
    height: auto;
    margin-bottom: 28px;
}

.t4i-gdpr-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t4i-gdpr-tab-btn {
    background-color: #e9ecef;
    border: none;
    border-radius: 4px;
    padding: 12px 14px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5pt;
    font-weight: 700;
    color: #0b4a99;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.t4i-gdpr-tab-btn .arrow {
    font-size: 10pt;
    line-height: 1.1;
}

.t4i-gdpr-tab-btn.active {
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.t4i-gdpr-powered {
    font-size: 8pt;
    color: #555555;
    margin-top: 24px;
}

.t4i-gdpr-powered span {
    text-decoration: underline;
    font-weight: 600;
}

/* Columna Derecha: Contenido + Botones inferiores */
.t4i-gdpr-content-area {
    width: 66%;
    padding: 36px 40px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.t4i-gdpr-panel {
    display: none;
}

.t4i-gdpr-panel.active {
    display: block;
    animation: fadeInGdpr 0.2s ease;
}

.t4i-gdpr-panel h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18pt;
    font-weight: 700;
    color: #111111;
    margin-bottom: 16px;
}

.t4i-gdpr-panel p {
    font-size: 10pt;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 14px;
}

.t4i-gdpr-panel a {
    color: #111111;
    text-decoration: underline;
    font-weight: 600;
}

/* Switch de activación dentro de las pestañas */
.t4i-gdpr-switch-box {
    background-color: #f4f5f7;
    padding: 14px 18px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5pt;
    font-weight: 600;
}

/* Pie del modal con línea divisoria y botones píldora */
.t4i-gdpr-footer {
    border-top: 1px solid #d1d5db;
    padding-top: 20px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.t4i-gdpr-btn-pill {
    background-color: #0b4a99;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5pt;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.t4i-gdpr-btn-pill:hover {
    background-color: #083670;
}

@keyframes fadeInGdpr {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive en celulares */
@media (max-width: 768px) {
    .t4i-gdpr-modal {
        flex-direction: column;
        max-height: 88vh;
        overflow-y: auto;
    }

    .t4i-gdpr-sidebar,
    .t4i-gdpr-content-area {
        width: 100%;
        padding: 22px 20px;
    }

    .t4i-gdpr-close-floating {
        top: 10px;
        right: 10px;
    }

    .t4i-gdpr-footer {
        flex-direction: column;
    }

    .t4i-gdpr-btn-pill {
        width: 100%;
    }
}


/* ==========================================================================
   RESPONSIVE DESIGN - INDEX.HTML (Actualizado para evitar desbordes en ~1242px)
   ========================================================================== */

/* Ajustamos el breakpoint a 1260px para que el footer y elementos colapsen 
   antes de los 1242px y no se superpongan */
@media (max-width: 1260px) {

    /* Cabecera y Barra de Navegación */
    header,
    .header {
        height: 90px;
    }

    .navbar-brand img {
        height: 35px !important;
    }

    /* Carrusel principal y títulos */
    .titulo-ppal {
        font-size: 26pt !important;
    }

    .text-normal {
        font-size: 11pt !important;
    }

    .carousel-item {
        height: 400px !important;
        width: 100% !important;
    }

    /* Tarjetas de datos relevantes (contadores) */
    .tarjeta-second-ind {
        height: auto !important;
        padding: 1.5rem 0;
    }

    .datos1 {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .titulo-datos1 {
        font-size: 38pt !important;
    }

    .texto-datos1 {
        font-size: 14pt !important;
    }

    /* Sección inferior de contacto, certificaciones y redes (Footer en columna sin align-items-center) */
    .foot-datos {
        flex-direction: column !important;
        gap: 2.5rem;
        padding: 2.5rem 1.5rem !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .t4i-logo,
    .foot-datos .atencion-cli,
    .foot-datos .redes {
        width: 100% !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .t4i-logo>div,
    .foot-datos .t4i-logo .certificaciones,
    .foot-datos .t4i-logo .reconocimientos {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .atencion-cli .dato-atencion {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .foot-datos .direccion {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .atencion-cli>div,
    .foot-datos .redes>div {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Redes sociales en fila alineadas al inicio */
    .foot-datos .redes .row.social {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 1.5rem !important;
        width: auto !important;
        margin: 0 !important;
    }

    .foot-datos .redes .row.social img {
        width: auto !important;
        max-height: 24px !important;
    }

    .foot-datos .line {
        display: none !important;
    }
}

/* Dispositivos móviles pequeños (hasta 576px) */
@media (max-width: 576px) {
    .titulo-ppal {
        font-size: 20pt !important;
        line-height: 1.2;
    }

    .carousel-item {
        height: 420px !important;
    }

    .cardcarrousel .card {
        width: 280px !important;
    }

    .cardcarrousel .card-horizontal {
        width: 280px !important;
        height: 120px !important;
    }

    .foot-datos .direccion h1 {
        font-size: 9pt !important;
        white-space: normal !important;
        text-align: center;
    }
}

/* ------------------------ CONTACTO.HTML----------------------------------------------------- */

/* ==========================================================================
   RESPONSIVE DESIGN - CONTACTO.HTML (Apilamiento vertical perfecto)
   ========================================================================== */
@media (max-width: 991.98px) {

    /* Evitamos cualquier desborde horizontal en la ventana */
    html,
    body {
        overflow-x: clip !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* El contenedor principal en móvil se expande naturalmente hacia abajo */
    main.flex-grow-1.d-flex {
        
        padding-bottom: 3rem !important;
    }

    main.flex-grow-1.d-flex .row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Tanto la columna de texto como la del formulario ocupan el 100% del ancho y fluyen hacia abajo */
    main.flex-grow-1.d-flex .info-contacto,
    main.flex-grow-1.d-flex .form-contacto {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 1rem !important;
        margin: 0 !important;
    }

    /* Tarjeta de texto superior centrado */
    .tarjeta-texto-izq {
        width: 92% !important;
        max-width: 580px !important;
        text-align: center !important;
        padding: 1.5rem 1rem !important;
        margin: 0 auto !important;
    }

    .tarjeta-texto-izq h1 {
        font-size: clamp(1.8rem, 5vw, 26pt) !important;
    }

    .tarjeta-texto-izq h2 {
        font-size: clamp(1.1rem, 3.5vw, 16pt) !important;
    }

    /* Tarjeta del formulario ubicada debajo, con margen inferior generoso para nunca rozar foot-datos */
    .tarjeta-contacto {
        width: 92% !important;
        max-width: 580px !important;
        padding: 1.5rem !important;
        margin: 1rem auto 2.5rem auto !important;
        box-sizing: border-box !important;
    }

    .tarjeta-contacto h1 {
        font-size: clamp(1.5rem, 4.5vw, 22pt) !important;
        text-align: center !important;
    }

    /* Footer responsivo alineado sin align-items-center */
    .foot-datos {
        flex-direction: column !important;
        gap: 2.5rem;
        padding: 2.5rem 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .t4i-logo,
    .foot-datos .atencion-cli,
    .foot-datos .redes {
        width: 100% !important;
        max-width: 100% !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .t4i-logo>div,
    .foot-datos .t4i-logo .certificaciones,
    .foot-datos .t4i-logo .reconocimientos {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .atencion-cli .dato-atencion {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .foot-datos .direccion {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .foot-datos .direccion h1 {
        white-space: normal !important;
        text-align: left !important;
    }

    .foot-datos .atencion-cli>div,
    .foot-datos .redes>div {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Redes sociales en fila horizontal */
    .foot-datos .redes .row.social {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 1.5rem !important;
        width: auto !important;
        margin: 0 !important;
    }

    .foot-datos .redes .row.social img {
        width: auto !important;
        max-height: 24px !important;
    }

    .foot-datos .line {
        display: none !important;
    }
}

/* DATOS DE CONTACTO */

.foot-datos {
    position: relative !important;
    z-index: 5 !important;
    margin-top: auto !important;
    height: auto !important;
    max-height: auto !important;
    background: #101f38 !important;
    border: 2px solid #48648e23;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-top: 25px !important;
    padding-bottom: 65px !important;
    padding-left: 35px !important;
    padding-right: 35px !important;
}

/*
.atencion-cli {
    max-width: 500px !important;
}*/

.foot-datos .atencion-cli h3,
.foot-datos .redes h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10pt !important;
    font-weight: bold !important;
    color: #ffffff;
}

.foot-datos .atencion-cli h1,
.foot-datos .redes h1 {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 10pt !important;
    color: #ffffff;
}

.foot-datos .t4i-logo img {
    height: auto;
    /* Ajusta este valor según el alto que desees */
    width: 25px;
    /* Mantiene la proporción sin deformar el SVG */
    max-width: none;
    /* Evita que img-fluid o reglas globales lo aplasten */
    flex-shrink: 0;
    /* Impide que Flexbox encoja la imagen si falta espacio */
    object-fit: contain;


}

.foot-datos .t4i-logo .logo-mark {
    height: 35px !important;
    /* Ajusta este valor según el alto que desees */
    width: auto;
    /* Mantiene la proporción sin deformar el SVG */
    max-width: none;
    /* Evita que img-fluid o reglas globales lo aplasten */
    flex-shrink: 0;
    /* Impide que Flexbox encoja la imagen si falta espacio */
    object-fit: contain;
}

.foot-datos .t4i-logo .logo-cmmi {
    height: 35px !important;
    /* Ajusta este valor según el alto que desees */
    width: auto;
    /* Mantiene la proporción sin deformar el SVG */
    max-width: none;
    /* Evita que img-fluid o reglas globales lo aplasten */
    flex-shrink: 0;
    /* Impide que Flexbox encoja la imagen si falta espacio */
    object-fit: contain;
}

.foot-datos .t4i-logo .logo-neg-ver {
    height: 40px !important;
    /* Ajusta este valor según el alto que desees */
    width: auto;
    /* Mantiene la proporción sin deformar el SVG */
    max-width: none;
    /* Evita que img-fluid o reglas globales lo aplasten */
    flex-shrink: 0;
    /* Impide que Flexbox encoja la imagen si falta espacio */
    object-fit: contain;
}

.foot-datos .t4i-logo .logo-neg-ver2 {
    height: 40px !important;
    /* Ajusta este valor según el alto que desees */
    width: auto;
    /* Mantiene la proporción sin deformar el SVG */
    max-width: none;
    /* Evita que img-fluid o reglas globales lo aplasten */
    flex-shrink: 0;
    /* Impide que Flexbox encoja la imagen si falta espacio */
    object-fit: contain;
}






.foot-datos .direccion img,
.foot-datos .telefono img,
.foot-datos .correo img {
    max-height: 8pt;

}



.foot-datos .redes img {
    max-height: 14pt;

}

.neg-ver,
.neg-ver2 {
    transform: scale(2) !important;
}

/*----------------------------------------TIMELINE-----------------------------------------*/

/* The actual timeline (the vertical ruler) */
.main-timeline {
    position: relative;
    counter-reset: timeline-counter;
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
    content: "";
    position: absolute;
    width: 6px;
    background-color: #c6e3ff;
    top: 15px;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.timeline {
    position: relative;
    background-color: inherit;
    width: 50%;

    counter-increment: timeline-counter;
}

/* The circles on the timeline */
.timeline::after {
    content: counter(timeline-counter);
    color: #6bc5e8;
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-color: #080f1c;
    border: 5px solid #c6e3ff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20pt !important;
    font-weight: bold !important;
    justify-content: center !important;
    align-items: center;
}

.card {
    background: none !important;
}

/* Place the container to the left */
.left {
    padding: 0px 40px 20px 0px;
    left: 0;
}

/* Place the container to the right */
.right {
    padding: 0px 0px 20px 40px;
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    position: absolute;
    top: 30px;
    z-index: 1;
    right: 40px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    position: absolute;
    top: 30px;
    z-index: 1;
    left: 40px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -25px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .main-timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .timeline {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .timeline::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: 18px;
    }

    .left::before {
        right: auto;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}

/* ==========================================================================
   LÍNEA DE TIEMPO INFOGRÁFICA HORIZONTAL (TIMELINE INFOGRAPHIC)
   ========================================================================== */

.tarjeta-nos-ind .textos:has(.timeline-infographic-wrap) {
    max-width: 1180px !important;
    width: 94% !important;
}

.tarjeta-nos-ind .textos:has(.timeline-infographic-wrap) .titulo-nos,
.tarjeta-nos-ind .textos:has(.timeline-infographic-wrap) .text-nos {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.timeline-infographic-wrap {
    width: 100%;
    max-width: 1100px;

    border-radius: 24px;
    padding: 3rem 2rem 3.5rem;

    box-sizing: border-box;
    margin: 2rem auto;
    position: relative;
}

/* Header */
.ti-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ti-header h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
    font-weight: 900 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    text-transform: lowercase !important;
}

.ti-header .ti-subtitle {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(18pt, 3.2vw, 36pt) !important;
    font-weight: 700 !important;
    color: #016fa4 !important;

    text-transform: uppercase !important;
    margin-top: 4px;
    display: block;
}

.ti-color-bar {
    width: 160px;
    height: 5px;
    border-radius: 4px;
    margin: 12px auto 0;
    background: linear-gradient(90deg,
            #016fa4 0%, #016fa4 25%,
            #52b5d5 25%, #52b5d5 50%,
            #016fa4 50%, #016fa4 75%,
            #52b5d5 75%, #52b5d5 100%);
}

/* Rejilla de los pasos */
.ti-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    align-items: start;
}

/* Pista horizontal de fondo */
.ti-track-line {
    position: absolute;
    top: 90px;
    left: 6%;
    right: 6%;
    height: 6px;
    background: #cbd5e1;
    border-radius: 3px;
    z-index: 1;
}

/* Item individual */
.ti-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Cúpula / Domo superior */
.ti-dome-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ti-dome {
    width: 130px;
    height: 68px;
    border-radius: 80px 80px 0 0;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Insignia circular con icono */
.ti-icon-badge-outer {
    position: absolute;
    top: -24px;
    width: 74px;
    height: 74px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.ti-icon-badge-inner {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ti-icon-badge-inner svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

/* Cinta de año en forma de flecha */
.ti-ribbon {
    width: 100%;
    max-width: 200px;
    background: #ffffff;
    padding: 8px 12px;
    position: relative;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    clip-path: polygon(0% 0%, calc(100% - 14px) 0%, 100% 50%, calc(100% - 14px) 100%, 0% 100%, 12px 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
}

.ti-ribbon span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    padding-left: 6px;
}

/* Caja de contenido inferior */
.ti-card {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    padding: 25px 15px 15px 15px !important;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -4px;
    min-height: 240px;
    height: auto !important;
    justify-content: space-between;
    overflow: visible !important;
}

.ti-card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
    min-height: 70px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
}

.ti-card-desc {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.48 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    text-align: justify;
}

.ti-card-number {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.95rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-top: 1rem !important;
}

/* Variantes de color */
.ti-step-1 .ti-dome {
    background: #016fa4;
}

.ti-step-1 .ti-icon-badge-inner {
    background: #016fa4;
}

.ti-step-1 .ti-ribbon span {
    color: #016fa4 !important;
}

.ti-step-1 .ti-card-title {
    color: #52b5d5 !important;
}

.ti-step-1 .ti-card-number {
    color: #016fa4 !important;
}

.ti-step-2 .ti-dome {
    background: #52b5d5;
}

.ti-step-2 .ti-icon-badge-inner {
    background: #52b5d5;
}

.ti-step-2 .ti-ribbon span {
    color: #52b5d5 !important;
}

.ti-step-2 .ti-card-title {
    color: #52b5d5 !important;
}

.ti-step-2 .ti-card-number {
    color: #52b5d5 !important;
}

.ti-step-3 .ti-dome {
    background: #016fa4;
}

.ti-step-3 .ti-icon-badge-inner {
    background: #016fa4;
}

.ti-step-3 .ti-ribbon span {
    color: #016fa4 !important;
}

.ti-step-3 .ti-card-title {
    color: #52b5d5 !important;
}

.ti-step-3 .ti-card-number {
    color: #016fa4 !important;
}

.ti-step-4 .ti-dome {
    background: #52b5d5;
}

.ti-step-4 .ti-icon-badge-inner {
    background: #52b5d5;
}

.ti-step-4 .ti-ribbon span {
    color: #52b5d5 !important;
}

.ti-step-4 .ti-card-title {
    color: #52b5d5 !important;
}

.ti-step-4 .ti-card-number {
    color: #52b5d5 !important;
}

/* Responsive de la infografía */
@media (max-width: 991.98px) {
    .ti-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem 1.5rem !important;
    }

    .ti-track-line {
        display: none !important;
    }

    .ti-card {
        min-height: auto !important;
    }
}

@media (max-width: 575.98px) {
    .ti-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .timeline-infographic-wrap {
        padding: 2rem 1rem !important;
    }
}

/*----------------------------------------------- DATOS IMPORTANTES ---------------------------------------------------*/


.tarjeta-nos-sec-line {

    max-width: 55%;
    border: 5px solid #ffffff;
    border-radius: 30px !important;
    display: flex !important;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 0 !important;

}



.datos-importantes .titulo-secciones {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold !important;
    font-size: 14pt !important;
    color: #c6e3ff;
    line-height: 1;
}



.numero-dato {
    font-family: 'Montserrat', sans-serif;
    font-size: 60pt;
    font-weight: bold;
    color: #6bc5e8;
    text-align: center !important;
}


/* -------------------------------------CONTACTO.HTML------------------------------------*/

/* Contenedor principal que NUNCA colapsa ni permite que la tarjeta quede cubierta por foot-datos */
main.flex-grow-1.d-flex {
    flex: 1 0 auto !important;
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

}

main.flex-grow-1.d-flex>.row {
    height: auto !important;
    min-height: auto !important;
    flex: 1 0 auto !important;
    width: 100% !important;
    align-items: center !important;
}

.info-contacto,
.form-contacto {
    height: 100dvh !important;
    min-height: 100 !important;

    box-sizing: border-box !important;
}

.info-contacto {
    background: #080f1c !important;
}

.form-contacto {
    background: transparent !important;
}

.tarjeta-texto-izq h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2rem, 3.8vw, 40pt) !important;
    color: #ffffff;
    line-height: 1.2 !important;
    overflow-wrap: break-word !important;
}

.tarjeta-texto-izq h2 {
    font-family: 'Open Sans', sans-serif !important;
    font-size: clamp(1.2rem, 2.2vw, 24pt) !important;
    color: #48648e;
    line-height: 1.35 !important;
    overflow-wrap: break-word !important;
}

.tarjeta-contacto,
.tarjeta-texto-izq {
    /*border: 2px solid #48648e;*/
    border-radius: 10px;
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tarjeta-contacto h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 40pt;
    font-weight: 600;
    color: #0a2777
}

.tarjeta-contacto label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12pt;
    font-weight: 500;
    color: #48648e;
    margin: 0;

}

.tarjeta-contacto textarea {
    resize: none !important;
    height: 100px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10pt !important;
}

/* Checkbox de autorización y enlace a política de privacidad en contacto.html */
.autorizacion {
    width: 100% !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0.6rem 0 !important;
}

.autorizacion .form-check-input {
    width: 1.15rem !important;
    height: 1.15rem !important;
    min-width: 1.15rem !important;
    min-height: 1.15rem !important;
    margin: 0.15rem 0 0 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    border: 1.5px solid #0a2777 !important;
    border-radius: 4px !important;
    background-color: #ffffff;
}

.autorizacion .form-check-input:checked {
    background-color: #0a2777 !important;
    border-color: #0a2777 !important;
}

.autorizacion .form-check-label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10pt !important;
    font-weight: 500 !important;
    color: #48648e !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    margin: 0 !important;
    display: inline !important;
    text-align: left !important;
}

.autorizacion .form-check-label a {
    color: #0a2777 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    display: inline !important;
    white-space: normal !important;
    word-break: normal !important;
    transition: color 0.2s ease !important;
}

.autorizacion .form-check-label a:hover {
    color: #52b5d5 !important;
}


.tarjeta-contacto input {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10pt !important;
}

.boton-contacto {
    background: #0a2777;
    border-radius: 10px !important;
    transition: background 0.25s ease !important;
}

.boton-contacto:hover {
    background: #101f38;
}

.boton-contacto .btn {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12pt !important;
    color: #ffffff !important;
    padding: 0.6rem 1.5rem !important;
}

.boton-contacto .btn:hover {
    color: #ffffff !important;
}


/* ---------------------------------------------------NOSOTROS.HTML ----------------------------------------------*/

.tarjeta-nos-ind,
.tarjeta-nos-sec {
    background-color: #080f1c;

    width: 100% !important;
    height: auto !important;
}

.tarjeta-nos-sec .textos-propuesta {
    width: 65% !important;
}

.imagen-bic img {

    width: 95% !important;
    border-radius: 25px;
}

.imagen-est img {
    border-radius: 25px !important;
    width: 90%;

    max-height: 400px !important;
    height: auto;
    object-fit: cover;
    display: block;
}

.tarjeta-nos-ind .textos,
.textos-sec,
.secciones,
.nues-est,
.soc-bic {
    max-width: 65%;

}

.tarjetas-estrategia,
.timeline-infographic-wrap {
    padding-left: 100px;
    padding-right: 100px;
}

.tarjeta-nos-ind .textos,
.indicadores,
.tarjeta-nos-sec .textos-sec,
.textos-sec1,
.textos-imagenes,
.nos-imagenes,
.tarjeta-propuesta,
.textos-propuesta {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.textos-imagenes span {
    justify-content: start !important;
}

.textos-indicadores {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.tarjeta-ppal-cli {
    background-color: #080f1c;

    width: 100% !important;
    height: 250px !important;
}

.titulo-nos-sec,
.titulo-nos {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 60pt !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1.2;
}

.titulo-nos1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(22pt, 3.8vw, 40pt) !important;
    font-weight: bold !important;
    color: #e9f4ff !important;
    line-height: 1.2;

    padding-top: 30px !important;
    padding-bottom: 10px !important;
    max-width: 100%;
    box-sizing: border-box;
}

.fondo-bic {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 200px;
    background-color: #080f1c;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fondo-bic.custom-caption {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2rem 3rem !important;
}


.img-fondo-bic {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: bottom !important;
    filter: brightness(0.35) !important;
    z-index: 1 !important;
}

.fondo-bic .titulo-nos1 {
    position: relative !important;
    z-index: 2 !important;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 !important;
}



.subtitulo-nos {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 41pt !important;
    font-weight: normal !important;
    color: #ffffff !important;
    line-height: 1;
}

.text-nos-sec,
.text-nos {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18pt !important;
    font-weight: normal !important;
    color: #e1e7ef !important;
    line-height: 1.5;
    text-align: justify !important;
}

.text-nos a {
    font-weight: bold !;
}

/* SEGUNDA SECCIÓN */

.mision,
.vision,
.valores,
.politica {
    border-radius: 10px;

}

.mision:hover,
.vision:hover,
.valores:hover,
.politica:hover {
    transform: translateY(-5px) scale(1.03) !important;
}

.mision {
    border: 2px solid #6bc5e8;

}

.vision {
    border: 2px solid #52b5d5;
}

.valores {
    border: 2px solid #016fa4;
}

.politica {
    border: 2px solid #bce7fb;
}

.icon-mision {
    background-color: #6bc5e8;
}

.icon-vision {
    background-color: #52b5d5;
}

.icon-valores {
    background-color: #016fa4;
}

.icon-politica {
    background-color: #bce7fb;
}

.icon-mision,
.icon-vision,
.icon-valores,
.icon-politica {

    color: white;
    width: 70px;
    height: 70px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-mision img,
.icon-vision img,
.icon-valores img,
.icon-politica img {
    width: 40px !important;
}

.titulo-secciones {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold !important;
    font-size: 22pt;
    color: #c6e3ff;
    line-height: 1;
}


.descripcion-secciones {
    font-family: 'Open Sans', sans-serif;
    font-size: 12pt;
    font-weight: normal;
    color: #ffffff;
    line-height: 1.5;
}



/* ==========================================================================
   SECCIÓN DE INDICADORES DE PORCENTAJE (Nosotros SAS BIC)
   ========================================================================== */

.tarjeta-nos-indicadores .textos-indicadores {
    max-width: 1100px !important;
    width: 90% !important;
}

.porc-indicadores {
    width: 100% !important;
    margin-top: 1.5rem !important;
}

.porc-indicadores .anillo {
    width: 100% !important;
    max-width: 195px !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    position: relative !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.porc-indicadores .anillo canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
}

.porc-indicadores .titulo-indicadores {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #89a9d0 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.porc-indicadores .descripcion-indicadores {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: #d8e2ef !important;
    line-height: 1.55 !important;
    text-align: center !important;
    margin: 0 !important;
}

.porc-indicadores hr {
    border: 0 !important;
    border-top: 1px solid rgba(137, 169, 208, 0.35) !important;
    opacity: 1 !important;
    margin: 2.75rem 0 !important;
}

/* Tarjetas secundarias de la fila inferior */




/* TARJETA-SEC */
.tarjeta-nos-indicadores,
.tarjeta-imagenes,
.tarjeta-propuesta {
    background-color: #101f38;

    width: 100% !important;
    min-height: 400px !important;
}

.textos-imagenes {
    width: 65% !important;
}

/* Banner estilo gradiente azul izquierdo -> imagen derecha (Propuesta de valor) */
.tarjeta-imagenes.banner-propuesta {
    position: relative !important;
    width: 100% !important;
    min-height: 360px !important;
    background-color: #101f38 !important;
    overflow: hidden !important;
    padding: 3.5rem 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tarjeta-imagenes.banner-propuesta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            #101f38 5%,
            #0a2777bd 45%,
            transparent 85%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.img-banner-propuesta {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: bottom right !important;
    filter: brightness(0.95) contrast(1.05) !important;
    z-index: 1 !important;
}

.banner-propuesta-contenedor {
    position: relative !important;
    z-index: 3 !important;
    width: 65% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.tarjeta-imagenes.banner-propuesta .textos-propuesta {
    width: 100% !important;
    max-width: 95% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tarjeta-imagenes.banner-propuesta .titulo-nos,
.tarjeta-imagenes.banner-propuesta .text-nos {
    color: #ffffff !important;
    text-align: left !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .tarjeta-imagenes.banner-propuesta {
        min-height: 320px !important;
        padding: 3rem 1.75rem !important;
    }

    .tarjeta-imagenes.banner-propuesta::after {
        background: linear-gradient(90deg,
                #101f38 0%,
                #0a27776e 58%,
                #0a2777 100%);
    }

    .tarjeta-imagenes.banner-propuesta .textos-propuesta {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .banner-propuesta {
        max-width: 100% !important;
        width: 95% !important;
    }
}

@media (max-width: 576px) {
    .tarjeta-imagenes.banner-propuesta {
        min-height: 280px !important;
        padding: 2.25rem 1.25rem !important;
    }
}

.tarj-fin-lims {
    background: #101f38 !important;
    width: 100% !important;
    min-height: 300px !important;
}

.tarj-fin-lims .textos-propuesta {
    max-width: 65% !important;
}

.tarj-fin-lims .titulo-nos{
    font-family: 'Open Sans', sans-serif !important;
    font-size: clamp(22pt, 3.2vw, 36pt) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.tarj-fin-lims .text-nos {
    font-family: 'Open Sans', sans-serif !important;
    font-size: clamp(15pt, 3.2vw, 18pt) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}


.tarjetas-objetivos,
.textos-indicadores,

.nos-imagenes,
.textos-propuesta {
    max-width: 65%;

}

.tarjetas-objetivos .tarjeta {

    border-radius: 10px !important;

}

.tarjetas-objetivos .tarjeta:hover {
    transform: translateY(-5px) scale(1.03) !important;
}

.col-numero,
.col-numero2,
.col-numero3,
.col-numero4,
.col-numero5 {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 24pt;
    color: #ffffff;
    border: 3px solid #016fa4;
    border-radius: 10px 0px 0px 10px;
}

.col-numero2 {
    border: 3px solid #52b5d5 !important;
}

.col-numero3 {
    border: 3px solid #bce7fb !important;
}

.col-numero4 {
    border: 3px solid #52b5d5 !important;
}

.col-numero5 {
    border: 3px solid #016fa4 !important;
}



.col-contenido,
.col-contenido2,
.col-contenido3,
.col-contenido4,
.col-contenido5 {
    border: 3px solid #016fa4;

    border-radius: 0px 10px 10px 0px;
    width: 100% !important;
    min-height: 100px !important;
}

.col-contenido2 {
    border: 3px solid #52b5d5 !important;

}

.col-contenido3 {
    border: 3px solid #bce7fb !important;
}

.col-contenido4 {
    border: 3px solid #52b5d5 !important;
}

.col-contenido5 {
    border: 3px solid #016fa4 !important;
}

.titulo-objetivo {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 22pt;
    line-height: 1.1;
    color: #c6e3ff;
    line-height: 1;
}

.descripcion-objetivo {
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: 12pt;
    line-height: 1.5;
    color: #ffffff !important;
}

.titulo-imagenes,
.titulo-propuesta {
    font-family: 'Montserrat', sans-serif !important;

    font-weight: bold !important;
    color: #ffffff !important;

}

.collage {
    max-width: 55%;
}

.contenedor-foto-individual {
    height: 300px;
    overflow: hidden;
}

.foto-ajustada {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: 0% 70% !important;
    border-radius: 70px !important;
    /* O el radio que prefieras */
}

.titulo-indicador {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 28pt !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1.2;
}

.titulo-indicadores {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14pt !important;
    font-weight: bold !important;
    color: #89a9d0 !important;
    line-height: 1;
}


.descripcion-indicador,
.descripcion-indicadores,
.text-propuesta {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 12pt !important;
    font-weight: normal !important;
    color: #f7f9fb !important;
    line-height: 1.5;
    text-align: justify !important;
}

.text-propuesta {
    text-align: justify !important;
}

/* -----------------------------------------------------------------------------------------------------------*/

.modelo-i {
    position: relative;
    width: 300px;
    height: 300px;

    border: 2px solid #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center !important;
    justify-content: center !important;

}

/* ==========================================================================
   DIAGRAMA MODELO DE SOSTENIBILIDAD (100% RESPONSIVO Y GEOMÉTRICAMENTE EXACTO)
   ========================================================================== */

.diagrama-sostenibilidad,
.indicadores .col.d-flex.align-items-center {
    position: relative !important;
    width: 100% !important;
    max-width: 420px !important;
    aspect-ratio: 1 / 1 !important;
    margin-left: 1.5rem !important;
    margin-top: -5% !important;
    display: flex !important;
    align-items: start !important;
    justify-content: start !important;
    container-type: inline-size;
    box-sizing: border-box;

}

/* 1. ANILLO EXTERIOR CELESTE (Órbita de 78% del contenedor) */
.nodo-central-externo {
    position: absolute !important;
    width: 78% !important;
    height: 78% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border: 3.5px solid #89a9d0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1 !important;
    pointer-events: none;
    box-sizing: border-box;
    background: transparent !important;
}

/* 2. CÍRCULO CENTRAL BLANCO */
.circulo-central {
    position: relative !important;
    width: 60% !important;
    height: 60% !important;
    border: 2.5px solid #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 6px !important;
    z-index: 2 !important;
    background: transparent !important;
    box-sizing: border-box;
    pointer-events: auto;
}

.circulo-central span {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: clamp(0.65rem, 3.2cqw, 0.95rem);
    line-height: 1.2;
    text-align: center;
    display: block;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
}

/* 3. LOS 3 NODOS EXTERIORES VACÍOS / ICONOS (Radio de órbita = 39%) */
.img-izq,
.img-der,
.img-cent {
    position: absolute !important;
    width: 22% !important;
    height: 22% !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 3 !important;
    background: transparent !important;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.img-izq img,
.img-der img,
.img-cent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.img-cent img {
    object-fit: cover !important;
    /* Evita que la imagen se deforme o estire de forma fea */
    object-position: bottom !important;
    /* Forza a que el centro de la imagen coincida con el centro del círculo */
    display: block;
}

.img-der img {
    object-fit: cover !important;
    /* Evita que la imagen se deforme o estire de forma fea */
    object-position: center !important;
    /* Forza a que el centro de la imagen coincida con el centro del círculo */
    display: block;
}

/* Top-Izquierda (150° en órbita) */
.img-izq {
    top: 30.5% !important;
    left: 16.2% !important;
    transform: translate(-50%, -50%) !important;
}

/* Top-Derecha (30° en órbita) */
.img-der {
    top: 30.5% !important;
    left: 83.8% !important;
    transform: translate(-50%, -50%) !important;
}

/* Abajo-Centro (270° en órbita) */
.img-cent {
    top: 89% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* 4. LOS 3 CÍRCULOS DE MODELO (COLOREADOS) */
.mod-amb,
.mod-rh,
.mod-neg {
    position: absolute !important;
    width: 23% !important;
    height: 23% !important;

    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    z-index: 5 !important;
    box-sizing: border-box;
    padding: 6px;

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mod-amb:hover,
.mod-rh:hover,
.mod-neg:hover {
    transform: translate(-50%, -50%) scale(1.06) !important;
}

.mod-amb span,
.mod-rh span,
.mod-neg span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(0.52rem, 2.4cqw, 0.78rem);
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.15;
    text-align: center;
    display: block;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

/* Modelo de Negocio (Arriba-Centro, 90°) */
.mod-neg {
    background-color: #00517b !important;
    top: 27% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Modelo Ambiental (Abajo-Izquierda, 210°) */
.mod-amb {
    background-color: #009758 !important;
    top: 61.5% !important;
    left: 30.1% !important;
    transform: translate(-50%, -50%) !important;
}

/* Modelo Recursos Humanos (Abajo-Derecha, 330°) */
.mod-rh {
    background-color: #00373a !important;
    top: 61.5% !important;
    left: 69.9% !important;
    transform: translate(-50%, -50%) !important;
}

/* 5. TEXTOS EXTERIORES DEL DIAGRAMA DE SOSTENIBILIDAD */
.texto-diag-sup,
.texto-diag-izq,
.texto-diag-der {
    position: absolute !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none;
    box-sizing: border-box;
}

.texto-diag-sup span,
.texto-diag-izq span,
.texto-diag-der span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10 pt !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    text-align: center !important;
    display: block !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* 1. Texto Superior (Resiliencia empresarial) */
.texto-diag-sup {
    top: 5% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 72% !important;
    max-width: 270px !important;
}

.texto-diag-sup span {
    font-size: 0.74rem;
    font-size: clamp(0.6rem, 2.7cqw, 0.82rem);
}

/* 2. Texto Inferior Izquierdo (Sostenibilidad ambiental) */
.texto-diag-izq {
    top: 67% !important;
    left: -18% !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    max-width: 140px !important;
}

.texto-diag-izq span {
    font-size: 0.68rem;
    font-size: clamp(0.55rem, 2.5cqw, 0.76rem);
}

/* 3. Texto Inferior Derecho (Capital humano) */
.texto-diag-der {
    top: 67% !important;
    right: -10% !important;
    transform: translateY(-50%) !important;
    width: 34% !important;
    max-width: 130px !important;
}

.texto-diag-der span {
    font-size: 0.68rem;
    font-size: clamp(0.55rem, 2.5cqw, 0.76rem);
}

.nodo-arriba-interior,
.nodo-abajo-izquierda-interior,
.nodo-abajo-derecha-interior,
.nodo-arriba-derecha-externo,
.nodo-arriba-izquierda-externo,
.nodo-abajo-externo {
    position: relative !important;
    display: flex;
}

/* Posiciones relativas en los cuatro puntos cardinales de la órbita */




/* Estilo unificado para los círculos de imagen */
.circulo-imagen,
.circulo-texto {
    position: relative !important;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #00b4d8;
    overflow: hidden;
    background-color: #021533;
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.circulo-imagen img {
    width: 50px !important;
    height: auto;
    object-fit: cover;
}

.texto-externo {
    font-size: 0.65rem;
    color: #a0aec0;
    margin-top: 8px;
    line-height: 1.2;
    width: 160px;
}

/* --------------------------------- OBJETIVOS ESTRATÉGICOS --------------------------------- */

/* GLOBOS TARJETAS */

.globo-numero {
    position: relative !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 24pt;
    font-weight: bold !important;
    color: white;
    width: 70px;
    height: 70px;
    background: #016fa4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 40%;
    top: -45%;
    margin-bottom: -70px !important;
}

.tarjeta-obj {
    border: 2px solid #6bc5e8;
    border-top: 20px solid #6bc5e8 !important;
    border-radius: 10px;
}

.tarjeta-obj:hover {
    transform: translateY(-5px) scale(1.03) !important;
}



/* FOOTER */


/* Estilos del Footer */
.custom-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    z-index: 1030 !important;
    background: #101f38 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 4px 12px !important;
}

.custom-footer a,
footer a {
    font-size: clamp(8pt, 2vw, 10pt) !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}

/* Graficos */

.anillo {
    width: 205px !important;
    height: 205px !important;
    position: relative;
}

/* ESTILOS ELEMENTOS PROPIOS DE HTML */

.form-control::-webkit-input-placeholder {
    /* Chrome, Safari, Opera */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11pt !important;
    color: #bec3c9 !important;
    opacity: 1;
}

.form-control::-moz-placeholder {
    /* Firefox 19+ */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11pt !important;
    color: #bec3c9 !important;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11pt !important;
    color: #bec3c9 !important;
}

.form-control::placeholder {
    /* Estándar moderno */
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11pt !important;
    color: #bec3c9 !important;
    opacity: 1;
}


/* SE VALIDA EL LLENADO DEL FORMULARIO */

/* Ocultar el mensaje de error por defecto */
.error-mensaje {
    display: none;
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Mostrar el mensaje cuando el input es inválido y el usuario ha intentado enviar */
input:invalid:not(:placeholder-shown)~.error-mensaje,
textarea:invalid:not(:placeholder-shown)~.error-mensaje {
    display: block;
}

/* Cambiar el borde del input a rojo cuando hay error */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
}

.form-check-input:invalid {
    border-color: #0a2777 !important;
    box-shadow: none;
}

/* ==============================================================================
   SISTEMA DE DISEÑO RESPONSIVE INTEGRAL (TODAS LAS PÁGINAS, IMÁGENES Y TEXTOS)
   ============================================================================== */

/* --- 1. REGLAS BASE RESPONSIVE GLOBALES --- */
html,
body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    padding-bottom: 0 !important;
    margin: 0 !important;
}

/* Imágenes y elementos multimedia 100% adaptables sin deformación */
img,
svg,
picture,
video {
    max-width: 100% !important;
    height: auto;
}

/* Ajuste fluido de tipografías principales en todo el sitio */
.titulo-ppal {
    font-size: clamp(18pt, 4vw, 36pt) !important;
    line-height: 1.2 !important;
}

.text-normal {
    font-size: clamp(10pt, 1.2vw, 13pt) !important;
    line-height: 1.5 !important;
}

.titulo-nos,
.titulo-nos-sec {
    font-size: clamp(18pt, 3.2vw, 36pt) !important;
    line-height: 1.25 !important;
}

.text-nos {
    font-size: clamp(12pt, 3.2vw, 15pt) !important;
}

.subtitulo-nos {
    font-size: clamp(18pt, 3.5vw, 41pt) !important;
    line-height: 1.2 !important;
}

.titulo-imagenes,
.titulo-propuesta {
    font-size: clamp(17pt, 2.8vw, 36pt) !important;
    line-height: 1.25 !important;
}

.titulo-secciones {
    font-size: clamp(13pt, 2vw, 22pt) !important;
}

.descripcion-secciones {
    font-size: clamp(10pt, 1.1vw, 12pt) !important;
}

.numero-dato {
    font-size: clamp(28pt, 5.5vw, 60pt) !important;
}

/* --- 2. PANTALLAS GRANDES Y LAPTOPS (Hasta 1200px) --- */
@media (max-width: 1200px) {

    /* Ampliamos los contenedores que tenían max-width: 55% */
    .tarjeta-nos-ind .textos,
    .textos-sec,
    .secciones,
    .nues-est,
    .soc-bic,
    .tarjetas-objetivos,
    .textos-indicadores,
    .textos-imagenes,
    .nos-imagenes,
    .textos-propuesta,
    .collage,
    .tarjeta-nos-sec-line {
        max-width: 100% !important;
        width: 95% !important;
    }

    .cardcarrousel .card,
    .cardcarrousel .card-horizontal {
        width: 350px !important;
    }
}

/* --- 3. TABLETS Y PANTALLAS MEDIANAS (Hasta 991.98px) --- */
@media (max-width: 991.98px) {

    /* Contenedores fluyen ocupando casi todo el ancho disponible */
    .tarjeta-nos-ind .textos,
    .textos-sec,
    .secciones,
    .nues-est,
    .soc-bic,
    .tarjetas-objetivos,
    .textos-indicadores,
    .textos-imagenes,
    .nos-imagenes,
    .textos-propuesta,
    .collage,
    .tarjeta-nos-sec-line {
        max-width: 100% !important;
        width: 95% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Filas con dos columnas pasan a columna vertical centrada */
    .soc-bic {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .soc-bic .textos {
        max-width: 100% !important;
        width: 100% !important;
    }

    .soc-bic .imagen-bic {
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .soc-bic .imagen-bic img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 20px;
    }

    /* Anillos de porcentaje (Nosotros SAS BIC) */
    .porc-indicadores .local-prov,
    .porc-indicadores .consumo-ener,
    .porc-indicadores .igualdad-gen {
        width: 100% !important;
        margin: 0 auto !important;
    }




    /* Carrusel principal (Hero de Index) */
    .carousel-item {
        height: auto !important;
        min-height: 420px !important;
    }

    .carousel-caption.custom-caption {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        padding: 2.5rem 1.5rem !important;
    }

    /* Tarjetas de datos relevantes / contadores */
    .tarjeta-second-ind {
        height: auto !important;
        padding: 2rem 1rem !important;
    }

    .datos1 {
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    .titulo-datos1 {
        font-size: clamp(28pt, 6vw, 42pt) !important;
    }

    .texto-datos1 {
        font-size: clamp(12pt, 2vw, 16pt) !important;
    }

    /* Footer completo en columna sin align-items-center */
    .foot-datos {
        flex-direction: column !important;
        align-items: start !important;
        justify-content: start !important;
        text-align: start !important;
        gap: 1rem !important;
        padding: 1.5rem 1.25rem 4.25rem 1.25rem !important;
        /* Espacio inferior mayor que el alto de .custom-footer */
        margin-bottom: 38px !important;
        /* Ayuda a que el final del documento supere la barra fija */
        height: auto !important;
    }

    .foot-datos .atencion-cli .dato-atencion,
    .foot-datos .atencion-cli .dato-atencion .row {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: start !important;
        justify-content: start !important;
        gap: 0.55rem !important;
    }

    .foot-datos .t4i-logo,
    .foot-datos .atencion-cli,
    .foot-datos .redes {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: start !important;
        justify-content: start !important;
        text-align: start !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;

    }

    .foot-datos .atencion-cli,
    .foot-datos .redes {
        padding-top: 0.5rem !important;
        border-top: 2px solid #48648e23;

    }


    .foot-datos .t4i-logo>div,
    .foot-datos .t4i-logo .certificaciones,
    .foot-datos .t4i-logo .reconocimientos {
        align-items: start !important;
        justify-content: start !important;
        text-align: start !important;
    }


    .foot-datos .atencion-cli {
        position: static !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        align-items: start !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion,
    .foot-datos .atencion-cli .dato-atencion .correo,
    .foot-datos .atencion-cli .dato-atencion .telefono {
        position: static !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: start !important;
        justify-content: start !important;
        text-align: start !important;
        gap: 0.5rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .foot-datos .direccion,
    .foot-datos .correo,
    .foot-datos .telefono {
        position: static !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: start !important;
        justify-content: start !important;
        text-align: start !important;
        gap: 0.5rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion img,
    .foot-datos .atencion-cli .dato-atencion .correo img,
    .foot-datos .atencion-cli .dato-atencion .telefono img {
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion h1,
    .foot-datos .atencion-cli .dato-atencion .correo h1,
    .foot-datos .atencion-cli .dato-atencion .telefono h1 {
        white-space: normal !important;
        text-align: start !important;
        margin: 0 !important;
        font-size: 9pt !important;
        line-height: 1.25 !important;
    }


    .foot-datos .redes>div,
    .foot-datos .redes .social {
        align-items: start !important;
        justify-content: start !important;
        text-align: start !important;
        width: 100% !important;
    }

    .foot-datos .line {
        display: none !important;
    }

    .foot-datos .redes {
        display: flex !important;
        flex-direction: column !important;
        align-items: start !important;
        justify-content: start !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .foot-datos .redes .social {
        display: flex !important;
        flex-direction: row !important;
        align-items: start !important;
        justify-content: start !important;
        gap: 1rem !important;
        width: auto !important;
    }
}

/* --- 4. TELÉFONOS Y MÓVILES (Hasta 768px) --- */
@media (max-width: 767.8px) {

    /* Padding uniforme y 100% de ancho */
    .tarjeta-nos-ind .textos,
    .textos-sec,
    .secciones,
    .nues-est,

    .tarjetas-objetivos,
    .textos-indicadores,
    .textos-imagenes,
    .nos-imagenes,
    .textos-propuesta,
    .collage,
    .tarjeta-nos-sec-line {
        max-width: 100% !important;
        width: 95% !important;

    }

    .soc-bic {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 95% !important;
    }

    /* Misión, Visión, Valores (Nosotros SAS BIC) en tarjetas apiladas completas */
    .mision,
    .vision,
    .valores,
    .politica {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.25rem !important;
    }

    /* Ajustes móviles para indicadores de porcentaje (Nosotros SAS BIC) */
    .porc-indicadores .anillo {
        max-width: 170px !important;
    }

    .porc-indicadores hr {
        margin: 2rem 0 !important;
    }

    .tarjeta-indicador-sec {
        padding: 1.25rem 1rem !important;
    }

    /* Columnas de 6 que en móvil deben ocupar el 100% (Objetivos en Estratégico) */
    .secciones .col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .tarjeta-obj {
        margin-top: 2rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .globo-numero {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-bottom: -70px !important;
    }

    /* Objetivos numerados (1 al 5 en Estratégico y Nosotros): apilados verticalmente */
    .tarjetas-objetivos .tarjeta {
        flex-direction: column !important;
        width: 100% !important;
    }

    .tarjetas-objetivos .col-numero,
    .tarjetas-objetivos .col-numero2,
    .tarjetas-objetivos .col-numero3,
    .tarjetas-objetivos .col-numero4,
    .tarjetas-objetivos .col-numero5 {
        border-radius: 10px 10px 0 0 !important;
        border-bottom: 0 !important;
        width: 100% !important;
        padding: 0.5rem !important;
        text-align: center;
        justify-content: center !important;
    }

    .tarjetas-objetivos .col-contenido,
    .tarjetas-objetivos .col-contenido2,
    .tarjetas-objetivos .col-contenido3,
    .tarjetas-objetivos .col-contenido4,
    .tarjetas-objetivos .col-contenido5 {
        border-radius: 0 0 10px 10px !important;
        width: 100% !important;
        padding: 1.25rem !important;
    }

    /* Collage de fotos en Estratégico */
    .collage .col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }

    .contenedor-foto-individual {
        height: 220px !important;
    }

    .foto-ajustada {
        border-radius: 20px !important;
    }

    /* Tarjetas de carrusel de productos y servicios */
    .cardcarrousel .card {
        max-height: 400px !important;
        width: 290px !important;
        max-width: 85vw !important;
    }

    .cardcarrousel .card-horizontal {
        width: 290px !important;
        max-width: 85vw !important;
        max-height: 130px !important;
    }

    /* Menú móvil hamburguesa */
    #navbarSupportedContent {
        width: 440px !important;
        max-width: 85vw !important;
        padding: 4.5rem 1.25rem 2rem !important;
    }

    /* Línea de tiempo (Historia) */
    .main-timeline::after {
        left: 25px !important;
    }

    .timeline {
        width: 100% !important;
        padding-left: 60px !important;
        padding-right: 15px !important;
    }

    .timeline::before {
        left: 50px !important;
    }

    .left::after,
    .right::after {
        left: 10px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 14pt !important;
    }

    .right {
        left: 0% !important;
    }

    .tarjeta-ppal-ind .container-fluid {
        max-height: 600px !important;
    }

    .carrousel .card {
        max-height: 200px !important;
    }

    /*---------------------------------------------------------------------------------*/

    .foot-datos {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 1rem !important;
        padding: 1.5rem 1.25rem 4.25rem 1.25rem !important;
        /* Espacio inferior mayor que el alto de .custom-footer */
        margin-bottom: 38px !important;
        /* Ayuda a que el final del documento supere la barra fija */
        height: auto !important;
    }

    .foot-datos .atencion-cli .dato-atencion,
    .foot-datos .atencion-cli .dato-atencion .row {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.55rem !important;
    }

    .foot-datos .t4i-logo,
    .foot-datos .atencion-cli,
    .foot-datos .redes {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;

    }

    .foot-datos .atencion-cli,
    .foot-datos .redes {
        padding-top: 0.5rem !important;
        border-top: 2px solid #48648e23;

    }


    .foot-datos .t4i-logo>div,
    .foot-datos .t4i-logo .certificaciones,
    .foot-datos .t4i-logo .reconocimientos {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }


    .foot-datos .atencion-cli {
        position: static !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        align-items: center !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion,
    .foot-datos .atencion-cli .dato-atencion .correo,
    .foot-datos .atencion-cli .dato-atencion .telefono {
        position: static !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .foot-datos .direccion,
    .foot-datos .correo,
    .foot-datos .telefono {
        position: static !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion img,
    .foot-datos .atencion-cli .dato-atencion .correo img,
    .foot-datos .atencion-cli .dato-atencion .telefono img {
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion h1,
    .foot-datos .atencion-cli .dato-atencion .correo h1,
    .foot-datos .atencion-cli .dato-atencion .telefono h1 {
        white-space: normal !important;
        text-align: center !important;
        margin: 0 !important;
        font-size: 9pt !important;
        line-height: 1.25 !important;
    }


    .foot-datos .redes>div,
    .foot-datos .redes .social {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .foot-datos .line {
        display: none !important;
    }

    .foot-datos .redes {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .foot-datos .redes .social {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        width: auto !important;
    }

    


}

/* --- 5. PANTALLAS EXTRA PEQUEÑAS (Hasta 480px) --- */
@media (max-width: 480px) {
    .titulo-ppal {
        font-size: 18pt !important;
    }

     

    .titulo-nos1 {
        padding-left: 1rem !important;
        font-size: 20pt !important;
    }

    .titulo-datos1 {
        font-size: 26pt !important;
    }

    .texto-datos1 {
        font-size: 11pt !important;
    }

    .cardcarrousel .card,
    .cardcarrousel .card-horizontal {
        max-height: 500px !important;
        width: 260px !important;
    }

    .foot-datos .direccion h1 {
        font-size: 15pt !important;
    }

    .custom-footer a {
        font-size: 8pt !important;
    }


}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA Y MULTI-IDIOMA EN PANTALLAS INTERMEDIAS (992px - 1360px)
   Evita desbordes del navbar cuando los textos se traducen a francés, alemán, etc.
   ========================================================================== */

@media (min-width: 992px) and (max-width: 1260px) {

    header,
    .header {
        height: auto !important;
        min-height: 90px !important;
    }

    .navbar-nav {
        gap: 0.15rem !important;
        flex-wrap: nowrap !important;
    }

    .nav-link {
        font-size: 11.5pt !important;
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
        white-space: nowrap !important;
    }

    .gt_float_switcher .gt-selected,
    .gt_float_switcher .gt-current-lang,
    .gt_float_switcher .gt_switcher {
        font-size: 11.5pt !important;
        padding: 0.45rem 0.35rem !important;
    }

    .gt_float_switcher .gt-lang-code {
        font-size: 11.5pt !important;
    }

    /* Infografía de pasos en pantallas intermedias */
    .ti-grid {
        gap: 1rem !important;
    }

    .ti-card-title {
        font-size: 0.85rem !important;
        min-height: 75px !important;
    }

    .ti-card-desc {
        font-size: 0.7rem !important;
    }

    .ti-ribbon span {
        font-size: 1.15rem !important;
    }

    .soc-bic {
        max-width: 100% !important;
        width: 95% !important;
    }
}

@media (min-width: 1261px) and (max-width: 1400px) {
    .nav-link {
        font-size: 13pt !important;
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }

    .gt_float_switcher .gt-selected,
    .gt_float_switcher .gt-current-lang,
    .gt_float_switcher .gt_switcher {
        font-size: 13pt !important;
    }

    .gt_float_switcher .gt-lang-code {
        font-size: 13pt !important;
    }

    .soc-bic {
        max-width: 100% !important;
        width: 95% !important;
    }
}

/* Ajustes adicionales para Diagrama de Sostenibilidad en móviles pequeños */
@media (max-width: 768px) {

    .diagrama-sostenibilidad,
    .indicadores .col.d-flex.align-items-center {
        max-width: 360px !important;
        margin: 0 auto !important;
    }

    .texto-diag-izq {
        left: -10% !important;
        max-width: 120px !important;
    }

    .texto-diag-der {
        right: -8% !important;
        max-width: 120px !important;
    }

    .soc-bic {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 576px) {

    .diagrama-sostenibilidad,
    .indicadores .col.d-flex.align-items-center {
        max-width: 310px !important;
        margin: 0 auto !important;
    }

    .texto-diag-izq {
        left: -5% !important;
        max-width: 100px !important;
    }

    .texto-diag-der {
        right: -4% !important;
        max-width: 100px !important;
    }

    .texto-diag-sup span,
    .texto-diag-izq span,
    .texto-diag-der span {
        font-size: 0.65rem !important;
    }
}




/* ==========================================================================
   DESACTIVACIÓN TOTAL DE ANIMACIONES EN EL FOOTER
   ========================================================================== */

.custom-footer,
.custom-footer *,
footer,
footer * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Transiciones suaves de color/opacidad únicamente en hover para enlaces del footer */
.foot-datos,
.foot-datos .social a img,
.foot-datos a,
.foot-datos h3,
.foot-datos .redes,
.custom-footer a,
footer a {
    transition: color 0.2s ease, opacity 0.2s ease !important;
}

.foot-datos .social a:hover,
.custom-footer a:hover,
footer a:hover {
    opacity: 0.8 !important;
}

/* ==========================================================================
   ESQUEMA DE TARJETAS MODULARES (ACENTO LATERAL CURVO Y SOMBRA)
   ========================================================================== */

.t4i-scheme-wrapper {
    width: 65% !important;
    max-width: 100% !important;

    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
    box-sizing: border-box;


}

.t4i-scheme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 3.5rem 2.5rem;
    width: 100%;
    margin: 0 auto;
}

.t4i-scheme-card {
    position: relative;
    padding: 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-height: auto;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2 !important;
}

.t4i-scheme-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #f5f6f7;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: -1;
    transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.t4i-scheme-card:hover::after {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

/* El acento posterior curvo que abraza las esquinas superior-izquierda e inferior-izquierda */
.t4i-scheme-card::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -14px;
    bottom: -10px;
    max-height: 500px !important;
    width: 400px;
    border-radius: 8px 0px 8px 8px;
    background: var(--scheme-accent, #89a9d0);
    z-index: -2;
    transition: transform 0.3s ease;
}

.t4i-scheme-card:hover::before {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Cabecera de la tarjeta: Icono + Título */
.t4i-scheme-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.15rem;
    min-height: 68px;
}

.t4i-scheme-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t4i-scheme-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.t4i-scheme-icon img {
    width: 100%;
    height: 100%;
    display: block;
}



.t4i-scheme-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(20pt, 1.4vw, 30pt) !important;
    font-weight: 800 !important;
    color: #0a2777 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.t4i-scheme-desc {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14pt !important;
    line-height: 1.55 !important;
    color: #101f38 !important;
    margin: 0 !important;
    text-align: left !important;
    flex-grow: 1;
}

/* Adaptación responsive para tablets y móviles */
@media (max-width:1440px) {
    .t4i-scheme-wrapper {
        max-width: 100% !important;
        width: 65% !important;
        margin: 0 !important;
        padding: 3rem 1.5rem;

    }

    .t4i-scheme-card::before {
        content: "";
        position: absolute;
        top: 6px;
        left: -14px;
        bottom: -10px;
        max-height: 500px !important;
        width: 85% !important;
        border-radius: 8px 0px 8px 8px;
        background: var(--scheme-accent, #89a9d0);
        z-index: -2;
        transition: transform 0.3s ease;
    }

    .banner-propuesta-contenedor {
        position: relative !important;
        z-index: 3 !important;
        width: 65% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
}

@media (max-width: 1280px) {
    .t4i-scheme-wrapper {
        max-width: 100% !important;
        width: 95% !important;
        margin: 0 !important;
        padding: 3rem 1.5rem;

    }

    .tarj-fin-lims .textos-propuesta {
        max-width: 100% !important;
        width: 95% !important;
        margin: 0 !important;
        padding: 3rem 1.5rem;
    }



    .banner-propuesta-contenedor {
        position: relative !important;
        z-index: 3 !important;
        width: 95% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .foot-datos {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 1rem !important;
        padding: 1.5rem 1.25rem 2.25rem 1.25rem !important;
        /* Espacio inferior mayor que el alto de .custom-footer */
        margin-bottom: 38px !important;
        /* Ayuda a que el final del documento supere la barra fija */
        height: auto !important;
    }

    .foot-datos .atencion-cli .dato-atencion,
    .foot-datos .atencion-cli .dato-atencion .row {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.55rem !important;
    }

    .foot-datos .t4i-logo,
    .foot-datos .atencion-cli,
    .foot-datos .redes {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;

    }

    .foot-datos .atencion-cli,
    .foot-datos .redes {
        padding-top: 0.5rem !important;
        border-top: 2px solid #48648e23;

    }


    .foot-datos .t4i-logo>div,
    .foot-datos .t4i-logo .certificaciones,
    .foot-datos .t4i-logo .reconocimientos {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }


    .foot-datos .atencion-cli {
        position: static !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        align-items: center !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion,
    .foot-datos .atencion-cli .dato-atencion .correo,
    .foot-datos .atencion-cli .dato-atencion .telefono {
        position: static !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .foot-datos .direccion,
    .foot-datos .correo,
    .foot-datos .telefono {
        position: static !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion img,
    .foot-datos .atencion-cli .dato-atencion .correo img,
    .foot-datos .atencion-cli .dato-atencion .telefono img {
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .foot-datos .atencion-cli .dato-atencion .direccion h1,
    .foot-datos .atencion-cli .dato-atencion .correo h1,
    .foot-datos .atencion-cli .dato-atencion .telefono h1 {
        white-space: normal !important;
        text-align: center !important;
        margin: 0 !important;
        font-size: 9pt !important;
        line-height: 1.25 !important;
    }


    .foot-datos .redes>div,
    .foot-datos .redes .social {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .foot-datos .line {
        display: none !important;
    }

    .foot-datos .redes {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .foot-datos .redes .social {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        width: auto !important;
    }
}

@media (max-width: 991px) {
    .t4i-scheme-wrapper {
        max-width: 100% !important;
        width: 95% !important;
        margin: 0 !important;
        padding: 3rem 1.5rem;

    }

    .t4i-scheme-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .t4i-scheme-card {
        padding: 1.8rem 1.8rem 1.6rem;
        min-height: 220px;
    }

    .t4i-scheme-card::before {
        content: "";
        position: absolute;
        top: 6px;
        left: -14px;
        bottom: -10px;
        max-height: 500px !important;
        width: 85% !important;
        border-radius: 8px 0px 8px 8px;
        background: var(--scheme-accent, #89a9d0);
        z-index: -2;
        transition: transform 0.3s ease;
    }

    .t4i-scheme-header {
        min-height: 60px;
        gap: 1rem;
    }

    .t4i-scheme-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }

    .t4i-scheme-title {
        font-size: 18pt !important;
    }

    .t4i-scheme-desc {
        font-size: 14pt !important;
    }
}

@media (max-width: 768px) {

    .t4i.t4i-scheme-wrapper {
        margin: 0 !important;
        padding: 3rem 1.5rem;
        max-width: 100% !important;
        width: 95% !important;
    }
}

@media (max-width: 576px) {
    .t4i-scheme-wrapper {
        max-width: 100% !important;
        width: 95% !important;
        margin: 0 !important;
        padding: 3rem 1.5rem;
    }

    .t4i-scheme-grid {
        gap: 2rem;
    }

    .t4i-scheme-card {
        padding: 1.5rem 1.25rem;
        min-height: 200px;
        border-radius: 20px;
    }

    .t4i-scheme-card::after {
        border-radius: 20px;
    }

    .t4i-scheme-card::before {
        content: "";
        position: absolute;
        top: 6px;
        left: -14px;
        bottom: -10px;
        max-height: 500px !important;
        width: 85% !important;
        border-radius: 8px 0px 8px 8px;
        background: var(--scheme-accent, #89a9d0);
        z-index: -2;
        transition: transform 0.3s ease;

    }

    .t4i-scheme-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .t4i-scheme-title {
        font-size: 16pt !important;
        line-height: 1.25 !important;
    }

    .t4i-scheme-desc {
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }
}