.terms-hero {
    position: relative;
    background: linear-gradient(135deg, #0b2c5c, #123f7a);
    color: #fff;
    text-align: center;
    padding: 120px 20px 90px;
    overflow: hidden;
}

.terms-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 40%);
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.terms-hero h1 {
    font-size: 42px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.terms-hero p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
}

.terms-line {
    width: 80px;
    height: 4px;
    background: #f2b705;
    margin: 18px auto 24px;
    border-radius: 10px;
}

.terms-page {
    background: #f5f7fb;
    padding: 70px 20px;
}

.terms-container {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 2fr;
    gap: 32px;
    align-items: start;
}

.terms-sidebar,
.terms-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.terms-sidebar {
    padding: 28px 24px;
    position: sticky;
    top: 110px;
}

.terms-sidebar h3 {
    color: #0b2c5c;
    font-size: 22px;
    margin-bottom: 18px;
}

.terms-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.terms-sidebar ul li {
    margin-bottom: 12px;
}

.terms-sidebar ul li a {
    text-decoration: none;
    color: #444;
    font-size: 15px;
    transition: 0.3s ease;
}

.terms-sidebar ul li a:hover {
    color: #0b2c5c;
    font-weight: 600;
}

.terms-box {
    background: #f7f9fc;
    border-left: 4px solid #f2b705;
    border-radius: 10px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.terms-content {
    padding: 36px 34px;
}

.terms-content section {
    margin-bottom: 36px;
    scroll-margin-top: 100px;
}

.terms-content h2 {
    font-size: 28px;
    color: #0b2c5c;
    margin-bottom: 12px;
}

.terms-content h3 {
    font-size: 20px;
    color: #0b2c5c;
    margin-bottom: 12px;
    margin-top: 10px;
}

.terms-content p {
    color: #4a4a4a;
    line-height: 1.9;
    margin-bottom: 14px;
    text-align: justify;
}

.terms-content ul {
    margin: 0;
    padding-left: 20px;
}

.terms-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #4a4a4a;
}

.info-destacada {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    margin: 18px 0 10px;
}

.info-destacada strong {
    color: #0b2c5c;
}

.terms-note {
    background: #eef6ff;
    border-left: 4px solid #0099ff;
    padding: 18px 20px;
    border-radius: 10px;
    margin-top: 22px;
    color: #35506c;
    line-height: 1.8;
}

.footer-col ul {
    padding-left: 0;
}

@media (max-width: 950px) {
    .terms-container {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        position: static;
    }

    .terms-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .terms-hero {
        padding: 100px 18px 75px;
    }

    .terms-hero h1 {
        font-size: 28px;
    }

    .terms-content,
    .terms-sidebar {
        padding: 24px 20px;
    }

    .terms-content h2 {
        font-size: 24px;
    }
}