* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    color: #1d2939;
}


/* =========================
   BARRA LATERAL
========================= */

.sidebar {
    position: fixed;

    left: 0;
    top: 0;

    width: 240px;
    height: 100vh;

    background: #ffffff;

    border-right: 1px solid #e6e9ef;

    display: flex;
    flex-direction: column;

    padding: 30px 20px;
}


/* LOGO */

.logo {
    font-size: 22px;

    font-weight: 700;

    letter-spacing: 3px;

    color: #173b67;

    padding: 0 15px;

    margin-bottom: 45px;
}


/* MENÚ */

nav {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


nav a {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 15px;

    border-radius: 8px;

    text-decoration: none;

    color: #667085;

    font-size: 15px;

    transition: 0.2s;
}


nav a span {
    width: 20px;

    text-align: center;

    font-size: 17px;
}


nav a:hover {
    background: #f1f5f9;

    color: #173b67;
}


nav a.activo {
    background: #eaf2fb;

    color: #173b67;

    font-weight: 600;
}


/* PIE DE LA BARRA */

.sidebar-footer {
    margin-top: auto;

    padding: 15px;

    color: #98a2b3;

    font-size: 12px;
}


/* =========================
   CONTENIDO
========================= */

.contenido {
    margin-left: 240px;

    min-height: 100vh;
}


/* =========================
   HERO
========================= */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 80px;

    background-image:
    linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.45)
    ),
    url("imagenes/fondo.png");

    background-size: cover;

    background-position: center;
}


.hero-text {
    max-width: 650px;

    color: white;
}


/* ETIQUETA */

.etiqueta {

    font-size: 13px;

    letter-spacing: 2px;

    font-weight: 600;

    margin-bottom: 20px;

    opacity: 0.85;
}


/* TITULO */

h1 {

    font-size: 62px;

    line-height: 1.08;

    font-weight: 600;

    margin-bottom: 25px;
}


/* DESCRIPCIÓN */

.descripcion {

    font-size: 18px;

    line-height: 1.7;

    max-width: 550px;

    margin-bottom: 35px;

    color: rgba(255,255,255,0.88);
}


/* BOTÓN */

.boton {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 23px;

    border-radius: 7px;

    background: white;

    color: #173b67;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;

    transition: 0.2s;
}


.boton:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.2);
}


/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {

    .sidebar {

        width: 70px;

        padding: 25px 10px;
    }


    .logo {

        font-size: 0;

        text-align: center;

        margin-bottom: 30px;
    }


    .logo::after {

        content: "LB";

        font-size: 18px;
    }


    nav a {

        justify-content: center;

        padding: 13px 5px;
    }


    nav a span {

        font-size: 18px;
    }


    nav a {

        font-size: 0;
    }


    .sidebar-footer {

        display: none;
    }


    .contenido {

        margin-left: 70px;
    }


    .hero {

        padding: 40px;
    }


    h1 {

        font-size: 42px;
    }


    .descripcion {

        font-size: 16px;
    }
}
/* =========================
   PÁGINAS INTERNAS
========================= */

.pagina {

    min-height: 100vh;

    padding: 80px;

    background: #f7f9fc;
}


/* TITULO */

.pagina h1 {

    color: #173b67;

    font-size: 52px;

    line-height: 1.15;

    margin-bottom: 25px;
}


/* TEXTO */

.texto {

    max-width: 700px;

    color: #667085;

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 45px;
}


/* TARJETAS */

.tarjetas {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(250px, 1fr));

    gap: 20px;

    max-width: 900px;
}


.tarjeta {

    background: white;

    padding: 30px;

    border: 1px solid #e6e9ef;

    border-radius: 12px;

    transition: 0.2s;
}


.tarjeta:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.06);
}


.tarjeta h2 {

    color: #173b67;

    font-size: 20px;

    margin-bottom: 12px;
}


.tarjeta p {

    color: #667085;

    line-height: 1.6;

    font-size: 15px;
}


/* PREGUNTAS */

.faq {

    display: flex;

    flex-direction: column;

    gap: 15px;

    max-width: 850px;
}


/* CELULAR */

@media (max-width: 700px) {

    .pagina {

        padding: 40px 25px;
    }

    .pagina h1 {

        font-size: 38px;
    }

    .tarjetas {

        grid-template-columns: 1fr;
    }

}