/**
 * CSS Nuevo Header y Footer
 * CSS del original nueva-home con namespace .cemtro-nuevo-header y .cemtro-nuevo-footer
 * para evitar conflictos con estilos de Zephyr
 */

/* Reset completo de elementos DOM para evitar conflictos con Zephyr */
.cemtro-nuevo-header,
.cemtro-nuevo-footer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', sans-serif;
    /* EXACTA de nueva-home */
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #000;
    /* Font smoothing CRÍTICO para que se vea igual */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Z-index alto para el header para que esté siempre por encima */
.cemtro-nuevo-header {
    z-index: 9999;
    position: sticky;
    /* Pegado arriba al hacer scroll */
    top: 0;
    /* Pegado al tope */
    background: white;
    /* Fondo para que no se transparente */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* Sombra sutil */
    transition: box-shadow 0.3s ease;
    /* Transición suave */
}

/* Overlay para cerrar menú mobile */
.cemtro-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cemtro-menu-overlay.active {
    display: block;
    opacity: 1;
}

.cemtro-nuevo-header *,
.cemtro-nuevo-footer * {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    vertical-align: baseline;
}

/* Reset de listas */
.cemtro-nuevo-header ul,
.cemtro-nuevo-header ol,
.cemtro-nuevo-footer ul,
.cemtro-nuevo-footer ol {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
    /* No heredar bold */
}

.cemtro-nuevo-header li,
.cemtro-nuevo-footer li {
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 400;
    /* No heredar bold */
}

/* Reset de links - EXACTO de nueva-home */
.cemtro-nuevo-header a,
.cemtro-nuevo-footer a {
    display: block;
    text-decoration: none;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background: transparent;
    font-weight: inherit;
}

.cemtro-nuevo-header a:link,
.cemtro-nuevo-header a:hover,
.cemtro-nuevo-header a:visited,
.cemtro-nuevo-footer a:link,
.cemtro-nuevo-footer a:hover,
.cemtro-nuevo-footer a:visited {
    text-decoration: none;
}

/* Links inline dentro de párrafos y listas */
.cemtro-nuevo-header p a,
.cemtro-nuevo-header label a,
.cemtro-nuevo-header li a,
.cemtro-nuevo-footer p a,
.cemtro-nuevo-footer label a,
.cemtro-nuevo-footer li a {
    display: inline;
    /* Override para inline */
}

/* Reset de headings */
.cemtro-nuevo-header h1,
.cemtro-nuevo-header h2,
.cemtro-nuevo-header h3,
.cemtro-nuevo-header h4,
.cemtro-nuevo-header h5,
.cemtro-nuevo-header h6,
.cemtro-nuevo-footer h1,
.cemtro-nuevo-footer h2,
.cemtro-nuevo-footer h3,
.cemtro-nuevo-footer h4,
.cemtro-nuevo-footer h5,
.cemtro-nuevo-footer h6 {
    margin: 0;
    padding: 0;
    color: inherit;
    /* NO heredar color de otros CSS */
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Reset de párrafos y divs */
.cemtro-nuevo-header p,
.cemtro-nuevo-header div,
.cemtro-nuevo-footer p,
.cemtro-nuevo-footer div {
    margin: 0;
    padding: 0;
}

/* Reset de inputs */
.cemtro-nuevo-header input,
.cemtro-nuevo-header button,
.cemtro-nuevo-footer input,
.cemtro-nuevo-footer button {
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    outline: none;
}

/* Reset de imágenes */
.cemtro-nuevo-header img,
.cemtro-nuevo-footer img {
    max-width: 100%;
    height: auto;
    display: block;
    border: none;
}

.cemtro-nuevo-header .cemtro-container,
.cemtro-nuevo-footer .cemtro-container {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* =================== HEADER =================== */

.cemtro-nuevo-header .content-top-header {
    padding: 5px 0;
    background-color: #0059A3;
    position: relative;
    z-index: 10;
    /* Por encima del contenido normal */
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-top-header {
        padding: 0;
    }
}

.cemtro-nuevo-header .content-top-header .cemtro-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-top-header .cemtro-container {
        margin: 0;
        width: 100%;
        max-width: initial;
    }
}

.cemtro-nuevo-header .content-top-header ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-top-header ul {
        width: 100%;
        height: 64px;
        justify-content: space-between;
    }
}

