.afc-top-bar {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 6;
    transition: all 0.15s ease-in-out;
}

.header-mobile-only {
    display: none;
}

.header-desktop {
    display: none;
}

.mega-menu__item a {
    color: #0b4498;
    font-size: 16px;
    font-weight: 400;
}

.mega-menu__item.mega-menu__item--destacado a {
    color: #0b4498;
    font-size: 18px;
    font-weight: 600;
}

.mega-menu-col--1 {
    background: #1F49B6;
    background: linear-gradient(180deg, rgba(31, 73, 182, 1) 0%, rgba(0, 62, 137, 1) 100%);
    padding: 24px;
    border-radius: 10px;
    height: 100%;
}

.mega-menu-col--1 a {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #fff;
}

.mega-menu-col--1 p {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    line-height: 20px;
}

.mega-menu-col--2 a {
    color: #1F49B6;
}

.mega-menu-col--3 {
    background: #F0F6FF;
    padding: 24px;
    border-radius: 10px;
    height: 100%;
}

.mega-menu-col--3 a {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #1F49B6;
}

.mega-menu-col--3 p {
    font-size: 16px;
    color: #2F2F2F;
    font-weight: 400;
    line-height: 20px;
}

.nav-bar__menu .menu-item:first-child {
    border: none;
}

.nav-bar__menu .menu-item {
    border: none;
}

a.nav-bar__link.nav-bar__link {
    color: #1F49B6;
}

