/* 
   FUNDECOS - Estilos de Modernización y 40 Aniversario
   Diseñado específicamente para el plugin sin alterar el resto del sitio
*/

/* Variables de Diseño */
/* Corrección de Espaciado del Menú e Imagen del Logo */
#logo {
    max-height: 52px !important;
    margin-right: 15px !important;
    display: inline-block !important;
}

#et-top-navigation {
    display: flex !important;
    align-items: center !important;
}

#top-menu-nav, nav#top-menu-nav {
    margin-left: 10px !important;
    display: flex !important;
    align-items: center !important;
}

#top-menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

#top-menu li {
    padding-right: 8px !important;
    white-space: nowrap !important;
}

#top-menu li a {
    font-size: 13.5px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.nav-item-anniversary a {
    padding: 6px 14px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}


.fundecos-modern-home {
    /* Paleta Institucional */
    --primary-blue: #52B7DE;
    --primary-green: #9CBC3B;
    --dark-green: #008C3E;
    --accent-pink: #E1007E;
    
    /* Colores Neutros y de Apoyo */
    --text-dark: #2C3E50;
    --text-muted: #5D6D7E;
    --bg-light: #F8F9FA;
    --bg-warm: #FAF9F6;
    --bg-white: #FFFFFF;
    --border-color: #EAECEE;
    
    /* Tipografías */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Sombras y Bordes */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Aplicación local de fuentes para la portada modernizada */
.fundecos-modern-home {
    font-family: var(--font-main);
    color: var(--text-dark);
}

.fundecos-modern-home h1, 
.fundecos-modern-home h2, 
.fundecos-modern-home h3, 
.fundecos-modern-home h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Botones Especiales de la Portada y el Modal */
.fundecos-modern-home .btn,
.modal-overlay .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.fundecos-modern-home .btn-primary {
    background-color: var(--dark-green) !important;
    color: var(--bg-white) !important;
}

.fundecos-modern-home .btn-primary:hover {
    background-color: #007332 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 140, 62, 0.2);
}

.fundecos-modern-home .btn-outline {
    background-color: transparent !important;
    color: var(--bg-white) !important;
    border: 2px solid var(--bg-white) !important;
}

.fundecos-modern-home .btn-outline:hover {
    background-color: var(--bg-white) !important;
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

.fundecos-modern-home .btn-pink,
.modal-overlay .btn-pink {
    background-color: var(--accent-pink) !important;
    color: var(--bg-white) !important;
}

.fundecos-modern-home .btn-pink:hover,
.modal-overlay .btn-pink:hover {
    background-color: #c7006d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 0, 126, 0.2);
}

/* --- 1. MODAL CONMEMORATIVO 40 AÑOS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 36, 43, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-container {
    background-color: #FAF9F6; /* Fondo cálido conmemorativo */
    width: 90%;
    max-width: 850px;
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(225, 0, 126, 0.15);
    display: flex;
    flex-direction: column;
    animation: modalBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalBounce {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(circle at 10% 10%, rgba(225, 0, 126, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(82, 183, 222, 0.08) 0%, transparent 40%);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
}

.modal-image-side {
    position: relative;
    background-color: #FAF9F6; /* Fondo cálido del modal */
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px; /* Espacio para que respire la imagen y no pegue a los bordes */
}

.modal-image-side img {
    width: 100%;
    height: 100%;
    max-height: 280px; /* Más pequeño para que respire y no quede pegado al borde */
    object-fit: contain; /* Cambiado a contain para evitar recortes del logotipo */
    opacity: 0.95;
    border-radius: 12px; /* Esquinas redondeadas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Sombra suave */
}

.modal-badge-40 {
    position: absolute;
    top: 35px;
    left: 35px;
    background: linear-gradient(135deg, #E1007E, #52B7DE);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1008;
}

.modal-content-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #5D6D7E;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1010; /* Asegura estar sobre el contenido y confeti */
}

.modal-close-btn:hover {
    color: #E1007E;
    transform: rotate(90deg);
}

.modal-title-pre {
    color: #E1007E;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.2;
    color: #008C3E;
    margin-bottom: 15px;
}

.modal-text {
    font-size: 15px;
    color: #5D6D7E;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

/* Enlace Entrar al sitio institucional */
#btnSkipToSite {
    color: #5D6D7E !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: inline-block !important;
}

#btnSkipToSite:hover {
    color: #2C3E50 !important;
}

/* Botón principal con los colores corporativos de FUNDECOS */
#btnExploreAnniversary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 30px !important;
    background: linear-gradient(135deg, #52B7DE 0%, #008C3E 100%) !important; /* Azul a Verde institucional de FUNDECOS */
    color: #FFFFFF !important; /* Texto blanco garantizado */
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    border-radius: 30px !important; /* Bordes redondeados píldora */
    box-shadow: 0 4px 15px rgba(0, 140, 62, 0.2) !important;
    transition: all 0.3s ease !important;
    gap: 10px !important;
    border: none !important;
    width: 100% !important;
    max-width: 320px !important;
    box-sizing: border-box !important;
}

#btnExploreAnniversary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 140, 62, 0.35) !important;
    background: linear-gradient(135deg, #008C3E 0%, #52B7DE 100%) !important; /* Invertir gradiente en hover */
}

#btnExploreAnniversary i {
    color: #FFD700 !important; /* Estrella en color dorado */
    font-size: 16px !important;
    display: inline-block !important;
}

/* Partículas / Confeti Sutil */
.confetti-piece {
    position: absolute;
    width: 6px;
    height: 12px;
    opacity: 0.7;
    border-radius: 2px;
    animation: fall 5s linear infinite;
    z-index: 1005; /* Se muestra sobre el fondo y contenido */
    pointer-events: none; /* No interrumpe los clics */
}

@keyframes fall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(400px) rotate(360deg); opacity: 0; }
}

/* --- Ajuste de tamaño y espaciado para el logo de FUNDECOS --- */
#logo, 
#logo-container img,
.et_pb_menu__logo img {
    max-height: 48px !important; /* Altura máxima controlada para el logo */
    padding: 3px 0 !important; /* Espacio para que respire arriba y abajo */
    margin-top: auto !important;
    margin-bottom: auto !important;
    transition: all 0.3s ease !important;
}

/* --- 2. ESTILO DEL MENÚ EN DIVI (AÑOS 40 TAB) --- */
#top-menu li.nav-item-anniversary a,
#mobile_menu li.nav-item-anniversary a {
    background: linear-gradient(135deg, #E1007E, #52B7DE) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    border: 1px solid rgba(225, 0, 126, 0.2);
    padding: 6px 16px !important;
    border-radius: 20px !important;
    margin-left: 10px;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    height: auto !important;
}

#top-menu li.nav-item-anniversary a:hover,
#mobile_menu li.nav-item-anniversary a:hover {
    box-shadow: 0 4px 10px rgba(225, 0, 126, 0.2);
    transform: scale(1.05);
    opacity: 0.9;
}

/* --- 3. HERO SECTION --- */
.fundecos-modern-home .hero-slider {
    position: relative;
    height: 550px;
    background-color: #1A242B;
    overflow: hidden;
}

.fundecos-modern-home .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.fundecos-modern-home .hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.fundecos-modern-home .hero-slide.active .hero-badge,
.fundecos-modern-home .hero-slide.active .hero-title,
.fundecos-modern-home .hero-slide.active .hero-desc,
.fundecos-modern-home .hero-slide.active .hero-actions {
    animation: fadeInUp 0.8s both;
}

.fundecos-modern-home .hero-slide.active .hero-badge { animation-delay: 0.1s; }
.fundecos-modern-home .hero-slide.active .hero-title { animation-delay: 0.2s; }
.fundecos-modern-home .hero-slide.active .hero-desc { animation-delay: 0.3s; }
.fundecos-modern-home .hero-slide.active .hero-actions { animation-delay: 0.4s; }

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

.fundecos-modern-home .hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22 !important;
    filter: brightness(0.75);
    z-index: 1;
}

