/* =========================================================
   BIENESTAR · VINICIO JARQUÍN
   CSS GENERAL
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --verde-bosque: #26382F;
    --verde-oliva: #465B4D;
    --verde-salvia: #748878;
    --salvia-claro: #CDD6CB;
    --marfil: #E7E9E2;

    /* Acento cálido de Bienestar */
    --anaranjado: #C9784A;

    --linea: rgba(38, 56, 47, 0.18);

    --max-width: 880px;

    --radio-grande: 26px;
    --radio-medio: 18px;
    --radio-pequeno: 12px;

}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {

    margin: 0;
    padding: 0;

    min-height: 100vh;

    background: var(--salvia-claro);
    color: var(--verde-bosque);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   ENCABEZADO GENERAL
========================================================= */

.site-header {

    width: 100%;
    min-height: 118px;

    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--salvia-claro);

    border-bottom: 1px solid var(--linea);
}

.site-header-interior {

    position: relative;

    width: 100%;
    max-width: var(--max-width);

    min-height: 118px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header .header-izquierda {

    position: absolute;

    left: 0;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
}

.site-header .header-derecha {

    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
}

.header-accion {

    appearance: none;

    margin: 0;
    padding: 7px 0;

    border: 0;
    background: transparent;

    color: var(--verde-bosque);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}

.header-accion:hover {
    text-decoration: underline;
}


/* =========================================================
   LOGO
========================================================= */

.site-header .brand {

    position: static;

    width: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: none;
}

.site-header .brand a {

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.site-header .brand-logo {

    display: block;

    width: 285px;
    height: auto;

    max-width: none;
    max-height: 86px;

    object-fit: contain;
}


/* =========================================================
   MENÚ HORIZONTAL PÚBLICO
========================================================= */

.bienestar-menu-horizontal {

    width: calc(100% - 48px);
    max-width: var(--max-width);

    margin: 0 auto 34px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
}

.bienestar-menu-horizontal a {

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 14px;

    color: var(--verde-bosque);

    font-size: 13px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;
}

.bienestar-menu-horizontal a + a {
    border-left: 1px solid var(--linea);
}

.bienestar-menu-horizontal a:hover {
    background: rgba(231, 233, 226, 0.25);
}


/* =========================================================
   PORTADA
========================================================= */

.bienestar-portada {

    width: 100%;

    padding: 0 24px 60px;
}

.bienestar-contenedor {

    width: 100%;
    max-width: var(--max-width);

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.bienestar-hero {

    padding: 72px 0 82px;

    text-align: center;
}

.bienestar-hero h1 {

    max-width: 760px;

    margin: 0 auto;

    color: var(--verde-bosque);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(54px, 8vw, 78px);
    font-weight: 400;
    line-height: 1;

    letter-spacing: 0.03em;
}

.bienestar-subtitulo {

    margin: 10px 0 28px;

    color: var(--verde-oliva);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bienestar-hero-texto {

    max-width: 650px;

    margin: 0 auto;

    color: var(--verde-bosque);

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   BOTONES PRINCIPALES
========================================================= */

.bienestar-acciones {

    margin-top: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;
}

.bienestar-boton {

    min-width: 170px;
    min-height: 48px;

    padding: 12px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.bienestar-boton-principal,
.bienestar-boton-secundario {

    background: var(--verde-bosque);
    color: var(--marfil);
}

.bienestar-boton:hover {
    opacity: 0.92;
}


/* =========================================================
   PROBAR BIENESTAR
========================================================= */

.bienestar-destacado {

    padding: 38px 42px;

    border-radius: var(--radio-grande);

    background: var(--verde-oliva);
    color: var(--marfil);
}

.bienestar-destacado-etiqueta {

    margin: 0 0 10px;

    color: var(--marfil);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.8;
}

.bienestar-destacado h2 {

    margin: 0 0 14px;

    color: var(--marfil);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
}

.bienestar-destacado p {

    max-width: 740px;

    margin: 0;

    color: var(--marfil);

    line-height: 1.65;
}

.bienestar-precio {

    margin-top: 26px;

    display: flex;
    align-items: baseline;

    gap: 10px;
}

.bienestar-precio strong {

    color: var(--marfil);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 38px;
    font-weight: 400;
}

.bienestar-precio span {

    color: var(--marfil);

    font-size: 14px;

    opacity: 0.85;
}


/* =========================================================
   SECCIONES
========================================================= */

.bienestar-seccion {
    padding: 72px 0 0;
}

.bienestar-seccion-adicional {
    padding-top: 18px;
}

.bienestar-seccion-cabecera {

    margin-bottom: 26px;

    text-align: center;
}

.bienestar-seccion-etiqueta {

    margin: 0 0 8px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bienestar-seccion-cabecera h2 {

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
}


/* =========================================================
   ENTRAR / CREAR CUENTA
========================================================= */

.bienestar-cuenta-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.bienestar-cuenta {

    min-height: 250px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    border-radius: var(--radio-medio);

    background: var(--verde-salvia);
    color: var(--marfil);
}

.bienestar-cuenta small {

    display: block;

    margin-bottom: 10px;

    color: var(--marfil);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bienestar-cuenta h3 {

    margin: 0 0 12px;

    color: var(--marfil);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}

.bienestar-cuenta p {

    margin: 0 0 24px;

    color: var(--marfil);

    font-size: 14px;
    line-height: 1.6;
}

.bienestar-cuenta a {

    margin-top: auto;

    color: var(--marfil);

    font-size: 14px;
    font-weight: 700;

    text-decoration: underline;
}


/* =========================================================
   PROGRAMAS CON ACCESO INDEPENDIENTE
========================================================= */

.bienestar-programa-acceso {

    padding: 30px 28px;

    border-radius: var(--radio-grande);

    background: var(--verde-salvia);
    color: var(--marfil);
}

.bienestar-programa-acceso small {

    display: block;

    margin-bottom: 8px;

    color: var(--marfil);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.8;
}

.bienestar-programa-acceso h2 {

    margin: 0 0 12px;

    color: var(--marfil);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;
    font-weight: 400;
}

.bienestar-programa-acceso p {

    max-width: 760px;

    margin: 0;

    color: var(--marfil);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   CÓDIGO DE CORTESÍA
========================================================= */

.bienestar-cortesia {

    padding: 54px 20px;

    text-align: center;
}

.bienestar-cortesia h3 {

    margin: 0 0 8px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
    font-weight: 400;
}

.bienestar-cortesia p {

    max-width: 600px;

    margin: 0 auto;

    font-size: 14px;
    line-height: 1.6;

    color: var(--verde-oliva);
}

.bienestar-final {
    height: 20px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    width: 100%;

    padding: 0 24px 110px;

    background: var(--salvia-claro);
}

.site-footer-interior {

    width: 100%;
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 26px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-top: 1px solid var(--linea);
}

.footer-identidad {

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.footer-identidad strong {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
    font-weight: 400;

    color: var(--verde-bosque);
}

.footer-identidad span {

    font-size: 12px;

    color: var(--verde-oliva);
}

.footer-acciones {
    text-align: right;
}

.footer-acciones a {

    color: var(--verde-bosque);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    border-bottom: 1px solid var(--verde-bosque);
}

.footer-acciones a:hover {
    opacity: 0.75;
}


/* =========================================================
   MENÚ INFERIOR
========================================================= */

.menu-inferior {

    position: fixed;

    left: 50%;
    bottom: 14px;

    z-index: 1000;

    transform: translateX(-50%);

    width: calc(100% - 32px);
    max-width: var(--max-width);

    min-height: 58px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

    border: 1px solid rgba(231, 233, 226, 0.22);
    border-radius: 18px;

    background: var(--verde-bosque);

    box-shadow:
        0 8px 28px rgba(38, 56, 47, 0.18);
}

.menu-inferior-item {

    min-width: 0;
    min-height: 58px;

    padding: 8px 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--marfil);

    font-size: 12px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;
}

.menu-inferior-item + .menu-inferior-item {

    border-left:
        1px solid
        rgba(231, 233, 226, 0.16);
}

.menu-inferior-item:hover {

    background:
        rgba(231, 233, 226, 0.08);
}


/* =========================================================
   FORMULARIOS GENERALES
========================================================= */

form {
    width: 100%;
}

label {

    display: block;

    margin-bottom: 6px;

    color: var(--verde-bosque);

    font-size: 13px;
    font-weight: 700;
}

input,
select,
textarea {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid rgba(38, 56, 47, 0.18);
    border-radius: var(--radio-pequeno);

    outline: none;

    background: var(--marfil);
    color: var(--verde-bosque);
}

input:focus,
select:focus,
textarea:focus {

    border-color: var(--verde-oliva);

    box-shadow:
        0 0 0 3px
        rgba(70, 91, 77, 0.10);
}


/* =========================================================
   BOTONES GENÉRICOS
========================================================= */

.button,
button.button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 11px 20px;

    border: 0;
    border-radius: 999px;

    background: var(--verde-bosque);
    color: var(--marfil);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}

.button:hover,
button.button:hover {
    opacity: 0.92;
}


/* =========================================================
   TARJETAS GENÉRICAS
========================================================= */

.cards {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 18px;
}

.card {

    padding: 24px;

    border-radius: var(--radio-medio);

    background: var(--verde-salvia);
    color: var(--marfil);
}

.card h2,
.card h3,
.card p,
.card strong {

    color: var(--marfil);
}


/* =========================================================
   TABLET Y CELULAR
========================================================= */

@media (max-width: 699px) {

    body {
        font-size: 15px;
    }


    /* ENCABEZADO */

    .site-header {

        min-height: 96px;

        padding: 0 14px;
    }

    .site-header-interior {
        min-height: 96px;
    }

    .site-header .brand-logo {

        width: 210px;
        max-height: 66px;
    }

    .header-accion {

        font-size: 10px;

        padding: 8px 0;
    }


    /* MENÚ SUPERIOR */

    .bienestar-menu-horizontal {

        width: calc(100% - 28px);

        margin-bottom: 22px;
    }

    .bienestar-menu-horizontal a {

        min-height: 48px;

        padding: 8px 5px;

        font-size: 11px;
    }


    /* PORTADA */

    .bienestar-portada {

        padding:
            0
            14px
            44px;
    }


    /* HERO */

    .bienestar-hero {

        padding: 54px 0 62px;
    }

    .bienestar-hero h1 {
        font-size: 54px;
    }

    .bienestar-subtitulo {

        margin-top: 8px;
        margin-bottom: 24px;

        font-size: 12px;
    }

    .bienestar-hero-texto {

        max-width: 500px;

        font-size: 16px;
    }

    .bienestar-acciones {

        margin-top: 28px;

        flex-direction: column;

        gap: 10px;
    }

    .bienestar-boton {

        width: 100%;
        max-width: 320px;
    }


    /* PROBAR BIENESTAR */

    .bienestar-destacado {

        padding: 30px 24px;

        border-radius: 22px;
    }

    .bienestar-destacado h2 {
        font-size: 28px;
    }

    .bienestar-precio {
        flex-wrap: wrap;
    }

    .bienestar-precio strong {
        font-size: 34px;
    }


    /* SECCIONES */

    .bienestar-seccion {
        padding-top: 54px;
    }

    .bienestar-seccion-adicional {
        padding-top: 12px;
    }

    .bienestar-seccion-cabecera h2 {
        font-size: 30px;
    }


    /* CUENTAS */

    .bienestar-cuenta-grid {

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .bienestar-cuenta {

        min-height: 220px;

        padding: 26px 22px;
    }


    /* PROGRAMAS */

    .bienestar-programa-acceso {

        padding: 26px 22px;

        border-radius: 22px;
    }


    /* FOOTER */

    .site-footer {

        padding:
            0
            14px
            104px;
    }

    .site-footer-interior {

        padding: 22px 0;

        gap: 20px;
    }

    .footer-identidad strong {
        font-size: 15px;
    }

    .footer-identidad span {
        font-size: 11px;
    }

    .footer-acciones a {
        font-size: 11px;
    }


    /* MENÚ INFERIOR */

    .menu-inferior {

        bottom: 10px;

        width: calc(100% - 20px);

        min-height: 56px;

        border-radius: 16px;
    }

    .menu-inferior-item {

        min-height: 56px;

        padding: 7px 3px;

        font-size: 11px;
    }

}


/* =========================================================
   TELÉFONOS ANGOSTOS
========================================================= */

@media (max-width: 390px) {

    .site-header {

        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header .brand-logo {

        width: 185px;
        max-height: 60px;
    }

    .header-accion {
        font-size: 9px;
    }


    /* MENÚ SUPERIOR */

    .bienestar-menu-horizontal {
        width: calc(100% - 20px);
    }

    .bienestar-menu-horizontal a {

        padding-left: 3px;
        padding-right: 3px;

        font-size: 10px;
    }


    /* HERO */

    .bienestar-hero h1 {
        font-size: 46px;
    }

    .bienestar-subtitulo {
        font-size: 11px;
    }


    /* FOOTER */

    .site-footer-interior {

        align-items: flex-start;

        flex-direction: column;

        gap: 14px;
    }

    .footer-acciones {
        text-align: left;
    }


    /* MENÚ INFERIOR */

    .menu-inferior-item {
        font-size: 10px;
    }

}


/* =========================================================
   ESCRITORIO
========================================================= */

@media (min-width: 700px) {

    .bienestar-contenedor {
        max-width: var(--max-width);
    }

    .bienestar-acciones {
        flex-direction: row;
    }

}