@media only screen and (max-width: 53.125rem) {
    .header-mobile-only {
        display: block;
    }

    .header-mobile__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .header-mobile__brand .app-brand {
        padding: 0;
    }

    .header-mobile__brand .app-brand__logo {
        max-width: 70px;
    }

    .header-mobile__actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-left: auto;
    }

    .Home .header-mobile__search,
    .movilInicio .header-mobile__search,
    .header-mobile__search {
        display: block !important;
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        padding: 0;
        position: relative;
    }

    .header-mobile__search span {
        display: none;
    }

    .header-mobile__search:before {
        content: '' !important;
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        height: 20px !important;
        width: 20px !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: center !important;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23003E89' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
    }

    .header-mobile__access-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.7rem 0.9rem;
        border-radius: 10px;
        background: #2554c7;
        color: #fff;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
    }

    .header-mobile__access-button:hover {
        color: #fff;
        text-decoration: none;
    }

    .Home .header-mobile__menu-button,
    .movilInicio .header-mobile__menu-button,
    .header-mobile__menu-button {
        display: block !important;
        width: auto;
        min-width: auto;
        height: 2.5rem;
        padding: 0 0 0 2.25rem !important;
        position: relative;
    }

    .header-mobile__menu-button:before {
        content: '' !important;
        position: absolute;
        top: 50% !important;
        left: 0 !important;
        transform: translateY(-50%) !important;
        height: 14px !important;
        width: 26px !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: center !important;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18' fill='none'%3E%3Cpath fill='%23003E89' d='M26.075 7.5H1.925C1.138 7.5.5 8.138.5 8.925v.15c0 .787.638 1.425 1.425 1.425h24.15c.787 0 1.425-.638 1.425-1.425v-.15c0-.787-.638-1.425-1.425-1.425zm0 7.5H1.925C1.138 15 .5 15.638.5 16.425v.15C.5 17.362 1.138 18 1.925 18h24.15c.787 0 1.425-.638 1.425-1.425v-.15c0-.787-.638-1.425-1.425-1.425zm0-15H1.925C1.138 0 .5.638.5 1.425v.15C.5 2.362 1.138 3 1.925 3h24.15c.787 0 1.425-.638 1.425-1.425v-.15C27.5.638 26.862 0 26.075 0z'/%3E%3C/svg%3E") !important;
    }

    .header-mobile__menu-button span {
        color: #003E89 !important;
        font-weight: 700;
        font-size: 14px;
    }

    .header-mobile__drawer-top {
        display: flex;
        justify-content: flex-end;
        padding-bottom: 10px;
    }

    .nav-bar__mobile-close {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0 !important;
        height: auto !important;
        background: transparent !important;
        border: 0 !important;
        position: relative !important;
        cursor: pointer !important;
        text-decoration: none !important;
    }

    .nav-bar__mobile-close:before {
        content: '' !important;
        position: static !important;
        display: inline-block !important;
        height: 18px !important;
        width: 18px !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: center !important;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23003E89' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
        transform: none !important;
        margin: 0 !important;
    }

    .nav-bar__mobile-close span {
        color: #003E89 !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        font-family: inherit !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .collapse__deployer:after {
        content: none;
    }

    .header-mobile__menu-holder {
        border-radius: 0 20px 20px 0;
        position: relative;
        width: 100%;
        height: 100vh !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px;
        box-sizing: border-box;
        overflow: hidden !important;
    }

    .header-mobile__menu-holder .nav-bar__menu .menu-item {
        background: transparent;
        margin: 6px 0;
        padding: 0 0 4px !important;
    }

    .header-mobile__menu-holder .mega-menu-dropdown .mega-menu-col--1 .mega-menu__link,
    .header-mobile__menu-holder .mega-menu-dropdown .mega-menu-col--1 .mega-menu__summary {
        color: #ffffff !important;
    }

    .header-mobile__menu-holder a.nav-bar__link.nav-bar__link {
        height: auto !important;
    }

    .header-mobile__menu {
        position: relative !important;
        flex: 1 !important;
        overflow-y: auto !important;
        width: 100%;
        padding-bottom: 40px;
    }

    .header-mobile__menu-holder:has(.mega-menu-dropdown.is-open) {
        overflow: hidden !important;
    }

    .header-mobile__menu-holder:has(.mega-menu-dropdown.is-open) .header-mobile__menu {
        overflow: hidden !important;
    }

    .header-mobile__menu .nav-bar__menu {
        width: 100%;
    }

    .nav-bar__body {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    .Home .nav-bar__body.deployed,
    .movilInicio .nav-bar__body.deployed,
    .nav-bar__body.deployed {
        display: block !important;
    }

    .Home .nav-bar__items,
    .movilInicio .nav-bar__items,
    .nav-bar__items {
        display: block !important;
        flex-direction: column;
        width: 100% !important;
    }

    .nav-bar__item {
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1.5px solid #f2f5fa !important;
        padding: 18px 0 !important;
        position: relative;
    }

    .nav-bar__link {
        font-size: 18px !important;
        color: #003E89 !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        padding-right: 10px !important;
    }

    .nav-bar__link::after {
        display: none !important;
    }

    .nav-bar__link--has-mega::after {
        content: '' !important;
        display: inline-block !important;
        width: 9px !important;
        height: 9px !important;
        border-top: 2.5px solid #003E89 !important;
        border-right: 2.5px solid #003E89 !important;
        border-bottom: none !important;
        border-left: none !important;
        transform: rotate(45deg) !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }

    /* --- Mega Menú Móvil --- */
    .mega-menu-dropdown {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #ffffff !important;
        z-index: 1000 !important;
        display: none !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        border-radius: 0 20px 20px 0 !important;
        cursor: auto;
    }

    .mega-menu-dropdown.is-open {
        display: block !important;
    }

    .mega-menu-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding-bottom: 40px;
    }

    .mega-menu-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .mega-menu-card-dark {
        background-color: #003E89 !important;
        color: #ffffff !important;
        padding: 20px !important;
        border-radius: 12px !important;
        height: auto !important;
        margin-bottom: 15px !important;
        box-sizing: border-box !important;
    }

    .mega-menu-card-dark .mega-menu__link {
        color: #ffffff !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        text-decoration: underline !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 8px !important;
        display: block !important;
    }

    .mega-menu-card-dark .mega-menu__summary {
        display: block !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
    }

    .mega-menu-col .mega-menu-card-light {
        background-color: #f2f5fa !important;
        border: 1.5px solid #edf2f7 !important;
        border-radius: 12px !important;
        padding: 20px !important;
        margin-top: 15px !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .mega-menu-card-light .mega-menu__link {
        color: #003E89 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        text-decoration: underline !important;
        margin-bottom: 8px !important;
        display: block !important;
    }

    .mega-menu-card-light .mega-menu__summary {
        display: block !important;
        color: #4a5568 !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        font-weight: 400 !important;
    }

    .mega-menu-dropdown .mega-menu__item {
        padding: 8px 0 10px !important;
        background: transparent !important;
        border-bottom: 1px solid #F3F3F3 !important;
        box-shadow: none !important;
    }

    .mega-menu-dropdown .mega-menu-col>.mega-menu-card-light,
    .mega-menu-dropdown .mega-menu-col>.mega-menu-card-dark {
        border-bottom: none !important;
    }

    .mega-menu-dropdown .mega-menu__link {
        font-size: 18px !important;
        color: #003E89 !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        display: block !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }

    .mega-menu-dropdown .mega-menu__link:hover {
        text-decoration: underline !important;
    }

    .mega-menu-dropdown .mega-menu__summary {
        display: block !important;
        font-size: 14px !important;
        color: #5c6f84 !important;
        line-height: 1.4 !important;
        font-weight: 400 !important;
    }

    /* --- Cabecera Móvil del Mega Menú --- */
    .mega-menu-dropdown__mobile-header {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 15px !important;
        padding-bottom: 16px !important;
        margin-bottom: 20px !important;
        border-bottom: 1.5px solid #f2f5fa !important;
    }

    .mega-menu-dropdown__back-btn {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        font-size: 16px !important;
        color: #003E89 !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-decoration: underline !important;
    }

    .mega-menu-dropdown__back-btn .back-icon {
        display: inline-block !important;
        width: 7px !important;
        height: 7px !important;
        border-top: 2px solid #003E89 !important;
        border-left: 2px solid #003E89 !important;
        transform: rotate(-45deg) !important;
        margin-top: 0 !important;
    }

    .mega-menu-dropdown__parent-title {
        font-size: 16px !important;
        color: #003E89 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        margin-left: auto !important;
    }
}

@media only screen and (min-width: 53.125rem) {
    .mega-menu-dropdown__mobile-header {
        display: none !important;
    }

    .header-mobile-only {
        display: none !important;
    }

    .header-desktop,
    .afc-header-desktop {
        display: block;
        background: #fff;
        border-bottom: 1px solid #e8edf5;
    }

    .header-desktop__row {
        display: flex;
        align-items: center;
        gap: 2rem;
        min-height: 76px;
    }

    .afc-header-desktop .container.container--full {
        position: relative;
    }

    .header-desktop__brand {
        flex: 0 0 auto;
    }

    .header-desktop__brand .app-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0;
    }

    .header-desktop__brand .app-brand__logo {
        max-width: 104px;
    }

    .header-desktop__title {
        margin: 0;
        font-size: 0.625rem;
        line-height: 1.2;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #6b7280;
    }

    .header-desktop__menu {
        flex: 1 1 auto;
        min-width: 0;
    }



    .header-desktop__menu .nav-bar__items {
        align-items: center;
        justify-content: flex-start;
        position: relative !important;
    }

    .header-desktop .nav-bar__item {
        padding: 0 1rem;
    }

    .header-desktop .nav-bar__link {
        color: #2554c7;
        font-size: 0.98rem;
        font-weight: 600;
    }

    .header-desktop__actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 0 0 auto;
    }

    .header-desktop__search {
        min-width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: #2554c7;
    }

    .header-desktop__search .button__wrap:after {
        font-size: 1.35rem;
    }

    .header-desktop__access {
        position: relative;
    }

    .header-desktop__access-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.9rem 1.25rem;
        border: 0;
        border-radius: 10px;
        background: #2554c7;
        color: #fff;
    }

    .header-desktop__access-button .button__wrap {
        display: none;
    }

    .header-desktop__access-button:after {
        content: '▾';
        font-size: 0.9rem;
    }

    .header-desktop__access-button .button__text {
        text-align: center;
        font-weight: 700;
    }

    .header-desktop__access .collapse__body {
        right: 0;
        left: auto;
        min-width: 220px;
    }
}

