/* ========================================
   RESET Y CONFIGURACIÓN BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ========================================
   VARIABLES CSS
======================================== */
:root {
    --primary-color: #38b6ff;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
    --bg-dark: #1e293b;
    --shadow: 0 10px 30px rgba(56, 182, 255, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --transition: all 0.3s ease;
}

/* ========================================
   COMPONENTES UTILITARIOS
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;

    &:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
        background: #d97706;
    }
}

.section {
    padding: 5rem 0;
    position: relative;

    &.bg-light {
        background: var(--bg-light);
    }

    h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
        color: var(--text-dark);
        position: relative;

        &::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }
    }
}

/* ========================================
   LOADING Y ANIMACIONES
======================================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;

    .loading-spinner {
        width: 50px;
        height: 50px;
        border: 4px solid rgba(255,255,255,0.3);
        border-top: 4px solid white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   HEADER
======================================== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);

    &.header-scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 30px rgba(0,0,0,0.15);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 3rem; /* MÁS ESPACIO entre logo y menú */
}

/* NUEVO: Contenedor para agrupar navegación + búsqueda */
.header-nav-group {
    display: flex;
    align-items: center;
    gap: 1rem; /* MENOS ESPACIO entre nav, búsqueda y mobile */
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column; /* Cambiar a columna para que vaya abajo */
    align-items: flex-start;
}

.logo-text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    margin-top: 2px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-shadow: none;
}

/* ========================================
   NAVEGACIÓN
======================================== */
nav {
    ul {
        display: flex;
        list-style: none;
        gap: 1.5rem;
        margin: 0; /* AGREGAR */
        padding: 0; /* AGREGAR */
    }

    a {
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        transition: var(--transition);
        position: relative;
        padding: 0.5rem 0;
        display: inline-flex;           /* ⬅️ AÑADIR */
        align-items: center;            /* ⬅️ AÑADIR */
        vertical-align: middle;         /* ⬅️ AÑADIR */

        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            transition: width 0.3s ease;
        }

        &:hover::after {
            width: 100%;
        }
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    vertical-align: middle;
    line-height: 1.5;
}

.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.dropdown-toggle:hover::after {
    width: 100%;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-top: 0;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* 🎨 DROPDOWN MENU GLASSMORPHISM */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px); /* Separación del menú */
    left: 0;
    background: rgba(255, 255, 255, 0.95); /* Fondo semi-transparente */
    backdrop-filter: blur(20px); /* Efecto blur */
    -webkit-backdrop-filter: blur(20px); /* Safari */
    min-width: 220px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(56, 182, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8); /* Brillo superior */
    border-radius: 16px;
    border: 1px solid rgba(56, 182, 255, 0.2);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Transición elastic */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Triángulo decorativo arriba del dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.05));
}

.dropdown-menu li {
    padding: 0;
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

/* Efecto hover con degradado */
.dropdown-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(56, 182, 255, 0.1),
        rgba(245, 158, 11, 0.1));
    transition: left 0.5s ease;
    z-index: -1;
}

.dropdown-menu li a:hover::before {
    left: 0;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, 
        rgba(56, 182, 255, 0.15),
        rgba(14, 165, 233, 0.1));
    color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 
        0 4px 12px rgba(56, 182, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dropdown-menu li a::after {
    display: none;
}

/* Animación al aparecer */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Añadir iconos decorativos (opcional) */
.dropdown-menu li a::after {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: auto;
    color: var(--accent-color);
    font-weight: bold;
}

.dropdown-menu li a:hover::after {
    opacity: 1;
    transform: translateX(4px);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../imagenes/SITENTEL.JPG');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.9;
        z-index: 1;
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient);
        opacity: 0.8;
        z-index: 2;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        text-align: center;
        color: var(--text-light);
        animation: fadeInUp 1s ease 0.5s both;

        h2 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
    }

    .scroll-indicator {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        animation: bounce 2s infinite;
    }
}

/* ========================================
   LOGOS INSTITUCIONALES EN HERO
======================================== */
.hero-instituciones {
    margin: 3rem 0 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease 1s both;
}

.instituciones-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.instituciones-text span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.instituciones-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-institucional {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-institucional:hover {
    transform: translateY(-5px) scale(1.1);
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.logo-institucional img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

.logo-institucional:hover img {
    transform: scale(1.1);
}

/* Efecto de partículas flotantes alrededor de los logos */
.hero-instituciones::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 20s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes floatParticles {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Animación especial para el contenedor */
.hero-instituciones {
    animation: fadeInUp 1s ease 1s both, breathe 4s ease-in-out infinite 2s;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Responsive para logos en hero */
@media (max-width: 768px) {
    .hero-instituciones {
        margin: 2rem 0 1.5rem;
        padding: 1.5rem;
    }

    .instituciones-logos {
        gap: 1.2rem;
    }

    .logo-institucional {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .instituciones-text span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .logo-subtitle {
        font-size: 0.7rem;
        color: #bd1b1b;
        font-weight: 700;
    }

    .instituciones-logos {
        gap: 1rem;
    }

    .logo-institucional {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .instituciones-text span {
        font-size: 0.8rem;
    }

    .hero-instituciones {
        padding: 1rem;
    }
}

/* Línea decorativa entre secciones */
.section.actualidad-home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--accent-color),
        var(--primary-color), 
        transparent);
    border-radius: 2px;
}

.section.actualidad-home {
    position: relative;
    padding-bottom: 6rem; /* Espacio extra para la línea */
}

/* ========================================
   NOSOTROS SECTION
======================================== */
.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;

    .nosotros-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }

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

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;

    &:hover {
        transform: translateY(-5px);
    }

    .stat-number {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
    }

    .stat-label {
        color: var(--text-dark);
        margin-top: 0.5rem;
    }
}

/* ========================================
   SECCIÓN PRIMER SINDICATO DE REDES
======================================== */
.primer-sindicato {
    background: linear-gradient(135deg, 
        rgba(56, 182, 255, 0.1), 
        rgba(14, 165, 233, 0.15));
    background-color: #f8fafc;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
}

.primer-sindicato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/SITENTEL.JPG') center/cover;
    opacity: 0.02;
    z-index: 1;
}

.primer-sindicato-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.badge-destacado {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    animation: pulse 2s infinite;
}

.sindicato-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.sindicato-text h2::after {
    background: var(--primary-color);
}

.transformacion-2023 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(56, 182, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.transformacion-2023 h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.transformacion-2023 p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.que-significa h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.significado-grid {
    display: grid;
    gap: 1.5rem;
}

.significado-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(56, 182, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.significado-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(56, 182, 255, 0.15);
}

.significado-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.significado-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.significado-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Galería de Empresas */
.empresas-gallery h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.empresas-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.categoria-empresas h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Logos principales más grandes */
.empresas-logos.principales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    justify-items: center;
}

/* Logos subcontratistas medianos */
.empresas-logos.subcontratistas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.empresa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(56, 182, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.empresa-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px rgba(56, 182, 255, 0.2);
    border-color: var(--primary-color);
}