.fundecos-modern-home .hero-slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 36, 43, 0.92) 0%, rgba(26, 36, 43, 0.65) 55%, rgba(26, 36, 43, 0.35) 100%);
    pointer-events: none;
    z-index: 2;
}

.fundecos-modern-home .hero-container {
    position: relative;
    z-index: 5;
}

/* Controles del Slider */
.fundecos-modern-home .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.fundecos-modern-home .slider-arrow:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.fundecos-modern-home .prev-arrow {
    left: 30px;
}

.fundecos-modern-home .next-arrow {
    right: 30px;
}

.fundecos-modern-home .slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.fundecos-modern-home .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.fundecos-modern-home .slider-dot:hover,
.fundecos-modern-home .slider-dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.fundecos-modern-home .slider-dot.active {
    width: 28px;
    border-radius: 6px;
}

/* Responsividad para las flechas del slider */
@media (max-width: 768px) {
    .fundecos-modern-home .slider-arrow {
        width: 40px;
        height: 40px;
    }
    .fundecos-modern-home .prev-arrow { left: 15px; }
    .fundecos-modern-home .next-arrow { right: 15px; }
}

.fundecos-modern-home .hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26,36,43,0.9) 0%, rgba(26,36,43,0.5) 50%, rgba(26,36,43,0.2) 100%);
    z-index: 1;
}

.fundecos-modern-home .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

.fundecos-modern-home .hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-flex;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    align-items: center;
    gap: 8px;
}

.fundecos-modern-home .hero-badge span {
    background-color: var(--accent-pink);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.fundecos-modern-home .hero-title {
    font-family: var(--font-serif);
    font-size: 46px; /* Ajustado para un peso visual más equilibrado */
    font-weight: 600; /* Menos agresivo */
    line-height: 1.25;
    max-width: 800px;
    margin-bottom: 22px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.fundecos-modern-home .hero-title span {
    color: var(--primary-blue);
    font-family: var(--font-serif); /* Misma fuente serif elegante para balancear */
    font-weight: 700; /* Destaca pero con la misma jerarquía visual */
}

.fundecos-modern-home .hero-desc {
    font-size: 16px; /* Más refinado */
    max-width: 680px; /* Más amplio para mejorar la respiración visual y el corte de líneas */
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

.fundecos-modern-home .hero-actions {
    display: flex;
    gap: 15px;
}

/* --- 4. SECCIÓN ANIVERSARIO (MICROSITIO) --- */
.fundecos-modern-home .anniversary-section {
    padding: 100px 0;
    background-color: var(--bg-warm);
    position: relative;
}

.fundecos-modern-home .section-decor {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(82, 183, 222, 0.04);
    filter: blur(50px);
    top: 10%;
    right: 5%;
}

.fundecos-modern-home .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fundecos-modern-home .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.fundecos-modern-home .section-pretitle {
    color: var(--accent-pink);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.fundecos-modern-home .section-title {
    font-family: var(--font-serif);
    font-size: 40px;
    color: var(--dark-green);
    margin-bottom: 20px;
    line-height: 1.2;
}

.fundecos-modern-home .section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.fundecos-modern-home .anniversary-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.fundecos-modern-home .anniversary-story-side h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.fundecos-modern-home .anniversary-story-side p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.fundecos-modern-home .anniversary-video-side {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/9;
}

.fundecos-modern-home .video-mockup-placeholder {
    width: 100%;
    height: 100%;
    background-color: #2C3E50;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fundecos-modern-home .video-mockup-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.fundecos-modern-home .video-play-btn {
    position: relative;
    z-index: 2;
    background-color: var(--accent-pink);
    color: var(--bg-white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 0, 126, 0.4);
    transition: var(--transition-smooth);
}

.fundecos-modern-home .video-play-btn:hover {
    transform: scale(1.1);
    background-color: #c7006d;
}

/* Línea de tiempo */
.fundecos-modern-home .timeline-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.fundecos-modern-home .timeline-tab {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.fundecos-modern-home .timeline-tab:hover, 
.fundecos-modern-home .timeline-tab.active {
    background-color: var(--dark-green);
    color: var(--bg-white);
    border-color: var(--dark-green);
    box-shadow: 0 4px 10px rgba(0, 140, 62, 0.15);
}

.fundecos-modern-home .timeline-content-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 40px;
    min-height: 250px;
}

.fundecos-modern-home .timeline-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.fundecos-modern-home .timeline-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.fundecos-modern-home .timeline-text-col h4 {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.fundecos-modern-home .timeline-text-col p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.fundecos-modern-home .timeline-img-col {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 250px;
}

.fundecos-modern-home .timeline-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ajuste específico para cuando la imagen es un logo y no una foto */
.fundecos-modern-home .timeline-img-col.timeline-img-logo {
    background-color: #ffffff;
    padding: 30px; /* Relleno amplio para que el logo respire */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.fundecos-modern-home .timeline-img-col.timeline-img-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Asegura que el logo no se recorte */
}

/* --- 5. LÍNEAS DE ACCIÓN --- */
.fundecos-modern-home .lines-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.fundecos-modern-home .lines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.fundecos-modern-home .line-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.fundecos-modern-home .line-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.fundecos-modern-home .line-card-blue::before { background-color: var(--primary-blue); }
.fundecos-modern-home .line-card-green::before { background-color: var(--primary-green); }
.fundecos-modern-home .line-card-darkgreen::before { background-color: var(--dark-green); }
.fundecos-modern-home .line-card-pink::before { background-color: var(--accent-pink); }

.fundecos-modern-home .line-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-white);
}

.fundecos-modern-home .line-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
}

.fundecos-modern-home .line-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.fundecos-modern-home .line-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.fundecos-modern-home .line-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- 6. INFORMES Y TRANSPARENCIA --- */
.fundecos-modern-home .reports-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.fundecos-modern-home .reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.fundecos-modern-home .report-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
}

.fundecos-modern-home .report-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.fundecos-modern-home .report-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(82, 183, 222, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.fundecos-modern-home .report-info {
    flex-grow: 1;
}

.fundecos-modern-home .report-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.fundecos-modern-home .report-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.fundecos-modern-home .report-download {
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition-smooth);
}

.fundecos-modern-home .report-item:hover .report-download {
    color: var(--dark-green);
    transform: scale(1.15);
}

/* Responsividad */
@media (max-width: 992px) {
    .fundecos-modern-home .hero-title {
        font-size: 40px;
    }
    
    .fundecos-modern-home .anniversary-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fundecos-modern-home .timeline-pane.active {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image-side {
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .fundecos-modern-home .hero-title {
        font-size: 32px;
    }
    
    .fundecos-modern-home .hero-actions {
        flex-direction: column;
    }
}


/* --- 7. SECCIÓN ENTIDADES ALIADAS --- */
.fundecos-modern-home .partners-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.fundecos-modern-home .partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.fundecos-modern-home .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    height: 90px;
    transition: var(--transition-smooth);
}

.fundecos-modern-home .partner-item img {
    max-width: 100%;
    max-height: 75px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: var(--transition-smooth);
}

.fundecos-modern-home .partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* Responsividad para Entidades Aliadas */
@media (max-width: 992px) {
    .fundecos-modern-home .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .fundecos-modern-home .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .fundecos-modern-home .partner-item {
        max-width: 140px;
        height: 70px;
    }
    .fundecos-modern-home .partner-item img {
        max-height: 55px;
    }
}

@media (max-width: 480px) {
    .fundecos-modern-home .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .fundecos-modern-home .partner-item {
        max-width: 160px;
        height: 80px;
    }
    .fundecos-modern-home .partner-item img {
        max-height: 65px;
    }
}

/* --- Ajuste responsivo para evitar que el menú principal de Divi salte de línea --- */
@media (min-width: 981px) and (max-width: 1300px) {
    #top-menu li {
        padding-right: 6px !important;
    }
    #top-menu li a {
        font-size: 13px !important;
    }
    #top-menu li.nav-item-anniversary a {
        padding: 4px 10px !important;
        font-size: 13px !important;
        margin-left: 5px !important;
    }
}