/* --- Primer Nivel: Navbar --- */
.nav-bar__items {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    position: static;
    width: 100%;
}

.nav-bar__item {
    padding: 15px 20px;
}

.nav-bar__items>.nav-bar__item.nav-bar__item--has-mega.menu-item-has-children {
    position: static;
}

.nav-bar__menu-wrap,
.nav-bar__items {
    overflow: visible;
}

.nav-bar__link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
}

.nav-bar__link--has-mega {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-bar__link--has-mega:after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
    flex: 0 0 auto;
}

.nav-bar__link--featured,
.mega-menu__link--featured {
    font-weight: 700;
    color: #0b4498;
}

/* --- Estructura General del Mega Menú --- */
.mega-menu-dropdown {
    position: absolute;
    top: 176%;
    left: 0;
    right: auto;
    width: 100%;
    max-width: none;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 30px;
    box-sizing: border-box;
    display: none;
    /* Controlado por el JS de clicks */
    z-index: 9999;
    cursor: auto;
}

/* Estado activo disparado por JS */
.mega-menu-dropdown.is-open {
    display: block;
}

/* El grid de columnas dinámicas */
.mega-menu-grid {
    display: grid;
    gap: 20px;
    align-items: start;
}

.mega-menu-grid.cols-3 {
    grid-template-columns: 30% 35% 30%;
}

