/* ========================================
   ESTILOS - VISTA TERMINOS Y CONDICIONES
   ======================================== */

.page-terminos {
    background: #f8fafc;
}

.page-terminos main.container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Hero */
.terms-hero {
    padding: 2.25rem 0 2rem;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
}

.terms-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    margin-bottom: 1.1rem;
    color: rgba(248, 250, 252, 0.86);
}

.terms-breadcrumb a {
    color: #e2e8f0;
}

.terms-hero-content {
    max-width: 760px;
}

.terms-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.terms-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.7rem;
}

.terms-hero p {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.92);
    margin-bottom: 1rem;
}

.terms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.84rem;
    color: #cbd5e1;
}

.terms-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.terms-meta a {
    color: #93c5fd;
}

/* Contenido */
.terms-content {
    padding: 2rem 0 1.25rem;
}

.terms-content-wrap {
    max-width: 960px;
    margin: 0 auto;
}

/* Cards */
.terms-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.35rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.terms-card h2 {
    font-size: 1.06rem;
    color: #0f172a;
    margin-bottom: 0.55rem;
}

.terms-card p {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 0.55rem;
}

.terms-card ul {
    margin: 0;
    padding-left: 1.05rem;
}

.terms-card li {
    color: #334155;
    margin-bottom: 0.45rem;
    line-height: 1.62;
}

.terms-card a {
    color: #1d4ed8;
}

/* Card destacada (resumen) */
.terms-card--highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
}

.terms-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 0.65rem;
}

/* CTA */
.terms-cta {
    padding: 0.35rem 0 2.5rem;
}

.terms-cta-box {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 16px;
    padding: 1.4rem;
    text-align: center;
}

.terms-cta-box h2 {
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.terms-cta-box p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.terms-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #2563eb;
    color: #ffffff;
    border-radius: 10px;
    padding: 0.68rem 1rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.terms-cta-btn:hover {
    background: #1d4ed8;
}

/* Responsive */
@media (max-width: 767px) {
    .terms-hero {
        padding: 1.65rem 0 1.35rem;
    }

    .terms-hero h1 {
        font-size: 1.55rem;
    }

    .terms-hero p {
        font-size: 0.94rem;
    }

    .terms-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .terms-content {
        padding-top: 1.4rem;
    }

    .terms-content-wrap {
        max-width: 100%;
    }

    .terms-card {
        padding: 1rem;
        border-radius: 12px;
    }
}

/* ========================================
   DARK MODE - TERMINOS
   ======================================== */
[data-theme="dark"] .page-terminos {
    background: #0f172a;
}

[data-theme="dark"] .terms-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .terms-card h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .terms-card p {
    color: #cbd5e1;
}

[data-theme="dark"] .terms-card li {
    color: #cbd5e1;
}

[data-theme="dark"] .terms-card a {
    color: #60a5fa;
}

[data-theme="dark"] .terms-card--highlight {
    background: linear-gradient(135deg, #1e293b 0%, #172554 100%);
    border-color: #1e40af;
}

[data-theme="dark"] .terms-content {
    background: #0f172a;
}