/* --- 8. PIE DE PÁGINA PERSONALIZADO (ESTILO GOV.CO / LEY TRANSPARENCIA) --- */
body.fundecos-modern-footer #main-footer {
    display: none !important;
}

.custom-institutional-footer {
    background-color: #1A242B; /* Color corporativo oscuro */
    color: #FFFFFF;
    padding: 60px 0 20px 0;
    font-family: 'Inter', sans-serif;
    border-top: 4px solid var(--accent-pink); /* Línea conmemorativa en el borde superior */
}

.custom-institutional-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-institutional-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.custom-institutional-footer .footer-col {
    display: flex;
    flex-direction: column;
}

.custom-institutional-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.custom-institutional-footer .footer-logo-img {
    max-height: 45px;
    object-fit: contain;
    background-color: #FFFFFF; /* Círculo blanco detrás para resaltar */
    padding: 5px;
    border-radius: 50%;
}

.custom-institutional-footer .footer-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FFFFFF, var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-institutional-footer .footer-entity-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-blue);
    line-height: 1.4;
}

.custom-institutional-footer .footer-nit {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.custom-institutional-footer .footer-address {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.custom-institutional-footer .footer-address i {
    color: var(--primary-green);
    margin-right: 5px;
}

.custom-institutional-footer .footer-title {
    font-family: 'Outfit', sans-serif;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-institutional-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.custom-institutional-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-institutional-footer .footer-links li {
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.custom-institutional-footer .footer-links li i {
    color: var(--primary-blue);
    margin-top: 3px;
}

.custom-institutional-footer .footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-institutional-footer .footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 3px;
}

.custom-institutional-footer .judicial-notification-item {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: block !important;
}

.custom-institutional-footer .judicial-notification-item a {
    word-break: break-all;
    font-size: 12px;
    color: var(--accent-pink) !important;
}

.custom-institutional-footer .judicial-notification-item a:hover {
    color: #FFFFFF !important;
}

.custom-institutional-footer .footer-hours {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-blue);
}

.custom-institutional-footer .footer-hours p {
    margin: 0 0 4px 0;
}

.custom-institutional-footer .gov-logos-container {
    margin-bottom: 20px;
}

.custom-institutional-footer .gov-logo-img {
    transition: all 0.3s ease;
}

.custom-institutional-footer .gov-logo-img:hover {
    transform: scale(1.03);
}

.custom-institutional-footer .social-icons-footer {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.custom-institutional-footer .social-icons-footer a {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-institutional-footer .social-icons-footer a:hover {
    color: #FFFFFF;
    background-color: var(--accent-pink);
    transform: translateY(-2px);
}

.custom-institutional-footer .footer-bottom-bar {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.custom-institutional-footer .footer-bottom-bar p {
    margin: 0 0 5px 0;
}

/* Responsividad */
@media (max-width: 992px) {
    .custom-institutional-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .custom-institutional-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .custom-institutional-footer {
        padding: 40px 0 20px 0;
    }
}


/* --- 9. PIEZA DE DISEÑO PREMIUM: EXPLORADOR DE DOCUMENTOS (RENDICIÓN DE CUENTAS) --- */
.reports-page-layout {
    background-color: var(--bg-warm) !important;
    padding-bottom: 80px !important;
}

.reports-header-section {
    padding: 80px 0 40px 0 !important;
    text-align: center !important;
    background-color: var(--bg-white) !important;
    border-bottom: 1px solid var(--border-color) !important;
    display: block !important;
    width: 100% !important;
}

.reports-header-section .section-pretitle {
    color: var(--accent-pink) !important;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    display: block !important;
    text-align: center !important;
}

.reports-header-section .section-title {
    font-family: var(--font-serif) !important;
    font-size: 40px !important;
    color: var(--dark-green) !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
    display: block !important;
    text-align: center !important;
}

.reports-header-section .section-divider {
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--accent-pink), var(--primary-blue)) !important;
    margin: 15px auto !important;
    border-radius: 2px !important;
    display: block !important;
}

.reports-header-section .section-desc {
    max-width: 700px !important;
    margin: 0 auto !important;
    color: var(--text-muted) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    display: block !important;
}

.reports-explorer-section {
    padding: 50px 0 !important;
}

/* Contenedor Horizontal y Centrado de Años */
.reports-years-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 50px !important;
    padding: 0 10px !important;
}

/* Botón de Año */
.year-toggle-btn {
    background: #FFFFFF !important;
    color: var(--text-dark) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 12px 24px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border-radius: 30px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    outline: none !important;
}

.year-toggle-btn i {
    font-size: 16px !important;
    color: var(--primary-blue) !important;
    transition: all 0.3s ease !important;
}

/* Contador de Documentos */
.year-toggle-btn .doc-count {
    background-color: var(--bg-light) !important;
    color: var(--text-muted) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
}

/* Hover de Año */
.year-toggle-btn:hover {
    border-color: var(--primary-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(82, 183, 222, 0.15) !important;
    color: var(--primary-blue) !important;
}

/* Botón de Año Activo */
.year-toggle-btn.active {
    background: linear-gradient(135deg, #008C3E 0%, #9CBC3B 100%) !important; /* Degradado verde institucional */
    color: #FFFFFF !important;
    border-color: #008C3E !important;
    box-shadow: 0 4px 15px rgba(0, 140, 62, 0.25) !important;
}

.year-toggle-btn.active i {
    color: #FFFFFF !important;
}

.year-toggle-btn.active .doc-count {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
}

/* Panel de Contenido de Documentos */
.year-documents-pane {
    animation: fadeIn 0.4s ease-out !important;
    margin-top: 20px !important;
}

.year-documents-pane .pane-header {
    margin-bottom: 25px !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding-bottom: 15px !important;
}

.year-documents-pane .pane-header h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 26px !important;
    color: var(--dark-green) !important;
    margin: 0 0 5px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.year-documents-pane .pane-header h3 i {
    color: var(--primary-green) !important;
}

.year-documents-pane .pane-subtitle {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

/* Cuadrícula de Documentos */
.documents-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 20px !important;
}

/* Tarjeta del Documento */
.document-card-item {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-sizing: border-box !important;
}

.document-card-item:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-4px) !important;
}

/* Icono Redondo de Documento */
.doc-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    background-color: rgba(225, 0, 126, 0.05) !important; /* Rosa suave */
    color: var(--accent-pink) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.document-card-item:hover .doc-icon {
    background-color: var(--accent-pink) !important;
    color: #FFFFFF !important;
}

/* Detalles del Documento */
.doc-details {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    overflow: hidden !important;
    text-align: left !important;
}

.doc-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
}

.doc-meta {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
}

/* Botón Circular de Descarga */
.doc-download-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    background-color: var(--bg-light) !important;
    color: var(--text-muted) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--border-color) !important;
}

.document-card-item:hover .doc-download-btn {
    background-color: var(--primary-blue) !important;
    color: #FFFFFF !important;
    border-color: var(--primary-blue) !important;
    transform: rotate(360deg) !important;
}

/* Ocultar Acordeón Divi */
body.fundecos-modern-footer .et_pb_accordion {
    display: none !important;
}

/* Mensaje Sin Documentos */
.no-reports-found {
    text-align: center !important;
    padding: 60px 20px !important;
    background: #FFFFFF !important;
    border: 1px dashed var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-muted) !important;
}

.no-reports-found i {
    font-size: 48px !important;
    color: var(--primary-blue) !important;
    margin-bottom: 15px !important;
}

.no-reports-found h3 {
    margin: 0 0 5px 0 !important;
    color: var(--text-dark) !important;
}

/* Responsividad */
@media (max-width: 768px) {
    .reports-years-container {
        gap: 10px !important;
    }
    .year-toggle-btn {
        padding: 10px 18px !important;
        font-size: 14px !important;
    }
    .documents-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .year-documents-pane .pane-header h3 {
        font-size: 22px !important;
    }
}

