/*
    Theme Name: Bi lerro
    Theme URI: 
    Author: CBT Comunicación y multimedia
    Author URI: https://cbt.es
    Description: Theme Diseñado para la plataforma de Bi Lerro
    Version: 1.4
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: BiLerro
*/

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

.header-bilerro {
    width: 100%;
    background: #fff;
    font-size: 14px;
}

/* ===== TOP BAR ===== */
.header-top {
    background: #5fc7c1;
    font-size: 13px;
}

.header-top-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-top a {
    color: #fff;
    text-decoration: none;
}

.header-top a:hover {
    text-decoration: underline;
}

/* ===== NAV PRINCIPAL ===== */
.header-main {
    border-bottom: 1px solid #eaeaea;
}

.header-main-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header-logo img {
    height: 36px;
}

/* Menú */
.header-menu {
    display: flex;
    align-items: center;
}

.header-menu ul {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.header-menu a:hover {
    color: #5fc7c1;
}

/* Flecha dropdown */
.header-menu .has-submenu > a::after {
    content: "▾";
    font-size: 11px;
    margin-left: 6px;
}

/* ===== MOBILE ===== */
.header-mobile {
    display: none;
}

.header-mobile i {
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .header-menu {
        display: none;
    }

    .header-mobile {
        display: block;
    }
}


.footer-bilerro {
    background: #fff;
    border-top: 1px solid #eaeaea;
    font-size: 14px;
}

/* ===== TOP ===== */
.footer-top {
    padding: 20px 40px;
}

.footer-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo-left img,
.footer-logo-right img {
    height: 40px;
}

/* Redes */
.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-social img:hover {
    opacity: 1;
}

/* ===== BOTTOM ===== */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    border-top: 1px solid #eaeaea;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    gap: 15px;
}

.footer-legal a {
    color: #555;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* ===== BOTÓN SUBIR ===== */
.footer-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: none;
    background: #2bb3a3;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.footer-top-btn:hover {
    background: #249c8e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-top-inner {
        flex-direction: column;
        gap: 20px;
    }
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: #2bb3a3;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999; /* MUY IMPORTANTE */
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background: #249c8e;
}


/* ===== TOP BAR ===== */
.topbar {
    background: #5fc7c1;
    font-size: 13px;
}

.topbar-inner {
    max-width: 1400px;
    margin: auto;
    padding: 6px 40px;
    display: flex;
    justify-content: space-between;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}

.topbar a:hover {
    text-decoration: underline;
}

/* ===== NAV PRINCIPAL ===== */
.main-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-inner {
    max-width: 1400px;
    margin: auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 38px;
}

/* Menú */
.nav-menu ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.nav-menu a:hover {
    color: #5fc7c1;
}

/* Flecha */
.has-submenu > a::after {
    content: "▾";
    font-size: 11px;
    margin-left: 6px;
}

/* Mobile */
.nav-mobile i {
    color: #333;
}

/* ===== TOP BAR ===== */
.topbar {
    background: #5fc7c1;
    font-size: 13px;
}

.topbar-inner {
    max-width: 1400px;
    margin: auto;
    padding: 6px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    margin-right: 18px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== MAIN NAV ===== */
.main-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-inner {
    max-width: 1400px;
    margin: auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 36px;
}

/* Menu */
.nav-menu ul {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.nav-menu a:hover {
    color: #5fc7c1;
}

/* Mobile */
.nav-mobile i {
    color: #333;
}


/* ===== WRAPPER ===== */
.soluciones-wrapper {
    width: 100%;
}

/* ===== BLOQUE ===== */
.solucion-bloque {
    padding: 80px 0;
}

.solucion-bloque.fondo-suave {
    background: #f2f8f7;
}

/* ===== INNER ===== */
.solucion-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.solucion-inner.reverse {
    flex-direction: row-reverse;
}

/* ===== TEXTO ===== */
.solucion-texto {
    flex: 1;
}

.solucion-texto h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 12px;
}

.linea-verde {
    display: block;
    width: 50px;
    height: 3px;
    background: #2bb3a3;
    margin-bottom: 24px;
}

.solucion-texto p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Lista */
.solucion-lista {
    margin-top: 20px;
    padding-left: 18px;
}

.solucion-lista li {
    margin-bottom: 8px;
}

/* ===== BOTÓN ===== */
.btn-solucion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 22px;
    background: #2bb3a3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.btn-solucion:hover {
    background: #249c8e;
}

/* ===== IMAGEN ===== */
.solucion-imagen {
    flex: 1;
}

.solucion-imagen img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .solucion-inner,
    .solucion-inner.reverse {
        flex-direction: column;
    }

    .solucion-texto h2 {
        font-size: 28px;
    }
}

/* ===== WRAPPER ===== */
.soluciones-wrapper {
    width: 100%;
}

/* ===== BLOQUE ===== */
.solucion-bloque {
    padding: 90px 0;
}

.solucion-bloque.fondo-suave {
    background: #f3faf8;
}

/* ===== INNER ===== */
.solucion-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
}

.solucion-inner.reverse {
    flex-direction: row-reverse;
}

/* ===== TEXTO ===== */
.solucion-texto {
    flex: 1;
}

.solucion-texto h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 15px;
}

.linea-verde {
    display: block;
    width: 60px;
    height: 4px;
    background: #4fc3b3;
    margin-bottom: 25px;
}

.solucion-texto p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 500px;
}

/* LISTA */
.solucion-lista {
    margin-top: 20px;
    padding-left: 18px;
}

.solucion-lista li {
    margin-bottom: 8px;
}

/* ===== BOTÓN ===== */
.btn-solucion {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 22px;
    background: #4fc3b3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-solucion:hover {
    background: #3aa99a;
}

/* ===== IMAGEN ===== */
.solucion-imagen {
    flex: 1;
}

.solucion-imagen img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .solucion-inner,
    .solucion-inner.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .solucion-texto h2 {
        font-size: 28px;
    }
}

.hero-section {
    position: relative;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .bg-dark {
    z-index: 1;
}


