/* Utilidad para alinear contenido principal con el header/logo */
.custom-header-width {
    max-width: 1324px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 14px;
    padding-right: 14px;
}

@font-face {
    font-family: 'Benton Sans';
    src: url('/wp-content/themes/portalBPO/fonts/benton-sans/BentonSansBBVA-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'BentonSansBBVA-Medium';
    src: url('/wp-content/themes/portalBPO/fonts/benton-sans/BentonSansBBVA-Medium.ttf') format('truetype');
    font-weight: 500; 
    font-style: normal;
}
@font-face {
    font-family: 'BentonSansBBVA-Book';
    src: url('/wp-content/themes/portalBPO/fonts/benton-sans/BentonSansBBVA-Book.ttf') format('truetype');
    font-weight: 350; 
    font-style: normal;
}
@font-face {
    font-family: 'Benton Sans';
    src: url('/wp-content/themes/portalBPO/fonts/benton-sans/BentonSansBBVA-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Tiempos Headline';
    src: url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Regular.woff2') format('woff2'),
         url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Regular.woff') format('woff'),
         url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Regular.ttf') format('truetype'),
         url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Tiempos Headline';
    src: url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Bold.woff2') format('woff2'),
         url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Bold.woff') format('woff'),
         url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Bold.ttf') format('truetype'),
         url('/wp-content/themes/portalBPO/fonts/tiempos-headline/TiemposHeadline-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --color-bbva-azul: #001391; 
    --color-bbva-link: #070E46; 
    --header-height-desktop: 88px;
    --header-height-mobile: 60px;
    --color-text-secondary: #5e5e5e; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f7f7f7 !important;
    padding-top: calc(var(--header-height-desktop) + 40px); 
    transition: padding-top 0.3s ease-in-out;
}

.site-header {
    background: rgb(255, 255, 255);
    height: var(--header-height-desktop); 
    box-shadow: 0 4px 12px rgba(27, 27, 27, 0.033);
    position: fixed;
    top: 0;
    left: 14px;
    right: 14px;
    z-index: 1051;
    transition: all 0.3s ease-in-out;
    width: 100%;
    padding: 0; 
    margin: 22px;
}

.header-container {
    height: 100%;
    padding: 0 16px;
}

/* EFECTO SCROLL HEADER (Escritorio - 64px) */
/* 1. Transiciones suaves para altura, logo y padding */
.site-header,
.header-container,
.site-branding,
.header-logo,
.main-navigation .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.header-scrolled .main-navigation .nav-link.active::after {
    bottom: 17px !important; 
}

@media (min-width: 992px) {
    
    .site-header.header-scrolled {
        height: 64px !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .site-header.header-scrolled .header-container {
        height: 64px;
    }

    .site-header.header-scrolled .site-branding {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .site-header.header-scrolled .header-logo {
        height: 40px !important; 
        width: 189px;
    }

    .site-header.header-scrolled .main-navigation .nav-link {
        padding: 21px 0 !important; 
    }
    
    .site-header.header-scrolled .boton-acceso {
        padding: 10px 24px !important; 
    }
}

/* Contenedor flotante y redondeado, solo en ESCRITORIO */
@media (min-width: 992px) { 
    .site-header {
        border-radius: 16px;
        top: 24px;
        left: 10px;
        right: 14px;
        width: calc(100% - 50px);
    }
    
    .header-container {
        max-width: 1324px; 
        margin: 0 auto; 
        padding: 0 14px; 
    }
    
    /* Logo y Subtítulo - Alineación Desktop */
    .site-branding {
        flex-direction: column; 
        justify-content: center; 
        padding-top: 17px; 
        padding-bottom: 17px;
        align-items: flex-start; 
    }

    .header-actions {
        align-items: center; 
    }
    
    /* Botón Menú con Texto (menu-button-desktop) */
    .menu-button-desktop {
        background: none;
        border: none;
        border-radius: 0; 
        color: var(--color-bbva-azul) !important;
        font-size: 15.01px;
        font-weight: 500;
        padding: 0;
        cursor: pointer;
    }
    .menu-button-desktop svg {
        stroke: var(--color-bbva-azul); 
        width: 20px;
        height: 20px;
    }
    .menu-button-desktop img {
        filter: brightness(0) saturate(100%) invert(8%) sepia(98%) saturate(1414%) hue-rotate(239%) brightness(97%) contrast(96%);
    }
}

.menu-overlay {
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s; 
    z-index: 1050; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.8); 
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Estilos del Logo (General) */
.site-branding {
    margin-left: -10px; 
    height: 100%; 
    display: flex;
    align-items: center;
}
.header-logo {
    height: 51px !important; 
    width: 241px;
    display: block;
    margin-left: 14px;
}
/* Navegación Principal (Escritorio) */
.main-navigation {
    gap: 32px; 
    margin-left: 170px; 
}
.main-navigation .nav-link {
 position: relative !important;
    display: inline-block;
    overflow: visible; 
}
.main-navigation a.nav-link.active::after,
.main-navigation a.nav-link-custom.active::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 8px !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background-color: #070E46 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
}

/* Evitamos que el overflow oculte la línea */
.main-navigation .nav-item {
    overflow: visible !important;
}

/* Botón de Acceso */
.boton-acceso {
    background-color: var(--color-bbva-azul) !important;
    color: white !important;
    padding: 15px 32px !important;
    border-radius: 8px !important;
    font-size: 15.01px !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
    margin-right: 8px !important;
    font-family: 'BentonSansBBVA-Medium', sans-serif !important;
    white-space: nowrap !important;
    border: none !important;
    font-weight: 500 !important;
}
.boton-acceso:hover {
    background-color: #070E46 !important;
    color: #ffffff !important;
}

/* Estilo del Toggler/Menú Hamburguesa Móvil */
.navbar-toggler {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-bbva-azul);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-left: 12px;
    line-height: 1;
}
.navbar-toggler:focus {
    box-shadow: none; 
}
/* Ocultar el icono por defecto de Bootstrap */
.navbar-toggler-icon { display: none; }

/* Icono de Perfil Móvil */
.mobile-profile-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-bbva-azul); 
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mobile-profile-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.main-navigation .nav-link-custom {
    color: var(--color-bbva-azul);
    font-size: 15.01px;
    font-weight: 500;
    padding: 12px 0 !important;
    position: relative;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
}

#menuButton, 
.menu-button,
.menu-button-desktop {
    border: none !important;       
    outline: none !important;      
    box-shadow: none !important;  
    background: transparent !important; 
}

/*estados hover/active/focus */
#menuButton:hover,
#menuButton:focus,
#menuButton:active,
#menuButton.active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.menu-button .icon-hamburger,
.menu-button .menu-text {   
    display: block !important; 
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-weight: 500;
    font-size: 15.01px;
    transition: color 0.2s;
}

.menu-button .icon-hamburger {
    transition: transform 0.2s; 
}

.menu-button:hover .icon-hamburger {
    filter: brightness(0) saturate(100%) invert(6%) sepia(50%) saturate(4681%) hue-rotate(228deg) brightness(91%) contrast(106%) !important;
}
.menu-button:hover .menu-text {
    color: #070E46 !important;
}

.menu-button .icon-close,
.menu-button .text-close {
    display: none !important; 
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    font-weight: 500;
    font-size: 15.01px;
    
}
.menu-button.active .icon-hamburger,
.menu-button.active .menu-text {  
    display: none !important; 
    
}

.menu-button.active .icon-close,
.menu-button.active .text-close {
    display: block !important; 
}


/* RESPONSIVE: MÓVIL Y TABLET (max-width: 991px) Aplica a pantallas de 783px y menores*/
@media (max-width: 991px) { 
    .site-header {
        width: 100%;
        margin: 0;
        background-color: #f7f7f7;
        display: block; 
    }
    /* 2. Contenedor Flexible: Distribuye izquierda - centro - derecha */
    .header-container {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        width: 100%;
        padding: 0 16px; 
        height: 100%;
    }

    /* 3. Columnas Laterales: Fuerzan los iconos a los extremos */
    .header-col-left {
        justify-content: flex-start; 
        padding-left: 0; 
        flex: 1; 
    }

    .header-col-right {
        justify-content: flex-end; 
        padding-right: 0;
        flex: 1; 
    }
    /* 4. Logo Centrado */
    .site-branding {
        flex: 0 0 auto; 
        justify-content: center;
        margin: 0;
    }
    .header-logo {
        height: 33px !important;
        width: 156px;
        display: block; 
        margin: 0; 
    }
    /* 5. Ajuste de los Iconos (Círculos) */
    .mobile-icon-circle {
        width: 40px;
        height: 40px;
        border: 2px solid #ffffff; 
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        transition: all 0.2s ease;
        margin: 10px; 
    }
    /* Textos debajo de iconos */
    .mobile-icon-text,
    .menu-button .text-close {
        font-family: 'BentonSansBBVA-Medium', sans-serif !important;
        font-size: 10px !important; 
        color: #001391 !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        margin-top: 4px;
        line-height: 1;
        position: relative;
        top: 0; 
        text-align: center;
    }

    /* Lógica de visualización de textos */
    .mobile-icon-text, 
    .menu-button .menu-text, 
    .menu-button .text-close {
        display: none !important; 
    }
    .site-header.menu-open .mobile-profile-wrapper .mobile-icon-text {
        display: block !important;
    }
    /* Botón Menú */
    .mobile-menu-btn {
        background: transparent !important;
        box-shadow: none !important;
        margin-right: 0; /* Asegura que esté pegado a la derecha */
    }
    
    .menu-button.active .text-close {
        display: block !important;
    }
    
    .menu-button.active .icon-hamburger {  
        display: none !important; 
    }

    /* Menú desplegable y otros ajustes */
    .navbar-collapse {
        position: absolute;
        top: 100%; 
        left: 0;
        right: 0;
        background-color: #f8f9fa; 
        padding: 1px 1px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .main-navigation {
        display: block !important; 
        margin-left: 0; 
        margin-right: 0;
    }
    .header-actions {
        display: block !important; 
        margin-top: 15px;
        padding: 0 16px; 
    }
    .boton-acceso {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
        .mobile-icon-circle {
         margin: 4px;
    }
}

/* --- ESTILOS PARA EL BANNER CTA --- */
.cta-banner-section {
    margin-top: 40px;
    padding: 0 40px; 
}
.cta-banner-container {
    max-width: 1275px;
    margin: 0 auto;
    background: #001391;
    border-radius: 16px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    margin-bottom: 1px;
}

.cta-content {
    display: flex;
    align-items: center; 
    width: 100%;
}

.cta-icon {
    width: 100px; 
    height: auto; 
    margin-right: 30px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon img {
    width: 180%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: 214px;
}

.cta-text {
    flex-grow: 1; 
    text-align: center;
    align-self: center; 
}

.cta-text h2 {
    color: #fff;
    font-size: 32px;
    font-family: 'Tiempos Headline', sans-serif;
    margin: 0;
    line-height: 1.2;
    margin-left: -112px;
    font-weight: 700;
}

.cta-text p {
    color: #fff;
    font-size: 15.01px;
    margin: 8px 0 0 0;
    margin-left: 160px;
    font-family: 'BentonSansBBVA-Book', sans-serif;
    text-align: left;
    width: 76%;

}

.cta-button-wrapper {
    margin-left: 30px; 
    align-self: center; 
}

.cta-content button {
    background-color: #fff;
    color: #001391;
    border: none;
    border-radius: 8px;
    padding: 15px 24px;
    font-size: 15.01px;
    white-space: nowrap;
    min-width: 126px;
    margin-right: 160px;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
}
.cta-content button:hover {
    background-color: #f7f8f8;
    color: #001391;
}

/* ===== DESKTOP ESTRECHO (992px – 1280px) ===== */
@media (min-width: 992px) and (max-width: 1280px) {

    /* Header: reducir margen izquierdo de la navegación */
    .main-navigation {
        margin-left: 60px;
    }

    /* CTA Banner: resetear márgenes diseñados para monitores anchos */
    .cta-banner-section {
        padding: 0 55px;
    }
    .cta-icon {
        width: 160px;
        flex-shrink: 0;
    }
    .cta-icon img {
        width: 100%;
        margin-left: 0;
    }
    .cta-text h2 {
        font-size: 36px;
        margin-left: 0;
    }
    .cta-text p {
        margin-left: 0;
        font-size: 14px;
    }
    .cta-content button {
        margin-right: 30px;
    }

    /* Info cards: reducir padding lateral */
    .feature-item {
        padding: 0 20px;
    }
    .info-cards-container {
        gap: 16px;
        padding: 60px 16px;
    }
}
@media (max-width: 991px) {
    
    .cta-banner-section {
        margin-top: 0 !important; 
        padding: 20px 8px; 
        padding-top: 0 !important; 
        margin-bottom: -110px;
    }

    .cta-content {
        flex-direction: column; 
        text-align: center; 
    }

    .cta-banner-container {
        padding: 20px 10px;
        margin: 50px;
        margin-bottom: 50px;
    }

    /* 3. Ajustes al Icono: Centrar y resetear márgenes */
    .cta-icon {
        width: 100%;
        margin-right: 0; 
        order: 1; 
    }
    
    .cta-icon img {
        width: 268px;
        height: auto;
        margin: 0 auto 20px auto;
        display: block;
    }

    /* 4. Ajustes al Texto: Centrar y resetear márgenes */
    .cta-text {
        text-align: center;
        order: 2; 
        margin-bottom: 20px;
    }
    
    .cta-text h2, 
    .cta-text p {
        margin-left: 0;
        font-size: 32px;
        line-height: 1.2;
        text-align: left;
        margin-top: 27px;
    }
    
    .cta-text p {
        font-size: 15.01px;
        width: 100%;
    }
    
    .cta-button-wrapper {
        width: 100%; 
        margin-left: 0; 
        order: 3; 
    }

    .cta-content button {
        width: 100%; 
        min-width: auto;
        margin: 0; /* Eliminar márgenes fijos de escritorio */
        padding: 18px 20px; 
        font-size: 16px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {

    .cta-banner-section {
        margin-bottom: -54px;
        margin-left: 14px;
        margin-right: 14px;
    }

    .cta-banner-container {
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
    }

    .cta-content {
        display: grid;
        grid-template-columns: 220px 1fr;
        grid-template-rows: auto auto;
        align-items: start;
        flex-direction: unset;
    }

    /* Imagen: columna 1, abarca las 2 filas, sin espacio arriba/abajo */
    .cta-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 220px;
        margin: 0;
        padding: 0;
        align-self: stretch;
        overflow: hidden;
    }

    .cta-icon img {
        width: 100%;
        height: 79%;
        object-fit: cover;
        object-position: center;
        margin: 0;
        display: block;
    }

    /* Título y párrafo: columna 2, fila 1 */
    .cta-text {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        margin-bottom: 13px;
        padding: 1px 24px 15px 24px;;
        order: unset;
    }

    .cta-text h2,
    .cta-text p {
        margin-left: 0;
        text-align: left;
        margin-top: 31px;
    }

    .cta-text h2 {
        font-size: 32px;
        margin-bottom: 14px;
    }

    .cta-text p {
        font-size: 15.01px;
        margin-top: 0;
        width: 97%;
        line-height: 1.5;
    }

    /* Botón: columna 2, fila 2 */
    .cta-button-wrapper {
        grid-column: 2;
        grid-row: 2;
        width: auto;
        margin-left: 0;
        padding: 0 24px 24px 24px;
        order: unset;
        text-align: left;
    }

    .cta-content button {
        width: auto;
        min-width: 124px;
        margin: 0;
        padding: 14px 18px;
        font-size: 15.01px;
    }
}

/* CTA en móviles pequeños (430px - 448px) */
@media (min-width: 360px) and (max-width: 767px) {
    .cta-banner-container {
        margin: 8px;
        margin-bottom: 50px;
    }
}

.benefits-grid-section {
    padding: 80px 0;
    text-align: center;
    margin-bottom: -120px;
}

.benefits-grid-section .section-title {
    color: var(--color-bbva-link);
    font-family: 'Tiempos Headline', serif;
    font-size: 50px;
    margin-bottom: 60px;
    font-weight: 700;
    line-height: 1.1;
}

.benefits-grid-section .section-title .benefits-break {
    display: inline;
}

.benefits-grid-container {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    padding: 0 15px;
}

.main-image-placeholder {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 660px;
    height: 534px;
}

.main-image-placeholder .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 282px;
    height: 255px;
}

.card-icono img {
    width: 32px;
    height: 32px;
    display: block;
    margin-bottom: 12px;
}

.card-icono-2 {
    width: 32px;
    height: 32px;
    display: block;
    margin-bottom: 12px;
    position: relative;
    top: -28px;
}

.benefit-card h3 {
    color: var(--color-bbva-link);
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    line-height: 1.3;
}

.benefit-card-title-alt {
    margin-top: -33px !important;
}

.benefit-card p {
    color: var(--color-bbva-link);
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.4;
    font-family: 'BentonSansBBVA-Book', sans-serif;
}

.card-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.card-2 { grid-column: 4 / 5; grid-row: 1 / 2; }
.card-3 { grid-column: 1 / 2; grid-row: 2 / 3; }
.card-4 { grid-column: 4 / 5; grid-row: 2 / 3; }

.button-group {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 26px !important;
}

.button-conoce {
    display: inline-block;
    background-color: var(--color-bbva-azul);
    color: white;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 15.01px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 16px;
}

.button-conoce:hover,
.button-conoce:focus {
    background-color: #070E46;
    color: #fff;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1330px;
    }
}

@media (max-width: 991px) {
    .benefits-grid-section .section-title .benefits-break {
        display: none;
    }

    .benefits-grid-section .section-title {
        font-size: 32px;
        margin-bottom: 30px;
        text-align: left;
        margin-left: 8px;
    }

    .benefit-card h3 {
        margin-bottom: 30px;
        font-size: 20px;
    }

    .benefits-grid-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-left: -9px;
        margin-right: -9px;
    }

    .main-image-placeholder {
        order: 2;
        margin-bottom: 15px;
        width: auto;
        height: auto;
    }

    .benefit-card.card-1 { order: 3; }
    .benefit-card.card-2 { order: 4; }
    .benefit-card.card-3 { order: 5; }
    .benefit-card.card-4 { order: 6; }

    .benefit-card {
        padding: 18px;
        width: auto;
        height: auto;
    }

    .button-group {
        flex-direction: column;
    }

    .card-icono-2 {
        width: 32px;
        height: 32px;
        display: block;
        margin-bottom: 37px;
        position: relative;
        top: -3px;
    }

    .button-conoce {
        width: 92% !important;
        margin-bottom: 15px;
        margin-left: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .benefits-grid-section .section-title {
        text-align: left;
        white-space: normal;
        font-size: 32px;
        margin-left: 8px;
    }

    .benefits-grid-section .section-title br {
        display: none;
    }

    .container, .container-md, .container-sm {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .main-image-placeholder .main-image {
        max-width: 100%;
        width: 100%;
        height: 166px;
        object-fit: cover;
        display: block;
        aspect-ratio: 10 / 4;
    }

    .button-conoce {
        width: 21% !important;
    }

    .button-group {
        margin-bottom: 57px !important;
    }

    .card-icono-2 {
        width: 32px;
        height: 32px;
        display: block;
        margin-bottom: 35px;
        position: relative;
        top: -8px;
    }
}
/*estilos para tarjeta de calendario, horario y tarifario*/
.info-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px; 
    padding: 80px 20px; 
    max-width: 1300px;
    margin: 0 auto;
    }

.feature-item {
    background-color: #ffffff; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); 
    padding: 0 43px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px); 
}

.feature-item img {
    width: 200px;
    height: 150px;
    margin-left: auto;
    margin-bottom: 20px;
    margin-right: auto;
    object-fit: contain; 
}
/* Estilos para los títulos */
.feature-item h3 { 
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Tiempos Headline', serif;
}
/* Estilos para la descripción */
.feature-item p { 
    font-size: 15.01px;
    color: #070E46;
    margin-bottom: 10px;
    line-height: 1.5;
    min-height: 40px; 
    font-family: 'BentonSansBBVA-Book', sans-serif;
    width: 102%;
    text-align: center;
}

/* Estilos para el botón/enlace "Más información" */
.btn-info {
    display: inline-block;
    color: #001391;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.2s;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    margin-bottom: 20px;
}
.btn-info:hover {
    color: #070E46;
}
@media (min-width: 992px) and (max-width: 1280px) {
    .info-cards-container{
        padding: 80px 55px;
    }
        
}


 @media (max-width: 991px) {
    .info-cards-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    .feature-item h3{
        width: 100%;
    }
    .feature-item p{
        width: 100%;
    }
    .feature-item img{
        margin-left: 4px;
    }

 }

 @media (min-width: 768px) and (max-width: 991px) {
    .info-cards-container{
        padding: 9px 20px;
        margin-left: 4px;
        margin-right: 4px;
        margin-bottom: 45px;
    }
 }

/* --- Estilos Generales Footer --- */
.main-footer {
    background-color: #001391; 
    color: #ffffff;
    padding: 40px 40px;
    margin: 5px 28px 5px 24px;
    border-radius: 12px;
    position: relative;
    top: -15px;
}

.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Benton Sans', sans-serif;
    position: relative; 
}

/* --- 1. LOGO --- */
.footer-top {
    margin-bottom: 20px;
}
.bbva-logo {
    width: 241px;
    height: 51px;
    display: block;
    margin-left: 0;
}

/* --- 2. IDIOMA (Desktop: Arriba derecha) --- */
.language-selector {
    position: absolute; 
    top: 5px;
    right: 0;
    text-align: right;
}

.language-selector a {
    color: #85C8FF; 
    text-decoration: none;
    font-size: 15px;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
    transition: color 0.3s ease;
}

.language-selector a:hover {
    color: #ffffff;
}

.language-selector .current-lang {
    color: #ffffff !important; /* Blanco activo */
    font-weight: 400;
}

.lang-gap {
    display: inline-block;
    width: 15px; 
}

/* --- 3. MENÚ --- */
.footer-middle {
    margin-bottom: 25px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
    gap: 30px;
    margin-left: 0;
}

.footer-nav a {
    color: #85C8FF;
    text-decoration: none;
    font-size: 15px;
    font-family: 'BentonSansBBVA-Medium', sans-serif;
}

.footer-nav a:hover {
    color: #ffffff;
}

/* --- 4. COPYRIGHT Y RIF --- */
.footer-bottom {
    padding-top: 10px;
    display: flex;           
    flex-direction: row;     
    align-items: center;
    gap: 20px;               
}

.footer-bottom p {
    font-size: 15px;
    color: #ffffff;
    margin: 0;
    font-family: 'BentonSansBBVA-Book', sans-serif;
    margin-left: -32px;
}
@media (min-width: 992px) and (max-width: 1280px) {
        .footer-nav ul {
        margin-left: -12px !important;
    }
        .bbva-logo {
        margin-left: -12px !important;
    }
}

/*  MEDIA QUERY: MÓVILES (Max 768px) */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px;
        margin-right: 26px;
        margin-left: 26px;
        text-align: center; 
    }

    .footer-content-wrapper {
        display: flex;
        flex-direction: column;
    }
    .bbva-logo {
    width: 230px;
    }

    /* 1. Logo al centro */
    .footer-top {
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
    }

    /* 2. Menú Vertical */
    .footer-nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .footer-middle {
        margin-bottom: 30px;
    }

    .language-selector {
        position: static; 
        margin-bottom: 50px; 
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .lang-gap {
        display: none; 
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
        padding-top: 0;
    }
    .footer-bottom p {

        margin-left: 0px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .bbva-logo {
        width: 338px;
        height: 71px;
    }
    .footer-nav ul {
        flex-direction: row;
        gap: 23px;
        align-items: center;
        justify-content: center;
    }
       .footer-bottom p {

        margin-left: 0px;
    }
}

@media (min-width: 992px) {
    .bbva-logo {
        margin-left: -32px;
    }
    .footer-nav ul {
        margin-left: -32px;
    }
}