/* --- 10. REDISEÑO PREMIUM DE CONTADOR DE AÑOS (DIVI NUMBER COUNTER) --- */
/* Estilo premium del número */
body.fundecos-modern-footer .et_pb_number_counter .percent,
body.fundecos-modern-footer .et_pb_number_counter .percent-value {
    font-family: 'Outfit', sans-serif !important;
    font-size: 46px !important; /* Tamaño decente y legible */
    font-weight: 800 !important;
    line-height: 1.1 !important;
    color: #FFB400 !important; /* Color dorado corporativo */
    letter-spacing: -1px !important;
    margin-bottom: 12px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

/* Estilo del título */
body.fundecos-modern-footer .et_pb_number_counter h3.title,
body.fundecos-modern-footer .et_pb_number_counter .title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #FFFFFF !important; /* Texto blanco sobre fondo oscuro */
    margin: 0 !important;
    line-height: 1.6 !important;
    padding-top: 12px !important;
    border-top: 2px solid rgba(255, 255, 255, 0.15) !important; /* Línea de separación sutil */
    display: block !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: all 0.3s ease !important;
}

/* Fila contenedora de contadores */
body.fundecos-modern-footer .custom-counters-row {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important; /* Separación elegante de 20px */
}

/* Columnas contenedoras de contadores: Fondo azul oscuro corporativo, decente y elegante */
body.fundecos-modern-footer .custom-counter-column {
    background: #1A242B !important; /* Color corporativo oscuro */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 1 280px !important; /* Altura y ancho iguales */
    max-width: 350px !important;
    margin: 0 !important; /* Limpiar márgenes por defecto de Divi */
    float: none !important; /* Anular float de Divi para que funcione flex */
    box-sizing: border-box !important;
}

/* Efecto hover en el contador */
body.fundecos-modern-footer .custom-counter-column:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 180, 0, 0.3) !important; /* Borde dorado en hover */
}

/* Contenido interno del contador en flexbox */
body.fundecos-modern-footer .custom-counter-column .et_pb_number_counter {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 35px 15px !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}


/* --- 11. REDISEÑO PREMIUM DEL SECCIÓN DE CONTACTO (CONTÁCTANOS) --- */
/* Ocultar la columna derecha con información de contacto e iconos rotos en Inicio y página de Contacto */
body.fundecos-modern-footer .custom-details-column {
    display: none !important;
}

/* Hacer que la columna del formulario de contacto ocupe todo el ancho centrado (tamaño adecuado) */
body.fundecos-modern-footer .custom-form-column {
    width: 100% !important;
    max-width: 750px !important;
    margin: 0 auto !important;
    float: none !important;
}

/* Cambiar la columna de color amarillo plano a color corporativo decente y premium */
body.fundecos-modern-footer .et_pb_column[style*="background-color: #ffb400"],
body.fundecos-modern-footer .et_pb_column[style*="background-color:#ffb400"],
body.fundecos-modern-footer .et_pb_column[style*="background-color: rgb(255, 180, 0)"],
body.fundecos-modern-footer .et_pb_column[style*="background-color:rgb(255, 180, 0)"],
body.fundecos-modern-footer .custom-form-column {
    background-color: #1A242B !important; /* Fondo azul oscuro corporativo */
    background: #1A242B !important;
    padding: 45px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
}

/* Forzar títulos y textos a color blanco dentro del bloque de contacto oscuro */
body.fundecos-modern-footer .custom-form-column h1,
body.fundecos-modern-footer .custom-form-column h2,
body.fundecos-modern-footer .custom-form-column h3,
body.fundecos-modern-footer .custom-form-column p,
body.fundecos-modern-footer .custom-form-column label {
    color: #FFFFFF !important;
}

/* Campos de entrada del formulario de contacto (Inputs & Textarea) */
body.fundecos-modern-footer .et_pb_contact_form input,
body.fundecos-modern-footer .et_pb_contact_form textarea {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 8px !important;
    color: var(--text-dark) !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s ease !important;
}

body.fundecos-modern-footer .et_pb_contact_form input:focus,
body.fundecos-modern-footer .et_pb_contact_form textarea:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(82, 183, 222, 0.15) !important;
}

/* Botón de Enviar Mensaje */
body.fundecos-modern-footer .et_pb_contact_form .et_pb_contact_submit,
body.fundecos-modern-footer .et_pb_contact_form .et_pb_button {
    background-color: var(--dark-green) !important; /* Verde corporativo de FUNDECOS */
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 30px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 12px rgba(0, 140, 62, 0.2) !important;
    display: inline-block !important;
}

body.fundecos-modern-footer .et_pb_contact_form .et_pb_contact_submit:hover,
body.fundecos-modern-footer .et_pb_contact_form .et_pb_button:hover {
    background-color: #007332 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 140, 62, 0.35) !important;
}


/* --- 12. MAQUETACIÓN PREMIUM DEL FORMULARIO DE PQR (PÁGINA PQRSDS) --- */
/* Tarjeta contenedora de PQRSD's: fondo blanco limpio con sombras suaves */
body.fundecos-pqr-page #main-content {
    background-color: var(--bg-warm) !important;
    padding: 60px 0 !important;
}

body.fundecos-pqr-page .custom-form-column {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    padding: 45px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-top: 6px solid #008C3E !important; /* Borde superior verde de Fundecos */
    max-width: 750px !important; /* Tamaño adecuado y elegante */
    margin: 30px auto !important;
    box-sizing: border-box !important;
    color: var(--text-dark) !important;
}

/* Cabecera del formulario PQRSD's */
body.fundecos-pqr-page .et_pb_contact_form h2,
body.fundecos-pqr-page .et_pb_contact_form h1 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 28px !important;
    color: #008C3E !important; /* Verde de Fundecos */
    text-align: center !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

/* Descripción explicativa para el visitante */
body.fundecos-pqr-page .pqr-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin: 0 auto 20px auto !important;
    max-width: 620px !important;
    display: block !important;
}

/* Contenedor de palabras clave de PQR */
body.fundecos-pqr-page .pqr-keys-container {
    background-color: var(--bg-light) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin: 0 auto 30px auto !important;
    max-width: 620px !important;
    box-sizing: border-box !important;
}

body.fundecos-pqr-page .pqr-key-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}

body.fundecos-pqr-page .pqr-key-item:last-child {
    margin-bottom: 0 !important;
}

/* Etiquetas de colores para cada tipo */
body.fundecos-pqr-page .pqr-tag {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    color: #FFFFFF !important;
    width: 95px !important;
    text-align: center !important;
    display: inline-block !important;
    margin-right: 15px !important;
    flex-shrink: 0 !important;
}

