/* ==================== ÍNDICE ==================== */
.terms-index {
    padding: 3rem 4.5rem 2.5rem 4.5rem;
}

.terms-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 1rem 0 2rem 0;
}

@media (min-width: 600px) {
    .terms-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.terms-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    background: var(--azul_suave);
    color: var(--azul);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.terms-nav__link:hover {
    background: var(--azul);
    color: white;
    transform: translateY(-1px);
}

.terms-fecha {
    font-size: 1.3rem;
    color: var(--negro_claro);
    opacity: 0.6;
    margin: 0;
    padding-top: 0.5rem;
}

.terms-index .titulo {
    margin-bottom: 1.5rem;
}

/* ==================== SECCIONES ==================== */
.terms,
.terms_section {
    position: relative;
    overflow: hidden;
}

.terms > *,
.terms_section > * {
    position: relative;
    z-index: 1;
}

.terms {
    padding: 4.5rem;
    padding-bottom: 6rem;
}

.terms ol,
.terms_section ol {
    max-width: 100%;
}

.text {
    font-size: 1.9rem;
    line-height: 1.7;
}

.terms_section {
    height: auto;
    border-bottom-right-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
    padding: 4.5rem;
    padding-bottom: 6rem;
}

ul li {
    margin-bottom: 0.8rem;
}

ol > li > strong {
    display: block;
    margin-bottom: 1rem;
    margin-top: 4rem;
    font-weight: bold;
    font-size: 2.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gris);
}

ol li::marker {
    font-weight: bold;
    color: var(--azul);
}

.terms a,
.terms_section a {
    text-decoration: none;
    color: #004886;
    font-weight: 600;
}

.terms a:hover,
.terms_section a:hover {
    color: var(--azul);
}

@media (max-width: 1024px) {
    .terms_section,
    .terms {
        padding: 3.5rem;
    }

    .terms-index {
        padding: 2.5rem 3.5rem;
    }

    .text {
        font-size: 1.8rem;
    }

    ol > li > strong {
        margin-top: 3rem;
        font-size: 1.9rem;
    }
}

@media (max-width: 750px) {
    .terms_section,
    .terms {
        padding: 2rem;
        padding-right: 2.5rem;
        padding-bottom: 3rem;
    }

    .terms-index {
        padding: 2rem;
    }

    .text {
        font-size: 1.5rem;
    }

    ul li {
        margin-bottom: 0.6rem;
    }

    ol > li > strong {
        margin-top: 2.5rem;
        margin-bottom: 0.8rem;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .terms_section,
    .terms {
        padding: 1.5rem;
        padding-right: 2rem;
        padding-bottom: 2.5rem;
    }

    .terms-index {
        padding: 1.5rem;
    }

    .text {
        font-size: 1.4rem;
    }

    ol > li > strong {
        margin-top: 2rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 380px) {
    .terms_section,
    .terms {
        padding: 1.2rem;
        padding-right: 1.8rem;
        padding-bottom: 2rem;
    }

    .terms-index {
        padding: 1.2rem;
    }

    .text {
        font-size: 1.3rem;
    }

    ol > li > strong {
        font-size: 1.5rem;
    }
}