/* Tamaños de logos - PRINCIPALES MÁS GRANDES */
.principales .empresa-logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 3px solid #e5e5e5;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Tamaños de logos - SUBCONTRATISTAS MEDIANOS */
.subcontratistas .empresa-logo {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Imágenes de logos */
.empresa-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Efecto hover mejorado para logos */
.empresa-item:hover .empresa-logo {
    border-color: var(--primary-color);
    transform: translateY(-3px) rotate(2deg);
    box-shadow: 0 12px 35px rgba(56, 182, 255, 0.25);
}

.empresa-item:hover .empresa-logo img {
    transform: scale(1.1);
}

/* Texto fallback para logos sin imagen */
.logo-text {
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.principales .logo-text {
    font-size: 1.2rem;
}

.subcontratistas .logo-text {
    font-size: 1rem;
}

.empresa-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Nombres de empresas */
.empresa-item p {
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.principales .empresa-item p {
    font-size: 1rem;
}

.subcontratistas .empresa-item p {
    font-size: 0.9rem;
}

/* Colores especiales para operadoras principales */
.empresa-item[data-empresa="movistar"]:hover .empresa-logo {
    background: linear-gradient(135deg, #00d4aa, #00a0b0);
    border-color: #00a0b0;
}

.empresa-item[data-empresa="claro"]:hover .empresa-logo {
    background: linear-gradient(135deg, #e60026, #ff3366);
    border-color: #e60026;
}

.empresa-item[data-empresa="entel"]:hover .empresa-logo {
    background: linear-gradient(135deg, #0066cc, #0088ff);
    border-color: #0066cc;
}

.empresa-item[data-empresa="bitel"]:hover .empresa-logo {
    background: linear-gradient(135deg, #ff6600, #ff8833);
    border-color: #ff6600;
}

.empresa-item[data-empresa="win"]:hover .empresa-logo {
    background: linear-gradient(135deg, #8e24aa, #ab47bc);
    border-color: #8e24aa;
}

/* Ajustar texto en logos con colores especiales */
.empresa-item[data-empresa="movistar"]:hover .logo-text,
.empresa-item[data-empresa="claro"]:hover .logo-text,
.empresa-item[data-empresa="entel"]:hover .logo-text,
.empresa-item[data-empresa="bitel"]:hover .logo-text,
.empresa-item[data-empresa="win"]:hover .logo-text {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .primer-sindicato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sindicato-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .significado-grid {
        grid-template-columns: 1fr;
    }

    .empresas-logos.principales {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .empresas-logos.subcontratistas {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 768px) {
    .sindicato-text h2 {
        font-size: 1.8rem;
    }

    .transformacion-2023,
    .significado-item {
        padding: 1.5rem;
    }

    .principales .empresa-logo {
        width: 100px;
        height: 100px;
    }

    .subcontratistas .empresa-logo {
        width: 80px;
        height: 80px;
    }

    .empresas-logos.principales {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .empresas-logos.subcontratistas {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .badge-destacado {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    .principales .empresa-logo {
        width: 80px;
        height: 80px;
    }

    .subcontratistas .empresa-logo {
        width: 60px;
        height: 60px;
    }

    .empresas-logos.principales {
        grid-template-columns: repeat(2, 1fr);
    }

    .empresas-logos.subcontratistas {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Badge de filtro de empresa activo */
.filtro-empresa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.filtro-empresa-badge button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.filtro-empresa-badge button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ========================================
   SECCIÓN AFILIACIONES MODERNAS
======================================== */
.afiliaciones-modernas {
    background: linear-gradient(135deg, 
        rgba(56, 182, 255, 0.03), 
        rgba(14, 165, 233, 0.05));
    position: relative;
    overflow: hidden;
}

.afiliaciones-modernas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(56, 182, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.afiliaciones-modernas .container {
    position: relative;
    z-index: 2;
}

/* Header de la sección */
.afiliaciones-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.afiliaciones-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.afiliaciones-header p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* Categorías de instituciones */
.instituciones-categoria {
    margin-bottom: 5rem;
    position: relative;
}

.instituciones-categoria:last-child {
    margin-bottom: 0;
}

/* Header de cada categoría */
.categoria-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(56, 182, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.categoria-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 182, 255, 0.12);
}

.categoria-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(56, 182, 255, 0.3);
}

.categoria-icon i {
    font-size: 2rem;
    color: white;
}

.categoria-info h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.categoria-info p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Grid de instituciones */
.instituciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.instituciones-grid.colaboraciones {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards de instituciones */
.institucion-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.institucion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s;
}

.institucion-card:hover::before {
    left: 100%;
}

.institucion-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(56, 182, 255, 0.15);
    border-color: var(--primary-color);
}

/* Badge de nivel */
.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.institucion-card[data-nivel="internacional"] .card-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.institucion-card[data-nivel="regional"] .card-badge {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.institucion-card[data-nivel="nacional"] .card-badge {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

/* Logo de la institución */
.institucion-logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.institucion-card:hover .institucion-logo {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(56, 182, 255, 0.25);
}

.institucion-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.institucion-card:hover .institucion-logo img {
    transform: scale(1.1);
}

/* Información de la institución */
.institucion-info h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.institucion-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cobertura {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(56, 182, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(56, 182, 255, 0.2);
}

/* Enlace de la card */
.card-link {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.institucion-card:hover .card-link {
    opacity: 1;
}

.card-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.card-link a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Efectos especiales por categoría */
.institucion-card[data-nivel="internacional"]:hover {
    border-color: #667eea;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.institucion-card[data-nivel="regional"]:hover {
    border-color: #f093fb;
    box-shadow: 0 20px 60px rgba(240, 147, 251, 0.2);
}

.institucion-card[data-nivel="nacional"]:hover {
    border-color: #4facfe;
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .afiliaciones-header h2 {
        font-size: 2.5rem;
    }

    .categoria-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .categoria-info h3 {
        font-size: 1.8rem;
    }

    .instituciones-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .afiliaciones-header h2 {
        font-size: 2rem;
    }

    .afiliaciones-header p {
        font-size: 1.1rem;
    }

    .categoria-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .categoria-icon {
        width: 60px;
        height: 60px;
    }

    .categoria-icon i {
        font-size: 1.5rem;
    }

    .categoria-info h3 {
        font-size: 1.5rem;
    }

    .instituciones-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .institucion-card {
        padding: 1.5rem;
    }

    .institucion-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .afiliaciones-header {
        margin-bottom: 3rem;
    }

    .afiliaciones-header h2 {
        font-size: 1.8rem;
    }

    .instituciones-categoria {
        margin-bottom: 3rem;
    }

    .categoria-header {
        padding: 1rem;
    }

    .institucion-card {
        padding: 1.2rem;
    }

    .institucion-info h4 {
        font-size: 1.3rem;
    }
}
/* ========================================
   BENEFICIOS
======================================== */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.beneficio-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;

    &:hover {
        transform: translateY(-10px);
        border-color: var(--primary-color);
        box-shadow: 0 20px 40px rgba(56, 182, 255, 0.2);
    }

    .icono-container {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 8px 25px rgba(56, 182, 255, 0.3);

        .icono {
            width: 40px;
            height: 40px;
            color: white;
            transition: transform 0.3s ease;
        }
    }

    &:hover .icono-container {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 12px 35px rgba(56, 182, 255, 0.4);

        .icono {
            transform: scale(1.1);
        }
    }

    h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--text-dark);
    }
}

/* ========================================
   DIRECTIVA
======================================== */
.directiva-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.directiva-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);

        .directiva-foto img {
            transform: scale(1.1);
        }
    }

    .directiva-foto {
        height: 200px;
        overflow: hidden;
        position: relative;

        img {
            width: 100%;
            height: 180%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
    }

    .directiva-info {
        padding: 1.5rem;

        h3 {
            font-size: 1.2rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        p {
            margin: 0.5rem 0;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;

            i {
                color: var(--accent-color);
                width: 20px;
                text-align: center;
            }
        }
    }
}

/* ========================================
   SECCIÓN SECRETARÍAS POR ÁREA
======================================== */
.secretarias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.secretaria-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.secretaria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 182, 255, 0.1), transparent);
    transition: left 0.6s;
}

.secretaria-card:hover::before {
    left: 100%;
}

.secretaria-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(56, 182, 255, 0.15);
}

.secretaria-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(56, 182, 255, 0.3);
    transition: all 0.3s ease;
}

.secretaria-card:hover .secretaria-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(56, 182, 255, 0.4);
}

.secretaria-icon i {
    font-size: 2rem;
    color: white;
}

.secretaria-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secretaria-desc {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    min-height: 45px;
}

.btn-expandir {
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-expandir:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.3);
}

.btn-expandir i {
    transition: transform 0.3s ease;
}

.btn-expandir.active i {
    transform: rotate(180deg);
}

.secretaria-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    padding: 0;
}

.secretaria-content.active {
    max-height: 600px;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
}

.secretaria-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.secretaria-content ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    line-height: 1.5;
}

.secretaria-content ul li:last-child {
    border-bottom: none;
}

.secretaria-content ul li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.secretaria-funciones {
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.secretaria-funciones h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.secretaria-funciones h4::before {
    content: '●';
    color: var(--accent-color);
}

.secretaria-funciones p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Colores específicos por área */
.secretaria-card[data-area="general"] .secretaria-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.secretaria-card[data-area="juridico"] .secretaria-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.secretaria-card[data-area="organizacion"] .secretaria-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.secretaria-card[data-area="finanzas"] .secretaria-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.secretaria-card[data-area="formacion"] .secretaria-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.secretaria-card[data-area="disciplina"] .secretaria-icon {
    background: linear-gradient(135deg, #30cfd0, #330867);
}

.secretaria-card[data-area="actas"] .secretaria-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.secretaria-card[data-area="exteriores"] .secretaria-icon {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.secretaria-card[data-area="prensa"] .secretaria-icon {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.secretaria-card[data-area="mujer"] .secretaria-icon {
    background: linear-gradient(135deg, #ff6e7f, #bfe9ff);
}

.secretaria-card[data-area="seguridad"] .secretaria-icon {
    background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
}

.secretaria-card[data-area="deportes"] .secretaria-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.secretaria-card[data-area="estadistica"] .secretaria-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* Responsive */
@media (max-width: 768px) {
    .secretarias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .secretaria-card {
        padding: 1.5rem;
    }

    .secretaria-icon {
        width: 70px;
        height: 70px;
    }

    .secretaria-icon i {
        font-size: 1.8rem;
    }

    .secretaria-card h3 {
        font-size: 1.2rem;
        min-height: auto;
    }

    .secretaria-desc {
        font-size: 0.9rem;
        min-height: auto;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {

    .logo-subtitle {
        background: linear-gradient(135deg, #fca5a5, #ef4444);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .secretaria-card {
        background: #1e293b;
        border-color: #374151;
    }

    .secretaria-card h3 {
        color: #ffffff;
    }

    .secretaria-desc {
        color: #d1d5db;
    }

    .secretaria-content {
        border-top-color: #374151;
    }

    .secretaria-content ul li {
        color: #d1d5db;
        border-bottom-color: #374151;
    }

    .secretaria-funciones {
        background: rgba(17, 24, 39, 0.8);
        border-left-color: #fbbf24;
    }

    .secretaria-funciones p {
        color: #d1d5db;
    }
}

/* Contacto de secretaría */
.secretaria-contacto {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(56, 182, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.contacto-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contacto-info {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.contacto-info strong {
    color: var(--primary-color);
}

.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-contacto:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

/* Botón de novedades de secretaría */
.secretaria-novedades-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(56, 182, 255, 0.2);
}

.btn-novedades {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.btn-novedades:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 182, 255, 0.4);
}

.btn-novedades i:last-child {
    transition: transform 0.3s ease;
}

.btn-novedades:hover i:last-child {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .secretaria-contacto {
        padding: 0.8rem;
    }

    .btn-contacto {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .btn-novedades {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   NOVEDADES
======================================== */
.novedades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.novedad {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .novedad-content {
        padding: 1.5rem;

        h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .novedad-meta {
            display: flex;
            gap: 1rem;
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 1rem;
        }

        a {
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;

            &:hover {
                color: var(--secondary-color);
            }
        }
    }
}

/* ========================================
   PÁGINA DE CAPACITACIONES
======================================== */

/* Hero Capacitaciones */
.capacitaciones-hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.capacitaciones-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/SITENTEL.JPG') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.capacitaciones-hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-icon i {
    font-size: 3rem;
    color: white;
}

.capacitaciones-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.capacitaciones-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Estadísticas */
.capacitaciones-stats {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(56, 182, 255, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

/* Subtítulos de sección */
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
}

/* Categorías */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.categoria-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.categoria-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 182, 255, 0.1), transparent);
    transition: left 0.6s;
}

.categoria-item:hover::before {
    left: 100%;
}

.categoria-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 45px rgba(56, 182, 255, 0.15);
}

.categoria-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(56, 182, 255, 0.3);
    transition: all 0.3s ease;
}

.categoria-item:hover .categoria-icon {
    transform: scale(1.1) rotate(5deg);
}

.categoria-icon i {
    font-size: 2.5rem;
    color: white;
}

.categoria-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.categoria-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.categoria-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Cursos */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.curso-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.curso-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 45px rgba(56, 182, 255, 0.15);
}

.curso-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.curso-nivel {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nivel-basico {
    background: #e3f2fd;
    color: #1565c0;
}

.nivel-intermedio {
    background: #fff3e0;
    color: #ef6c00;
}

.nivel-avanzado {
    background: #f3e5f5;
    color: #7b1fa2;
}

.curso-duracion {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.curso-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.1), rgba(14, 165, 233, 0.15));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.curso-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.curso-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.3;
}

.curso-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.curso-info {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.curso-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.curso-info i {
    color: var(--accent-color);
}

.btn-curso {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-curso:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.3);
}

.btn-curso i {
    transition: transform 0.3s ease;
}

.btn-curso:hover i {
    transform: translateX(3px);
}

/* Recursos */
.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recurso-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.recurso-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.recurso-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.recurso-icon.pdf {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.recurso-icon.video {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.recurso-icon.doc {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.recurso-icon.book {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.recurso-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.recurso-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-descarga {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-descarga:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Próximas Capacitaciones - ESTILOS FALTANTES */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.evento-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.evento-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(56, 182, 255, 0.15);
}

.evento-fecha {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.fecha-dia {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.fecha-mes {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.evento-info {
    flex: 1;
}

.evento-info h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.evento-info p {
    color: #666;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.evento-info i {
    color: var(--accent-color);
    width: 16px;
}

.btn-inscripcion {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-inscripcion:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* CTA Capacitaciones */
.cta-capacitaciones {
    text-align: center;
}

.cta-capacitaciones .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-capacitaciones .cta-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 30px rgba(56, 182, 255, 0.3);
}

.cta-capacitaciones .cta-icon i {
    font-size: 3rem;
    color: white;
}

.cta-capacitaciones h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-capacitaciones p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.cta-buttons .btn-secondary {
    background: var(--accent-color);
}

.cta-buttons .btn-secondary:hover {
    background: #d97706;
}

/* Responsive para capacitaciones */
@media (max-width: 768px) {
    .capacitaciones-hero h1 {
        font-size: 2.5rem;
    }

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

    .categorias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .eventos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .evento-card {
        flex-direction: column;
        text-align: center;
    }

    .evento-fecha {
        margin: 0 auto;
    }

    .cta-capacitaciones h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .capacitaciones-hero h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Dark Mode para capacitaciones */
@media (prefers-color-scheme: dark) {
    .capacitaciones-stats {
        background: #111827;
    }

    .stat-box,
    .categoria-item,
    .curso-card,
    .recurso-item,
    .evento-card {
        background: #1e293b;
        color: #ffffff;
        border-color: #374151;
    }

    .stat-label,
    .categoria-item p,
    .curso-card p,
    .recurso-item p,
    .evento-info p {
        color: #d1d5db;
    }

    .categoria-item h3,
    .curso-card h3,
    .recurso-item h4,
    .evento-info h4 {
        color: #ffffff;
    }

    .curso-duracion,
    .curso-info {
        color: #9ca3af;
    }

    .cta-capacitaciones {
        background: #111827;
    }

    .cta-capacitaciones h2 {
        color: #ffffff;
    }

    .cta-capacitaciones p {
        color: #d1d5db;
    }
}

/* ========================================
   FORMULARIO
======================================== */
.formulario {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;

    h3 {
        text-align: center;
        color: var(--primary-color);
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
        position: relative;
    }

    input,
    textarea,
    select {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f8f9fa;

        &:focus {
            outline: none;
            border-color: var(--primary-color);
            background: white;
            box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
        }
    }

    textarea {
        resize: vertical;
        min-height: 120px;
    }

    select {
        cursor: pointer;
    }
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;

        .footer-section h3 {
            margin-bottom: 1rem;
            color: var(--accent-color);
        }
    }

    .social-icons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 2rem;

        a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: var(--transition);

            &:hover {
                background: var(--accent-color);
                transform: translateY(-3px);
            }
        }
    }

    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid #555;
        opacity: 0.8;
    }
}

/* ========================================
   BOTONES FLOTANTES
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;

    &.show {
        opacity: 1;
        visibility: visible;
    }

    &:hover {
        background: var(--accent-color);
        transform: translateY(-3px);
    }
}

/* ========================================
   CLASES DE ANIMACIÓN
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;

    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;

    &.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;

    &.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .hero {
        .hero-content {
            h2 {
                font-size: 3rem;
            }
        }
    }

    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .afiliaciones-logos,
    .colaboraciones-logos {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .logo img {
    width: 60px;
    height: 60px;
    }

    .logo-text h1 {
    font-size: 1.3rem;
    white-space: nowrap;
    }

    .logo-subtitle {
    font-size: 0.75rem;
    white-space: nowrap;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;

        &.active {
            display: block;
        }

        ul {
            flex-direction: column;
            gap: 0;
            text-align: center;
        }

        /* AÑADIR ESTE BLOQUE COMPLETO */
        .dropdown {
            width: 100%;
            display: block;
        }

        .dropdown-toggle {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 1rem;
            text-align: center;
        }

        .dropdown-menu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            background: #f8f9fa;
            margin-top: 0;
            display: none;
            border-radius: 0;
        }

        .dropdown:hover .dropdown-menu,
        .dropdown.active .dropdown-menu {
            display: flex;
            flex-direction: column;
        }

        .dropdown-menu a {
            padding: 0.8rem 1rem;
            font-size: 0.9rem;
            text-align: center;
        }
        /* FIN DEL BLOQUE A AÑADIR */

        li {
            border-bottom: 1px solid #eee;

            &:last-child {
                border-bottom: none;
            }
        }

        a {
            display: block;
            padding: 1rem;
        }
    }

    .dropdown {
        position: relative;

        .dropdown-menu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            background: #f8f9fa;
            margin-top: 0.5rem;
            display: none;

            a {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
        }

        &:hover .dropdown-menu {
            display: block;
        }
    }

    .hero {
        .hero-content {
            h2 {
                font-size: 2.5rem;
            }

            p {
                font-size: 1.1rem;
            }
        }
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .directiva-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .novedades-grid {
        grid-template-columns: 1fr;
    }

    .formulario {
        margin: 0 1rem;
        padding: 2rem;
    }

    .afiliaciones-logos,
    .colaboraciones-logos {
        gap: 1rem;
        flex-direction: column;
        align-items: center;

        .logo-item {
            margin-bottom: 1rem;
        }
    }
}

@media (max-width: 480px) {
    .hero {
        .hero-content {
            h2 {
                font-size: 2rem;
            }

            p {
                font-size: 1rem;
            }
        }
    }

    .section {
        padding: 3rem 0;

        h2 {
            font-size: 2rem;
        }
    }

    .formulario {
        padding: 1.5rem;
    }

    .logo {
        h1 {
            font-size: 1.5rem;
        }
    }

    .logo img {
    width: 65px;
    height: 65px;
    }

    .logo h1 {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .logo-subtitle {
        font-size: 0.7rem;
        white-space: nowrap;
    }
}

/* ========================================
   ESTILOS PARA PÁGINAS ESPECÍFICAS
======================================== */

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 2rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #e5e5e5;

    .breadcrumb {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;

        .breadcrumb-item {
            display: flex;
            align-items: center;

            &:not(:last-child)::after {
                content: '/';
                margin-left: 0.5rem;
                color: #666;
            }

            a {
                color: var(--primary-color);
                text-decoration: none;
                transition: var(--transition);

                &:hover {
                    color: var(--accent-color);
                }
            }

            &.active {
                color: #666;
                font-weight: 500;
            }
        }
    }
}

/* Historia Hero */
.historia-hero,
.estatuto-hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../imagenes/SITENTEL.JPG') center/cover;
        opacity: 0.1;
        z-index: 1;
    }

    .historia-hero-content,
    .estatuto-hero-content {
        position: relative;
        z-index: 2;

        h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        p {
            font-size: 1.3rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }
    }
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;

    &::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
        border-radius: 2px;
    }
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;

    &:nth-child(odd) {
        flex-direction: row;

        .timeline-content {
            margin-left: 2rem;
        }
    }

    &:nth-child(even) {
        flex-direction: row-reverse;

        .timeline-content {
            margin-right: 2rem;
        }
    }

    .timeline-year {
        flex: 0 0 100px;
        background: var(--accent-color);
        color: white;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.1rem;
        height: 60px;
        position: relative;
        z-index: 2;
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }

    .timeline-content {
        flex: 1;
        background: white;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: var(--shadow);
        position: relative;

        h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }

        p {
            margin-bottom: 1rem;
            line-height: 1.7;
        }

        ul {
            margin-left: 1.5rem;
            
            li {
                margin-bottom: 0.5rem;
                color: var(--text-dark);
            }
        }

        .timeline-highlight {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--bg-light);
            padding: 0.5rem 1rem;
            border-radius: 25px;
            color: var(--accent-color);
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: 1rem;
        }

        .timeline-stat {
            text-align: center;
            margin-top: 1rem;

            .stat-number {
                display: block;
                font-size: 2rem;
                font-weight: 700;
                color: var(--primary-color);
            }

            .stat-label {
                font-size: 0.9rem;
                color: #666;
            }
        }
    }
}

/* Logros */
.logros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.logro-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;

    &:hover {
        transform: translateY(-10px);
        border-color: var(--primary-color);
        box-shadow: 0 20px 40px rgba(56, 182, 255, 0.2);
    }

    .logro-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        background: var(--gradient);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        box-shadow: 0 8px 25px rgba(56, 182, 255, 0.3);
    }

    h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
}

/* Valores */
.valores-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

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

.valor-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);

    &:hover {
        transform: translateY(-5px);
    }

    i {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    h4 {
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    p {
        font-size: 0.9rem;
        color: #666;
    }
}

/* Testimonios */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);

    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .testimonio-content {
        padding: 2rem;

        i.fa-quote-left {
            font-size: 2rem;
            color: var(--accent-color);
            margin-bottom: 1rem;
        }

        p {
            font-style: italic;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .testimonio-autor {
            strong {
                color: var(--primary-color);
                display: block;
            }

            span {
                color: #666;
                font-size: 0.9rem;
            }
        }
    }
}

/* CTA Historia */
.cta-historia {
    background: var(--gradient);
    color: white;
    text-align: center;

    .cta-content {
        h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: white;

            &::after {
                background: white;
            }
        }

        p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .btn-large {
            padding: 1.2rem 3rem;
            font-size: 1.1rem;
        }
    }
}

/* Estatuto Específico */
.estatuto-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.estatuto-highlights {
    margin-top: 2rem;

    h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    ul {
        list-style: none;
        padding: 0;

        li {
            padding: 0.8rem 0;
            border-bottom: 1px solid #eee;
            
            &:last-child {
                border-bottom: none;
            }

            strong {
                color: var(--primary-color);
            }
        }
    }
}

.estatuto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.document-preview {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);

    i {
        font-size: 4rem;
        color: #d32f2f;
        margin-bottom: 1rem;
    }

    h3 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .document-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        font-size: 0.9rem;
        color: #666;

        span {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
    }
}

.document-actions {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .btn {
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-primary {
        background: var(--primary-color);
        
        &:hover {
            background: var(--secondary-color);
        }
    }

    .btn-secondary {
        background: #6b7280;
        
        &:hover {
            background: #4b5563;
        }
    }
}

/* PDF Viewer */
.pdf-viewer-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pdf-controls {
    background: var(--bg-dark);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    h2 {
        margin: 0;
        font-size: 1.3rem;
        color: white;

        &::after {
            display: none;
        }
    }

    .controls-buttons {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .control-btn {
        background: transparent;
        border: 1px solid #555;
        color: white;
        padding: 0.5rem;
        border-radius: 5px;
        cursor: pointer;
        transition: var(--transition);

        &:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }
    }

    .zoom-level {
        font-weight: 600;
        min-width: 50px;
        text-align: center;
    }
}

.pdf-viewer {
    height: 600px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;

    .pdf-placeholder {
        text-align: center;
        color: #666;

        i {
            font-size: 4rem;
            color: #d32f2f;
            margin-bottom: 1rem;
        }

        h3 {
            margin-bottom: 1rem;
        }
    }
}

/* Resumen */
.resumen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resumen-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);

    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .resumen-icon {
        width: 60px;
        height: 60px;
        background: var(--gradient);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;

        i {
            font-size: 1.5rem;
            color: white;
        }
    }

    h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }
}

