/* ============================================================
   ESTILOS PORTAL - Leticia Barboza
   Versión refinada con jerarquía visual mejorada
   ============================================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(3, 123, 179, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
        #eef1f5;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.4s ease;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
#contenedor {
    max-width: 1120px;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 32px 40px 32px;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.06),
        0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ============================================================
   BARRA DE ACCESIBILIDAD
   ============================================================ */
#barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 12px;
    margin-bottom: 20px;
    background: rgba(240, 244, 249, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(3, 123, 179, 0.06);
    transition: all 0.4s ease;
}

#barra .barra-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #5a6a7a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#barra .barra-label i {
    color: #037BB3;
    font-size: 0.8rem;
}

#barra .barra-botones {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.btn-acc {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.btn-acc i {
    font-size: 1.1rem;
    color: #4a6a8a;
    transition: color 0.25s ease;
}

.btn-acc:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-acc:hover i {
    color: #037BB3;
}

.btn-acc:active {
    transform: translateY(0);
}

/* ============================================================
   ENCABEZADO
   ============================================================ */
.portal-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.portal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #037BB3, #d4af37);
    border-radius: 4px;
    opacity: 0.4;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 12px;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #037BB3, #005a87);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 12px 32px rgba(3, 123, 179, 0.2);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo-text {
    text-align: left;
}

.badge-top {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #b8960f);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 3px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.portal-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a1a2a;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.portal-header h1 .highlight {
    background: linear-gradient(135deg, #037BB3, #005a87);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portal-header .sub {
    font-size: 1rem;
    color: #5a6a7a;
    margin-top: 2px;
}

.portal-header .sub i {
    color: #d4af37;
}

.portal-header .sub .sep {
    color: #c0c8d0;
    margin: 0 8px;
}

/* ===== BADGES ===== */
.badge-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f9;
    color: #2a4a6a;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(3, 123, 179, 0.06);
}

.badge i {
    color: #037BB3;
    font-size: 0.65rem;
}

.badge.dorado {
    background: #fdf6e0;
    color: #8a6a0a;
    border-color: rgba(212, 175, 55, 0.1);
}

.badge.dorado i {
    color: #d4af37;
}

.badge.verde {
    background: #e6f5ed;
    color: #1a6a3a;
    border-color: rgba(26, 138, 74, 0.08);
}

.badge.verde i {
    color: #1a8a4a;
}

/* ============================================================
   SECCIONES
   ============================================================ */
.seccion {
    margin-bottom: 38px;
}

.seccion:last-of-type {
    margin-bottom: 0;
}

/* ===== TÍTULOS DE SECCIÓN ===== */
.seccion-titulo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1a2a;
    margin-bottom: 18px;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.seccion-titulo:hover {
    background: #f0f4f9;
    border-color: rgba(3, 123, 179, 0.06);
}

.seccion-titulo .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #037BB3, #005a87);
    color: white;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(3, 123, 179, 0.2);
}

.seccion-titulo .num.dorado {
    background: linear-gradient(135deg, #d4af37, #b8960f);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.seccion-titulo .num.verde {
    background: linear-gradient(135deg, #1a8a4a, #0f6a3a);
    box-shadow: 0 4px 12px rgba(26, 138, 74, 0.2);
}

.seccion-titulo .titulo-texto {
    flex: 1;
}

.seccion-titulo .titulo-texto small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: #7a8a9a;
    margin-top: 1px;
}

.seccion-titulo .contador-seccion {
    font-size: 0.65rem;
    font-weight: 600;
    color: #7a8a9a;
    background: #eef0f2;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ============================================================
   GRID DE BOTONES
   ============================================================ */
.grid-botones {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

/* ============================================================
   TARJETAS-BOTÓN
   ============================================================ */
.btn-galeria {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #eef0f2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
    min-height: 72px;
}

.btn-galeria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: #037BB3;
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: all 0.35s ease;
}

.btn-galeria:hover::before {
    opacity: 1;
}

.btn-galeria::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3, 123, 179, 0.02), transparent 60%);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
}

.btn-galeria:hover::after {
    opacity: 1;
}

.btn-galeria:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(3, 123, 179, 0.08), 0 4px 16px rgba(0, 0, 0, 0.02);
    border-color: rgba(3, 123, 179, 0.12);
    background: #ffffff;
}

/* ===== ÍCONOS ===== */
.btn-galeria .icono {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
}