body.fundecos-pqr-page .tag-peticion { background-color: #52B7DE !important; } /* Azul */
body.fundecos-pqr-page .tag-queja { background-color: #E1007E !important; } /* Rosado */
body.fundecos-pqr-page .tag-reclamo { background-color: #FFB400 !important; } /* Amarillo/Naranja */
body.fundecos-pqr-page .tag-sugerencia { background-color: #008C3E !important; } /* Verde */
body.fundecos-pqr-page .tag-denuncia { background-color: #1A242B !important; } /* Oscuro */

/* Descripción corta */
body.fundecos-pqr-page .pqr-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #555555 !important;
    line-height: 1.4 !important;
}

@media (max-width: 576px) {
    body.fundecos-pqr-page .pqr-key-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    body.fundecos-pqr-page .pqr-tag {
        margin-right: 0 !important;
        text-align: left !important;
        width: auto !important;
    }
}

/* Forzar color de textos de ayuda dentro de PQR */
body.fundecos-pqr-page .custom-form-column h1,
body.fundecos-pqr-page .custom-form-column h2,
body.fundecos-pqr-page .custom-form-column h3,
body.fundecos-pqr-page .custom-form-column p,
body.fundecos-pqr-page .custom-form-column label,
body.fundecos-pqr-page .custom-form-column span {
    color: #2A2A2A !important;
}

/* Campos de entrada del formulario PQRSD's - Visibilidad y contraste */
body.fundecos-pqr-page .et_pb_contact_form input,
body.fundecos-pqr-page .et_pb_contact_form textarea,
body.fundecos-pqr-page .et_pb_contact_form select {
    background-color: #F8FAF9 !important; /* Grisáceo muy suave para contraste */
    border: 1px solid rgba(0, 0, 0, 0.15) !important; /* Borde visible */
    border-radius: 8px !important;
    color: #2A2A2A !important;
    font-size: 14px !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

body.fundecos-pqr-page .et_pb_contact_form input:focus,
body.fundecos-pqr-page .et_pb_contact_form textarea:focus,
body.fundecos-pqr-page .et_pb_contact_form select:focus {
    background-color: #FFFFFF !important; /* Blanco puro al enfocar */
    border-color: #52B7DE !important; /* Azul Fundecos al enfocar */
    box-shadow: 0 0 0 3px rgba(82, 183, 222, 0.15) !important;
}

/* Ocultar el checkbox nativo para evitar el error de doble casilla */
body.fundecos-pqr-page .et_pb_contact_form input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

body.fundecos-pqr-page .et_pb_contact_field_checkbox {
    display: block !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

/* Formatear el label con alineación flexbox */
body.fundecos-pqr-page .et_pb_contact_field_checkbox label {
    display: flex !important;
    align-items: flex-start !important;
    font-size: 14px !important;
    color: #2A2A2A !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    text-align: left !important;
}

/* Estilizar el cuadro de verificación (checkbox) con los colores de Fundecos */
body.fundecos-pqr-page .et_pb_contact_field_checkbox label i {
    flex-shrink: 0 !important;
    background-color: #FFFFFF !important;
    border: 2px solid #52B7DE !important; /* Borde azul de Fundecos */
    border-radius: 4px !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    margin-right: 12px !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Cuando está seleccionado (checked), el fondo es verde corporativo con un check blanco */
body.fundecos-pqr-page .et_pb_contact_form input[type="checkbox"]:checked + label i {
    background-color: #008C3E !important; /* Verde corporativo de Fundecos */
    border-color: #008C3E !important;
}

body.fundecos-pqr-page .et_pb_contact_form input[type="checkbox"]:checked + label i:before {
    content: "\f00c" !important; /* Checkmark de FontAwesome */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

body.fundecos-pqr-page .et_pb_contact_field_options_title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #2A2A2A !important;
    display: block !important;
    margin-bottom: 10px !important;
}

body.fundecos-pqr-page .et_pb_contact_field_options_list {
    display: block !important;
    width: 100% !important;
}

body.fundecos-pqr-page .et_pb_contact_field_options_list span {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    color: #2A2A2A !important;
}

/* Botón de envío PQRSD's */
body.fundecos-pqr-page .et_pb_contact_form .et_pb_contact_submit,
body.fundecos-pqr-page .et_pb_contact_form .et_pb_button {
    background-color: #008C3E !important; /* Verde corporativo de Fundecos */
    color: #FFFFFF !important;
    border-radius: 30px !important;
    padding: 12px 35px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 12px rgba(0, 140, 62, 0.2) !important;
    border: none !important;
    display: block !important;
    margin: 20px auto 0 auto !important; /* Centrado del botón */
    width: auto !important;
    transition: all 0.3s ease !important;
}

body.fundecos-pqr-page .et_pb_contact_form .et_pb_contact_submit:hover,
body.fundecos-pqr-page .et_pb_contact_form .et_pb_button:hover {
    background-color: #007332 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 140, 62, 0.35) !important;
}

/* Ocultar el icono roto de Divi (&#x24;) en los botones de envío */
body.fundecos-modern-footer .et_pb_contact_form .et_pb_contact_submit:after,
body.fundecos-modern-footer .et_pb_contact_form .et_pb_button:after,
body.fundecos-pqr-page .et_pb_contact_form .et_pb_contact_submit:after,
body.fundecos-pqr-page .et_pb_contact_form .et_pb_button:after {
    display: none !important;
    content: none !important;
}

/* Corrección de Aspect Ratio para Videos incrustados de Google Drive */
iframe[src*="drive.google.com"] {
    width: 100% !important;
    max-width: 480px !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    margin: 15px auto !important;
}

/* --- 13. MAQUETACIÓN PREMIUM PARA LA PÁGINA RUTAS DE LA MEMORIA --- */
/* Tarjetas de Testimonios (Videos) */
body.fundecos-rutas-page .custom-video-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 25px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 30px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

body.fundecos-rutas-page .custom-video-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-blue) !important;
}

body.fundecos-rutas-page .custom-video-card h4 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    color: var(--dark-green) !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
}

/* Tarjeta del Reproductor de Audio */
body.fundecos-rutas-page .custom-audio-card {
    background: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 480px !important;
    transition: all 0.3s ease !important;
}

body.fundecos-rutas-page .custom-audio-card:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
}

body.fundecos-rutas-page .audio-card-info {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.fundecos-rutas-page .audio-card-icon {
    color: var(--accent-pink) !important;
    font-size: 16px !important;
}

body.fundecos-rutas-page .audio-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--text-dark) !important;
}

body.fundecos-rutas-page .custom-audio-element {
    width: 100% !important;
    height: 35px !important;
    outline: none !important;
}

/* Quitar viñetas y estilo de lista en audios de rutas */
body.fundecos-rutas-page ul {
    list-style: none !important;
    padding-left: 0 !important;
}

body.fundecos-rutas-page li {
    list-style-type: none !important;
    padding-left: 0 !important;
}

/* Botones de descarga tipo Fichas de Archivo */
body.fundecos-rutas-page .et_pb_button {
    background-color: #FFFFFF !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 12px 20px 12px 45px !important; /* Espacio para el icono de descarga a la izquierda */
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03) !important;
    margin-bottom: 15px !important;
    text-align: left !important;
}

body.fundecos-rutas-page .et_pb_button::before {
    content: "\f1c1" !important; /* Icono PDF en FontAwesome */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 18px !important;
    color: var(--accent-pink) !important;
    font-size: 16px !important;
}

body.fundecos-rutas-page .et_pb_button:hover {
    background-color: var(--bg-light) !important;
    border-color: var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}

/* Ocultar el icono deslizante por defecto de Divi al hacer hover */
body.fundecos-rutas-page .et_pb_button:after {
    display: none !important;
    content: none !important;
}

/* Tabla de Directorios Premium */
/* Tabla de Directorios Premium - Base Común */
body.fundecos-rutas-page table {
    border-collapse: collapse !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: var(--text-dark) !important;
}

/* Indicador visual de desplazamiento horizontal para móviles */
body.fundecos-rutas-page .table-scroll-indicator {
    display: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #52B7DE;
    background-color: rgba(82, 183, 222, 0.08);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 500;
    align-items: center;
    gap: 8px;
    border: 1px dashed rgba(82, 183, 222, 0.3);
}

body.fundecos-rutas-page .table-scroll-indicator i {
    font-size: 14px;
}

/* --- Celulares y Tablets (hasta 980px) --- */
@media (max-width: 980px) {
    body.fundecos-rutas-page .table-scroll-indicator {
        display: inline-flex; /* Mostrar solo en móviles y tablets */
    }

    body.fundecos-rutas-page table {
        width: 100% !important;
        min-width: 850px !important; /* Forzar ancho mínimo en móvil para permitir scroll */
        max-width: none !important;
        table-layout: auto !important;
    }

    /* Contenedor responsivo con desplazamiento horizontal */
    body.fundecos-rutas-page .table-responsive-wrapper,
    body.fundecos-rutas-page .et_pb_text,
    body.fundecos-rutas-page .et_pb_text_inner {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important; /* Scroll táctil fluido en iOS */
    }

    body.fundecos-rutas-page .table-responsive-wrapper {
        display: block !important;
        margin: 30px 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
        border: 1px solid var(--border-color) !important;
        overflow-y: hidden !important;
    }

    body.fundecos-rutas-page .table-responsive-wrapper table {
        margin: 0 !important;
        min-width: 850px !important;
        max-width: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Evitar que las columnas se compriman demasiado en móvil */
    body.fundecos-rutas-page table td:nth-child(1),
    body.fundecos-rutas-page table th:nth-child(1) {
        min-width: 260px !important;
        max-width: none !important;
    }
    body.fundecos-rutas-page table td:nth-child(2),
    body.fundecos-rutas-page table th:nth-child(2) {
        min-width: 130px !important;
        max-width: none !important;
    }
    body.fundecos-rutas-page table td:nth-child(3),
    body.fundecos-rutas-page table th:nth-child(3) {
        min-width: 110px !important;
        max-width: none !important;
    }
    body.fundecos-rutas-page table td:nth-child(4),
    body.fundecos-rutas-page table th:nth-child(4) {
        min-width: 240px !important;
        max-width: none !important;
        word-break: break-all !important;
    }
}

/* --- Escritorio / PC (981px en adelante) --- */
@media (min-width: 981px) {
    body.fundecos-rutas-page table {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important; /* El navegador calcula los anchos óptimos */
    }

    body.fundecos-rutas-page .table-responsive-wrapper {
        border: 1px solid var(--border-color) !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
        margin: 30px 0 !important;
        overflow: visible !important; /* No necesita scroll en PC */
    }

    body.fundecos-rutas-page .table-responsive-wrapper table {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    body.fundecos-rutas-page .et_pb_text,
    body.fundecos-rutas-page .et_pb_text_inner {
        overflow: visible !important;
    }

    /* Asignar porcentajes de ancho adecuados para PC */
    body.fundecos-rutas-page table td:nth-child(1),
    body.fundecos-rutas-page table th:nth-child(1) {
        width: 35% !important;
    }
    body.fundecos-rutas-page table td:nth-child(2),
    body.fundecos-rutas-page table th:nth-child(2) {
        width: 20% !important;
    }
    body.fundecos-rutas-page table td:nth-child(3),
    body.fundecos-rutas-page table th:nth-child(3) {
        width: 15% !important;
    }
    body.fundecos-rutas-page table td:nth-child(4),
    body.fundecos-rutas-page table th:nth-child(4) {
        width: 30% !important;
        word-break: break-all !important;
    }
}

body.fundecos-rutas-page table tr:first-child {
    background-color: #1A242B !important; /* Encabezado oscuro */
    color: #FFFFFF !important;
}

body.fundecos-rutas-page table tr:first-child td {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    padding: 14px 16px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
}

body.fundecos-rutas-page table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--border-color) !important;
    text-align: left !important;
    vertical-align: middle !important;
}

body.fundecos-rutas-page table tr:nth-child(even) {
    background-color: var(--bg-light) !important;
}

body.fundecos-rutas-page table tr:hover {
    background-color: rgba(82, 183, 222, 0.04) !important;
}

/* ==========================================================================
   13. MAQUETACIÓN PREMIUM DE LA PÁGINA DE CONTACTO (ID 2903)
   ========================================================================== */

/* Forzar la fila del Hero a ser un contenedor vertical de ancho completo */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 1200px !important;
    padding: 40px 20px !important;
}

