/* =========================================================
   AVRILCORP — Portal Público · Design System Unificado
   Light Mode Premium · v2.0
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ────────────────────────────────────── */
:root {
    --primary:        #1d4ed8;
    --primary-dark:   #1e3a8a;
    --primary-light:  #3b82f6;
    --accent:         #0ea5e9;
    --grad:           linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    --grad-dark:      linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #0ea5e9 100%);

    --bg:             #f1f5f9;
    --bg-card:        #ffffff;
    --bg-section:     #f8fafc;

    --text-dark:      #0f172a;
    --text-body:      #334155;
    --text-muted:     #64748b;
    --text-light:     #94a3b8;

    --border:         rgba(0,0,0,0.08);
    --border-mid:     rgba(0,0,0,0.12);

    --shadow-xs:      0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm:      0 4px 12px rgba(0,0,0,0.08);
    --shadow-md:      0 8px 24px rgba(0,0,0,0.10);
    --shadow-lg:      0 20px 48px rgba(0,0,0,0.13);

    --r-sm:  10px;
    --r-md:  16px;
    --r-lg:  22px;
    --r-xl:  30px;

    --nav-h: 68px;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif !important;
    background-color: var(--bg) !important;
    color: var(--text-body) !important;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none !important; }
img { display: block; }

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.portal-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}
.portal-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.09); }

.portal-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Brand */
.nav-brand {
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
    color: var(--primary-dark) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.nav-brand i { color: var(--primary-light); font-size: 1.2rem; }
.nav-brand span { color: var(--primary-light); }

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    color: var(--text-body) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 7px 13px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    background: rgba(29,78,216,0.07);
    color: var(--primary) !important;
}
.nav-links a.active {
    background: rgba(29,78,216,0.10);
    color: var(--primary) !important;
}

/* Login Button */
.nav-btn-login {
    background: var(--grad) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 14px rgba(29,78,216,0.22);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29,78,216,0.32);
    color: #fff !important;
}

/* Hamburger */
.nav-toggler {
    display: none;
    background: none;
    border: 1px solid var(--border-mid);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Mobile Nav — always absolute so it never joins the flex row */
.nav-collapse {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    z-index: 899;
}
.nav-collapse.open { display: block; }

@media (max-width: 991px) {
    .nav-toggler { display: flex; align-items: center; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav-links a { padding: 10px 14px; }
    .nav-actions { margin-top: 12px; }
    .nav-btn-login { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   HERO (Portal Principal)
   ══════════════════════════════════════════════════════ */
.hero {
    margin-top: var(--nav-h);
    background: var(--grad-dark);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.hero-shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.hero-shape-2 { width: 250px; height: 250px; bottom: -80px; right: 300px; background: rgba(251,191,36,0.07); }
.hero-shape-3 { width: 180px; height: 180px; bottom: 40px; left: 5%; background: rgba(255,255,255,0.04); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
    animation: fadeInDown 0.7s ease both;
}
.hero-badge i { color: #fbbf24; }

.hero-title {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    line-height: 1.13;
    letter-spacing: -1px;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-title span {
    background: linear-gradient(90deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.80);
    max-width: 580px;
    margin: 0 auto 30px;
    line-height: 1.72;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-ctas a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-cta-primary {
    background: #fff !important;
    color: var(--primary) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-cta-primary:hover {
    background: #f0f9ff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    color: var(--primary) !important;
}
.btn-cta-outline {
    background: rgba(255,255,255,0.10) !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.40);
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.20) !important;
    border-color: rgba(255,255,255,0.70);
    transform: translateY(-2px);
    color: #fff !important;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: center;
    margin-top: 48px;
    animation: fadeInUp 0.8s ease 0.45s both;
}
.hero-stat { text-align: center; }
.hero-stat .n {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat .l {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.60);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════
   PAGE HEADER (Páginas interiores)
   ══════════════════════════════════════════════════════ */
.page-header {
    margin-top: var(--nav-h);
    background: var(--grad-dark);
    padding: 60px 0 55px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255,255,255,0.05);
}
.page-header-shape-1 { width: 350px; height: 350px; top: -150px; right: -80px; }
.page-header-shape-2 { width: 200px; height: 200px; bottom: -80px; left: 5%; background: rgba(251,191,36,0.06); }

.page-header-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fbbf24;
    margin: 0 auto 18px;
}
.page-header h1 {
    font-weight: 800;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.page-header p {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   SECTION HEADINGS
   ══════════════════════════════════════════════════════ */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.section-head p {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 520px;
    margin: 0 auto;
}
.section-divider {
    width: 44px; height: 4px;
    background: var(--grad);
    border-radius: 4px;
    margin: 12px auto 0;
}

/* ══════════════════════════════════════════════════════
   BENEFIT CARDS
   ══════════════════════════════════════════════════════ */
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 22px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xs);
    text-align: center;
}
.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29,78,216,0.18);
    box-shadow: var(--shadow-md);
}
.benefit-icon {
    width: 56px; height: 56px;
    background: rgba(29,78,216,0.08);
    color: var(--primary-light);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}
.benefit-card:hover .benefit-icon {
    background: var(--grad);
    color: #fff;
}
.benefit-card h4 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.benefit-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.58;
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   COURSE CARDS
   ══════════════════════════════════════════════════════ */
.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-xs);
}
.course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29,78,216,0.18);
    box-shadow: var(--shadow-md);
}