.cemtro-nuevo-header .content-top-header ul li a {
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 160%;
    padding: 0 16px;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-right: 1px solid #FFF;
    transition: color 400ms ease;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-top-header ul li a {
        width: 100%;
        flex: 1;
        text-align: center;
        padding: 8px;
        min-height: 52px;
        height: 100%;
    }
}

.cemtro-nuevo-header .content-top-header ul li a:hover {
    color: #FFCD00;
}

.cemtro-nuevo-header .content-top-header ul li:first-child a {
    padding-left: 0;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-top-header .cemtro-hidden {
        display: none;
    }
}

.cemtro-nuevo-header .content-top-header .content-logo {
    max-width: 180px;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-top-header .content-logo {
        display: none;
    }
}

.cemtro-nuevo-header .content-bottom-header {
    padding: 9px 0;
    background-color: #FFF;
    position: relative;
    /* Contexto para dropdowns */
    overflow: visible;
    /* Permitir ver los dropdowns */
    z-index: 10;
    /* Por encima del contenido normal */
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-bottom-header {
        padding: 8px 0;
    }
}

.cemtro-nuevo-header .content-bottom-header .cemtro-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cemtro-nuevo-header .content-bottom-header .content-btns {
    display: none;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-bottom-header .content-btns {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }
}

.cemtro-nuevo-header .content-bottom-header .content-btns .cemtro-input-txt {
    transform: translateX(-143px) !important;
    top: -14px;
}

.cemtro-nuevo-header .content-bottom-header .content-btns i.fa-light.fa-magnifying-glass {
    color: #000;
}

.cemtro-nuevo-header .content-bottom-header .content-btns i.fa-regular.fa-bars,
.cemtro-nuevo-header .content-bottom-header .content-btns i.fa-solid.fa-xmark {
    display: none;
    font-size: 19px;
    cursor: pointer;
    padding-left: 16px;
    border-left: 1px solid #DCDCDC;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-bottom-header .content-btns i.fa-regular.fa-bars {
        display: flex;
    }
}

.cemtro-nuevo-header .content-bottom-header .logo-hide {
    display: none;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-bottom-header .logo-hide {
        display: block;
    }
}

.cemtro-nuevo-header .content-bottom-header .logo-open {
    display: block;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-bottom-header .logo-open {
        display: none;
    }
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-bottom-header ul {
        display: none;
    }
}

.cemtro-nuevo-header .content-bottom-header ul .cemtro-btn,
.cemtro-nuevo-header .content-bottom-header ul .cemtro-img {
    display: none;
}

.cemtro-nuevo-header .content-bottom-header ul .content-responsive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.cemtro-nuevo-header .content-bottom-header ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    color: #131313;
    transition: font-weight 400ms ease;
    cursor: pointer;
}

.cemtro-nuevo-header .content-bottom-header ul li a:hover {
    font-weight: 500;
}

.cemtro-nuevo-header .content-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-btns {
        display: none;
    }
}

.cemtro-nuevo-header .content-btns .cemtro-input-txt {
    min-height: 44px;
    background-color: #FFF;
    border-radius: 30px;
    position: absolute;
    top: 50%;
    right: calc(100% - 8.5rem);
    transform: translateY(-50%);
    width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #FFCD00;
    padding: 0 17px;
    opacity: 0;
    visibility: hidden;
    transition:
        width 0.35s ease,
        opacity 0.3s ease 0.1s,
        visibility 0s linear 0.35s;
}

.cemtro-nuevo-header .content-btns .cemtro-input-txt.active {
    width: 200px;
    padding: 0 17px;
    opacity: 1;
    visibility: visible;
    transition:
        width 0.35s ease,
        opacity 0.2s ease,
        visibility 0s;
}



.cemtro-nuevo-header .content-btns i.fa-light.fa-magnifying-glass {
    color: #FFF;
    font-weight: 500;
    font-size: 21px;
    cursor: pointer;
    z-index: 2;
}

