/* ===== LITIGANTE DIGITAL — Justice Dark + Gold Authority ===== */

:root {
    --navy-deep: #0A0E1A;
    --navy-mid: #121832;
    --navy-light: #1B2340;
    --steel: #2A3456;
    --gold: #D4A853;
    --gold-light: #E8C878;
    --gold-dark: #8B6914;
    --cream: #F5F0E8;
    --text-light: #E8E4DC;
    --text-muted: rgba(232, 228, 220, 0.55);
    --accent: #D4A853;
    --danger: #C0392B;
    --success: #27AE60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--navy-deep);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== DISCLAIMER BANNER ===== */
.disclaimer-banner {
    background: linear-gradient(135deg, #8B6914, #6B4F0E);
    padding: 0.7rem 0;
    position: relative;
    z-index: 1001;
}

.disclaimer-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.disclaimer-banner p {
    font-size: 0.82rem;
    color: #fff;
    line-height: 1.5;
}

.disclaimer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.disclaimer-close:hover { opacity: 1; }

.disclaimer-banner.hidden { display: none; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.nav.has-banner { top: 38px; }

.nav.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
}

.nav-icon { font-size: 1.5rem; }

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-title em {
    font-weight: 400;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-mid) 40%, #0D1225 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(212, 168, 83, 0.04) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.cta-button.primary {
    background: var(--gold);
    color: var(--navy-deep);
}

.cta-button.primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(212, 168, 83, 0.4);
}

.cta-button.secondary:hover {
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
}

.hero-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.justice-scale { max-width: 300px; width: 100%; }
.scale-svg { width: 100%; height: auto; }

/* ===== SECTIONS COMMON ===== */
.section { padding: 6rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(212, 168, 83, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}

/* ===== MISSION ===== */
.mission-section {
    background: var(--navy-mid);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    background: rgba(212, 168, 83, 0.04);
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    border-color: rgba(212, 168, 83, 0.25);
    transform: translateY(-4px);
}

.mission-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }

.mission-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.mission-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== AREAS ===== */
.areas-section { background: var(--navy-deep); }

.areas-intro {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.area-card {
    background: rgba(232, 228, 220, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.area-card:hover {
    border-color: rgba(212, 168, 83, 0.25);
    background: rgba(232, 228, 220, 0.05);
    transform: translateY(-3px);
}

.area-icon { font-size: 2rem; margin-bottom: 1rem; }

.area-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    color: var(--text-light);
}

.area-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.area-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.area-topics span {
    font-size: 0.75rem;
    background: rgba(212, 168, 83, 0.1);
    color: var(--gold);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-weight: 500;
}

/* ===== PROCESOS ===== */
.procesos-section { background: var(--navy-mid); }

.procesos-intro {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.procesos-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.proceso-card {
    background: rgba(232, 228, 220, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: border-color 0.3s;
}

.proceso-card:hover { border-color: rgba(212, 168, 83, 0.25); }

.proceso-header {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.proceso-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    opacity: 0.5;
}

.proceso-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-light);
}

.proceso-tiempo {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.proceso-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.proceso-pasos {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.paso {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    background: rgba(212, 168, 83, 0.04);
    border-radius: 10px;
    border-left: 3px solid rgba(212, 168, 83, 0.3);
}

.paso-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.paso-detail {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.proceso-tip {
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== QUOTE ===== */
.quote-section {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08), rgba(10, 14, 26, 0.9));
    padding: 5rem 0;
}

.pull-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.pull-quote p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--text-light);
}

.pull-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* ===== GLOSARIO ===== */
.glosario-section { background: var(--navy-deep); }

.glosario-intro {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.glosario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.glosario-item {
    background: rgba(232, 228, 220, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.08);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glosario-item:hover {
    border-color: rgba(212, 168, 83, 0.2);
    background: rgba(232, 228, 220, 0.05);
}

.glosario-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 0.7rem;
}

.glosario-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.glosario-ejemplo {
    display: block;
    font-size: 0.82rem;
    color: var(--gold);
    opacity: 0.8;
    font-style: italic;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(212, 168, 83, 0.1);
    line-height: 1.6;
}

/* ===== ARTÍCULOS PREVIEW ===== */
.articulos-preview { background: var(--navy-mid); }

.articulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.articulo-card {
    display: block;
    background: rgba(232, 228, 220, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.08);
    border-radius: 14px;
    padding: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.articulo-card:hover {
    border-color: var(--gold);
    background: rgba(232, 228, 220, 0.06);
    transform: translateY(-3px);
}

.articulo-emoji { font-size: 2rem; display: block; margin-bottom: 0.8rem; }

.articulo-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.articulo-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.articulo-leer {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.articulo-card:hover .articulo-leer { text-decoration: underline; }

/* ===== RECURSOS ===== */
.recursos-section { background: var(--navy-deep); }

.recursos-intro {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.recurso-card {
    display: block;
    background: rgba(232, 228, 220, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.08);
    border-radius: 14px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recurso-card:hover {
    border-color: var(--gold);
    background: rgba(232, 228, 220, 0.06);
    transform: translateY(-3px);
}

.recurso-icon { font-size: 2rem; margin-bottom: 1rem; }

.recurso-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.recurso-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.recurso-link {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 600;
}

.recursos-emergencia {
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
}

.recursos-emergencia h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.emergencia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.emergencia-item {
    text-align: center;
}

.emergencia-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.emergencia-tel {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.emergencia-item span:last-child {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== NEWSLETTER ===== */
.newsletter { background: var(--navy-mid); }

.newsletter-card {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0.8rem 0 1rem;
}

.newsletter-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 83, 0.2);
    background: rgba(232, 228, 220, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    border: none;
    background: var(--gold);
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.newsletter-note {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    margin-top: 0.8rem !important;
    opacity: 0.6;
}

/* ===== DISCLAIMER FINAL ===== */
.disclaimer-section {
    background: var(--navy-deep);
    padding: 3rem 0;
}

.disclaimer-final {
    background: rgba(212, 168, 83, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-final h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
}

.disclaimer-final p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.disclaimer-final a {
    color: var(--gold);
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: #060810;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(212, 168, 83, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo { font-size: 2rem; }

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
}

.footer-name em { color: var(--gold); font-weight: 400; }

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 168, 83, 0.08);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    opacity: 0.5;
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-visual { order: -1; }
    .justice-scale { max-width: 200px; }
    .hero-sub { margin: 0 auto 2rem; }
    .hero-ctas { justify-content: center; }

    .mission-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .glosario-grid { grid-template-columns: 1fr; }
    .recursos-grid { grid-template-columns: repeat(2, 1fr); }
    .emergencia-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    }
    .nav-toggle { display: flex; }

    .areas-grid { grid-template-columns: 1fr; }
    .recursos-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .hero h1 { font-size: 2.2rem; }
    .section { padding: 4rem 0; }

    .proceso-header { flex-direction: column; gap: 0.5rem; }
    .paso { flex-direction: column; gap: 0.3rem; }
    .paso-label { min-width: auto; }

    .newsletter-form { flex-direction: column; }

    .disclaimer-banner p { font-size: 0.75rem; }
}