/* Forzar a las dos columnas a ocupar el 100% del ancho */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 0 30px 0 !important;
}

/* Estilo para la primera columna (Título y mensaje de bienvenida) */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:first-child {
    text-align: center !important;
}
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:first-child .et_pb_text {
    margin: 0 auto !important;
}
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:first-child .et_pb_button {
    margin-top: 15px !important;
}

/* Estilo para la segunda columna (Contenedor de tarjetas de información) */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
    background-color: transparent !important; /* Eliminar el fondo amarillo/azul de la columna contenedora */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* El título "Información de contacto" dentro de la segunda columna */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_text {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_text h2 {
    color: #FFFFFF !important;
    font-size: 28px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
}

/* Convertir cada blurb en una tarjeta horizontal premium blanca con borde superior azul Fundecos */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb {
    flex: 1 1 calc(50% - 20px) !important; /* 2 columnas en PC (más anchas y horizontales) */
    min-width: 280px !important;
    background-color: #FFFFFF !important; /* Fondo blanco premium */
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 30px !important; /* Un poco más de relleno interno */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-top: 4px solid #52B7DE !important; /* Borde superior azul de Fundecos */
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Títulos de los blurbs en el azul oscuro corporativo de Fundecos */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb .et_pb_blurb_title,
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb h2,
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb h3 {
    color: #1A242B !important; /* Azul oscuro Fundecos */
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

/* Iconos de los blurbs con FontAwesome en verde Fundecos */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb .et-pb-icon {
    font-size: 0 !important; /* Oculta el carácter roto original (como } o v) */
    color: #008C3E !important;
}

body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb .et-pb-icon:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 32px !important;
    color: #008C3E !important;
    display: inline-block !important;
}

/* Iconos específicos para cada tarjeta de contacto usando las clases secuenciales de Divi */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb_0 .et-pb-icon:before {
    content: "\f3c5" !important; /* Dirección / Marcador de mapa */
}

body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb_1 .et-pb-icon:before {
    content: "\f017" !important; /* Reloj / Horario */
}

body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb_2 .et-pb-icon:before {
    content: "\f095" !important; /* Teléfono / Llamar */
}

body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb_3 .et-pb-icon:before {
    content: "\f24e" !important; /* Balanza / Judicial */
}


/* Textos de los blurbs en gris oscuro (incluyendo la descripción sin formato) */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb .et_pb_blurb_description,
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb p,
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_blurb span {
    color: #555555 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    word-break: break-all !important; /* Evita que correos largos se salgan del recuadro */
    word-wrap: break-word !important;
}

/* Redes sociales centradas abajo */
body.fundecos-contacto-page #main-content .et_pb_section:first-child .et_pb_row .et_pb_column:nth-child(2) .et_pb_social_media_follow {
    width: 100% !important;
    text-align: center !important;
    margin-top: 15px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
}

/* Estilos para los botones de redes sociales en el header */
body.fundecos-contacto-page .et_pb_social_media_follow li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

body.fundecos-contacto-page .et_pb_social_media_follow li.et-social-facebook a {
    background-color: #3b5998 !important; /* Facebook Blue */
}

body.fundecos-contacto-page .et_pb_social_media_follow li.et-social-youtube a {
    background-color: #ff0000 !important; /* YouTube Red */
}

body.fundecos-contacto-page .et_pb_social_media_follow li a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    opacity: 0.9 !important;
}

/* Eliminar caracteres rotos de las redes sociales y colocar iconos FontAwesome */
body.fundecos-contacto-page .et_pb_social_media_follow li a:before {
    font-family: "Font Awesome 6 Brands" !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
    display: inline-block !important;
}

body.fundecos-contacto-page .et_pb_social_media_follow li.et-social-facebook a:before {
    content: "\f39e" !important; /* facebook icon */
}

body.fundecos-contacto-page .et_pb_social_media_follow li.et-social-youtube a:before {
    content: "\f167" !important; /* youtube icon */
}

/* Tarjeta del Formulario (Escríbenos): blanca limpia con borde superior verde de Fundecos */
body.fundecos-contacto-page .custom-form-column {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    padding: 45px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-top: 6px solid #008C3E !important; /* Borde superior verde de Fundecos */
    max-width: 750px !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
}

/* Forzar títulos y textos del formulario a color oscuro para legibilidad en fondo blanco */
body.fundecos-contacto-page .custom-form-column h1,
body.fundecos-contacto-page .custom-form-column h2,
body.fundecos-contacto-page .custom-form-column h3,
body.fundecos-contacto-page .custom-form-column p,
body.fundecos-contacto-page .custom-form-column label,
body.fundecos-contacto-page .custom-form-column span {
    color: #2A2A2A !important;
}

body.fundecos-contacto-page .custom-form-column h2 {
    color: #008C3E !important; /* Título en verde Fundecos */
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    text-align: center !important;
}