.cemtro-nuevo-header.open {
    width: 100%;
    position: fixed;
    z-index: 99999;
    /* Por encima de todo cuando el menú móvil está abierto */
}

.cemtro-nuevo-header.open .content-bottom-header .content-btns .cemtro-icons i.fa-regular.fa-bars {
    display: none;
}

.cemtro-nuevo-header.open .content-bottom-header .content-btns .cemtro-icons i.fa-solid.fa-xmark {
    display: block;
    color: #0059A3;
    font-size: 26px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.cemtro-nuevo-header.open .content-bottom-header .content-btns .cemtro-icons i.fa-solid.fa-xmark:hover {
    transform: scale(1.1);
    color: #003d73;
}

.cemtro-nuevo-header.open .content-bottom-header .cemtro-btn,
.cemtro-nuevo-header.open .content-bottom-header .cemtro-img {
    display: block;
}

.cemtro-nuevo-header.open .content-bottom-header .content-responsive {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px 24px;
    gap: 0;
    max-height: 460px;
    overflow: auto;
}

@media screen and (max-width: 767px) {
    .cemtro-nuevo-header.open .content-bottom-header .content-responsive {
        max-height: 370px;
    }
}

.cemtro-nuevo-header.open .content-bottom-header .content-responsive::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.cemtro-nuevo-header.open .content-bottom-header .content-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.cemtro-nuevo-header.open .content-bottom-header .content-responsive::-webkit-scrollbar-thumb {
    background-color: #003d73;
    border-radius: 4px;
}

/* Eliminar gap específicamente cuando hay item activo */
.cemtro-nuevo-header.open .content-bottom-header .content-responsive:has(li.has-children.active) {
    gap: 0 !important;
}

.cemtro-nuevo-header.open .content-bottom-header ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    /* Altura automática pero con max */
    max-height: calc(100vh - 120px);
    /* Limitado a la pantalla */
    overflow-y: auto;
    /* Scroll si es necesario */
    overflow-x: hidden;
    top: 112px;
    left: 0;
    position: fixed;
    z-index: 99998;
    /* Por encima de todo (pero debajo del header principal) */
    background: #FFF;
}

@media (max-width: 466px) {
    .cemtro-nuevo-header.open .content-bottom-header ul {
        top: 125px;
    }
}

.cemtro-nuevo-header.open .content-bottom-header ul li {
    width: 100%;
}

.cemtro-nuevo-header.open .content-bottom-header ul li a {
    font-size: 15px;
    font-weight: 500;
    padding: 16px 14px;
    justify-content: space-between;
    /* Texto a la izq, icono a la der */
    gap: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #333;
}

.cemtro-nuevo-header.open .content-bottom-header ul li a:hover {
    background-color: #F5F5F5;
}

.cemtro-nuevo-header.open .content-bottom-header ul li a i.fa-plus {
    margin-left: auto;
    font-size: 14px;
    color: #0059A3;
    font-weight: 700;
    transition: transform 0.3s ease;
}

