:root {
    --rojo-dav: #ed1c27;
    --rojo-dav-hover: #b90d15;
    --texto: #231f20;
    --borde-card: #c7c7c7;
    --overlap-tarjetas: 35vw;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    position: relative;
    overflow-x: clip;
    max-width: 100%;
    font-family: 'davlight', sans-serif;
    color: var(--texto);
}

strong,
b {
    font-family: 'davbold', sans-serif;
}

/* ---------- LOGO + LEGAL LATERAL ---------- */
.logo-dav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    line-height: 0;
}

.logo-dav img {
    width: 120px;
}

.legal-lateral p {
    position: absolute;
    top: 260px;
    right: -70px;
    transform: translateY(-50%) rotate(-90deg);
    font-family: 'davlight', sans-serif;
    font-size: .8rem;
    color: #231f20;
    z-index: 100;
    margin-bottom: 0;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background-image: url('../img/bg-header-2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-bottom-right-radius: 90px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* La imagen mobile solo existe en mobile */
.hero__bg-mobile {
    display: none;
}

.hero__texto {
    color: #fff;
}

.hero__eyebrow {
    font-family: 'davregular', sans-serif;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: .2rem;
}

.hero__titulo {
    font-family: 'davbold', sans-serif;
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: .4rem;
}

.hero__bajada {
    font-family: 'davregular', sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.hero__bajada strong {
    display: block;
}

/* ---------- TARJETAS ---------- */
.tarjetas {
    position: relative;
    z-index: 5;
    margin-top: -240px;
    text-align: center;
    margin-bottom: -80px;
}

.tarjetas__img {
    max-width: 800px;
    width: 92%;
}

/* ---------- BENEFICIOS ---------- */
.beneficios {
    padding: 10px 0 30px;
}

.beneficios__titulo {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 35px;
}

.beneficios__titulo strong {
    display: block;
}

.beneficios__lista {
    width: fit-content;
    max-width: 100%;
}

.beneficio {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--borde-card);
    border-radius: 30px;
    padding: 20px 45px;
    margin-bottom: 20px;
}

.beneficio__icono {
    flex: 0 0 auto;
    width: 46px;
}

.beneficio__texto {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 0;
}

.beneficio__texto strong {
    display: block;
}

/* ---------- BOTÓN ---------- */
.beneficios__cta {
    margin: 30px 0 20px;
}

.btn-dav {
    display: inline-block;
    background-color: var(--rojo-dav);
    color: #fff;
    font-family: 'davbold', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    padding: 15px 35px;
    border: 0;
    border-radius: 50px;
    transition: background-color .25s ease;
}

.btn-dav:hover,
.btn-dav:focus {
    background-color: var(--rojo-dav-hover);
    color: #fff;
}

.btn-dav:focus-visible {
    outline: 3px solid var(--texto);
    outline-offset: 3px;
}

/* ---------- LEGALES ---------- */
.legal {
    font-size:1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 50px 0 50px;
}

.footer__aviso {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 25px;
}

.footer__logo {
    width: 230px;
}


@media (max-width: 1399.98px) {
    .hero {
        padding: 120px 0 220px;
    }
}

@media (max-width: 1199.98px) {
    .hero__titulo {
        font-size: 3.6rem;
    }

    .hero__eyebrow,
    .hero__bajada {
        font-size: 1.8rem;
    }
}

@media (max-width: 991.98px) {

    .hero {
        display: block;
        position: relative;
        background-image: none;
        border-bottom-right-radius: 0;
        min-height: 0;
        padding: 0;
        text-align: center;
    }

    .hero__bg-mobile {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero .container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding-top: 20%;
        padding-left: 40px;
        padding-right: 40px;
    }

    .logo-dav {
        padding: 0;
    }

    .logo-dav img {
        width: 60px;
    }

    .legal-lateral p {
        top: 150px;
        right: -52px;
        font-size: .55rem;
        color: #fff
    }

    .hero__eyebrow {
        font-size: 1.5rem;
    }

    .hero__titulo {
        font-size: 3rem;
    }

    .hero__bajada {
        font-size: 1.5rem;
    }

    .hero__bajada strong {
        display: inline;
    }

    /* Las tarjetas suben sobre la zona ya degradada de la foto */
    .tarjetas {
        margin-top: calc(-1 * var(--overlap-tarjetas));
    }

    .tarjetas__img {
        width: 88%;
    }

    .beneficios {
        padding: 85px 0 20px;
        text-align: center;
    }

    .beneficios__titulo {
        font-size: 1.3rem;
        margin-bottom: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .beneficios__titulo strong {
        display: inline;
    }

    .beneficios__lista {
        width: 100%;
    }

    .beneficio {
        flex-direction: column;
        gap: 14px;
        border-radius: 24px;
        padding: 22px 20px;
        margin-bottom: 16px;
    }

    .beneficio__icono {
        width: 58px;
    }

    .beneficio__texto {
        font-size: 1.15rem;
    }

    .beneficio__texto strong {
        display: inline;
    }

    .legal,
    .footer {
        text-align: center;
        font-size: .8rem;
    }

    .footer__aviso{
        font-size: .8rem;
    }

    .footer__logo {
        width: 200px;
    }
}

@media (max-width: 575.98px) {
    .hero .container {
        padding-top: 13%;
        padding-left: 25px;
        padding-right: 25px;
    }

    .hero__titulo {
        font-size: 2rem;
    }

    .hero__eyebrow,
    .hero__bajada {
        font-size: 1.3rem;
    }

    .legal-lateral p {
        top: 170px;
        right: -55px;
    }

    .btn-dav {
        font-size: 1.35rem;
        padding: 16px 32px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
