/*
 Theme Name: Bridge Child
 Theme URI: 
 Description: Child theme de Bridge
 Author: ClipIt
 Template: bridge
 Version: 1.0.20
*/

/* ─── Hover lines menú desktop ────────────────────────── */
header:not(.with_hover_bg_color) nav.main_menu>ul>li>a:before { background-color: #ffffff !important; }
header:not(.with_hover_bg_color) nav.main_menu>ul>li>a:hover:before { background-color: #35eec8 !important; }
header:not(.with_hover_bg_color) nav.main_menu>ul>li.active>a:before { background-color: #35eec8 !important; }
/* ─── Desactivar indicador activo menú desktop ─────────── */
header:not(.with_hover_bg_color) nav.main_menu>ul>li.active:not(:hover)>a:before { transform: scaleX(0) !important;}

/* ─── Mobile menu — links centrados ──────────────────── */
.mobile_menu ul li { text-align: center; }
.mobile_menu ul li a span { display: block; text-align: center; }
.mobile_menu ul li a:before { display: none !important; }
.mobile_menu ul li a { padding-left: 0 !important; margin-left: 0 !important; }
.mobile_menu ul li a:hover { padding-left: 0 !important; margin-left: 0 !important; }
.mobile_menu ul li a.current { padding-left: 0 !important; margin-left: 0 !important; }
.mobile_menu_button i{font-size:22px}

/* ─── Header tablet — botón INICIAR SESIÓN centrado ───── */
@media (max-width: 1024px) and (min-width: 769px) {
    .header_bottom { min-height: 70px; }
    .side_menu_button_wrapper.right { height: 70px; }
    .header_bottom_right_widget_holder { vertical-align: middle; height: 70px; }
}
/* ─── Mobile menu — INICIAR SESIÓN como botón ─────────── */
nav.mobile_menu li a[title="iniciar-sesion"] { display: inline-block !important; background-color: #35eec8 !important; color: #000 !important; padding: 10px 32px !important; border-radius: 50px !important; font-weight: 700 !important; margin-top: 8px !important;}}

/* LINK HOVER - QBUTTON MOBILE*/
.bibank-link { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: #35eec8; text-decoration: none; transition: opacity 0.3s ease; }
.bibank-link:hover { opacity: 0.5;}
@media only screen and (max-width: 600px) { .qbutton { white-space: normal !important; height: auto !important; line-height: 1.3 !important; padding-top: 20px!important; padding-bottom: 20px!important}}

/* ─── Beneficios Carousel ─────────────────────────────── */
.swiper#benSwiper { width: 100%; cursor: grab; }
.swiper#benSwiper:active { cursor: grabbing; }
.swiper#benSwiper .swiper-wrapper { align-items: stretch; }
.swiper#benSwiper .swiper-slide { height: auto; }
.ben-card-inner { display: flex; width: 100%; height: 100%; min-height: 320px; }
.ben-card-text { width: 50%; background: #35eec8; padding: 40px 30px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden;}
.ben-card-text h3 { color: #000 !important; font-family: 'Poppins', sans-serif; font-size: 26px; line-height: 30px; font-weight: 600; font-style: normal; margin: 0 0 25px 0; word-break: break-word; overflow-wrap: break-word; }
.ben-card-text p { color: #000; font-family: 'Poppins', sans-serif; font-size: 18px; line-height: 28px; font-weight: 400; font-style: normal; margin: 0;}
.ben-card-image { width: 50%; min-height: 320px; background-size: cover; background-position: center; }

@media (max-width: 768px) {
    .ben-card-inner { flex-direction: column; min-height: unset; }
    .ben-card-text { width: 100%; padding: 30px 20px; min-height: 260px; overflow: hidden; }
    .ben-card-text h3 { font-size: 26px; line-height: 34px; }
    .ben-card-image { width: 100%; height: 270px; min-height: unset; }
}

/* ─── productos grid ───────────────────────────────── */
.bibank-oportunidades-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:12px;background-color:#000;padding:40px 0}
.bibank-oportunidades-hero{position:relative;overflow:hidden}
.bibank-oportunidades-hero img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 600ms ease-out}
.bibank-oportunidades-hero:hover img{transform:scale(1.05)}
.bibank-oportunidades-hero-text{position:absolute;bottom:24px;left:24px;color:#fff;font-family:'Poppins',sans-serif;font-size:28px;line-height:1.4em;font-weight:600;max-width:80%}
.bibank-inv-card{border:1.5px solid #35eec8;background-color:#000;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;cursor:pointer;transition:background-color 300ms ease-out}
.bibank-inv-card:hover{background-color:#35eec8}
.bibank-inv-inner{display:flex;flex-direction:column;justify-content:space-between;width:100%; height: 38%;}
.bibank-inv-p-wrap{height:56px}
.bibank-inv-card h3{color:#35eec8;font-family:'Poppins',sans-serif;font-size:26px;line-height:1.2em;font-weight:600;font-style:normal;text-transform:uppercase;margin:0 0 12px 0;transition:color 300ms ease-out}
.bibank-inv-card p{color:#fff;font-family:'Poppins',sans-serif;font-size:18px;line-height:28px;font-weight:400;font-style:normal;margin:0;transition:color 300ms ease-out}
.bibank-inv-card:hover h3,.bibank-inv-card:hover p{color:#000}
@media(max-width:1366px) and (min-width:1025px){.bibank-inv-inner{height:55%}.bibank-inv-p-wrap { height: 80px;}}
@media(max-width:1024px){.bibank-oportunidades-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}.bibank-inv-inner{height:auto}.bibank-inv-p-wrap{height:auto}}
@media(max-width:768px){.bibank-oportunidades-grid{grid-template-columns:1fr}.bibank-oportunidades-hero{min-height:220px}.bibank-inv-card{min-height:180px}.bibank-inv-inner{height:auto}.bibank-inv-p-wrap{height:auto}}
@media(hover:none){.bibank-inv-card:hover{background-color:#000}.bibank-inv-card:hover h3{color:#35eec8}.bibank-inv-card:hover p{color:#fff}}

/* ─── RevSlider botones ───────────────────────────────── */
sr7-module .qbutton { border-radius: 50px !important; }
sr7-module .qbutton:hover { border-color: #fff !important; background-color: #fff !important; color: #000 !important; }

/* ─── Formulario contacto — textarea altura ───────────── */
.cf7_custom_style_1 textarea.wpcf7-form-control.wpcf7-textarea { height: 124px !important;}
.cf7_custom_style_1 input.wpcf7-submit { margin-top: 20px !important; }

/* ─── Footer nav ──────────────────────────────────────── */
#bibank-footer-nav { display: inline-block; text-align: left; }
#bibank-footer-nav .footer-nav__title { color: #35eec8 !important; font-size: 22px !important; font-weight: 600 !important; letter-spacing: 1px; text-transform: uppercase; margin: 20px 0 40px 0 !important; }
#bibank-footer-nav .footer-nav ul { list-style: none; margin: 0; padding: 0; }
#bibank-footer-nav .footer-nav ul li { margin-bottom: 12px; }
#bibank-footer-nav .footer-nav ul li a { color: #fff !important; text-decoration: none; font-size: 16px !important; font-weight: 600 !important; letter-spacing: 1px;}
#bibank-footer-nav .footer-nav ul li a:hover { color: #35eec8 !important; }
#bibank-footer-nav .footer-nav--highlight a { color: #35eec8 !important; }

/* ─── Back to top ─────────────────────────────────────── */
#back_to_top span i {
    font-size: 12px !important;
    line-height: 29px !important;
}

/* ─── Footer legal ────────────────────────────────────── */
.footer_bottom .footer-terminos  { font-size: 12px; text-align: justify; text-justify: inter-word;}
.footer_bottom .footer-legal { font-size: 12px; text-align: left; }
@media only screen and (max-width: 600px) {.footer_bottom_holder { padding: 0 !important; }
.footer_bottom_holder .container_inner { width: 100% !important; max-width: 100% !important; padding: 0 20px !important; box-sizing: border-box !important; }
.footer_bottom_holder .footer_bottom { width: 100% !important; max-width: 100% !important; }}