/* Image */
.course-img-wrap {
    height: 190px;
    width: 100%;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}
.course-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
.course-card:hover .course-img-wrap img { transform: scale(1.06); }
.course-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #94a3b8;
    font-size: 2.5rem;
}

/* Badge */
.course-badge {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 5;
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.35) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.3px;
}

/* Content */
.course-content {
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.course-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
}
.course-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 8px;
}
.course-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
}
.course-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}
.course-price .old {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 6px;
}
.course-price .now {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}
.course-details {
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: auto;
}
.course-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.course-info-item i {
    color: var(--primary-light);
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   FILTER PANEL
   ══════════════════════════════════════════════════════ */
.filter-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
.filter-panel h6 {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-panel h6 i { color: var(--primary-light); }
.filter-select {
    background: var(--bg-section) !important;
    border: 1px solid var(--border-mid) !important;
    border-radius: var(--r-sm) !important;
    color: var(--text-dark) !important;
    padding: 10px 15px !important;
    height: auto !important;
    font-size: 0.9rem !important;
    font-family: 'Outfit', sans-serif !important;
    transition: border-color 0.25s, box-shadow 0.25s !important;
    cursor: pointer;
    width: 100%;
}
.filter-select:focus {
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12) !important;
    outline: none;
}

/* ══════════════════════════════════════════════════════
   PORTAL FORM CARD (consultar, validar, reclamacion)
   ══════════════════════════════════════════════════════ */
.portal-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 860px;
    margin: -36px auto 0;
    position: relative;
    z-index: 10;
}
.portal-form-card-wide {
    max-width: 980px;
}
.portal-form-body {
    padding: 36px 40px 40px;
}
@media (max-width: 576px) {
    .portal-form-body { padding: 24px 20px 28px; }
}

/* Form controls */
.form-control-portal {
    background: var(--bg-section) !important;
    border: 1px solid var(--border-mid) !important;
    border-radius: var(--r-sm) !important;
    color: var(--text-dark) !important;
    padding: 11px 15px !important;
    height: auto !important;
    font-size: 0.95rem !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.25s !important;
}
.form-control-portal:focus {
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12) !important;
    background: #fff !important;
    outline: none;
}
.form-label-portal {
    font-weight: 600;
    color: var(--text-body);
    font-size: 0.88rem;
    margin-bottom: 7px;
    display: block;
}

/* Cert Results */
.cert-result-item {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-light);
    border-radius: var(--r-md);
    padding: 18px 22px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}