/* Derechos y Deberes */
.derechos-deberes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.derechos-column h3,
.deberes-column h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;

    i {
        font-size: 1.2rem;
    }
}

.derechos-list,
.deberes-list {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    list-style: none;

    li {
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 2rem;

        &:last-child {
            border-bottom: none;
        }

        &::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--success-color);
            font-weight: 700;
        }
    }
}

.deberes-list li::before {
    content: '●';
    color: var(--accent-color);
}

/* CTA Estatuto */
.cta-estatuto {
    background: var(--bg-light);
    text-align: center;

    .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 2rem;
    }
}

/* Responsive para páginas específicas */
@media (max-width: 768px) {
    .historia-hero h1,
    .estatuto-hero h1 {
        font-size: 2.5rem;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 60px;

        .timeline-year {
            position: absolute;
            left: 0;
            width: 60px;
            height: 60px;
            font-size: 0.9rem;
        }

        .timeline-content {
            margin: 0 !important;
        }
    }

    .valores-content {
        grid-template-columns: 1fr;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .estatuto-content {
        grid-template-columns: 1fr;
    }

    .estatuto-card {
        position: static;
    }

    .derechos-deberes-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   PÁGINA INDIVIDUAL DE NOVEDAD
======================================== */

/* Contenedor principal de la novedad */
.novedad-individual {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 120px;
    margin-bottom: 3rem;
}

/* Header de la novedad */
.novedad-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.novedad-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/SITENTEL.JPG') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.novedad-header * {
    position: relative;
    z-index: 2;
}

.novedad-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    font-weight: 700;
}