.btn-galeria:hover .icono {
    transform: scale(1.06) rotate(-2deg);
}

/* ===== COLORES DE ÍCONOS ===== */
.btn-galeria .icono.azul {
    background: #e8f4fd;
    color: #037BB3;
}
.btn-galeria .icono.dorado {
    background: #fdf3d6;
    color: #b8960f;
}
.btn-galeria .icono.verde {
    background: #e6f7ed;
    color: #1a8a4a;
}
.btn-galeria .icono.rojo {
    background: #fde8e8;
    color: #b33a3a;
}
.btn-galeria .icono.morado {
    background: #f0e8fd;
    color: #6b3ab3;
}
.btn-galeria .icono.naranja {
    background: #fdf0e8;
    color: #b37a3a;
}
.btn-galeria .icono.rosa {
    background: #fde8f0;
    color: #b33a7a;
}
.btn-galeria .icono.azul-oscuro {
    background: #dce8f5;
    color: #1a4a7a;
}
.btn-galeria .icono.verde-oscuro {
    background: #dce8e0;
    color: #1a6a3a;
}

/* ===== CONTENIDO ===== */
.btn-galeria .texto {
    flex: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.btn-galeria .texto .titulo {
    font-weight: 600;
    font-size: 0.92rem;
    color: #0a1a2a;
    line-height: 1.3;
}

.btn-galeria .texto .subtitulo {
    font-weight: 400;
    font-size: 0.75rem;
    color: #8a9aaa;
    line-height: 1.3;
}

/* ===== CONTADOR ===== */
.btn-galeria .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    flex-shrink: 0;
}

.btn-galeria .contador {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eef0f2;
    color: #5a6a7a;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.btn-galeria .contador i {
    font-size: 0.5rem;
}

.btn-galeria .contador.azul {
    background: #e8f4fd;
    color: #037BB3;
}
.btn-galeria .contador.dorado {
    background: #fdf3d6;
    color: #b8960f;
}

.btn-galeria .flecha {
    color: #c8d0d8;
    font-size: 0.7rem;
    transition: all 0.35s ease;
    z-index: 1;
    flex-shrink: 0;
}

.btn-galeria:hover .flecha {
    color: #037BB3;
    transform: translateX(4px);
}

/* ============================================================
   SUBRUBROS
   ============================================================ */
.subrubro-wrapper {
    margin-top: 14px;
    padding: 16px 16px 8px 20px;
    background: #fafbfc;
    border-radius: 16px;
    border: 1px solid #eef0f2;
    transition: all 0.3s ease;
}

.subrubro-wrapper:hover {
    border-color: rgba(3, 123, 179, 0.08);
}

