/* Vista terms — Términos y Condiciones */

.terms-page {
    background: #ffffff;
    color: #1D2343;
}

/* Navbar solo logo centrado */
.terms-page > header {
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(29, 35, 67, 0.1);
    border-bottom: none;
    justify-content: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.terms-page > header nav.navbar--logo-only {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-template-columns: none;
    column-gap: 0;
    width: 100%;
}

.terms-page .navbar--logo-only .nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.terms-page .navbar--logo-only .nav-logo img {
    height: clamp(3.25rem, 5.5vw, 4.75rem);
    width: auto;
    max-width: min(220px, 55vw);
    object-fit: contain;
}

/* Banner con imagen + título */
.terms-banner {
    position: relative;
    width: 100%;
    margin: var(--nav-height) 0 0;
    min-height: clamp(200px, 28vw, 340px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #F7FAFD 75%, #ffffff 25%);
    box-sizing: border-box;

}

.terms-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.terms-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.terms-banner__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 4.5rem;
    text-align: center;
    box-sizing: border-box;
}

.terms-banner__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: #223A8A;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.terms-content {
    padding: 3.75rem clamp(1.5rem, 6vw, 5rem) 5.5rem;
    background: #ffffff;
}

.terms-content__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.terms-content__updated {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.5;
    color: #4A5568;
    margin: 0 0 1.5rem;
}

.terms-content__intro,
.terms-section__text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.7;
    color: #4A5568;
    margin: 0 0 1.35rem;
}

.terms-section + .terms-section {
    margin-top: 2rem;
}

.terms-section__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.4;
    color: #4A5568;
    margin: 0 0 1rem;
}

.terms-section__text:last-child {
    margin-bottom: 0;
}

.terms-section__list {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.7;
    color: #4A5568;
    margin: 0 0 1.35rem;
    padding-left: 1.35rem;
    list-style: disc;
}

.terms-section__list li + li {
    margin-top: 0.35rem;
}

.terms-section__text strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #4A5568;
}

.terms-section__text a {
    color: #4A5568;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.terms-section__text a:hover {
    color: #223A8A;
}

@media (max-width: 768px) {
    .terms-page > header {
        padding-top: 1.15rem;
        padding-bottom: 1.15rem;
    }

    .terms-page .navbar--logo-only .nav-logo img {
        height: clamp(2.75rem, 12vw, 3.5rem);
        max-width: min(180px, 50vw);
    }

    .terms-banner {
        margin-top: var(--nav-height-mobile);
        min-height: clamp(160px, 42vw, 240px);
    }

    .terms-banner__content {
        padding: 1.75rem 1.25rem 3.25rem;
    }

    .terms-banner__title {
        font-size: clamp(1.25rem, 6.5vw, 1.75rem);
        letter-spacing: 0.04em;
    }

    .terms-content {
        padding: 2.75rem 1.35rem 4rem;
    }
}

/* --- ULTRA WIDE (≥2000px / ≥2560px) --- */
@media (min-width: 2000px) {
    .terms-page > header {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .terms-page .navbar--logo-only .nav-logo img {
        height: 6rem;
        max-width: 300px;
    }

    .terms-banner {
        min-height: 460px;
    }

    .terms-banner__content {
        max-width: 1680px;
        padding: 3.5rem 5rem 6rem;
    }

    .terms-banner__title {
        font-size: 3.75rem;
        letter-spacing: 0.07em;
    }

    .terms-content {
        padding: 5.5rem 5rem 7.5rem;
    }

    .terms-content__inner {
        max-width: 1680px;
    }

    .terms-content__updated {
        font-size: 1.35rem;
        margin-bottom: 2.15rem;
    }

    .terms-content__intro,
    .terms-section__text,
    .terms-section__list {
        font-size: 1.35rem;
        line-height: 1.75;
        margin-bottom: 1.5rem;
    }

    .terms-section + .terms-section {
        margin-top: 2.75rem;
    }

    .terms-section__title {
        font-size: 1.45rem;
        margin-bottom: 1.25rem;
    }

    .terms-section__list {
        padding-left: 1.75rem;
    }

    .terms-section__list li + li {
        margin-top: 0.55rem;
    }
}

@media (min-width: 2560px) {
    .terms-page > header {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .terms-page .navbar--logo-only .nav-logo img {
        height: 6.75rem;
        max-width: 340px;
    }

    .terms-banner {
        min-height: 520px;
    }

    .terms-banner__content {
        max-width: 1920px;
        padding: 4rem 6rem 7rem;
    }

    .terms-banner__title {
        font-size: 4.25rem;
    }

    .terms-content {
        padding: 6.5rem 6rem 8.5rem;
    }

    .terms-content__inner {
        max-width: 1920px;
    }

    .terms-content__updated {
        font-size: 1.5rem;
        margin-bottom: 2.35rem;
    }

    .terms-content__intro,
    .terms-section__text,
    .terms-section__list {
        font-size: 1.5rem;
        line-height: 1.8;
        margin-bottom: 1.65rem;
    }

    .terms-section + .terms-section {
        margin-top: 3.15rem;
    }

    .terms-section__title {
        font-size: 1.65rem;
        margin-bottom: 1.35rem;
    }

    .terms-section__list {
        padding-left: 2rem;
    }
}