.novedad-header h1::after {
    display: none;
}

.novedad-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.novedad-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.novedad-meta i {
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Contenido de la novedad */
.novedad-contenido {
    padding: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.novedad-contenido p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.novedad-contenido p:first-child {
    font-size: 1.2rem;
    color: #555;
    font-weight: 400;
}

.novedad-contenido h2,
.novedad-contenido h3 {
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
}

.novedad-contenido h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.novedad-contenido h3 {
    font-size: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.novedad-contenido h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 4px;
    height: 1.5rem;
    background: var(--accent-color);
    border-radius: 2px;
}

.novedad-contenido ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.novedad-contenido ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.novedad-contenido ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
    top: -0.1rem;
}

.novedad-contenido strong {
    color: var(--primary-color);
    font-weight: 600;
}

.novedad-contenido em {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-style: italic;
    color: var(--text-dark);
    border-left: 3px solid var(--accent-color);
    display: block;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
}

/* Footer de la novedad */
.novedad-individual footer {
    background: var(--bg-light);
    padding: 2rem 3rem;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.novedad-individual footer .btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
    font-size: 1rem;
}

.novedad-individual footer .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.4);
}

.novedad-individual footer .btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.novedad-individual footer .btn:hover i {
    transform: translateX(-3px);
}

/* Estados de carga y error */
.novedad-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.novedad-loading i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.novedad-error {
    text-align: center;
    padding: 4rem 2rem;
}

.novedad-error h1 {
    color: #d32f2f;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.novedad-error p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .novedad-individual {
        margin-top: 100px;
        margin-left: 1rem;
        margin-right: 1rem;
        border-radius: 15px;
    }

    .novedad-header {
        padding: 2rem 1.5rem;
    }

    .novedad-header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .novedad-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .novedad-meta span {
        font-size: 0.9rem;
    }

    .novedad-contenido {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }

    .novedad-contenido h2 {
        font-size: 1.5rem;
    }

    .novedad-contenido h3 {
        font-size: 1.3rem;
    }

    .novedad-individual footer {
        padding: 1.5rem;
    }

    .novedad-individual footer .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .novedad-individual {
        margin-top: 90px;
    }

    .novedad-header h1 {
        font-size: 1.8rem;
    }

    .novedad-contenido {
        padding: 1.5rem 1rem;
    }

    .novedad-contenido ul li {
        padding-left: 1.5rem;
    }
}

/* Animaciones específicas */
@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.novedad-individual {
    animation: fadeInContent 0.6s ease-out;
}

/* Mejoras de accesibilidad */
.novedad-contenido a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.novedad-contenido a:hover {
    color: var(--accent-color);
}

.novedad-contenido a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ========================================
   PÁGINA TODAS LAS NOVEDADES
======================================== */

/* Hero de novedades */
.novedades-hero {
    background: var(--gradient);
    color: white;
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.novedades-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/SITENTEL.JPG') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.novedades-hero-content {
    position: relative;
    z-index: 2;
}

.novedades-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.novedades-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filtros y búsqueda */
.novedades-filtros {
    padding: 2rem 0;
}

.filtros-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.1);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--secondary-color);
}

