﻿/* ==========================================================================
   TÉRMINOS Y CONDICIONES - misma línea visual del panel principal (Nexo).
   ========================================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.terminos {
    min-height: 100vh;
    background: #eef5fb;
    color: #193b53;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Cabecera ---------- */

.terminos-cab {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    background: #193b53;
    color: #fff;
}

.terminos-logo {
    flex: none;
    width: 112px;
    height: 56px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
}

    .terminos-logo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.terminos-titulo {
    flex: 1;
    min-width: 0;
}

    .terminos-titulo h1 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .terminos-titulo p {
        margin: 4px 0 0;
        font-size: 13px;
        color: #b8cedf;
    }

.terminos-volver {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    background: #24618d;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    .terminos-volver:hover {
        background: #204e72;
    }

/* ---------- Texto ---------- */

.terminos-cuerpo {
    padding: 20px;
}

.terminos-hoja {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 34px 36px;
    border: 1px solid #b8cedf;
    border-radius: 16px;
    background: #fff;
    font-size: 14.5px;
    line-height: 1.6;
    color: #245678;
}

    .terminos-hoja h2 {
        margin: 28px 0 8px;
        padding-bottom: 6px;
        border-bottom: 2px solid #ddebf5;
        font-size: 17px;
        font-weight: 700;
        color: #193b53;
    }

    .terminos-hoja p {
        margin: 0 0 10px;
    }

    .terminos-hoja ul {
        margin: 0 0 10px;
        padding-left: 22px;
    }

    .terminos-hoja li {
        margin-bottom: 6px;
    }

.terminos-meta {
    display: inline-block;
    margin-bottom: 18px !important;
    padding: 5px 12px;
    border-radius: 999px;
    background: #edf6fc;
    color: #204e72;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 700px) {
    .terminos-cab {
        flex-wrap: wrap;
    }

    .terminos-volver {
        width: 100%;
        justify-content: center;
    }

    .terminos-cuerpo {
        padding: 10px;
    }

    .terminos-hoja {
        padding: 20px 16px 26px;
    }
}

@media print {
    .terminos-volver {
        display: none;
    }

    .terminos-cab {
        background: #fff;
        color: #000;
    }

    .terminos-titulo p {
        color: #444;
    }

    .terminos-hoja {
        border: 0;
    }
}