/* Campos de entrada del formulario (Inputs y Textarea) - Forzando visibilidad en fondo blanco */
body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container input,
body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container textarea,
body.fundecos-contacto-page .et_pb_contact_form input,
body.fundecos-contacto-page .et_pb_contact_form textarea {
    background-color: #F8FAF9 !important; /* Grisáceo muy suave para contraste */
    border: 1px solid rgba(0, 0, 0, 0.15) !important; /* Borde nítido visible */
    color: #2A2A2A !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container input:focus,
body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container textarea:focus,
body.fundecos-contacto-page .et_pb_contact_form input:focus,
body.fundecos-contacto-page .et_pb_contact_form textarea:focus {
    border-color: #52B7DE !important; /* Azul Fundecos al enfocar */
    box-shadow: 0 0 0 3px rgba(82, 183, 222, 0.15) !important;
    background-color: #FFFFFF !important; /* Blanco puro al enfocar */
}

body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container .et_pb_contact_submit:hover,
body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container .et_pb_button_hover,
body.fundecos-contacto-page .et_pb_contact_form .et_pb_contact_submit:hover,
body.fundecos-contacto-page .et_pb_contact_form .et_pb_button:hover {
    background-color: #007332 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 140, 62, 0.35) !important;
}

/* Forzar estilos del botón de enviar en el formulario de contacto para anular las configuraciones inline de Divi */
body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container .et_pb_contact_submit,
body.fundecos-contacto-page #et_pb_contact_form_0.et_pb_contact_form_container .et_pb_button,
body.fundecos-contacto-page .et_pb_contact_form .et_pb_contact_submit,
body.fundecos-contacto-page .et_pb_contact_form .et_pb_button {
    background-color: #008C3E !important; /* Verde de Fundecos */
    background: #008C3E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 35px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 12px rgba(0, 140, 62, 0.2) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

/* Ocultar el checkbox nativo para evitar el error de doble casilla */
body.fundecos-contacto-page .et_pb_contact_form input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

body.fundecos-contacto-page .et_pb_contact_field_checkbox {
    display: block !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

/* Formatear el label con alineación flexbox */
body.fundecos-contacto-page .et_pb_contact_field_checkbox label {
    display: flex !important;
    align-items: flex-start !important;
    font-size: 14px !important;
    color: #2A2A2A !important; /* Negro/Gris en fondo blanco */
    line-height: 1.5 !important;
    cursor: pointer !important;
    text-align: left !important;
}

/* Estilizar el cuadro de verificación (checkbox) con los colores de Fundecos */
body.fundecos-contacto-page .et_pb_contact_field_checkbox label i {
    flex-shrink: 0 !important;
    background-color: #FFFFFF !important;
    border: 2px solid #52B7DE !important; /* Borde azul de Fundecos */
    border-radius: 4px !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    margin-right: 12px !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Cuando está seleccionado (checked), el fondo es verde corporativo con un check blanco */
body.fundecos-contacto-page .et_pb_contact_form input[type="checkbox"]:checked + label i {
    background-color: #008C3E !important; /* Verde corporativo de Fundecos */
    border-color: #008C3E !important;
}

body.fundecos-contacto-page .et_pb_contact_form input[type="checkbox"]:checked + label i:before {
    content: "\f00c" !important; /* Checkmark de FontAwesome */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

body.fundecos-contacto-page .et_pb_contact_field_options_title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #2A2A2A !important; /* Negro/Gris en fondo blanco */
    display: block !important;
    margin-bottom: 10px !important;
}

body.fundecos-contacto-page .et_pb_contact_field_options_list {
    display: block !important;
    width: 100% !important;
}

body.fundecos-contacto-page .et_pb_contact_field_options_list span {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    color: #2A2A2A !important; /* Negro/Gris en fondo blanco */
}

/* ==========================================================================
   14. ESTILIZACIÓN PREMIUM DEL SUBMENÚ Y REEMPLAZO DE CARET ("3")
   ========================================================================== */

/* Eliminar el carácter "3" de Divi y colocar un chevron elegante de FontAwesome */
body #top-menu li.menu-item-has-children > a:first-child:after,
body #top-menu li.menu-item-has-children > a:after,
body .et-menu > li.menu-item-has-children > a:first-child:after {
    content: "\f078" !important; /* Icono de flecha hacia abajo */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 10px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    margin-left: 8px !important;
    transition: transform 0.3s ease !important;
    color: inherit !important;
}

/* Rotación interactiva del chevron en hover */
body #top-menu li.menu-item-has-children:hover > a:first-child:after,
body #top-menu li.menu-item-has-children:hover > a:after,
body .et-menu > li.menu-item-has-children:hover > a:first-child:after {
    transform: rotate(180deg) !important;
}

/* Diseño Premium para la caja contenedora del Submenú */
body #top-menu li ul.sub-menu,
body .nav li ul.sub-menu,
body .et-menu li ul.sub-menu {
    background-color: #FFFFFF !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-top: 4px solid #52B7DE !important; /* Línea superior en azul Fundecos */
    padding: 10px 0 !important;
    width: 200px !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    transform: translateY(10px) !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Mostrar el submenú con transición suave en hover */
body #top-menu li.menu-item-has-children:hover ul.sub-menu,
body .nav li.menu-item-has-children:hover ul.sub-menu,
body .et-menu li.menu-item-has-children:hover ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Estilo premium para los enlaces del submenú */
body #top-menu li ul.sub-menu li a,
body .nav li ul.sub-menu li a,
body .et-menu li ul.sub-menu li a {
    padding: 12px 20px !important;
    color: #2C3E50 !important; /* Texto oscuro para máxima legibilidad */
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: left !important; /* Forzar alineación a la izquierda */
    display: block !important;
    width: auto !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
    border-bottom: none !important;
}

/* Efecto hover interactivo en los enlaces del submenú */
body #top-menu li ul.sub-menu li a:hover,
body .nav li ul.sub-menu li a:hover,
body .et-menu li ul.sub-menu li a:hover {
    background-color: rgba(82, 183, 222, 0.08) !important; /* Fondo azul suave */
    color: #008C3E !important; /* Texto en verde corporativo */
    padding-left: 25px !important; /* Desplazamiento interactivo sutil */
}

/* Quitar espaciados molestos heredados de Divi */
body #top-menu li ul.sub-menu li,
body .nav li ul.sub-menu li,
body .et-menu li ul.sub-menu li {
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   15. REDISEÑO DEL BOTÓN "ENVIAR UN MENSAJE" (HERO SECCIÓN DE CONTACTO)
   ========================================================================== */

/* Cambiar el fondo amarillo feo por un gradiente corporativo verde y redondearlo */
body.fundecos-contacto-page .et_pb_button_0_wrapper .et_pb_button_0 {
    background-color: #008C3E !important; /* Verde corporativo de Fundecos */
    background: linear-gradient(135deg, #008C3E 0%, #9CBC3B 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 30px !important; /* Bordes redondeados modernos */
    padding: 12px 32px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 15px rgba(0, 140, 62, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

body.fundecos-contacto-page .et_pb_button_0_wrapper .et_pb_button_0:hover {
    background: linear-gradient(135deg, #007332 0%, #008C3E 100%) !important; /* Invertir en hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 140, 62, 0.35) !important;
}

/* Ocultar el data-icon de Divi que se dibuja erróneamente en el botón */
body.fundecos-contacto-page .et_pb_button_0_wrapper .et_pb_button_0:after {
    display: none !important;
    content: none !important;
}

/* Colocar un icono correcto y centrado de FontAwesome (flecha hacia la derecha) */
body.fundecos-contacto-page .et_pb_button_0_wrapper .et_pb_button_0::after {
    content: "\f061" !important; /* Icono de flecha hacia la derecha */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    color: #FFFFFF !important;
    display: inline-block !important;
    margin-left: 8px !important;
    transition: transform 0.3s ease !important;
}

/* Desplazamiento del icono al hacer hover en el botón */
body.fundecos-contacto-page .et_pb_button_0_wrapper .et_pb_button_0:hover::after {
    transform: translateX(4px) !important;
}

/* ==========================================================================
   16. MAPA DEL SITIO PERSONALIZADO (REEMPLAZA WP-SITEMAP-PAGE)
   ========================================================================== */

.fundecos-sitemap-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 40px !important;
    margin: 30px 0 !important;
    font-family: 'Inter', sans-serif !important;
}

.fundecos-sitemap-section {
    background-color: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-top: 4px solid #008C3E !important; /* Borde superior verde */
}

.fundecos-sitemap-section:nth-child(2) {
    border-top-color: #52B7DE !important; /* Segundo bloque con borde superior azul */
}

.fundecos-sitemap-section h3 {
    font-family: 'Outfit', sans-serif !important;
    color: #1A242B !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid rgba(0,0,0,0.05) !important;
    padding-bottom: 10px !important;
}

.fundecos-sitemap-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.fundecos-sitemap-list li {
    margin-bottom: 12px !important;
    position: relative !important;
    padding-left: 24px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Icono de viñeta personalizado (circulo de check en azul/verde Fundecos) */
.fundecos-sitemap-list li::before {
    content: "\f058" !important; /* fa-check-circle */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #52B7DE !important; /* Azul Fundecos */
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    font-size: 13px !important;
}

.fundecos-sitemap-section:nth-child(1) .fundecos-sitemap-list li::before {
    color: #008C3E !important; /* Primer bloque con check verde */
}

.fundecos-sitemap-list a {
    color: #2C3E50 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
}

.fundecos-sitemap-list a:hover {
    color: #008C3E !important; /* Verde en hover */
    padding-left: 5px !important; /* Desplazamiento interactivo sutil */
}

/* ==========================================================================
   17. BARRA DE ACCESIBILIDAD PERSONALIZADA (REEMPLAZA POJO-ACCESSIBILITY)
   ========================================================================== */

#fundecos-accessibility-widget {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;
    font-family: 'Inter', sans-serif !important;
}

#fundecos-accessibility-toggle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background-color: #008C3E !important; /* Verde de Fundecos */
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 140, 62, 0.4) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    outline: none !important;
}

#fundecos-accessibility-toggle:hover {
    transform: scale(1.08) !important;
    background-color: #52B7DE !important; /* Azul de Fundecos en hover */
    box-shadow: 0 6px 20px rgba(82, 183, 222, 0.5) !important;
}

#fundecos-accessibility-panel {
    position: absolute !important;
    bottom: 65px !important;
    left: 0 !important;
    width: 260px !important;
    background-color: #FFFFFF !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Transiciones para abrir y cerrar el panel de accesibilidad */
#fundecos-accessibility-widget.accessibility-widget-closed #fundecos-accessibility-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) scale(0.95) !important;
    pointer-events: none !important;
}

#fundecos-accessibility-widget.accessibility-widget-open #fundecos-accessibility-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.accessibility-panel-header {
    background-color: #1A242B !important; /* Azul oscuro Fundecos */
    color: #FFFFFF !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.accessibility-panel-header h4 {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
}

#fundecos-accessibility-close {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.7) !important;
    font-size: 22px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    outline: none !important;
}

#fundecos-accessibility-close:hover {
    color: #FFFFFF !important;
}

.accessibility-panel-body {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    max-height: 380px !important;
    overflow-y: auto !important;
}

.access-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 10px 15px !important;
    background-color: #F8FAF9 !important; /* Fondo gris suave */
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 8px !important;
    color: #2C3E50 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.access-btn i {
    font-size: 14px !important;
    color: #52B7DE !important; /* Iconos en azul Fundecos */
    width: 16px !important;
    text-align: center !important;
}

.access-btn:hover {
    background-color: rgba(82, 183, 222, 0.08) !important;
    border-color: #52B7DE !important;
}

/* Botón activo */
.access-btn.active {
    background-color: #008C3E !important; /* Verde corporativo si está activo */
    color: #FFFFFF !important;
    border-color: #008C3E !important;
}

.access-btn.active i {
    color: #FFFFFF !important;
}

/* Botón Restablecer en color fucsia suave */
.reset-btn {
    background-color: rgba(225, 0, 126, 0.05) !important;
    color: #E1007E !important;
    border-color: rgba(225, 0, 126, 0.1) !important;
    margin-top: 5px !important;
}

.reset-btn i {
    color: #E1007E !important;
}

.reset-btn:hover {
    background-color: #E1007E !important;
    color: #FFFFFF !important;
    border-color: #E1007E !important;
}

.reset-btn:hover i {
    color: #FFFFFF !important;
}

/* --- CLASES DE COMPORTAMIENTO DE ACCESIBILIDAD APLICADAS AL BODY --- */

/* Escala de Grises */
body.access-grayscale {
    filter: grayscale(100%) !important;
}

/* Subrayado de Enlaces */
body.access-underline a {
    text-decoration: underline !important;
}

/* Fuente Legible */
body.access-readable-font,
body.access-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Ajustes de Aumento de Texto */
body.access-zoom-1, body.access-zoom-1 p, body.access-zoom-1 span, body.access-zoom-1 a, body.access-zoom-1 li, body.access-zoom-1 h1, body.access-zoom-1 h2, body.access-zoom-1 h3, body.access-zoom-1 h4, body.access-zoom-1 td { font-size: 112% !important; }
body.access-zoom-2, body.access-zoom-2 p, body.access-zoom-2 span, body.access-zoom-2 a, body.access-zoom-2 li, body.access-zoom-2 h1, body.access-zoom-2 h2, body.access-zoom-2 h3, body.access-zoom-2 h4, body.access-zoom-2 td { font-size: 125% !important; }
body.access-zoom-3, body.access-zoom-3 p, body.access-zoom-3 span, body.access-zoom-3 a, body.access-zoom-3 li, body.access-zoom-3 h1, body.access-zoom-3 h2, body.access-zoom-3 h3, body.access-zoom-3 h4, body.access-zoom-3 td { font-size: 138% !important; }
body.access-zoom-minus-1, body.access-zoom-minus-1 p, body.access-zoom-minus-1 span, body.access-zoom-minus-1 a, body.access-zoom-minus-1 li, body.access-zoom-minus-1 h1, body.access-zoom-minus-1 h2, body.access-zoom-minus-1 h3, body.access-zoom-minus-1 h4, body.access-zoom-minus-1 td { font-size: 90% !important; }

/* Contraste Alto (Fondo negro y texto amarillo de alta visibilidad) */
body.access-contrast {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #FFFF00 !important;
}

body.access-contrast #page-container,
body.access-contrast #main-content,
body.access-contrast #main-header,
body.access-contrast #top-header,
body.access-contrast .et_pb_section,
body.access-contrast .et_pb_row,
body.access-contrast .et_pb_column,
body.access-contrast .et_pb_blurb,
body.access-contrast .et_pb_text,
body.access-contrast div,
body.access-contrast section,
body.access-contrast header,
body.access-contrast footer,
body.access-contrast article {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #FFFF00 !important;
    border-color: #FFFF00 !important;
    box-shadow: none !important;
}

body.access-contrast p,
body.access-contrast span,
body.access-contrast li,
body.access-contrast td,
body.access-contrast th,
body.access-contrast h1,
body.access-contrast h2,
body.access-contrast h3,
body.access-contrast h4,
body.access-contrast h5,
body.access-contrast h6,
body.access-contrast label,
body.access-contrast i {
    color: #FFFF00 !important;
    background-color: transparent !important;
}

body.access-contrast a {
    color: #00FFFF !important; /* Enlaces en color cian de alto contraste */
    text-decoration: underline !important;
}



/* --- AJUSTES HEADER Y ELIMINACIÓN DE LÍNEA DE DIVI --- */
#main-content .container::before,
body #main-content .container::before {
    display: none !important;
}

.fundecos-modern-home .section-header-with-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto 60px auto;
}

.fundecos-modern-home .header-text-group {
    flex: 1;
}

.fundecos-modern-home .header-logo-group {
    flex-shrink: 0;
}

.fundecos-modern-home .anniversary-header-logo {
    max-width: 170px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
    padding: 10px;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .fundecos-modern-home .section-header-with-logo {
        flex-direction: column;
        text-align: center;
    }
    .fundecos-modern-home .anniversary-header-logo {
        max-width: 140px;
    }
}

/* --- AUMENTAR TAMAÑO DE CONMEMORACIÓN ESPECIAL --- */
.fundecos-modern-home .section-pretitle {
    font-size: 26px !important;
    letter-spacing: 3px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}