.mega-menu-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.mega-menu-grid:not(.cols-3):not(.cols-2),
.mega-menu-grid.cols-1 {
    grid-template-columns: 1fr;
}

/* --- Estilos por Columna --- */

/* Columna 1: Tarjeta Azul Oscuro */
.mega-menu-card-dark {
    background-color: #0b4498;
    color: #ffffff;
    padding: 35px 25px;
    border-radius: 8px;
    height: 100%;
    box-sizing: border-box;
}

.mega-menu-card-dark .mega-menu__link {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: underline;
    display: block;
    margin-bottom: 15px;
    line-height: 1.3;
}

.mega-menu-card-dark .mega-menu__summary {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Columna 2: Listado de Links en el Centro */
.mega-menu-col--2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-menu-col--2 .mega-menu__item {
    padding: 6px 0;
}

/* .mega-menu-col--2 .mega-menu__link {
    color: #0b4498;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
} */

.mega-menu-col--2 .mega-menu__link:hover {
    text-decoration: underline;
}

/* Elemento con Summary en la columna central */
.mega-menu-col--2 .mega-menu__item--with-summary {
    margin-top: 10px;
}

.mega-menu-col--2 .mega-menu__item--with-summary .mega-menu__link {
    font-size: 17px;
    font-weight: 700;
}

.mega-menu-col--2 .mega-menu__summary {
    color: #666666;
    font-size: 14px;
    margin: 4px 0 0 0;
}

/* Columna 3: Tarjeta Azul Claro (Derecha) */
.mega-menu-card-light {
    background-color: #f1f6fc;
    border: 1px solid #e2eaf4;
    padding: 30px 25px;
    border-radius: 8px;
    box-sizing: border-box;
}

.mega-menu-card-light .mega-menu__link {
    color: #0b4498;
    font-size: 20px;
    font-weight: 700;
    text-decoration: underline;
    display: block;
    margin-bottom: 12px;
}

.mega-menu-card-light .mega-menu__summary {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* <!--FOOOTER--> */
footer.site-footer {
    background: #003E89;
    color: #fff;
    padding: 4rem 0;
}


/* Reutilización de contenedores estándar del theme */
.site-footer .container--full {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* Configuración de rejilla de 5 columnas proporcionales */
.site-footer__grid {
    display: grid;
    grid-template-columns: 20% 18% 18% 18% 20%;
    /* Anchos calculados en base a la imagen */
    gap: 30px;
    align-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 40px;
}

/* --- Columnas Internas --- */
.site-footer__col {
    display: flex;
    flex-direction: column;
}

/* Espaciados entre bloques de la misma columna (Caso Columna 2 que tiene 2 secciones) */
.site-footer__section {
    margin-bottom: 30px;
}

.site-footer__section:last-child {
    margin-bottom: 0;
}

/* Títulos de sección (No cliqueables / Dummy Links) */
.site-footer__section-title {
    color: #E1E1E1;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 18px 0;
    text-transform: none;
    line-height: 20px;
}

/* Listados de enlaces */
.site-footer__links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* Separación vertical exacta */
}

/* Enlaces del Footer (Subrayados por defecto de acuerdo a la captura) */
.site-footer__link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    transition: color 0.2s ease;
}

.site-footer__link:hover {
    color: #b3cceb;
}

/* --- Columna 5: Redes y Teléfonos --- */
.site-footer__socials {
    display: flex;
    gap: 8px;
    margin-bottom: 35px;
}

.site-footer__social-link {
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.site-footer__social-link:hover {
    transform: scale(1.15);
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer__contact-icon {
    font-size: 16px;
    color: #ffffff;
    transform: scaleX(-1);
    /* Espeja el ícono del teléfono como se aprecia en la imagen */
}

.site-footer__contact-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    text-decoration: underline;
}

/* --- Barra de Copyright --- */
.site-footer__bottom {
    padding-top: 25px;
    text-align: center;
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
}

li.ico-social-link {
    list-style: none;
    height: 36px;
    width: 36px;
}

.ico-social-link-linkedin {
    background: url("/app/uploads/2026/06/ico-linkedin-2026.png");
    width: 36px;
    height: 36px;
    background-position: center;
    background-repeat: no-repeat;
}

.ico-social-link-instagram {
    background: url("/app/uploads/2026/06/ico-Instagram-2026.png");
    width: 36px;
    height: 36px;
    background-position: center;
    background-repeat: no-repeat;
}

.ico-social-link-twitter {
    background: url("/app/uploads/2026/06/ico-twitter-2026.png");
    width: 36px;
    height: 36px;
    background-position: center;
    background-repeat: no-repeat;
}

.ico-social-link-facebook {
    background: url("/app/uploads/2026/06/ico-facebook-2026.png");
    width: 36px;
    height: 36px;
    background-position: center;
    background-repeat: no-repeat;
}

.ico-social-link-youtube {
    background: url("/app/uploads/2026/06/ico-youtube-2026.png");
    width: 36px;
    height: 36px;
    background-position: center;
    background-repeat: no-repeat;
}

.ico-social-link-phone {
    background: url("/app/uploads/2026/06/telephone.png");
    width: 28px;
    height: 28px;
    background-position: center;
    background-repeat: no-repeat;
}


/* --- Soporte de Responsividad --- */
@media (max-width: 960px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .site-footer__col--1 {
        grid-column: span 2;
        text-align: center;
        margin-auto: 0 auto;
    }
}

@media (max-width: 600px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__col--1 {
        grid-column: span 1;
    }
}

@media only screen and (max-width: 53.125rem) {
    main {
        margin-top: 58px;
        padding-top: 10px;
    }

    /* --- Buscador Móvil Overlay --- */
    .movil.nav-bar__search__holder {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.4) !important;
        z-index: 99999 !important;
        transition: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .movil.nav-bar__search__holder.deployed {
        display: block !important;
        height: 100vh !important;
    }

    .movil.nav-bar__search__holder .afc-search-horizon {
        background: #ffffff !important;
        padding: 15px 20px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: auto !important;
        min-height: auto !important;
    }

    .movil.nav-bar__search__holder .afc-search-horizon__body {
        padding: 0 !important;
        margin: 0 !important;
    }

    .movil.nav-bar__search__holder .afc-search-panel__brand {
        display: none !important;
    }

    .movil.nav-bar__search__holder .afc-search-panel {
        display: block !important;
        width: 100% !important;
    }

    .movil.nav-bar__search__holder .afc-search-panel__form {
        width: 100% !important;
    }

    .movil.nav-bar__search__holder .afc-search-form {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        border: 0 !important;
        background: transparent !important;
        padding: 0 !important;
        width: 100% !important;
        position: relative !important;
    }

    .movil.nav-bar__search__holder .search__form__input {
        flex: 1 !important;
        height: 48px !important;
        border: 1.5px solid #cccccc !important;
        border-radius: 8px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
        color: #1a1a1a !important;
        background: #ffffff !important;
        outline: none !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .movil.nav-bar__search__holder .afc-search-form__submit {
        margin: 0 !important;
        position: static !important;
    }

    .movil.nav-bar__search__holder .afc-search-submit-button {
        width: 48px !important;
        height: 48px !important;
        border-radius: 8px !important;
        background: #003E89 !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .movil.nav-bar__search__holder .afc-search-submit-button .button__wrap {
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: center !important;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
    }

    .movil.nav-bar__search__holder .afc-search-form__close {
        display: none !important;
    }
}

/* --- Seguro en línea Dropdown (Mobile & Desktop) --- */
.collapse--navbutton {
    position: relative !important;
}

.collapse--navbutton .collapse__body {
    display: none;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    padding: 10px 20px !important;
    min-width: 240px !important;
    z-index: 99999 !important;
    margin-top: 10px !important;
    box-sizing: border-box !important;
}

.collapse--navbutton .collapse__body.active {
    display: block !important;
}

.collapse--navbutton .collapse-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.collapse--navbutton .collapse-menu .menu-item {
    border-bottom: 1.5px solid #f2f5fa !important;
    padding: 14px 0 !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
}

.collapse--navbutton .collapse-menu .menu-item:last-child {
    border-bottom: none !important;
}

.collapse--navbutton .collapse-menu .menu-item a {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #003E89 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.collapse--navbutton .collapse-menu .menu-item a:hover {
    color: #003E89 !important;
    text-decoration: none !important;
}

/* Chevron pointer inside links */
.collapse--navbutton .collapse-menu .menu-item a::after {
    content: '' !important;
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2.2px solid #003E89 !important;
    border-right: 2.2px solid #003E89 !important;
    transform: rotate(45deg) !important;
    flex-shrink: 0 !important;
    margin-left: 15px !important;
}

/* Specific Mobile overrides for header-mobile__access-button */
@media only screen and (max-width: 53.125rem) {
    .header-mobile__access-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.7rem 0.9rem !important;
        border-radius: 10px !important;
        background: #2554c7 !important;
        color: #fff !important;
        font-size: 0.875rem !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        border: 0 !important;
        cursor: pointer !important;
        outline: none !important;
    }
}

/* --- Seguro en línea Dropdown & Overflow Fixes --- */

/* Force parent elements to have overflow visible so the absolute dropdown is not cut off */
@media only screen and (max-width: 53.125rem) {

    .header-bar,
    .nav-bar.header-mobile-only,
    .nav-bar.header-mobile-only .container,
    .nav-bar__holder,
    .header-mobile__top,
    .header-mobile__actions,
    .header-mobile__access {
        overflow: visible !important;
    }
}

/* Disable hover activation for Seguro en línea dropdown on desktop */
@media only screen and (min-width: 48rem) {
    .collapse--navbutton:not(.active):hover .button--user {
        pointer-events: auto !important;
        /* Keep clickable */
        color: #fff !important;
        background: #2554c7 !important;
        font-weight: 700 !important;
    }

    .collapse--navbutton:not(.active):hover .button--user:after {
        color: #fff !important;
        transform: none !important;
    }

    .collapse--navbutton:not(.active):hover .button--user+.collapse__body {
        display: none !important;
        /* Disable hover menu display when not active */
    }
}

/* Explicit clicked/active state display rules */
.collapse--navbutton .collapse__body {
    display: none !important;
}

.collapse--navbutton .collapse__body.active {
    display: block !important;
}

/* Button active and hover states styling */
.collapse--navbutton .collapse__deployer:hover {
    background: #1f49b6 !important;
    color: #fff !important;
}

.collapse--navbutton.active .collapse__deployer,
.collapse--navbutton .collapse__deployer.active {
    background: #1f49b6 !important;
    color: #fff !important;
}

@media only screen and (min-width: 48rem) {

    .collapse--navbutton.active .header-desktop__access-button:after,
    .collapse--navbutton .header-desktop__access-button.active:after {
        transform: rotateX(180deg) !important;
    }
}

/* Remove default parent theme icons on dropdown menu items (share icon, worker/employer icons) */
.collapse--navbutton .collapse__body ul .menu-item::before,
.collapse--navbutton .collapse__body ul .menu-item::after {
    display: none !important;
    content: none !important;
}