/* Banner y layout compartido — páginas legales (FAQ, términos, privacidad) */

:root {
    --nav-height: 100px;
    --nav-height-mobile: 80px;
    --vj-body-size: clamp(0.95rem, 1.1vw, 1.05rem);
    --vj-body-line-height: 1.55;
}

@media (max-width: 1024px) {
    :root {
        --vj-body-size: clamp(0.9rem, 2.5vw, 1.02rem);
    }
}

@media (max-width: 768px) {
    :root {
        --vj-body-size: 0.9rem;
        --vj-body-line-height: 1.5;
    }
}

@media (max-width: 480px) {
    :root {
        --vj-body-size: 0.84rem;
    }
}

@media (min-width: 2000px) {
    :root {
        --vj-body-size: 1.2rem;
        --vj-body-line-height: 1.65;
    }
}

@media (min-width: 2560px) {
    :root {
        --vj-body-size: 1.32rem;
    }
}

.banner-home {
    position: relative;
    width: 100%;
    margin: 0;
    height: 100vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.banner-home__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-home__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.banner-home__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 8%, rgba(255, 255, 255, 0) 38%);
    z-index: 1;
}

.banner-home__content {
    position: relative;
    z-index: 2;
    padding-top: var(--nav-height);
    padding-left: 7.5rem;
    padding-right: 7.5rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.banner-home__title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 700;
    color: #001e42;
    line-height: 1.15;
    margin: 0;
    max-width: 640px;
    text-align: left;
}

.features {
    padding: 6rem 5%;
    background-color: #ffffff;
    text-align: center;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .banner-home {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        min-height: 100svh;
        height: auto;
        background: #e8eef3;
    }

    .banner-home__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .banner-home__bg img {
        object-fit: cover;
        object-position: 72% 28%;
    }

    .banner-home__gradient {
        width: 100%;
        height: 100%;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.35) 38%,
            rgba(255, 255, 255, 0.82) 68%,
            rgba(255, 255, 255, 0.96) 100%
        );
    }

    .banner-home__content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
        margin-top: auto;
        padding: calc(var(--nav-height) + 28vh) clamp(1.5rem, 5vw, 2.75rem) clamp(2rem, 5vw, 3rem);
        justify-content: flex-end;
    }

    .banner-home__title {
        max-width: 100%;
        font-size: clamp(1.75rem, 5vw, 2.4rem);
    }
}

@media (max-width: 768px) {
    .banner-home {
        min-height: 100svh;
    }

    .banner-home__content {
        padding-top: calc(var(--nav-height-mobile) + 24vh);
        padding-left: 1.35rem;
        padding-right: 1.35rem;
        padding-bottom: 2rem;
    }

    .banner-home__title {
        font-size: clamp(1.55rem, 6.2vw, 2rem);
        line-height: 1.2;
    }
}

.lang-selector-hero {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 100;
    display: flex;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.lang-link-hero {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.lang-link-hero:hover,
.lang-link-hero.is-active {
    color: #ffffff;
    font-weight: 700;
}

.lang-divider-hero {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .lang-selector-hero {
        top: 24px;
        right: 20px;
    }
}
