.terminos-container {
    max-width: 850px;
    margin: 30px auto;
    padding: 0 15px;
}

.terminos-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e1e8ed;
    border-top: 5px solid #ec0000;
    padding: 35px;
    margin-bottom: 30px;
    text-align: left;
}

.terminos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.terminos-badge {
    background-color: red;
    color: white;
    font-size: 0.85em;
    font-weight: bold;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terminos-titulo {
    color: #4e2602;
    font-size: 1.5em;
    margin: 0 0 25px 0;
    line-height: 1.35;
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.terminos-seccion {
    margin-bottom: 24px;
}

.terminos-seccion h2 {
    color: #4e2602;
    font-size: 1.15em;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.terminos-seccion p {
    color: #555;
    font-size: 1em;
    line-height: 1.65;
    margin: 0 0 12px 0;
}

.terminos-seccion ul {
    color: #555;
    font-size: 1em;
    line-height: 1.65;
    margin: 8px 0 14px 0;
    padding-left: 24px;
}

.terminos-seccion li {
    margin-bottom: 6px;
}

.terminos-seccion a {
    color: #006699;
    font-weight: 600;
    text-decoration: underline;
}

.terminos-seccion a:hover {
    color: #ec0000;
}

.terminos-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: 25px;
}

.btn-volver {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #006699;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-volver:hover {
    background-color: #004d73;
    color: #ffffff;
    transform: scale(1.02);
}

@media (max-width: 650px) {
    .terminos-card {
        padding: 20px;
    }
    .btn-volver {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}