.subrubro-wrapper .subrubro-label {
    font-weight: 600;
    color: #3a4a5a;
    font-size: 0.78rem;
    padding: 0 0 12px 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.subrubro-wrapper .subrubro-label i {
    color: #037BB3;
    font-size: 0.65rem;
}

.subrubro-wrapper .subrubro-label .linea {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, #dce0e6, transparent);
}

.subrubro-wrapper .subrubro-label .badge-sub {
    background: #e8f4fd;
    color: #037BB3;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.subrubro-wrapper .grid-botones {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.subrubro-wrapper .btn-galeria {
    padding: 14px 16px;
    min-height: 60px;
    background: #ffffff;
}

.subrubro-wrapper .btn-galeria .icono {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 12px;
}

.subrubro-wrapper .btn-galeria .texto .titulo {
    font-size: 0.82rem;
}

.subrubro-wrapper .btn-galeria .texto .subtitulo {
    font-size: 0.7rem;
}

.subrubro-wrapper .btn-galeria:hover {
    border-color: rgba(3, 123, 179, 0.15);
}

/* ============================================================
   SERVICIOS ESPECIALIZADOS
   ============================================================ */
.seccion-servicios {
    margin-top: 10px;
}

.seccion-servicios .grid-botones {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.portal-footer {
    text-align: center;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 2px solid #f0f2f5;
    position: relative;
}

.portal-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #037BB3, #d4af37);
    border-radius: 2px;
}

.portal-footer .footer-logo {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.portal-footer .footer-logo span {
    font-size: 0.65rem;
    font-weight: 600;
    color: #5a6a7a;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.portal-footer .footer-logo span i {
    margin-right: 6px;
    color: #037BB3;
}

.portal-footer .footer-logo span .sep {
    color: #d4af37;
    margin: 0 4px;
}

.portal-footer p {
    font-size: 0.82rem;
    color: #5a6a7a;
    font-weight: 400;
    margin: 0;
}

.portal-footer small {
    font-size: 0.7rem;
    color: #9aaab0;
    display: block;
    margin-top: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    body {
        padding: 16px 12px;
    }

    #contenedor {
        padding: 20px 16px 20px;
        border-radius: 28px;
    }

    #barra {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 12px;
    }

    #barra .barra-label {
        justify-content: center;
        font-size: 0.6rem;
    }

    #barra .barra-botones {
        justify-content: center;
    }

    .logo-wrapper {
        flex-direction: column;
        gap: 8px;
    }

    .logo-text {
        text-align: center;
    }

    .portal-header h1 {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .portal-header .sub {
        font-size: 0.85rem;
    }

    .portal-header .sub .sep {
        margin: 0 4px;
    }

    .badge {
        font-size: 0.6rem;
        padding: 4px 12px;
    }

    .seccion-titulo {
        font-size: 1rem;
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .seccion-titulo .num {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
        border-radius: 10px;
    }

    .seccion-titulo .contador-seccion {
        font-size: 0.55rem;
        padding: 2px 10px;
    }

    .grid-botones {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .subrubro-wrapper {
        padding: 12px 12px 6px 14px;
        border-radius: 14px;
    }

    .subrubro-wrapper .grid-botones {
        grid-template-columns: 1fr;
    }

    .btn-galeria {
        padding: 14px 16px;
        min-height: 60px;
        gap: 14px;
        border-radius: 14px;
    }

    .btn-galeria .icono {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .btn-galeria .texto .titulo {
        font-size: 0.85rem;
    }

    .btn-galeria .texto .subtitulo {
        font-size: 0.7rem;
    }

    .subrubro-wrapper .btn-galeria {
        padding: 12px 14px;
        min-height: 52px;
    }

    .subrubro-wrapper .btn-galeria .icono {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .seccion-servicios .grid-botones {
        max-width: 100%;
    }

    .portal-footer .footer-logo {
        gap: 12px;
    }
    .portal-footer .footer-logo span {
        font-size: 0.55rem;
    }
    .portal-footer p {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    #contenedor {
        padding: 14px 10px 16px;
        border-radius: 20px;
    }

    .portal-header h1 {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .seccion {
        margin-bottom: 24px;
    }

    .seccion-titulo {
        font-size: 0.85rem;
        padding: 8px 12px;
        border-radius: 12px;
    }
    .seccion-titulo .num {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
        border-radius: 8px;
    }
    .seccion-titulo .titulo-texto small {
        font-size: 0.55rem;
    }

    .btn-galeria {
        padding: 10px 12px;
        min-height: 50px;
        gap: 10px;
        border-radius: 12px;
    }

    .btn-galeria .icono {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .btn-galeria .texto .titulo {
        font-size: 0.78rem;
    }

    .btn-galeria .texto .subtitulo {
        font-size: 0.62rem;
    }

    .btn-galeria .contador {
        font-size: 0.45rem;
        padding: 2px 8px;
    }

    .subrubro-wrapper {
        padding: 8px 8px 4px 10px;
        border-radius: 10px;
    }
    .subrubro-wrapper .btn-galeria {
        padding: 8px 10px;
        min-height: 44px;
    }
    .subrubro-wrapper .btn-galeria .icono {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        border-radius: 8px;
    }
}

/* ============================================================
   ANIMACIONES
   ============================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#contenedor {
    animation: fadeInUp 0.5s ease-out;
}

.btn-galeria {
    animation: fadeInUp 0.4s ease-out backwards;
}

.btn-galeria:nth-child(1) { animation-delay: 0.04s; }
.btn-galeria:nth-child(2) { animation-delay: 0.08s; }
.btn-galeria:nth-child(3) { animation-delay: 0.12s; }
.btn-galeria:nth-child(4) { animation-delay: 0.16s; }
.btn-galeria:nth-child(5) { animation-delay: 0.20s; }
.btn-galeria:nth-child(6) { animation-delay: 0.24s; }
.btn-galeria:nth-child(7) { animation-delay: 0.28s; }
.btn-galeria:nth-child(8) { animation-delay: 0.32s; }
.btn-galeria:nth-child(9) { animation-delay: 0.36s; }
.btn-galeria:nth-child(10) { animation-delay: 0.40s; }
.btn-galeria:nth-child(11) { animation-delay: 0.44s; }
.btn-galeria:nth-child(12) { animation-delay: 0.48s; }
.btn-galeria:nth-child(13) { animation-delay: 0.52s; }
.btn-galeria:nth-child(14) { animation-delay: 0.56s; }

/* ============================================================
   MODO CONTRASTE - AFECTA A TODO EL SITIO
   ============================================================ */

/* Fondo del body */
.modo-contraste body {
    background: #000000 !important;
}

/* Contenedor principal */
.modo-contraste #contenedor {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
}

/* TODOS los elementos dentro del contenedor */
.modo-contraste #contenedor * {
    background: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
}

/* Enlaces */
.modo-contraste #contenedor a,
.modo-contraste #contenedor a * {
    color: #FFFF00 !important;
}

/* ===== BOTONES DE GALERÍA ===== */
.modo-contraste .btn-galeria {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
}

.modo-contraste .btn-galeria .texto .titulo {
    color: #ffffff !important;
}

.modo-contraste .btn-galeria .texto .subtitulo {
    color: #cccccc !important;
}

.modo-contraste .btn-galeria .icono {
    background: #222222 !important;
    color: #ffffff !important;
}

.modo-contraste .btn-galeria .contador {
    background: #222222 !important;
    color: #ffffff !important;
}

/* ===== BARRA DE ACCESIBILIDAD ===== */
.modo-contraste #barra {
    background: #1a1a1a !important;
    border: 2px solid #ffffff !important;
}

.modo-contraste .btn-acc {
    background: #222222 !important;
    border-color: #ffffff !important;
}

.modo-contraste .btn-acc i {
    color: #ffffff !important;
}

.modo-contraste .btn-acc:hover {
    background: #333333 !important;
    border-color: #ffdd44 !important;
}

.modo-contraste .btn-acc:hover i {
    color: #ffdd44 !important;
}

/* ===== SECCIONES ===== */
.modo-contraste .seccion-titulo {
    background: #111111 !important;
    border-color: #333333 !important;
}

.modo-contraste .seccion-titulo .num {
    background: #333333 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.modo-contraste .seccion-titulo .num.dorado {
    background: #444444 !important;
    color: #ffdd44 !important;
}

.modo-contraste .seccion-titulo .num.verde {
    background: #444444 !important;
    color: #66dd88 !important;
}

.modo-contraste .subrubro-wrapper {
    background: #111111 !important;
    border-color: #333333 !important;
}

.modo-contraste .subrubro-label {
    color: #ffffff !important;
}

.modo-contraste .subrubro-label .badge-sub {
    background: #222222 !important;
    color: #ffffff !important;
}

/* ===== BADGES ===== */
.modo-contraste .badge {
    background: #222222 !important;
    color: #ffffff !important;
    border-color: #444444 !important;
}

.modo-contraste .badge i {
    color: #ffffff !important;
}

.modo-contraste .badge.dorado {
    background: #333333 !important;
    color: #ffdd44 !important;
}

.modo-contraste .badge.verde {
    background: #333333 !important;
    color: #66dd88 !important;
}

/* ===== FOOTER ===== */
.modo-contraste .portal-footer {
    border-top-color: #333333 !important;
}

.modo-contraste .portal-footer .footer-logo span {
    color: #cccccc !important;
}

.modo-contraste .portal-footer .footer-logo span i {
    color: #ffffff !important;
}

.modo-contraste .portal-footer p {
    color: #cccccc !important;
}

.modo-contraste .portal-footer small {
    color: #888888 !important;
}

/* ===== ENCABEZADO ===== */
.modo-contraste .portal-header {
    border-bottom-color: #333333 !important;
}

.modo-contraste .portal-header::after {
    opacity: 0.3;
}

.modo-contraste .portal-header h1 {
    color: #ffffff !important;
}

.modo-contraste .portal-header h1 .highlight {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

.modo-contraste .portal-header .sub {
    color: #cccccc !important;
}

.modo-contraste .badge-top {
    background: #444444 !important;
    color: #ffdd44 !important;
}

.modo-contraste .logo-icon {
    background: #222222 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* ===== CONTADOR DE SECCIÓN ===== */
.modo-contraste .seccion-titulo .contador-seccion {
    background: #222222 !important;
    color: #ffffff !important;
}