/* DESKTOP - Menú horizontal */
@media (min-width: 1024px) {
    .cemtro-nuevo-header .content-bottom-header .cemtro-container>ul {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        height: auto;
        /* Altura automática, no crece con submenús */
    }

    .cemtro-nuevo-header .content-bottom-header ul li {
        position: relative;
        /* Contexto para el absolute */
    }

    /* Estilos del link padre en desktop */
    .cemtro-nuevo-header .content-bottom-header ul>li>a {
        padding: 16px 8px;
        /* Más padding vertical = más área de hover */
        transition: color 0.2s ease;
        position: relative;
    }

    .cemtro-nuevo-header .content-bottom-header ul>li:hover>a {
        color: #0059A3;
    }

    /* Mostrar icono + en desktop con rotación */
    .cemtro-nuevo-header i.toggle-submenu {
        display: inline-block;
        transition: transform 0.3s ease;
        font-size: 12px;
        margin-left: 4px;
    }

    /* Rotar a X cuando el menú está abierto (hover) */
    .cemtro-nuevo-header li.has-children:hover>a>i.toggle-submenu {
        transform: rotate(45deg);
    }

    /* SUBMENU BASE */
    .cemtro-nuevo-header .submenu {
        /* Oculto inicialmente */
        display: block;
        /* Necesario para permitir animación */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        /* Efecto desde arriba */
        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        position: absolute;
        top: 178%;
        left: 0;
        min-width: 408px;
        max-width: 90vw;
        max-height: 70vh;
        overflow: auto;
        background: #FFF;
        box-shadow: 0 4px 16px rgb(0 0 0 / 33%);
        padding: 12px 12px;
        border-radius: 17px;
        z-index: 99997;
        list-style: none;
        text-align: left;
        direction: ltr;

        /* MULTICOLUMNA */
        column-gap: 24px;
        column-fill: balance;
        column-width: 180px;
    }

    /* MOBILE: 1 sola columna */
    @media (max-width: 1023px) {
        .cemtro-nuevo-header .submenu {
            column-count: 1 !important;
            column-width: auto !important;
            width: 100% !important;
            transform: none !important;
            /* No animación en mobile */
        }
    }

    /* SCROLLBAR CUSTOM */
    /* Scrollbar con fondo completamente transparente */
    .cemtro-nuevo-header .submenu::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    /* Track transparente */
    .cemtro-nuevo-header .submenu::-webkit-scrollbar-track {
        background: transparent !important;
    }

    /* Thumb azul */
    .cemtro-nuevo-header .submenu::-webkit-scrollbar-thumb {
        background: #0059A3;
        /* Azul */
        border-radius: 4px;
    }

    /* Thumb azul más oscuro al pasar el mouse */
    .cemtro-nuevo-header .submenu::-webkit-scrollbar-thumb:hover {
        background: #004680;
        /* Azul más oscuro */
    }

    /* Esquina transparente */
    .cemtro-nuevo-header .submenu::-webkit-scrollbar-corner {
        background: transparent !important;
    }


    /* PUENTE PARA NO CERRAR EL MENÚ AL MOVER EL RATÓN */
    .cemtro-nuevo-header .submenu::before {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
        background: transparent;
        pointer-events: auto;
    }

    /* MOSTRAR SUBMENU CON HOVER + ANIMACIÓN */
    .cemtro-nuevo-header li.has-children:hover>.submenu,
    .cemtro-nuevo-header .submenu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        /* Baja suavemente */
        transition-delay: 0s;
    }

    /* ITEMS */
    .cemtro-nuevo-header .submenu li {
        margin: 0;
        padding: 0;
        width: 100%;
        break-inside: avoid;
        display: block;
        text-align: left;
        page-break-inside: avoid;
    }

    /* LINKS DE CADA ITEM */
    .cemtro-nuevo-header .submenu li a {
        font-size: 11px;
        font-weight: 400;
        line-height: 1.4;
        color: #333;
        padding: 7px 12px;
        min-height: 32px;
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        white-space: normal;
        transition: all 0.15s ease;
        /*text-transform: uppercase;*/
        letter-spacing: 0.25px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        word-wrap: break-word;
    }

    /* HOVER DE CADA LINK */
    .cemtro-nuevo-header .submenu li a:hover {
        color: #0059A3;
        background-color: #F5F5F5;
    }

}

