* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f6f5f1;
    color: #252525;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.sitio {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.encabezado-principal {

    width: min(
        calc(100% - 32px),
        1100px
    );

    margin: 0 auto;

    padding:
        30px
        0
        24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.marca-principal {
    display: block;

    text-decoration: none;
}

.logo-vinicio {
    display: block;

    width: min(
        260px,
        70vw
    );

    height: auto;
}

.encabezado-texto {
    text-align: right;
}

.encabezado-seccion {

    margin-bottom: 5px;

    font-size: 23px;
    font-weight: 700;
}

.encabezado-frase {

    max-width: 390px;

    color: #6c6c6c;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   MENÚ
========================================================= */

.menu-principal {

    border-top:
        1px solid #dedbd3;

    border-bottom:
        1px solid #dedbd3;

    background: #ffffff;
}

.menu-contenido {

    width: min(
        calc(100% - 32px),
        1100px
    );

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
}

.menu-enlace {

    position: relative;

    display: block;

    padding:
        15px
        22px;

    color: #555;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .18s ease,
        background .18s ease;
}

.menu-enlace:hover {

    color: #111;

    background: #f8f7f3;
}

.menu-enlace.activo {

    color: #111;
}

.menu-enlace.activo::after {

    content: "";

    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 7px;

    height: 2px;

    background: #252525;

    border-radius: 999px;
}


/* =========================================================
   CONTENIDO GENERAL
========================================================= */

main {

    width: min(
        calc(100% - 32px),
        1050px
    );

    margin:
        0
        auto;

    padding:
        46px
        0
        60px;

    flex: 1;
}

h1 {

    margin:
        0
        0
        15px;

    font-size:
        clamp(
            32px,
            5vw,
            50px
        );

    line-height: 1.08;
}

h2 {

    line-height: 1.2;
}

h3 {

    line-height: 1.3;
}

p {

    line-height: 1.6;
}

.introduccion {

    max-width: 720px;

    margin-bottom: 30px;

    color: #666;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   TARJETAS
========================================================= */

.tarjetas {

    margin-top: 35px;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 20px;
}

.tarjeta {

    padding: 27px;

    background: #fff;

    border:
        1px solid #e4e1da;

    border-radius: 18px;

    text-decoration: none;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.tarjeta:hover {

    transform:
        translateY(-3px);

    border-color: #d4d0c7;

    box-shadow:
        0
        12px
        30px
        rgba(0, 0, 0, .07);
}

.tarjeta h2 {

    margin:
        0
        0
        10px;

    font-size: 23px;
}

.tarjeta p {

    margin: 0;

    color: #666;

    line-height: 1.6;
}

.tarjeta-proximamente {

    opacity: .55;
}


/* =========================================================
   ETIQUETAS
========================================================= */

.etiqueta {

    display: inline-block;

    margin-bottom: 14px;

    color: #777;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   BOTONES
========================================================= */

.boton {

    display: inline-block;

    padding:
        12px
        20px;

    border-radius: 999px;

    background: #252525;

    color: #fff;

    font-weight: 700;

    text-decoration: none;

    transition:
        opacity .18s ease,
        transform .18s ease;
}

.boton:hover {

    opacity: .87;

    transform: translateY(-1px);
}


/* =========================================================
   CAJAS GENERALES
========================================================= */

.caja {

    padding: 25px;

    background: #fff;

    border:
        1px solid #e4e1da;

    border-radius: 18px;
}

.texto-suave {

    color: #777;
}

.texto-pequeno {

    font-size: 13px;
}


/* =========================================================
   ENLACES DE REGRESO
========================================================= */

.enlace-regresar {

    display: inline-block;

    margin-top: 25px;

    color: #555;

    font-size: 14px;

    text-decoration: none;
}

.enlace-regresar:hover {

    text-decoration: underline;
}


/* =========================================================
   FORMULARIOS
========================================================= */

.campo-grupo {

    margin-bottom: 18px;
}

.campo-grupo label {

    display: block;

    margin-bottom: 7px;

    color: #555;

    font-size: 14px;
    font-weight: 700;
}

.campo {

    width: 100%;

    padding:
        13px
        14px;

    border:
        1px solid #d7d3ca;

    border-radius: 11px;

    background: #fff;

    color: #252525;

    font: inherit;
}

.campo:focus {

    outline: none;

    border-color: #555;
}

select.campo {

    cursor: pointer;
}

.boton-principal {

    display: inline-block;

    padding:
        12px
        20px;

    border: 0;

    border-radius: 999px;

    background: #252525;

    color: #fff;

    font: inherit;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        opacity .18s ease,
        transform .18s ease;
}

.boton-principal:hover {

    opacity: .88;

    transform: translateY(-1px);
}

.boton-secundario {

    display: inline-block;

    padding:
        12px
        20px;

    border:
        1px solid #bdb8ae;

    border-radius: 999px;

    background: transparent;

    color: #444;

    font: inherit;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.boton-secundario:hover {

    background: #fff;

    border-color: #999;
}

.opciones {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   FOOTER
========================================================= */

.footer-principal {

    margin-top: auto;

    border-top:
        1px solid #dedbd3;

    background: #efede7;
}

.footer-contenido {

    width: min(
        calc(100% - 32px),
        1100px
    );

    margin: 0 auto;

    padding:
        35px
        0;

    text-align: center;
}

.footer-marca {

    margin-bottom: 7px;

    font-size: 19px;
    font-weight: 700;
}

.footer-texto {

    margin-bottom: 18px;

    color: #666;

    font-size: 14px;
}

.footer-enlaces {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap:
        10px
        20px;

    margin-bottom: 20px;
}

.footer-enlaces a {

    color: #555;

    font-size: 13px;

    text-decoration: none;
}

.footer-enlaces a:hover {

    text-decoration: underline;
}

.footer-copy {

    color: #888;

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .encabezado-principal {

        flex-direction: column;

        text-align: center;

        padding-top: 24px;

        gap: 18px;
    }

    .encabezado-texto {

        text-align: center;
    }

    .logo-vinicio {

        width: min(
            230px,
            72vw
        );
    }

    .menu-contenido {

        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        scrollbar-width: thin;
    }

    .menu-enlace {

        flex:
            0
            0
            auto;

        padding:
            14px
            17px;
    }

    .menu-enlace.activo::after {

        left: 17px;
        right: 17px;
    }

    main {

        padding-top: 34px;
    }

    .tarjetas {

        grid-template-columns: 1fr;
    }

    .opciones {

        flex-direction: column;
    }

    .opciones .boton-principal,
    .opciones .boton-secundario {

        width: 100%;

        text-align: center;
    }

}