.filtros-opciones {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filtros-opciones select {
    padding: 0.8rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    background: #f8f9fa;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filtros-opciones select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

/* Información de resultados */
.resultados-info {
    margin-bottom: 2rem;
    text-align: center;
    color: #666;
    font-size: 1rem;
}

/* Grid completo de novedades */
.novedades-grid-completa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.novedad-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.novedad-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.novedad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.novedad-card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.categoria-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categoria-afiliacion { background: #e3f2fd; color: #1565c0; }
.categoria-capacitacion { background: #f3e5f5; color: #7b1fa2; }
.categoria-logros { background: #e8f5e8; color: #2e7d32; }
.categoria-negociacion { background: #fff3e0; color: #ef6c00; }
.categoria-general { background: #f5f5f5; color: #616161; }
.categoria-reposicion { background: #f0f4ff; color: #1e40af; }
.categoria-comunicado { background: #ffc9c9; color: hsl(0, 100%, 50%); }
/* Si tienes más categorías, puedes usar estos colores adicionales */
.categoria-convenios { background: #ecfdf5; color: #047857; }
.categoria-huelga { background: #fee2e2; color: #dc2626; }
.categoria-juridico { background: #ede9fe; color: #7c3aed; }
.categoria-internacional { background: #dbeafe; color: #2563eb; }

.novedad-fecha {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.novedad-card-content {
    padding: 1rem 1.5rem 1.5rem;
}

.novedad-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.3;
}

.novedad-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.novedad-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.autor {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-leer {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-leer:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* Paginación */
.paginacion-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.paginacion {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagina-btn {
    padding: 0.8rem 1rem;
    border: 2px solid #e5e5e5;
    background: white;
    color: #666;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagina-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagina-btn.activa {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.puntos {
    padding: 0 0.5rem;
    color: #999;
}

/* Estados especiales */
.loading-novedades,
.no-resultados,
.error-carga {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.loading-novedades i,
.error-carga i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-resultados i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.error-carga i {
    color: #f44336;
}

/* Responsive */
@media (max-width: 768px) {
    .novedades-hero h1 {
        font-size: 2rem;
    }

    .filtros-container {
        flex-direction: column;
        gap: 1rem;
    }

    .search-box {
        max-width: 100%;
    }

    .filtros-opciones {
        width: 100%;
        justify-content: space-between;
    }

    .filtros-opciones select {
        flex: 1;
    }

    .novedades-grid-completa {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .novedad-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .paginacion {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================================
   MEJORAS DE ACCESIBILIDAD
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #f1f5f9;
        --bg-light: #1e293b;
        --bg-dark: #0f172a;
    }
}

/* ========================================
   CORRECCIONES PARA RESPONSIVE Y DARK MODE
======================================== */

/* CORRECCIÓN 1: Sección Primer Sindicato - Responsive */
@media (max-width: 1024px) {
    .primer-sindicato {
        padding: 3rem 0; /* Reducir padding en tablets */
    }
    
    .primer-sindicato-content {
        grid-template-columns: 1fr;
        gap: 2rem; /* Reducir gap */
        padding: 0; /* Eliminar padding extra */
    }

    .sindicato-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .transformacion-2023,
    .significado-item {
        padding: 1.5rem; /* Reducir padding interno */
    }
}

@media (max-width: 768px) {
    .primer-sindicato {
        padding: 2rem 0; /* Aún menos padding en móviles */
        /* Asegurar que no se desborde */
        overflow-x: hidden;
    }
    
    .primer-sindicato .container {
        padding: 0 15px; /* Padding más pequeño en el contenedor */
        max-width: 100%; /* Asegurar que no se desborde */
    }

    .sindicato-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .badge-destacado {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 1.5rem;
        /* Evitar que se desborde */
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
    }

    .transformacion-2023 {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .transformacion-2023 h3 {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .que-significa h4 {
        font-size: 1.2rem;
        text-align: center;
    }

    .significado-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .significado-item i {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .empresas-gallery h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    /* Ajustar grid de empresas para móviles */
    .empresas-logos.principales {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .empresas-logos.subcontratistas {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .empresa-item {
        padding: 0.8rem;
        min-width: 0; /* Permitir que se comprima */
    }

    .empresa-item p {
        font-size: 0.8rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .primer-sindicato {
        padding: 1.5rem 0;
    }
    
    .primer-sindicato .container {
        padding: 0 10px;
    }

    .sindicato-text h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .badge-destacado {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }

    .transformacion-2023,
    .significado-item {
        padding: 1rem;
    }

    .empresas-logos.principales {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .empresas-logos.subcontratistas {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .principales .empresa-logo {
        width: 70px;
        height: 70px;
    }

    .subcontratistas .empresa-logo {
        width: 60px;
        height: 60px;
    }
}

/* CORRECCIÓN 2: Dark Mode Support - Variables mejoradas */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #ffffff;
        --text-light: #000000;
        --bg-light: #1e293b;
        --bg-dark: #0f172a;
        --primary-color: #60a5fa;
        --secondary-color: #3b82f6;
        --accent-color: #fbbf24;
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    /* Backgrounds específicos para dark mode */
    body {
        background-color: #111827;
        color: #ffffff;
    }

    /* Header en dark mode */
    header {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
    }

    header.header-scrolled {
        background: rgba(15, 23, 42, 0.98);
    }

    /* Navegación en dark mode */
    nav a {
        color: #ffffff;
    }

    .dropdown .dropdown-menu {
        background: #1e293b;
        border: 1px solid #374151;
    }

    .dropdown .dropdown-menu a:hover {
        background: #374151;
        color: #60a5fa;
    }

    /* Cards y elementos blancos en dark mode */
    .beneficio-card,
    .directiva-card,
    .novedad,
    .stat-card,
    .formulario,
    .institucion-card,
    .logro-card,
    .valor-item,
    .testimonio-card,
    .resumen-card,
    .derechos-list,
    .deberes-list,
    .novedad-card,
    .filtros-container {
        background: #1e293b;
        color: #ffffff;
        border: 1px solid #374151;
    }

    /* Secciones con fondo claro en dark mode */
    .section.bg-light {
        background: #111827;
    }

    /* Primer sindicato en dark mode */
    .primer-sindicato {
        background: #111827;
        color: #ffffff;
    }

    .transformacion-2023,
    .significado-item {
        background: rgba(30, 41, 59, 0.8);
        border: 1px solid #374151;
        color: #ffffff;
    }

    .transformacion-2023 p,
    .significado-item p,
    .significado-item strong {
        color: #e5e7eb;
    }

    .significado-item strong {
        color: #ffffff;
    }

    /* Empresa items en dark mode */
    .empresa-item {
        background: rgba(30, 41, 59, 0.9);
        border: 2px solid #374151;
        color: #ffffff;
    }

    .empresa-item:hover {
        background: rgba(30, 41, 59, 1);
        border-color: #60a5fa;
    }

    .empresa-item p {
        color: #ffffff;
    }

    /* Afiliaciones en dark mode */
    .afiliaciones-modernas {
        background: #111827;
    }

    .categoria-header {
        background: rgba(30, 41, 59, 0.8);
        border: 1px solid #374151;
        color: #ffffff;
    }

    .categoria-info h3,
    .categoria-info p {
        color: #ffffff;
    }

    /* Inputs y forms en dark mode */
    input,
    textarea,
    select {
        background: #1e293b;
        color: #ffffff;
        border-color: #374151;
    }

    input:focus,
    textarea:focus,
    select:focus {
        background: #1e293b;
        border-color: #60a5fa;
    }

    /* Breadcrumb en dark mode */
    .breadcrumb-section {
        background: #111827;
        border-bottom-color: #374151;
    }

    .breadcrumb .breadcrumb-item a {
        color: #60a5fa;
    }

    .breadcrumb .breadcrumb-item.active {
        color: #d1d5db;
    }

    /* Novedades específicas en dark mode */
    .novedades-filtros {
        background: #111827;
    }

    .search-box input {
        background: #1e293b;
        border-color: #374151;
        color: #ffffff;
    }

    .search-box input:focus {
        background: #1e293b;
        border-color: #60a5fa;
    }

    .filtros-opciones select {
        background: #1e293b;
        border-color: #374151;
        color: #ffffff;
    }

    /* Paginación en dark mode */
    .pagina-btn {
        background: #1e293b;
        color: #ffffff;
        border-color: #374151;
    }

    .pagina-btn:hover {
        border-color: #60a5fa;
        color: #60a5fa;
    }

    .pagina-btn.activa {
        background: #60a5fa;
        color: #000000;
    }

    /* Timeline en dark mode */
    .timeline-item .timeline-content {
        background: #1e293b;
        color: #ffffff;
        border: 1px solid #374151;
    }

    /* Footer ya está bien configurado para dark mode */
}

/* CORRECCIÓN 3: Overflow prevention global */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: min(1200px, 100vw);
    padding: 0 max(20px, 2vw);
    margin: 0 auto;
}

/* Prevenir desbordamiento en todos los elementos */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* CORRECCIÓN 4: Mejoras específicas para textos en dark mode */
@media (prefers-color-scheme: dark) {
    /* Asegurar contraste adecuado */
    h1, h2, h3, h4, h5, h6 {
        color: #ffffff !important;
    }
    
    p, li, span, div {
        color: #e5e7eb;
    }
    
    /* Textos específicos que deben ser más visibles */
    .novedad-meta,
    .autor,
    .cobertura,
    .document-info {
        color: #d1d5db;
    }
    
    /* Links más visibles */
    a {
        color: #60a5fa;
    }
    
    a:hover {
        color: #93c5fd;
    }
}

/* ========================================
   CORRECCIONES COMPLETAS - RESPONSIVE Y DARK MODE
   Versión corregida que mantiene el layout original
======================================== */

/* CORRECCIÓN 1: Sección Primer Sindicato - Responsive (SIN cambiar layout) */
@media (max-width: 1024px) {
    .primer-sindicato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sindicato-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .primer-sindicato {
        overflow-x: hidden; /* Solo prevenir desbordamiento */
    }
    
    .primer-sindicato .container {
        padding: 0 15px; /* Reducir padding lateral */
    }

    .sindicato-text h2 {
        font-size: 1.8rem;
    }

    .badge-destacado {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        word-wrap: break-word;
    }

    .transformacion-2023,
    .significado-item {
        padding: 1.2rem;
    }

    .significado-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Ajustar grid de empresas para móviles */
    .empresas-logos.principales {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .empresas-logos.subcontratistas {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .empresa-item {
        padding: 0.8rem;
        min-width: 0;
    }

    .empresa-item p {
        font-size: 0.8rem;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .sindicato-text h2 {
        font-size: 1.6rem;
    }

    .empresas-logos.principales,
    .empresas-logos.subcontratistas {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .principales .empresa-logo {
        width: 70px;
        height: 70px;
    }

    .subcontratistas .empresa-logo {
        width: 60px;
        height: 60px;
    }
}

/* CORRECCIÓN 2: Dark Mode - SIN alterar estructura del header/menú */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #ffffff;
        --bg-light: #1e293b;
        --bg-dark: #0f172a;
        --primary-color: #60a5fa;
        --secondary-color: #3b82f6;
        --accent-color: #fbbf24;
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    body {
        background-color: #111827;
        color: #ffffff;
    }

    /* Header mantiene su estructura original */
    header {
        background: rgba(30, 41, 59, 0.95);
    }

    header.header-scrolled {
        background: rgba(30, 41, 59, 0.98);
    }

    /* Logo en dark mode */
    .logo h1 {
        background: linear-gradient(135deg, #60a5fa, #3b82f6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Navegación normal (desktop) */
    nav a {
        color: #ffffff;
    }

   /* ========================================
   CORRECCIÓN ESPECÍFICA - MENÚ MÓVIL EN DARK MODE
======================================== */

/* CORREGIR: Dark Mode - Menú móvil específico */
@media (prefers-color-scheme: dark) {
    
    /* Header base en dark mode */
    header {
        background: rgba(30, 41, 59, 0.95);
        backdrop-filter: blur(10px);
    }

    header.header-scrolled {
        background: rgba(30, 41, 59, 0.98);
    }

    /* Logo en dark mode */
    .logo h1 {
        background: linear-gradient(135deg, #60a5fa, #3b82f6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Navegación desktop en dark mode */
    nav a {
        color: #ffffff;
    }

    nav a:hover {
        color: #60a5fa;
    }

    /* Botón hamburguesa en dark mode */
    .mobile-menu {
        color: #60a5fa !important;
    }

    /* MENÚ MÓVIL - CORRECCIÓN ESPECÍFICA */
    @media (max-width: 768px) {
        
        /* Contenedor del menú móvil */
        nav {
            background: rgba(30, 41, 59, 0.98) !important;
            backdrop-filter: blur(15px);
            border: 1px solid #374151;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        /* Enlaces del menú móvil */
        nav a {
            color: #ffffff !important;
            background: transparent !important;
        }

        nav a:hover {
            background: rgba(96, 165, 250, 0.1) !important;
            color: #60a5fa !important;
        }

        /* Elementos de lista del menú móvil */
        nav li {
            border-bottom: 1px solid #374151;
            background: transparent !important;
        }

        nav li:last-child {
            border-bottom: none;
        }

        /* Dropdown específico en móvil dark mode */
        .dropdown .dropdown-menu {
            background: rgba(17, 24, 39, 0.95) !important;
            border: 1px solid #374151 !important;
            backdrop-filter: blur(10px);
        }

        .dropdown .dropdown-menu li {
            background: transparent !important;
            border-bottom: 1px solid #374151;
        }

        .dropdown .dropdown-menu a {
            color: #d1d5db !important;
            background: transparent !important;
        }

        .dropdown .dropdown-menu a:hover {
            background: rgba(96, 165, 250, 0.1) !important;
            color: #60a5fa !important;
        }

        /* Estado activo del enlace en móvil */
        nav a.active {
            color: #fbbf24 !important;
            background: rgba(251, 191, 36, 0.1) !important;
        }

        /* Asegurar que no hay fondos blancos */
        nav *,
        nav ul,
        nav ul li,
        nav ul li a {
            background: transparent !important;
        }
    }

    /* Dropdown hover en desktop dark mode */
    .dropdown:hover .dropdown-menu {
        background: #1e293b;
        border: 1px solid #374151;
    }

    .dropdown .dropdown-menu a {
        color: #ffffff;
    }

    .dropdown .dropdown-menu a:hover {
        background: #374151;
        color: #60a5fa;
    }
}

/* ========================================
   CORRECCIÓN ADICIONAL - FORZAR ESTILOS EN MÓVIL
======================================== */

/* Asegurar que en móviles con dark mode no haya fondos blancos */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    
    /* Forzar estilos del menú móvil */
    #nav {
        background: rgba(30, 41, 59, 0.98) !important;
        color: white !important;
    }
    
    #nav.active {
        background: rgba(30, 41, 59, 0.98) !important;
        border: 1px solid #374151 !important;
    }
    
    /* Forzar color de los enlaces */
    #nav a {
        color: #ffffff !important;
    }
    
    /* Items del menú */
    #nav li {
        background: transparent !important;
        border-bottom: 1px solid #374151 !important;
    }
    
    /* Hover states */
    #nav a:hover {
        background: rgba(96, 165, 250, 0.1) !important;
        color: #60a5fa !important;
    }
}

/* ========================================
   RESPALDO - OVERRIDE COMPLETO PARA DARK MODE MÓVIL
======================================== */

/* Si las reglas anteriores no funcionan, usar este override más específico */
@media (prefers-color-scheme: dark) {
    /* Mobile menu container - máxima especificidad */
    .mobile-menu ~ nav,
    header nav,
    #nav {
        background: rgba(30, 41, 59, 0.98) !important;
    }
    
    /* Links en el menú móvil */
    .mobile-menu ~ nav a,
    header nav a,
    #nav a {
        color: #ffffff !important;
    }
    
    /* Hover de links en móvil */
    .mobile-menu ~ nav a:hover,
    header nav a:hover,
    #nav a:hover {
        background: rgba(96, 165, 250, 0.1) !important;
        color: #60a5fa !important;
    }
    
    /* Lista items en móvil */
    .mobile-menu ~ nav li,
    header nav li,
    #nav li {
        background: transparent !important;
        border-bottom: 1px solid #374151 !important;
    }
}

    /* Cards y elementos en dark mode */
    .beneficio-card,
    .directiva-card,
    .novedad,
    .stat-card,
    .formulario,
    .institucion-card,
    .logro-card,
    .valor-item,
    .testimonio-card,
    .resumen-card,
    .novedad-card {
        background: #1e293b;
        color: #ffffff;
        border: 1px solid #374151;
    }

    /* Secciones con fondo claro */
    .section.bg-light {
        background: #111827;
    }

    /* Primer sindicato en dark mode */
    .primer-sindicato {
        background: #111827;
        color: #ffffff;
    }

    .transformacion-2023,
    .significado-item {
        background: rgba(30, 41, 59, 0.8);
        border: 1px solid #374151;
        color: #ffffff;
    }

    .transformacion-2023 p,
    .significado-item p {
        color: #e5e7eb;
    }

    .significado-item strong {
        color: #ffffff;
    }

    /* Empresa items */
    .empresa-item {
        background: rgba(30, 41, 59, 0.9);
        border: 2px solid #374151;
        color: #ffffff;
    }

    .empresa-item:hover {
        background: rgba(30, 41, 59, 1);
        border-color: #60a5fa;
    }

    .empresa-item p {
        color: #ffffff;
    }

    /* Afiliaciones */
    .afiliaciones-modernas {
        background: #111827;
    }

    .categoria-header {
        background: rgba(30, 41, 59, 0.8);
        border: 1px solid #374151;
    }

    .categoria-info h3,
    .categoria-info p {
        color: #ffffff;
    }

    /* Inputs y formularios */
    input,
    textarea,
    select {
        background: #1e293b;
        color: #ffffff;
        border-color: #374151;
    }

    input:focus,
    textarea:focus,
    select:focus {
        background: #1e293b;
        border-color: #60a5fa;
    }

    /* Breadcrumb */
    .breadcrumb-section {
        background: #111827;
        border-bottom-color: #374151;
    }

    .breadcrumb .breadcrumb-item a {
        color: #60a5fa;
    }

    .breadcrumb .breadcrumb-item.active {
        color: #d1d5db;
    }

    /* Novedades */
    .novedades-filtros {
        background: #111827;
    }

    .filtros-container {
        background: #1e293b;
        border: 1px solid #374151;
    }

    .search-box input {
        background: #1e293b;
        border-color: #374151;
        color: #ffffff;
    }

    .search-box input:focus {
        background: #1e293b;
        border-color: #60a5fa;
    }

    .filtros-opciones select {
        background: #1e293b;
        border-color: #374151;
        color: #ffffff;
    }

    /* Paginación */
    .pagina-btn {
        background: #1e293b;
        color: #ffffff;
        border-color: #374151;
    }

    .pagina-btn:hover {
        border-color: #60a5fa;
        color: #60a5fa;
    }

    .pagina-btn.activa {
        background: #60a5fa;
        color: #000000;
    }

    /* Timeline */
    .timeline-item .timeline-content {
        background: #1e293b;
        color: #ffffff;
        border: 1px solid #374151;
    }

    /* Listas de derechos y deberes */
    .derechos-list,
    .deberes-list {
        background: #1e293b;
        color: #ffffff;
        border: 1px solid #374151;
    }

    /* Títulos y texto en general */
    h1, h2, h3, h4, h5, h6 {
        color: #ffffff !important;
    }
    
    p, li, span, div {
        color: #e5e7eb;
    }
    
    .novedad-meta,
    .autor,
    .cobertura,
    .document-info {
        color: #d1d5db;
    }
    
    /* Links */
    a {
        color: #60a5fa;
    }
    
    a:hover {
        color: #93c5fd;
    }
}

/* CORRECCIÓN 3: Prevenir overflow sin cambiar layout */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: min(1200px, calc(100vw - 40px));
    padding-left: 20px;
    padding-right: 20px;
}

/* ========================================
   PÁGINA DE DENUNCIAS
======================================== */

/* Hero Denuncias */
.denuncias-hero {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.denuncias-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/SITENTEL.JPG') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.denuncias-hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.hero-icon-large i {
    font-size: 4rem;
    color: white;
}

.denuncias-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.denuncias-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Info Grid */
.info-denuncias {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Formulario de Denuncias */
.formulario-denuncias {
    padding: 4rem 0;
}

.formulario-denuncia-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.formulario-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.formulario-header h2 {
    color: #dc2626;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.formulario-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #dc2626;
}

.form-section h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: #dc2626;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Radio buttons */
.form-group-radio {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #dc2626;
    background: #fff5f5;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span {
    color: #dc2626;
    font-weight: 600;
}

/* Checkbox */
.form-group-checkbox {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    padding: 1.5rem;
    background: #fff5f5;
    border: 2px solid #fecaca;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: #fee2e2;
    border-color: #dc2626;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

/* Info Secretaría */
.info-secretaria {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #eff6ff;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    margin-top: 1rem;
}

.info-secretaria i {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-secretaria p {
    margin: 0;
    color: #1e40af;
    font-size: 0.9rem;
}

/* File input styling */
input[type="file"] {
    padding: 1rem !important;
    border: 2px dashed #e5e5e5 !important;
    background: #f8f9fa !important;
}

input[type="file"]:hover {
    border-color: #dc2626 !important;
    background: #fff5f5 !important;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.btn-submit {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #991b1b, #7f1d1d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Alert Success */
.alert-success {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 20px;
    border: 2px solid #86efac;
}

.alert-success i {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 1rem;
}

.alert-success h3 {
    color: #15803d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.alert-success p {
    color: #166534;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Info Adicional */
.info-adicional-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.info-adicional-content h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-adicional-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contacto-urgente {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-urgente {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 3rem;
    background: white;
    border: 3px solid #dc2626;
    border-radius: 20px;
    text-decoration: none;
    color: #dc2626;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-urgente:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-urgente.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.btn-urgente.whatsapp:hover {
    background: #25d366;
    color: white;
}

.btn-urgente i {
    font-size: 2.5rem;
}

.btn-urgente span {
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-urgente small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Botón en el nav */
.btn-denuncia-nav {
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-denuncia-nav:hover {
    background: linear-gradient(135deg, #991b1b, #7f1d1d) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}

.btn-denuncia-nav::after {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .denuncias-hero h1 {
        font-size: 2.5rem;
    }
    
    .formulario-denuncia-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .contacto-urgente {
        flex-direction: column;
    }
    
    .btn-urgente {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .formulario-denuncia-wrapper {
        background: #1e293b;
        border-color: #374151;
    }
    
    .formulario-header h2 {
        color: #fca5a5;
    }
    
    .form-section {
        background: #111827;
        border-left-color: #fca5a5;
    }
    
    .form-section h3 {
        color: #ffffff;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #0f172a;
        border-color: #374151;
        color: #ffffff;
    }
    
    .radio-label,
    .checkbox-label {
        background: #0f172a;
        border-color: #374151;
        color: #ffffff;
    }
    
    .info-item {
        background: #1e293b;
        color: #ffffff;
        border-color: #374151;
    }
    
    .btn-urgente {
        background: #1e293b;
        border-color: #fca5a5;
        color: #fca5a5;
    }
}

/* ========================================
   PÁGINA DE AFILIACIÓN
======================================== */

/* Hero Afiliación */
.afiliacion-hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.afiliacion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/SITENTEL.JPG') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.afiliacion-hero-content {
    position: relative;
    z-index: 2;
}

.afiliacion-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.afiliacion-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Beneficios de Afiliación */
.beneficios-afiliacion {
    padding: 3rem 0;
}

.beneficios-grid-afiliacion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.beneficio-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.beneficio-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(56, 182, 255, 0.15);
}

.beneficio-icono {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.beneficio-icono i {
    font-size: 2rem;
    color: white;
}

.beneficio-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.beneficio-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Formulario de Afiliación */
.formulario-afiliacion-section {
    padding: 4rem 0;
}

.formulario-afiliacion-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

/* Descarga de Ficha */
.descarga-ficha {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.1), rgba(14, 165, 233, 0.15));
    border-radius: 15px;
    border: 2px dashed var(--primary-color);
}

.btn-descarga-ficha {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
    margin-bottom: 1rem;
}

.btn-descarga-ficha:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.4);
}

.nota-descarga {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Subsecciones */
.subsection-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

/* Trabajos Anteriores */
.trabajo-anterior {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.trabajo-anterior h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Familiares */
.familiar-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--success-color);
}

.familiar-item h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-note {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fffbeb;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

/* Mensaje de éxito específico */
#mensaje-exito-afiliacion .alert-success {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 20px;
    border: 2px solid #86efac;
}

#mensaje-exito-afiliacion .alert-success i {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 1rem;
}

#mensaje-exito-afiliacion .alert-success h3 {
    color: #15803d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#mensaje-exito-afiliacion .alert-success p {
    color: #166534;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.nota-siguiente {
    font-weight: 600;
    color: #15803d;
}

/* Info Adicional Afiliación */
.info-adicional-afiliacion {
    padding: 3rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .afiliacion-hero h1 {
        font-size: 2.5rem;
    }
    
    .formulario-afiliacion-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .beneficios-grid-afiliacion {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trabajo-anterior,
    .familiar-item {
        padding: 1rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .formulario-afiliacion-wrapper {
        background: #1e293b;
        border-color: #374151;
    }
    
    .beneficio-item {
        background: #1e293b;
        border-color: #374151;
        color: #ffffff;
    }
    
    .beneficio-item h3 {
        color: #60a5fa;
    }
    
    .beneficio-item p {
        color: #d1d5db;
    }
    
    .trabajo-anterior,
    .familiar-item {
        background: #111827;
        color: #ffffff;
    }
    
    .descarga-ficha {
        background: rgba(30, 41, 59, 0.8);
        border-color: #60a5fa;
    }
    
    .form-note {
        background: rgba(251, 191, 36, 0.1);
        color: #fbbf24;
    }

    /* Botón para agregar items dinámicos */
.btn-agregar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    font-size: 0.95rem;
}

.btn-agregar-item:hover {
    background: rgba(56, 182, 255, 0.1);
    border-style: solid;
    transform: translateY(-2px);
}

.btn-agregar-item i {
    font-size: 1rem;
}

/* Items dinámicos (trabajos y familiares) */
.trabajo-item,
.familiar-item-dinamico {
    position: relative;
    padding: 1.5rem;
    padding-top: 2.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    animation: slideInDown 0.3s ease;
}

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

.btn-eliminar-item {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: #ef4444;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-eliminar-item:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.trabajo-item h5,
.familiar-item-dinamico h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Dark mode para items dinámicos */
@media (prefers-color-scheme: dark) {
    .trabajo-item,
    .familiar-item-dinamico {
        background: #111827;
        color: #ffffff;
        border-left-color: #60a5fa;
    }
    
    .btn-agregar-item {
        color: #60a5fa;
        border-color: #60a5fa;
    }
    
    .btn-agregar-item:hover {
        background: rgba(96, 165, 250, 0.1);
    }
}
}

/* ========================================
   BÚSQUEDA EN EL HEADER
======================================== */

/* Botón de búsqueda */
/* Botón de búsqueda */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem; /* CAMBIADO: Menos padding */
    border-radius: 25px;
    background: rgba(56, 182, 255, 0.1);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem; /* CAMBIADO: Más pequeño */
    font-weight: 500;
    border: 1px solid transparent;
    margin-left: 0; /* CAMBIADO: Sin margin */
    flex-shrink: 0; /* AÑADIDO: No se encoge */
}

.search-toggle:hover {
    background: rgba(56, 182, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 182, 255, 0.2);
}

.search-toggle i {
    font-size: 0.95rem; /* CAMBIADO: Más pequeño */
}

.search-toggle span {
    white-space: nowrap;
    font-size: 0.85rem; /* AÑADIDO: Texto más pequeño */
}

/* Panel de búsqueda */
.search-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    overflow-y: auto;
}

.search-panel.active {
    opacity: 1;
    visibility: visible;
}

.search-panel-content {
    max-width: 800px;
    width: 90%;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#search-input {
    flex: 1;
    padding: 1.2rem 2rem;
    font-size: 1.3rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

#search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.3);
    transform: scale(1.02);
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    color: #ef4444;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Resultados de búsqueda */
.search-results {
    max-width: 800px;
    width: 90%;
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.3s ease;
}

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

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(56, 182, 255, 0.2);
}

.search-result-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-item h4 i {
    font-size: 1rem;
}

.search-result-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.search-result-item .result-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem;
    font-size: 1.1rem;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
    display: block;
}

/* Scrollbar personalizado */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .search-toggle span {
        display: none;
    }
    
    .search-toggle {
        padding: 0.6rem;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-left: 0.5rem;
    }
    
    #search-input {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    .search-close {
        width: 40px;
        height: 40px;
    }
    
    .search-panel {
        padding-top: 80px;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .search-panel {
        background: rgba(15, 23, 42, 0.98);
    }
    
    #search-input {
        background: rgba(30, 41, 59, 0.8);
        border-color: #60a5fa;
        color: #ffffff;
    }
    
    .search-result-item {
        background: rgba(30, 41, 59, 0.8);
        border-color: #374151;
    }
    
    .search-toggle {
        background: rgba(96, 165, 250, 0.1);
        color: #60a5fa;
    }
    
    .search-toggle:hover {
        background: rgba(96, 165, 250, 0.2);
        border-color: #60a5fa;
    }
}

/* ========================================
   SECCIÓN ACTUALIDAD - HOME (Estilo Periódico Moderno)
======================================== */
.actualidad-home {
    background: #f8f9fa;
    padding: 5rem 0;
    position: relative;
}

.actualidad-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.actualidad-header {
    text-align: center;
    margin-bottom: 4rem;
}

.seccion-tag {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.actualidad-header h2 {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.actualidad-header h2::after {
    display: none;
}

.actualidad-header p {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.noticias-grid-home {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Noticia Principal */
.noticia-principal {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.noticia-principal:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.noticia-principal .noticia-imagen-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.noticia-principal .noticia-imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.noticia-principal:hover .noticia-imagen-wrapper img {
    transform: scale(1.05);
}

.noticia-imagen-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticia-imagen-placeholder i {
    font-size: 5rem;
    color: white;
    opacity: 0.3;
}

.categoria-badge-actualidad {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 2;
}

.noticia-principal .noticia-contenido {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-fecha-actualidad {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.noticia-principal h3 {
    font-size: 2rem;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.noticia-principal .noticia-resumen {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.noticia-autor-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.noticia-autor-info i {
    color: var(--primary-color);
}

/* Noticias Secundarias */
.noticias-secundarias {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.noticia-card-secundaria {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    height: 180px;
}

.noticia-card-secundaria:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.noticia-card-secundaria .noticia-imagen-wrapper {
    width: 40%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.noticia-card-secundaria .noticia-imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.noticia-card-secundaria:hover .noticia-imagen-wrapper img {
    transform: scale(1.1);
}

.noticia-card-secundaria .categoria-badge-actualidad {
    top: 10px;
    left: 10px;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
}

.noticia-card-secundaria .noticia-contenido {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.noticia-card-secundaria h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noticia-card-secundaria .noticia-fecha-actualidad {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Categorías con colores */
.cat-negociacion { background: #dc2626; }
.cat-afiliacion { background: #7c3aed; }
.cat-capacitacion { background: #ea580c; }
.cat-logros { background: #16a34a; }
.cat-institucional { background: #0284c7; }
.cat-derechos { background: #d97706; }
.cat-coyuntura { background: #be123c; }
.cat-comunicado { background: #ef4444; }
.cat-internacional { background: #2563eb; }
.cat-convenios { background: #047857; }

/* Botón Ver Todas */
.ver-todas-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-actualidad-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-actualidad-ver-mas:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(56, 182, 255, 0.3);
}

.btn-actualidad-ver-mas i {
    transition: transform 0.3s ease;
}

.btn-actualidad-ver-mas:hover i {
    transform: translateX(5px);
}

/* ========================================
   PÁGINA ACTUALIDAD COMPLETA
======================================== */
.actualidad-hero {
    background: #1a1a1a;
    color: white;
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.actualidad-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imagenes/SITENTEL.JPG');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.actualidad-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(56, 182, 255, 0.8), 
        rgba(14, 165, 233, 0.8));
    z-index: 1;
}

.actualidad-hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon-actualidad {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transform: rotate(-5deg);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.hero-icon-actualidad i {
    font-size: 2.5rem;
    color: white;
    transform: rotate(5deg);
}

.actualidad-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.actualidad-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Filtros */
.actualidad-filtros {
    background: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filtros-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    background: transparent;
    box-shadow: none;
}

.filtros-izquierda {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.search-box-actualidad {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box-actualidad input {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box-actualidad input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.1);
    outline: none;
}

.search-box-actualidad i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

.filtros-derecha {
    display: flex;
    gap: 1rem;
}

.select-actualidad {
    padding: 0.9rem 2.5rem 0.9rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

.select-actualidad:focus {
    border-color: var(--primary-color);
    outline: none;
}

.resultados-info {
    padding: 1rem 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Grid con Noticia Principal */
.actualidad-contenido {
    padding: 4rem 0;
    background: #f8f9fa;
}

.noticias-grid-actualidad {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Primera noticia destacada en actualidad.html */
.noticia-destacada-actualidad {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    margin-bottom: 3rem;
}

.noticia-destacada-actualidad:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.noticia-destacada-actualidad .noticia-imagen-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.noticia-destacada-actualidad .noticia-imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.noticia-destacada-actualidad:hover .noticia-imagen-wrapper img {
    transform: scale(1.05);
}

.noticia-destacada-actualidad .noticia-contenido {
    padding: 3rem;
}

.noticia-destacada-actualidad h3 {
    font-size: 2.5rem;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.noticia-destacada-actualidad .noticia-resumen {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Resto de noticias en grid */
.noticias-grid-actualidad.con-destacada {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.noticia-card-completa {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.noticia-card-completa:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.noticia-card-completa .noticia-imagen-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.noticia-card-completa .noticia-imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.noticia-card-completa:hover .noticia-imagen-wrapper img {
    transform: scale(1.08);
}

.noticia-card-completa .noticia-contenido {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-card-completa h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.noticia-card-completa .noticia-resumen {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   PÁGINA DE NOTICIA INDIVIDUAL - FIX TÍTULO
======================================== */
.noticia-individual-wrapper {
    background: #fafafa;
    min-height: 100vh;
    padding-top: 80px;
}

.noticia-contenedor-articulo {
    max-width: 900px;
    margin: 3rem auto;
    background: white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.noticia-header-articulo {
    padding: 3rem 4rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.noticia-categoria-header {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

/* FIX: Título sin desbordamiento */
.noticia-titulo-articulo {
    font-size: 2.5rem;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    /* FIX: Prevenir desbordamiento */
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    padding-right: 1rem;
}

.noticia-bajada {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.noticia-metadata {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.metadata-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.metadata-item i {
    color: var(--primary-color);
}

.noticia-autor-nombre {
    font-weight: 600;
    color: #1a1a1a;
}

.noticia-imagen-destacada {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.noticia-contenido-articulo {
    padding: 3rem 4rem;
}

.noticia-contenido-articulo p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.8rem;
    text-align: justify;
}

.noticia-contenido-articulo p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 0.9;
    margin: 0.1rem 0.2rem 0 0;
    color: var(--primary-color);
}

.noticia-contenido-articulo h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 2.5rem 0 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.noticia-contenido-articulo h4 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.noticia-contenido-articulo ul,
.noticia-contenido-articulo ol {
    margin: 1.5rem 0 1.5rem 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.noticia-contenido-articulo li {
    margin-bottom: 0.8rem;
}

.noticia-contenido-articulo strong {
    font-weight: 700;
    color: #1a1a1a;
}

.noticia-contenido-articulo em {
    font-style: italic;
    color: #4b5563;
}

.noticia-contenido-articulo blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4b5563;
    background: #f9fafb;
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

.noticia-footer-articulo {
    padding: 2rem 4rem 3rem;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

.btn-volver-actualidad {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-volver-actualidad:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.3);
}

/* Loading & Estados */
.loading-noticias-actualidad {
    text-align: center;
    padding: 5rem 2rem;
    grid-column: 1 / -1;
}

.loading-noticias-actualidad i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.no-resultados-actualidad {
    text-align: center;
    padding: 5rem 2rem;
    grid-column: 1 / -1;
}

.no-resultados-actualidad i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-resultados-actualidad h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.no-resultados-actualidad p {
    color: #6b7280;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .noticias-grid-home {
        grid-template-columns: 1fr;
    }
    
    .noticias-secundarias {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
    }
    
    .noticia-card-secundaria {
        min-width: 300px;
        flex-direction: column;
        height: auto;
    }
    
    .noticia-card-secundaria .noticia-imagen-wrapper {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .actualidad-header h2 {
        font-size: 2.2rem;
    }
    
    .actualidad-hero h1 {
        font-size: 2.5rem;
    }
    
    .noticia-principal .noticia-imagen-wrapper {
        height: 250px;
    }
    
    .noticia-principal h3 {
        font-size: 1.5rem;
    }
    
    .noticia-principal .noticia-contenido {
        padding: 1.5rem;
    }
    
    .filtros-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filtros-izquierda,
    .filtros-derecha {
        width: 100%;
    }
    
    .search-box-actualidad {
        max-width: 100%;
    }
    
    .noticias-grid-actualidad,
    .noticias-grid-actualidad.con-destacada {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .noticia-titulo-articulo {
        font-size: 1.8rem;
        letter-spacing: -0.3px;
        padding-right: 0.5rem;
    }
    
    .noticia-header-articulo,
    .noticia-contenido-articulo,
    .noticia-footer-articulo {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .noticia-bajada {
        font-size: 1.1rem;
    }
    
    .noticia-contenido-articulo p {
        font-size: 1.05rem;
    }
    
    .noticia-destacada-actualidad .noticia-imagen-wrapper {
        height: 300px;
    }
    
    .noticia-destacada-actualidad .noticia-contenido {
        padding: 2rem;
    }
    
    .noticia-destacada-actualidad h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .actualidad-header h2 {
        font-size: 1.8rem;
    }
    
    .noticia-card-secundaria {
        min-width: 280px;
    }
    
    .noticia-header-articulo,
    .noticia-contenido-articulo,
    .noticia-footer-articulo {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .noticia-titulo-articulo {
        font-size: 1.5rem;
        line-height: 1.4;
        padding-right: 0.5rem;
    }
    
    
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .actualidad-home {
        background: #111827;
    }
    
    .actualidad-header h2 {
        color: #ffffff;
    }
    
    .noticia-principal,
    .noticia-card-secundaria,
    .noticia-card-completa,
    .noticia-contenedor-articulo,
    .noticia-destacada-actualidad {
        background: #1e293b;
        color: #ffffff;
    }
    
    .noticia-principal h3,
    .noticia-card-secundaria h3,
    .noticia-card-completa h3,
    .noticia-titulo-articulo,
    .noticia-destacada-actualidad h3 {
        color: #ffffff;
    }
    
    .noticia-principal .noticia-resumen,
    .noticia-card-completa .noticia-resumen,
    .noticia-bajada,
    .noticia-contenido-articulo p,
    .noticia-destacada-actualidad .noticia-resumen {
        color: #d1d5db;
    }
    
    .actualidad-filtros {
        background: #1e293b;
    }
    
    .search-box-actualidad input,
    .select-actualidad {
        background: #111827;
        border-color: #374151;
        color: #ffffff;
    }
    
    .actualidad-contenido {
        background: #0f172a;
    }
    
    .noticia-individual-wrapper {
        background: #0f172a;
    }
}