/* Submenús MOBILE - Acordeón (CERRADOS por defecto) */
@media (max-width: 1023px) {

    /* Icono + más visible en mobile */
    .cemtro-nuevo-header i.toggle-submenu {
        display: inline-block !important;
        font-size: 14px;
    }

    /* Ocultar + cuando está activo */
    .cemtro-nuevo-header.open li.has-children.active>a>i.toggle-submenu {
        display: none !important;
    }

    /* Resaltar item padre cuando está activo */
    .cemtro-nuevo-header.open li.has-children.active>a {
        background: linear-gradient(135deg, #0059A3 0%, #003d73 100%);
        color: white !important;
        font-weight: 500;
        padding: 16px 16px;
        border-radius: 8px 8px 0 0;
        /* Solo redondear arriba */
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 89, 163, 0.3);
        margin-bottom: 0;
        /* Pegado al submenu */
    }

    /* Mostrar icono de volver cuando está activo */
    .cemtro-nuevo-header.open li.has-children.active>a::before {
        content: '←';
        font-family: inherit;
        margin-right: 12px;
        font-weight: 700;
        font-size: 18px;
        display: inline-block;
    }

    .cemtro-nuevo-header.open li.has-children.active>a::after {
        content: 'Cerrar';
        margin-left: auto;
        font-size: 12px;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Submenús ocultos por defecto EN MOBILE */
    .cemtro-nuevo-header .submenu {
        display: none !important;
        /* Forzar ocultos */
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /* Solo mostrar cuando el padre está activo Y menú móvil abierto */
    .cemtro-nuevo-header.open li.has-children.active .submenu {
        display: block !important;
        position: static !important;
        /* NO absolute - flujo normal del documento */
        margin-top: 0 !important;
        margin-bottom: 16px;
        max-height: 350px;
        /* Scroll si hay más de ~8 items */
        overflow-y: auto;
        overflow-x: hidden;
        padding: 12px 4px 8px 4px;
        background: #F8F9FA;
        border-radius: 0 0 8px 8px;
        /* Solo redondear abajo */
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid #0059A3;
        border-top: none;
        /* Sin borde arriba - conectado con el padre */
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }

    /* Indicador de scroll eliminado por petición del usuario */

    .cemtro-nuevo-header .submenu li {
        margin: 0;
        padding: 0;
        width: 100%;
        display: block;
    }

    .cemtro-nuevo-header .submenu li a {
        font-size: 14px;
        font-weight: 400;
        color: #444;
        padding: 11px 14px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        transition: all 0.2s ease;
        background: white;
        border-radius: 6px;
        margin: 4px 6px;
        border-left: 3px solid transparent;
        min-height: 44px;
        /* Área táctil */
    }

    .cemtro-nuevo-header .submenu li a:hover,
    .cemtro-nuevo-header .submenu li a:active {
        color: #0059A3;
        background-color: #E3F2FD;
        border-left-color: #0059A3;
        padding-left: 18px;
    }

    /* Scrollbar visible para submenús mobile */
    .cemtro-nuevo-header.open .submenu::-webkit-scrollbar {
        width: 6px;
    }

    .cemtro-nuevo-header.open .submenu::-webkit-scrollbar-track {
        background: #E5E5E5;
        border-radius: 3px;
    }

    .cemtro-nuevo-header.open .submenu::-webkit-scrollbar-thumb {
        background: #0059A3;
        border-radius: 3px;
    }

    .cemtro-nuevo-header.open .submenu::-webkit-scrollbar-thumb:hover {
        background: #003d73;
    }
}

/* Reglas de rotación de icono + movidas a sus respectivos media queries */

.cemtro-nuevo-header.open .content-bottom-header ul .cemtro-img {
    width: 100%;
    height: 95px;
}

.cemtro-nuevo-header.open .content-bottom-header ul .cemtro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575px) {
    .cemtro-nuevo-header.open .content-bottom-header ul .cemtro-img img {
        object-position: right;
    }
}

.cemtro-nuevo-header.open .content-bottom-header ul .cemtro-btn {
    width: 100%;
    max-width: initial;
    min-width: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

.cemtro-nuevo-header.open .content-bottom-header ul .cemtro-btn:hover {
    transform: scale(0.9);
}

@media (max-width: 1023px) {
    .cemtro-nuevo-header .content-top-header ul li {
        width: 100%;
        flex: 1;
        height: 100%;
    }
}

/* Botones - con namespace completo */
.cemtro-nuevo-header .cemtro-btn,
.cemtro-nuevo-footer .cemtro-btn {
    max-width: max-content;
    min-width: 130px;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 700;
    /* SCSS original */
    font-size: 14px;
    /* SCSS original */
    line-height: 160%;
    letter-spacing: 0.02em;
    /* 2% del SCSS */
    text-transform: uppercase;
    /* Del SCSS */
    text-decoration: none;
    transition: transform 400ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cemtro-nuevo-header .cemtro-btn:hover,
.cemtro-nuevo-footer .cemtro-btn:hover {
    transform: scale(1.1);
    text-decoration: none;
}

.cemtro-nuevo-header .cemtro-btn.bg-blue,
.cemtro-nuevo-footer .cemtro-btn.bg-blue {
    background-color: #0059A3;
    color: #FFF;
}

.cemtro-nuevo-header .cemtro-btn.border-blue,
.cemtro-nuevo-footer .cemtro-btn.border-blue {
    background-color: transparent;
    color: #0059A3;
    border: 2px solid #0059A3;
}

.cemtro-nuevo-header .cemtro-btn.border-white,
.cemtro-nuevo-footer .cemtro-btn.border-white {
    background-color: transparent;
    color: #FFF;
    border: 2px solid #FFF;
}

.cemtro-nuevo-header .cemtro-btn.border-yellow,
.cemtro-nuevo-footer .cemtro-btn.border-yellow {
    min-height: 36px;
    color: #0059A3;
    background-color: #FFCD00;
}

/* =================== FOOTER =================== */

.cemtro-nuevo-footer {
    background-color: #0059A3;
    color: white;
    /* Base blanco */
    padding-top: 32px;
}

/* Asegurar que todo el texto del footer sea blanco */
.cemtro-nuevo-footer * {
    color: white;
}

/* Override para links que deben heredar */
.cemtro-nuevo-footer a {
    color: white;
}

.cemtro-nuevo-footer a:hover {
    color: #FFCD00;
    /* Hover amarillo */
}

.cemtro-nuevo-footer .content-ft-to {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.cemtro-nuevo-footer .content-ft-to .content-right {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    justify-content: center;
}

.cemtro-nuevo-footer .content-ft-to .content-right h3 {
    max-width: 121px;
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    color: white;
}

.cemtro-nuevo-footer .content-ft-to .content-right .content-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.cemtro-nuevo-footer .content-ft-to .content-logo {
    max-width: 201px;
}

.cemtro-nuevo-footer .content-ft-bo {
    border-top: 1px solid white;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.cemtro-nuevo-footer .content-ft-bo a {
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: white;
}

.cemtro-nuevo-footer .cemtro-img.aspe {
    max-width: 110px;
}

.cemtro-nuevo-footer .cemtro-img.global {
    max-width: 86px;
}

.cemtro-nuevo-footer .cemtro-img.iqnet {
    max-width: 54px;
}

.cemtro-nuevo-footer .cemtro-img.imq {
    max-width: 46px;
}

.cemtro-nuevo-footer .cemtro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cemtro-nuevo-footer .content-ft-cente .cemtro-item {
    min-width: 285px;
    max-width: 239px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}

.cemtro-nuevo-footer .content-ft-cente {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 0;
    border-top: 1px solid white;
    flex-wrap: wrap;
    gap: 20px;
}

.cemtro-nuevo-footer .content-ft-cente h3.heade-item {
    font-weight: 700;
    font-size: 18px;
    line-height: 160%;
    text-transform: uppercase;
    color: white;
    /* Asegurar color blanco en footer */
}

.cemtro-nuevo-footer .content-ft-cente ul.body-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.cemtro-nuevo-footer .content-ft-cente ul.body-item li {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

.cemtro-nuevo-footer .content-ft-cente ul.body-item a {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}


.cemtro-nuevo-footer .content-ft-cente ul.body-item li img {
    margin-top: 6px;
}

.cemtro-nuevo-footer .content-i .cemtro-iconos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    margin-top: 24px;
    font-size: 19px;
}

.cemtro-nuevo-footer .content-i .cemtro-iconos i {
    cursor: pointer;
}

.cemtro-nuevo-footer .cemtro-arrow {
    display: none;
    transition: transform 0.3s ease;
}

@media (max-width: 1023px) {
    .cemtro-nuevo-footer .content-ft-to .content-logo {
        display: none;
    }

    .cemtro-nuevo-footer .content-ft-to {
        justify-content: center;
    }

    .cemtro-nuevo-footer .content-ft-to .content-right h3 {
        max-width: initial;
        text-align: center;
    }

    .cemtro-nuevo-footer .content-ft-to .content-right {
        display: flex;
        align-items: center;
        gap: 40px;
        justify-content: center;
        flex-direction: column;
    }

    .cemtro-nuevo-footer .content-images {
        flex-wrap: wrap;
        gap: 40px;
    }

    .cemtro-nuevo-footer .cemtro-img.aspe {
        max-width: 183px;
    }

    .cemtro-nuevo-footer .cemtro-img.global {
        max-width: 140px;
    }

    .cemtro-nuevo-footer .cemtro-img.iqnet {
        max-width: 56px;
    }

    .cemtro-nuevo-footer .cemtro-img.imq {
        max-width: 58px;
    }

    .cemtro-nuevo-footer .cemtro-container {
        margin: 0;
        max-width: initial;
        width: 100%;
    }

    .cemtro-nuevo-footer .content-ft-cente {
        padding: 32px 24px;
    }
}

@media (max-width: 567px) {
    .cemtro-nuevo-footer .cemtro-arrow {
        display: block;
    }

    .cemtro-nuevo-footer .content-ft-cente h3.heade-item {
        width: 100%;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
    }

    .cemtro-nuevo-footer .content-ft-cente .cemtro-item {
        min-width: initial;
        max-width: initial;
        width: 100%;
    }

    .cemtro-nuevo-footer .content-i {
        width: 100%;
    }

    .cemtro-nuevo-footer .content-ft-cente {
        padding: 0;
        gap: 0;
    }

    .cemtro-nuevo-footer .content-ft-cente .cemtro-item {
        padding: 16px 24px;
    }

    .cemtro-nuevo-footer .content-i .cemtro-iconos {
        padding: 16px 0;
        border-top: 1px solid white;
        justify-content: center;
    }

    /* Acordeón cerrado por defecto en móvil */
    .cemtro-nuevo-footer .content-ft-cente ul.body-item {
        display: none;
    }

    .cemtro-nuevo-footer .content-ft-cente .cemtro-item.active ul.body-item {
        display: flex;
    }

    .cemtro-nuevo-footer .content-ft-cente .cemtro-item.active .cemtro-arrow {
        transform: rotate(180deg);
    }
}

/* Ocultar header y footer de Zephyr */
body.cemtro-usando-nuevo-header .l-header,
body.cemtro-usando-nuevo-header .l-footer {
    display: none !important;
}


.cemtro-nuevo-footer .content-ft-to .content-right .content-images .cemtro-img:nth-child(1) {
    max-width: 110px;
}

.cemtro-nuevo-footer .content-ft-to .content-right .content-images .cemtro-img:nth-child(2) {
    max-width: 86px;
}

.cemtro-nuevo-footer .content-ft-to .content-right .content-images .cemtro-img:nth-child(3) {
    max-width: 54px;
}

.cemtro-nuevo-footer .content-ft-to .content-right .content-images .cemtro-img:nth-child(4) {
    max-width: 46px;
}

ul#menu-nuevo-footer-inferior-es {
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.wpml-ls-current-language a span {
    color: #ffcd00;
    font-weight: 700;
}

.cemtro-top a.content-logo {
    width: 121px;
}

@media (max-width: 1023px) {
    .cemtro-top a.content-logo {
        width: initial;
    }
}


@media (max-width: 1023px) {
    .sf-bubble-wrapper {
        width: 100%;
        position: fixed;
        left: 0;
        bottom: 0;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        padding: 8px 23px;
        flex-direction: row-reverse;
    }

    a.cemtro-btn.border-yellow {
        width: 100%;
        min-height: 48px;
        padding: 10px 24px;
        border-radius: 24px;
        font-weight: 700;
        font-size: 14px;
        line-height: 160%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        text-decoration: none;
        transition: transform 400ms ease;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0059A3;
        background-color: #FFCD00;
    }

    .sf-new-bubble {
        min-width: 50px;
        box-shadow: 0px 1.6px 6.4px 0px #00000040;
        position: initial !important;
    }

    .w-toplink {
        bottom: 58px !important;
    }
}

@media (max-width: 576px) {
    .cemtro-nuevo-footer .content-ft-to .content-right .content-images .cemtro-img:nth-child(1) {
        margin: 0 auto;
        max-width: initial;
        flex: 1 1 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cemtro-nuevo-footer .content-ft-to .content-right .content-images .cemtro-img:nth-child(1) img {
        max-width: 110px;
    }
}

@media (max-width: 1023px) {
    .cmplz-cookiebanner {
        bottom: 80px !important;
    }
}