.cert-result-item:hover {
    border-left-color: var(--primary);
    background: #eff6ff;
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.cert-result-icon {
    width: 44px; height: 44px;
    background: rgba(29,78,216,0.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.cert-result-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.cert-result-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Validation result */
.validate-valid {
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: var(--r-lg);
    padding: 28px;
    text-align: center;
}
.validate-invalid {
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: var(--r-lg);
    padding: 28px;
    text-align: center;
}
.validate-valid .v-icon { color: #10b981; font-size: 3rem; margin-bottom: 12px; }
.validate-invalid .v-icon { color: #ef4444; font-size: 3rem; margin-bottom: 12px; }

.cert-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
    text-align: left;
}
@media (max-width: 500px) { .cert-detail-grid { grid-template-columns: 1fr; } }
.cert-detail-item label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 3px;
}
.cert-detail-item p {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════ */
.btn-portal-primary {
    background: var(--grad);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 5px 18px rgba(29,78,216,0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.btn-portal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(29,78,216,0.35);
    color: #fff !important;
}
.btn-portal-secondary {
    background: var(--bg-section);
    color: var(--text-body) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 11px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-mid);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}
.btn-portal-secondary:hover {
    background: #fff;
    border-color: var(--primary-light);
    color: var(--primary) !important;
}

/* ══════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════ */
.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.25s;
}
.faq-card:hover { box-shadow: var(--shadow-sm); }
.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.2s;
}
.faq-btn[aria-expanded="true"] { color: var(--primary); }
.faq-btn::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.faq-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq-body {
    padding: 0 24px 20px;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   MARQUEE / PARTNERS
   ══════════════════════════════════════════════════════ */
.marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    padding: 32px 0;
}
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 50px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark) !important;
    opacity: 0.85;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.marquee-item:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.portal-footer {
    background: #0f172a;
    padding: 52px 0 0;
    margin-top: 80px;
    color: #94a3b8;
    font-size: 0.9rem;
}
.footer-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.4px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.footer-brand i { color: var(--primary-light); }
.footer-brand span { color: var(--primary-light); }
.footer-desc { color: #94a3b8; font-size: 0.88rem; line-height: 1.65; margin-bottom: 16px; }
.footer-ruc { font-size: 0.82rem; color: #64748b; }

.footer-heading {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: #94a3b8 !important;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, gap 0.2s;
}
.footer-links a:hover { color: #38bdf8 !important; gap: 12px; }
.footer-links a i { font-size: 0.7rem; color: var(--primary-light); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    font-size: 0.88rem;
    color: #94a3b8;
}
.footer-contact-item i { color: #38bdf8; font-size: 1rem; margin-top: 2px; width: 18px; flex-shrink: 0; }
.footer-contact-item a { color: #94a3b8 !important; }
.footer-contact-item a:hover { color: #38bdf8 !important; }

.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-socials a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    transition: all 0.25s;
}
.footer-socials a:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 40px;
    padding: 18px 0;
    text-align: center;
    font-size: 0.83rem;
    color: #475569;
}

/* ══════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 54px; height: 54px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(37,211,102,0.40);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.whatsapp-float:hover {
    transform: scale(1.10) translateY(-3px);
    box-shadow: 0 14px 32px rgba(37,211,102,0.55);
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════
   EMPTY STATES
   ══════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h5 { font-weight: 700; color: var(--text-body); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; }

/* ══════════════════════════════════════════════════════
   ANIMATIONS & REVEALS
   ══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════ */
.text-primary   { color: var(--primary) !important; }
.text-accent    { color: var(--accent) !important; }
.bg-gradient    { background: var(--grad) !important; }
.rounded-portal { border-radius: var(--r-md) !important; }
.shadow-portal  { box-shadow: var(--shadow-md) !important; }

/* Reclamation type tabs */
.tipo-reclamo-wrapper { display: flex; gap: 10px; margin-bottom: 8px; }
.tipo-reclamo-wrapper label {
    flex: 1; text-align: center; padding: 11px;
    border: 2px solid var(--border-mid);
    border-radius: var(--r-sm);
    cursor: pointer; font-weight: 600; font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.2s;
}
.tipo-reclamo-wrapper input[type=radio] { display: none; }
.tipo-reclamo-wrapper input[type=radio]:checked + label {
    border-color: var(--primary);
    background: rgba(29,78,216,0.06);
    color: var(--primary);
}
