
        /* --- VARIABLES --- */
        :root {
            --primary-blue: #0b2545; 
            --accent-gold: #aa7c33;  
            --text-dark: #333333;
            --bg-light: #f5f5f3;    
            --white: #ffffff;
            --font-serif: 'Marcellus', serif;
            --font-sans: 'Montserrat', sans-serif;
        }

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

        body {
            font-family: var(--font-sans);
            color: var(--text-dark);
            background-color: var(--white);
            line-height: 1.5;
        }

        /* --- CABECERA --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 4%;
            background-color: var(--white);
            position: relative;
            z-index: 100;
        }

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

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

        .logo-text h1 {
            font-family: var(--font-serif);
            font-size: 24px;
            color: var(--primary-blue);
            letter-spacing: 1px;
            line-height: 1;
        }

        .logo-text p {
            font-size: 11px;
            color: var(--text-dark);
            font-weight: 500;
            margin-top: 2px;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 20px;
            align-items: center; /* Mantiene los items alineados verticalmente al centro */
        }

        nav ul li a {
            text-decoration: none;
            color: var(--primary-blue);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
            transition: color 0.2s ease;
            text-transform: uppercase;
            /* AQUÍ ESTÁ LA MAGIA PARA CENTRAR EL TEXTO EN DOS LÍNEAS */
            display: block; 
            text-align: center;
            line-height: 1.2; 
        }

        nav ul li a:hover {
            color: var(--accent-gold);
        }

        /* Botón de donativo */
        .btn-donate {
            background-color: var(--accent-gold);
            color: var(--white);
            padding: 8px 14px; 
            border-radius: 4px;
            text-decoration: none;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: background-color 0.2s ease;
            text-transform: uppercase;
        }

        .btn-donate:hover {
            background-color: #8a6225;
        }

        /* --- SECCIÓN HERO --- */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 120px 8%;
    overflow: hidden;
    background-color: var(--primary-blue);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.4s ease-in-out, transform 5s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(11, 37, 69, 0.92) 0%,
            rgba(11, 37, 69, 0.76) 42%,
            rgba(11, 37, 69, 0.34) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    color: var(--white);
}

        .hero-content h1,
        .hero-content h2 {
            font-family: var(--font-serif);
            font-size: 46px;
            line-height: 1.2;
            font-weight: 400;
        }

        .hero-content h1::after,
        .hero-content h2::after {
            content: '';
            display: block;
            width: 250px;
            height: 3px;
            background-color: var(--accent-gold);
            margin-top: 25px; 
            margin-bottom: 25px; 
        }

        .hero-content p {
            font-size: 15px;
            margin-bottom: 35px;
            font-weight: 500;
            max-width: 520px;
        }

        .btn-hero {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background-color: var(--primary-blue);
            color: var(--white);
            padding: 14px 28px;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            border-radius: 4px;
            transition: opacity 0.2s ease;
        }

        .btn-hero:hover {
            opacity: 0.95;
        }

        /* --- BARRA DE ACCESOS RÁPIDOS --- */
        .features-container {
            max-width: 1250px;
            margin: -65px auto 0 auto;
            position: relative;
            z-index: 5;
            padding: 0 20px;
        }

        .features-bar {
            background-color: var(--white);
            border-radius: 6px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            padding: 28px 10px;
        }

        .feature-item {
            text-align: left; 
            padding: 0 15px;
            border-right: 1px solid #e8e8e8;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .feature-item:last-child {
            border-right: none;
        }

        .feature-title-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            min-height: 38px;
        }

        .feature-item i {
            color: var(--accent-gold);
            font-size: 20px;
        }

        .feature-item h3 {
            font-size: 12px;
            color: var(--primary-blue);
            font-weight: 700;
            text-transform: uppercase;
            line-height: 1.2;
        }

        .feature-item p {
            font-size: 11px;
            color: #666666;
            margin-left: 30px; 
        }

        /* --- SECCIÓN INFERIOR --- */
        .bottom-section {
            background-color: var(--bg-light);
            padding: 100px 8% 80px 8%;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px;
            position: relative;
            overflow: hidden;
        }

        .bottom-col h4 {
            font-size: 14px;
            color: var(--primary-blue);
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 12px;
        }

        .bottom-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 150px; 
            height: 2px;
            background-color: var(--accent-gold);
        }

        .bottom-col p {
            font-size: 13px;
            color: #555555;
            margin-bottom: 25px;
        }

        .link-more {
            color: var(--accent-gold);
            text-decoration: none;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.2s ease;
        }

        .link-more:hover {
            gap: 10px;
        }

        .event-box {
            display: flex;
            gap: 15px;
            align-items: flex-start;
            margin-bottom: 25px;
        }

        .event-date {
            background-color: var(--primary-blue);
            color: var(--white);
            padding: 12px 10px;
            border-radius: 4px;
            text-align: center;
            min-width: 58px;
        }

        .event-date .day {
            font-size: 22px;
            font-weight: 700;
            display: block;
            line-height: 1;
        }

        .event-date .month {
            font-size: 10px;
            text-transform: uppercase;
            font-weight: 600;
            display: block;
            margin-top: 2px;
        }

        .event-details h5 {
            font-size: 13px;
            color: var(--primary-blue);
            font-weight: 700;
            margin-bottom: 4px;
        }

        .event-details p {
            font-size: 12px;
            margin-bottom: 0;
            color: #555555;
        }

        .news-box {
            display: flex;
            gap: 15px;
            align-items: center;
            margin-bottom: 25px;
        }

        .news-img {
            width: 90px;
            height: 65px;
            object-fit: cover;
            border-radius: 4px;
            background-color: #ddd;
        }

        .watermark-bg {
            position: absolute;
            bottom: -20px;
            right: 4%;
            width: 180px;
            height: 180px;
            opacity: 0.04;
            pointer-events: none;
        }

        /* --- RESPONSIVIDAD --- */
        @media (max-width: 1150px) {
            nav ul { gap: 12px; }
            nav ul li a { font-size: 10px; }
        }

        @media (max-width: 1024px) {
            nav { display: none; } 
            .features-bar {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
            .feature-item {
                border-right: none;
                margin-bottom: 10px;
            }
            .bottom-section {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 600px) {
            .features-bar {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            .hero-content h1,
            .hero-content h2 {
                font-size: 32px;
            }
        }

        /* --- SECCIÓN SOBRE CEHISEF --- */
.about-cehisef {
    background-color: var(--white);
    padding: 110px 8% 90px 8%;
}

.about-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.section-label {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
}

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    line-height: 1.25;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 25px;
    max-width: 780px;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 180px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-top: 22px;
}

.about-content p {
    font-size: 14px;
    color: #555555;
    margin-bottom: 18px;
    max-width: 760px;
}

.about-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn-about-primary,
.btn-about-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-about-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 24px;
}

.btn-about-primary:hover {
    opacity: 0.95;
}

.btn-about-secondary {
    color: var(--primary-blue);
    border: 1px solid rgba(11, 37, 69, 0.25);
    padding: 13px 22px;
}

.btn-about-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.about-card {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-gold);
    padding: 38px 34px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.about-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.about-card h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 20px;
}

.about-card ul {
    list-style: none;
}

.about-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: #555555;
    margin-bottom: 16px;
    line-height: 1.5;
}

.about-card ul li i {
    color: var(--accent-gold);
    font-size: 13px;
    margin-top: 4px;
}

/* --- RESPONSIVIDAD SOBRE CEHISEF --- */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .about-cehisef {
        padding: 80px 6% 65px 6%;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-actions {
        flex-direction: column;
    }

    .btn-about-primary,
    .btn-about-secondary {
        justify-content: center;
        width: 100%;
    }

    .about-card {
        padding: 30px 24px;
    }
}

/* --- SECCIÓN LÍNEAS DE TRABAJO --- */
.work-lines {
    background-color: var(--bg-light);
    padding: 95px 8% 100px 8%;
}

.work-lines-container {
    max-width: 1250px;
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    line-height: 1.25;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 22px;
}

.section-heading h2::after {
    content: '';
    display: block;
    width: 180px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-top: 22px;
}

.section-heading p {
    font-size: 14px;
    color: #555555;
    max-width: 720px;
}

.work-lines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.work-line-card {
    background-color: var(--white);
    padding: 34px 28px;
    border-radius: 6px;
    border-top: 4px solid var(--accent-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-line-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.075);
}

.work-line-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: rgba(11, 37, 69, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 24px;
}

.work-line-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 15px;
}

.work-line-card p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 24px;
}

.work-line-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap 0.2s ease;
}

.work-line-link:hover {
    gap: 11px;
}

/* --- RESPONSIVIDAD LÍNEAS DE TRABAJO --- */
@media (max-width: 1150px) {
    .work-lines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .work-lines {
        padding: 80px 6% 75px 6%;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .work-lines-grid {
        grid-template-columns: 1fr;
    }

    .work-line-card {
        padding: 30px 24px;
    }
}
/* --- SECCIÓN PROYECTOS DESTACADOS --- */
.featured-projects {
    padding: 100px 8% 105px 8%;
    position: relative;
    overflow: hidden;
}

.featured-projects-blue {
    background:
        radial-gradient(circle at top right, rgba(170, 124, 51, 0.18), transparent 28%),
        linear-gradient(135deg, #0b2545 0%, #071a33 100%);
}

.featured-projects-blue::before {
    content: '';
    position: absolute;
    top: 75px;
    right: -120px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.featured-projects-blue::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -110px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.featured-projects-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.projects-heading {
    margin-bottom: 60px;
}

.projects-heading-light h2 {
    color: var(--white);
}

.projects-heading-light p {
    color: rgba(255, 255, 255, 0.76);
}

.projects-heading-light h2::after {
    background-color: var(--accent-gold);
}

.projects-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 34px;
}

/* Proyecto principal */
.project-main-card {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    min-height: 430px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
    animation: projectFadeUp 0.8s ease both;
}

.project-education-card {
    border: 1px solid rgba(170, 124, 51, 0.25);
}

.project-image {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    height: 100%;
}

.project-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.project-main-card:hover .project-image img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 37, 69, 0.06), rgba(11, 37, 69, 0.62));
}

.project-status {
    position: absolute;
    top: 22px;
    left: 22px;
    background-color: var(--accent-gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.project-main-content {
    padding: 48px 42px;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-category {
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.project-main-content h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.project-main-content p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 26px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.project-meta span {
    font-size: 11px;
    color: var(--primary-blue);
    background-color: rgba(11, 37, 69, 0.06);
    border: 1px solid rgba(11, 37, 69, 0.08);
    padding: 8px 10px;
    border-radius: 50px;
}

.project-meta i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.project-btn {
    width: fit-content;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
}

.project-btn:hover {
    background-color: var(--accent-gold);
    color: var(--white);
    gap: 13px;
}

/* Proyectos pequeños */
.project-side-list {
    display: grid;
    gap: 24px;
}

.project-small-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: projectFadeUp 0.8s ease both;
}

.project-small-card:nth-child(2) {
    animation-delay: 0.12s;
}

.project-small-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.project-small-img {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.project-small-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.project-small-card:hover .project-small-img img {
    transform: scale(1.09);
    filter: saturate(1.08);
}

.project-small-content {
    padding: 26px 24px;
}

.project-small-content h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.2;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 12px;
}

.project-small-content p {
    font-size: 12px;
    color: #555555;
    margin-bottom: 18px;
}

.project-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap 0.2s ease;
}

.project-link:hover {
    gap: 11px;
}

/* Animación */
@keyframes projectFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividad */
@media (max-width: 1100px) {
    .projects-layout {
        grid-template-columns: 1fr;
    }

    .project-main-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 320px;
    }
}

@media (max-width: 700px) {
    .featured-projects {
        padding: 80px 6% 80px 6%;
    }

    .project-main-content {
        padding: 36px 28px;
    }

    .project-main-content h3 {
        font-size: 27px;
    }

    .project-small-card {
        grid-template-columns: 1fr;
    }

    .project-small-img {
        height: 210px;
    }
}
/* --- SECCIÓN PRÓXIMOS EVENTOS --- */
.upcoming-events {
    background-color: var(--bg-light);
    padding: 100px 8% 105px 8%;
    position: relative;
    overflow: hidden;
}

.upcoming-events::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -90px;
    width: 250px;
    height: 250px;
    background-color: rgba(170, 124, 51, 0.08);
    border-radius: 50%;
}

.upcoming-events-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.events-heading {
    margin-bottom: 55px;
}

.events-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: stretch;
}

/* Evento principal */
.event-featured-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 145px 1fr;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
    border-left: 5px solid var(--accent-gold);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.1);
}

.event-featured-date {
    background:
        linear-gradient(135deg, rgba(11, 37, 69, 0.96), rgba(7, 26, 51, 1));
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 330px;
    position: relative;
}

.event-featured-date::after {
    content: '';
    width: 75px;
    height: 75px;
    border: 1px solid rgba(170, 124, 51, 0.45);
    border-radius: 50%;
    position: absolute;
    bottom: 32px;
    opacity: 0.55;
}

.event-day {
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.event-featured-content {
    padding: 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-tag {
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.event-featured-content h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.2;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 18px;
}

.event-featured-content p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 24px;
}

.event-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 30px;
}

.event-info-list span {
    font-size: 11px;
    color: var(--primary-blue);
    background-color: rgba(11, 37, 69, 0.06);
    padding: 8px 10px;
    border-radius: 50px;
}

.event-info-list i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.event-btn {
    width: fit-content;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
}

.event-btn:hover {
    background-color: var(--accent-gold);
    gap: 13px;
}

/* Eventos secundarios */
.events-side-list {
    display: grid;
    gap: 18px;
}

.event-mini-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.event-mini-card:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.075);
}

.event-mini-date {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-mini-date span {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.event-mini-date small {
    font-size: 10px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-top: 4px;
}

.event-mini-content h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.25;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 8px;
}

.event-mini-content p {
    font-size: 12px;
    color: #555555;
    margin-bottom: 0;
}

.event-mini-content p i {
    color: var(--accent-gold);
    margin-right: 5px;
}

.events-calendar-link {
    margin-top: 8px;
    background-color: transparent;
    border: 1px solid rgba(11, 37, 69, 0.2);
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 20px;
    border-radius: 6px;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.events-calendar-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    gap: 12px;
}

/* Responsividad eventos */
@media (max-width: 1050px) {
    .events-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .upcoming-events {
        padding: 80px 6% 80px 6%;
    }

    .event-featured-card {
        grid-template-columns: 1fr;
    }

    .event-featured-date {
        min-height: 150px;
    }

    .event-featured-date::after {
        display: none;
    }

    .event-featured-content {
        padding: 34px 28px;
    }

    .event-featured-content h3 {
        font-size: 27px;
    }

    .event-mini-card {
        grid-template-columns: 1fr;
    }

    .event-mini-date {
        width: 76px;
    }
}
/* --- SECCIÓN INVESTIGACIONES Y ARTÍCULOS RECIENTES --- */
.recent-articles {
    background-color: var(--white);
    padding: 100px 8% 105px 8%;
    position: relative;
    overflow: hidden;
}

.recent-articles::before {
    content: '';
    position: absolute;
    top: 90px;
    left: -120px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(170, 124, 51, 0.16);
    border-radius: 50%;
}

.recent-articles-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.articles-heading {
    margin-bottom: 55px;
}

.articles-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: stretch;
}

/* Artículo principal */
.article-featured-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.09);
}

.article-featured-img {
    height: 280px;
    position: relative;
    overflow: hidden;
    background-color: #eef1f4;
}

.article-featured-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.article-featured-card:hover .article-featured-img img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 8px 12px;
    border-radius: 50px;
}

.article-featured-content {
    padding: 38px 38px 40px 38px;
}

.article-category {
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 13px;
}

.article-featured-content h3 {
    font-family: var(--font-serif);
    font-size: 31px;
    line-height: 1.22;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.article-meta span {
    font-size: 11px;
    color: #666666;
}

.article-meta i {
    color: var(--accent-gold);
    margin-right: 5px;
}

.article-featured-content p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 28px;
}

.article-btn {
    width: fit-content;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
}

.article-btn:hover {
    background-color: var(--accent-gold);
    gap: 13px;
}

/* Lista secundaria */
.article-list {
    display: grid;
    gap: 18px;
}

.article-small-card {
    background-color: var(--white);
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-left: 4px solid var(--accent-gold);
    border-radius: 10px;
    padding: 26px 26px 24px 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-small-card:hover {
    transform: translateX(6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
    border-color: rgba(170, 124, 51, 0.45);
}

.article-small-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.25;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 12px;
}

.article-small-card p {
    font-size: 12px;
    color: #555555;
    margin-bottom: 18px;
}

.article-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap 0.2s ease;
}

.article-link:hover {
    gap: 11px;
}

/* Enlace general */
.articles-footer {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.articles-all-link {
    color: var(--primary-blue);
    border: 1px solid rgba(11, 37, 69, 0.2);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.articles-all-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    gap: 12px;
}

/* Responsividad artículos */
@media (max-width: 1050px) {
    .articles-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .recent-articles {
        padding: 80px 6% 80px 6%;
    }

    .article-featured-img {
        height: 230px;
    }

    .article-featured-content {
        padding: 32px 26px;
    }

    .article-featured-content h3 {
        font-size: 27px;
    }

    .article-small-card:hover {
        transform: translateY(-4px);
    }
}
/* --- SECCIÓN ARCHIVO HISTÓRICO Y BIBLIOTECA CULTURAL --- */
.cultural-archive {
    background-color: var(--bg-light);
    padding: 105px 8% 110px 8%;
    position: relative;
    overflow: hidden;
}

.cultural-archive::before {
    content: '';
    position: absolute;
    top: 70px;
    right: -120px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(170, 124, 51, 0.16);
    border-radius: 50%;
}

.cultural-archive::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -110px;
    width: 310px;
    height: 310px;
    background-color: rgba(11, 37, 69, 0.035);
    border-radius: 50%;
}

.cultural-archive-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.archive-intro {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 55px;
    align-items: center;
    margin-bottom: 60px;
}

.archive-text h2 {
    font-family: var(--font-serif);
    font-size: 38px;
    line-height: 1.22;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 24px;
}

.archive-text h2::after {
    content: '';
    display: block;
    width: 190px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-top: 24px;
}

.archive-text p {
    font-size: 14px;
    color: #555555;
    margin-bottom: 18px;
    max-width: 680px;
}

.archive-main-btn {
    margin-top: 18px;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
}

.archive-main-btn:hover {
    background-color: var(--accent-gold);
    gap: 13px;
}

/* Imagen principal */
.archive-image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 380px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.archive-image-card img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    transition: transform 0.9s ease, filter 0.9s ease;
}

.archive-image-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.archive-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 37, 69, 0.04),
        rgba(11, 37, 69, 0.72)
    );
    z-index: 1;
}

.archive-image-overlay {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 30px;
    z-index: 2;
    color: var(--white);
}

.archive-image-overlay span {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.archive-image-overlay strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 400;
}

/* Tarjetas de recursos */
.archive-resources-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.archive-resource-card {
    grid-column: span 2;
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px 26px;
    border: 1px solid rgba(11, 37, 69, 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.archive-resource-card::after {
    content: '';
    position: absolute;
    top: -45px;
    right: -45px;
    width: 100px;
    height: 100px;
    background-color: rgba(170, 124, 51, 0.08);
    border-radius: 50%;
    transition: transform 0.35s ease;
}

.archive-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
    border-color: rgba(170, 124, 51, 0.35);
}

.archive-resource-card:hover::after {
    transform: scale(1.4);
}

.archive-resource-featured {
    background:
        linear-gradient(135deg, #0b2545 0%, #071a33 100%);
    color: var(--white);
    border-color: rgba(170, 124, 51, 0.45);
}
 
 

.archive-resource-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(11, 37, 69, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.archive-resource-featured .archive-resource-icon {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--accent-gold);
}

.archive-resource-featured h3 {
    color: var(--white) !important;
}

.archive-resource-featured p {
    color: rgba(255, 255, 255, 0.82) !important;
}

.archive-resource-featured .archive-resource-link {
    color: var(--accent-gold);
}

.archive-resource-featured .archive-resource-link:hover {
    color: var(--white);
}

.archive-resource-card h3 {
    font-family: var(--font-serif);
    font-size: 23px;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.archive-resource-card p {
    font-size: 12px;
    color: #555555;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.archive-resource-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap 0.2s ease;
    position: relative;
    z-index: 2;
}

.archive-resource-link:hover {
    gap: 11px;
}

/* Responsividad archivo cultural */
@media (max-width: 1100px) {
    .archive-intro {
        grid-template-columns: 1fr;
    }

    .archive-resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-resource-card {
        grid-column: span 1;
    }
}

@media (max-width: 700px) {
    .cultural-archive {
        padding: 80px 6% 85px 6%;
    }

    .archive-text h2 {
        font-size: 29px;
    }

    .archive-image-card,
    .archive-image-card img {
        min-height: 300px;
    }

    .archive-image-overlay {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .archive-image-overlay strong {
        font-size: 24px;
    }

    .archive-resources-grid {
        grid-template-columns: 1fr;
    }

    .archive-resource-card {
        padding: 28px 24px;
    }
}
/* --- SECCIÓN APOYA NUESTRO TRABAJO --- */
.support-work {
    background:
        radial-gradient(circle at top left, rgba(170, 124, 51, 0.18), transparent 30%),
        linear-gradient(135deg, #0b2545 0%, #071a33 100%);
    padding: 100px 8% 105px 8%;
    position: relative;
    overflow: hidden;
}

.support-work::before {
    content: '';
    position: absolute;
    top: 70px;
    right: -120px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.support-work::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -120px;
    width: 310px;
    height: 310px;
    background-color: rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.support-work-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.support-main h2 {
    font-family: var(--font-serif);
    font-size: 38px;
    line-height: 1.22;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 24px;
}

.support-main h2::after {
    content: '';
    display: block;
    width: 190px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-top: 24px;
}

.support-main p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 30px;
    max-width: 650px;
}

.support-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.support-btn-primary,
.support-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.support-btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 14px 24px;
}

.support-btn-primary:hover {
    background-color: #8a6225;
    gap: 13px;
}

.support-btn-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 13px 22px;
}

.support-btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Opciones de apoyo */
.support-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.support-option-card {
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 26px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.support-option-icon {
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(11, 37, 69, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.support-option-card h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 1.2;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 10px;
}

.support-option-card p {
    font-size: 12px;
    color: #555555;
    margin-bottom: 0;
}

/* Responsividad apoyo */
@media (max-width: 1050px) {
    .support-work-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 700px) {
    .support-work {
        padding: 80px 6% 85px 6%;
    }

    .support-main h2 {
        font-size: 29px;
    }

    .support-actions {
        flex-direction: column;
    }

    .support-btn-primary,
    .support-btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .support-options {
        grid-template-columns: 1fr;
    }

    .support-option-card {
        padding: 24px 22px;
    }
}
/* --- SECCIÓN ALIADOS INSTITUCIONALES: LOGOS --- */
.allies-logo-section {
    background-color: var(--white);
    padding: 85px 8% 90px 8%;
    position: relative;
    overflow: hidden;
}

.allies-logo-section::before {
    content: '';
    position: absolute;
    top: 55px;
    right: -110px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(170, 124, 51, 0.14);
    border-radius: 50%;
}

.allies-logo-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.allies-logo-heading {
    text-align: center;
    margin: 0 auto 46px auto;
}

.allies-logo-heading h2::after {
    margin-left: auto;
    margin-right: auto;
}

.allies-logo-heading p {
    margin-left: auto;
    margin-right: auto;
}

/* Carrusel de logos */
.logos-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 8px 0;
}

.logos-carousel::before,
.logos-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.logos-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    animation: logosScroll 28s linear infinite;
}

.logos-carousel:hover .logos-track {
    animation-play-state: paused;
}

.logo-slide {
    width: 170px;
    height: 95px;
    background-color: var(--bg-light);
    border: 1px solid rgba(11, 37, 69, 0.07);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 22px;
    flex-shrink: 0;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.logo-slide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.logo-slide.has-link {
    cursor: pointer;
}

.logo-slide.has-link:hover {
    border-color: rgba(170, 124, 51, 0.45);
}

.logo-slide:hover {
    transform: translateY(-4px);
    border-color: rgba(170, 124, 51, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.logo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

/* Animación continua */
@keyframes logosScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 17px));
    }
}

/* Responsividad aliados logos */
@media (max-width: 900px) {
    .logo-slide {
        width: 145px;
        height: 82px;
        padding: 15px 18px;
    }

    .logos-track {
        gap: 24px;
        animation-duration: 24s;
    }

    .logos-carousel::before,
    .logos-carousel::after {
        width: 55px;
    }
}

@media (max-width: 600px) {
    .allies-logo-section {
        padding: 75px 6% 80px 6%;
    }

    .logo-slide {
        width: 130px;
        height: 76px;
    }

    .logos-track {
        gap: 20px;
        animation-duration: 22s;
    }
}
/* --- SECCIÓN CONTACTO --- */
.contact-section {
    background-color: var(--bg-light);
    padding: 95px 8% 100px 8%;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -120px;
    width: 300px;
    height: 300px;
    background-color: rgba(170, 124, 51, 0.08);
    border-radius: 50%;
}

.contact-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.8fr;
    gap: 55px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    font-family: var(--font-serif);
    font-size: 38px;
    line-height: 1.22;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 24px;
}

.contact-content h2::after {
    content: '';
    display: block;
    width: 190px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-top: 24px;
}

.contact-content p {
    font-size: 14px;
    color: #555555;
    max-width: 720px;
    margin-bottom: 28px;
}

/* Tarjetas de contacto */
.contact-cards {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.contact-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid rgba(11, 37, 69, 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
    border-color: rgba(170, 124, 51, 0.35);
}

.contact-icon {
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(11, 37, 69, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-card h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    color: var(--primary-blue);
    font-weight: 400;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--accent-gold);
}

/* Redes sociales */
.contact-social {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.contact-social span {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.25s ease;
}

.social-links a:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Caja lateral */
.contact-side-box {
    background:
        linear-gradient(135deg, #0b2545 0%, #071a33 100%);
    color: var(--white);
    border-radius: 14px;
    padding: 44px 38px;
    box-shadow: 0 20px 48px rgba(11, 37, 69, 0.18);
    position: relative;
    overflow: hidden;
}

.contact-side-box::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(170, 124, 51, 0.35);
    border-radius: 50%;
}

.contact-side-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.contact-side-box h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.contact-side-box p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.contact-side-btn {
    background-color: var(--accent-gold);
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}

.contact-side-btn:hover {
    background-color: #8a6225;
    gap: 13px;
}

/* Responsividad contacto */
@media (max-width: 1050px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 700px) {
    .contact-section {
        padding: 80px 6% 85px 6%;
    }

    .contact-content h2 {
        font-size: 29px;
    }

    .contact-card {
        padding: 18px 18px;
    }

    .contact-card:hover {
        transform: translateY(-4px);
    }

    .contact-social {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-side-box {
        padding: 36px 28px;
    }

    .contact-side-box h3 {
        font-size: 25px;
    }

    .contact-side-btn {
        width: 100%;
        justify-content: center;
    }
}
/* --- FOOTER --- */
.site-footer {
    background:
        linear-gradient(135deg, #071a33 0%, #0b2545 100%);
    color: var(--white);
    padding: 72px 8% 28px 8%;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(170, 124, 51, 0.18);
    border-radius: 50%;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -110px;
    width: 280px;
    height: 280px;
    background-color: rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr 0.9fr 0.9fr;
    gap: 42px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Marca */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.footer-logo img {
    width: 58px;
    height: auto;
}

.footer-logo h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 4px;
}

.footer-description {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 420px;
    margin-bottom: 24px;
}

/* Redes */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Columnas */
.footer-col h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

/* Contacto */
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 14px;
}

.footer-contact p i {
    color: var(--accent-gold);
    margin-top: 2px;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact p a:hover {
    color: var(--accent-gold);
}

.footer-donate-btn {
    margin-top: 14px;
    background-color: var(--accent-gold);
    color: var(--white) !important;
    text-decoration: none;
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px 18px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
}

.footer-donate-btn:hover {
    background-color: #8a6225;
    padding-left: 18px !important;
    gap: 12px;
}

/* Footer inferior */
.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-links a,
.footer-bottom-links span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

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

/* Responsividad footer */
@media (max-width: 1050px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding: 62px 6% 26px 6%;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo h2 {
        font-size: 24px;
    }
}
/* --- ACCIONES DEL HEADER --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- BOTÓN HAMBURGUESA --- */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.menu-toggle:hover {
    background-color: var(--accent-gold);
}

.menu-toggle:active {
    transform: scale(0.96);
}

/* --- MENÚ RESPONSIVE --- */
@media (max-width: 1024px) {
    header {
        position: relative;
        flex-wrap: wrap;
        gap: 14px;
    }

    .menu-toggle {
        display: flex;
    }

    nav.main-nav {
        display: none;
        width: 100%;
        order: 3;
        background-color: var(--white);
        border-top: 1px solid rgba(11, 37, 69, 0.08);
        padding-top: 14px;
        margin-top: 8px;
        animation: mobileMenuFade 0.25s ease both;
    }

    nav.main-nav.active {
        display: block;
    }

    nav.main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    nav.main-nav ul li {
        width: 100%;
    }

    nav.main-nav ul li a {
        display: block;
        width: 100%;
        max-width: none !important;
        padding: 14px 4px;
        border-bottom: 1px solid rgba(11, 37, 69, 0.07);
        color: var(--primary-blue);
        text-align: left;
    }

    nav.main-nav ul li a::after {
        display: none;
    }

    .btn-donate {
        padding: 11px 16px;
        font-size: 11px;
    }
}

@keyframes mobileMenuFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- AJUSTES PARA CELULAR PEQUEÑO --- */
@media (max-width: 520px) {
    header {
        padding: 18px 6%;
    }

    /* --- .logo-text p {--- */
    /* ---    display: none;--- */
    /* ---}--- */

    .btn-donate {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }
}
/* --- HOME: NOTICIA DESTACADA --- */
.home-featured-news {
    background:
        radial-gradient(circle at top left, rgba(170, 124, 51, 0.13), transparent 32%),
        linear-gradient(135deg, #f8f4ec 0%, #ffffff 52%, #eef2f6 100%);
    padding: 80px 8%;
    position: relative;
    overflow: hidden;
}

.home-featured-news::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(170, 124, 51, 0.16);
    border-radius: 50%;
}

.home-featured-news::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -110px;
    width: 300px;
    height: 300px;
    background-color: rgba(11, 37, 69, 0.035);
    border-radius: 50%;
}

.home-featured-news-container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.featured-news-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(11, 37, 69, 0.12);
    border: 1px solid rgba(11, 37, 69, 0.07);
}

.featured-news-image {
    min-height: 460px;
    position: relative;
    overflow: hidden;
    background-color: #e9e9e9;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.featured-news-card:hover .featured-news-image img {
    transform: scale(1.05);
    filter: saturate(1.05);
}

.featured-news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(11, 37, 69, 0.02),
            rgba(11, 37, 69, 0.18)
        );
}

.featured-news-content {
    padding: 52px 50px;
    position: relative;
    overflow: hidden;
}

.featured-news-content::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(170, 124, 51, 0.22);
    border-radius: 50%;
}

.featured-news-content > * {
    position: relative;
    z-index: 2;
}

.featured-news-content h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    line-height: 1.18;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 24px;
}

.featured-news-content h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-top: 20px;
}

.featured-news-person {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 22px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 26px;
}

.featured-news-person span {
    display: block;
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.featured-news-person h3 {
    font-family: var(--font-serif);
    font-size: 29px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.featured-news-person p {
    font-size: 13px;
    color: #666666;
    margin-bottom: 0;
    line-height: 1.45;
}

.featured-news-content > p {
    font-size: 14px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 17px;
}

.featured-news-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.featured-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.featured-news-btn:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

.featured-news-seal {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.featured-news-seal i {
    color: var(--accent-gold);
    font-size: 18px;
}

/* Responsividad */
@media (max-width: 1000px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-news-image {
        min-height: 380px;
    }

    .featured-news-image::after {
        background:
            linear-gradient(
                to bottom,
                rgba(11, 37, 69, 0.02),
                rgba(11, 37, 69, 0.16)
            );
    }
}

@media (max-width: 700px) {
    .home-featured-news {
        padding: 70px 6%;
    }

    .featured-news-image {
        min-height: 320px;
    }

    .featured-news-content {
        padding: 36px 28px;
    }

    .featured-news-content h2 {
        font-size: 29px;
    }

    .featured-news-person h3 {
        font-size: 25px;
    }

    .featured-news-content > p {
        font-size: 13px;
    }

    .featured-news-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* --- CELULAR PEQUEÑO (≈360–480px) --- */
@media (max-width: 480px) {
    html,
    body {
        overflow-x: clip;
    }

    .hero {
        min-height: clamp(420px, 72vh, 540px);
        padding: 72px 6% 96px;
        align-items: flex-end;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(11, 37, 69, 0.9) 0%,
            rgba(11, 37, 69, 0.78) 42%,
            rgba(11, 37, 69, 0.62) 100%
        );
    }

    .hero-content {
        max-width: none;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(26px, 7.5vw, 32px);
        line-height: 1.15;
    }

    .hero-content h1::after,
    .hero-content h2::after {
        width: min(180px, 50vw);
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 22px;
        max-width: none;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 14px 18px;
        font-size: 11px;
    }

    .features-container {
        margin-top: -40px;
        padding: 0 16px;
    }

    .features-bar {
        grid-template-columns: 1fr;
        padding: 18px 16px;
        gap: 0;
    }

    .feature-item {
        padding: 14px 0;
        margin-bottom: 0;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-item p {
        margin-left: 0;
        padding-left: 30px;
    }

    .feature-title-wrapper h3 a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 4px 0;
    }

    .bottom-section {
        padding: 56px 6% 48px;
        gap: 32px;
    }

    .bottom-col h4::after {
        width: 100px;
    }

    .news-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-img {
        width: 100%;
        height: auto;
        max-height: 160px;
        object-fit: cover;
    }

    .watermark-bg {
        width: 120px;
        height: 120px;
        right: 0;
        opacity: 0.03;
    }

    .home-featured-news {
        padding: 48px 6%;
    }

    .home-featured-news::before,
    .home-featured-news::after,
    .featured-news-content::after {
        display: none;
    }

    .featured-news-image {
        min-height: 220px;
    }

    .featured-news-content {
        padding: 28px 20px;
    }

    .featured-news-content h2 {
        font-size: 24px;
    }

    .featured-news-person h3 {
        font-size: 22px;
    }

    .featured-news-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .featured-news-seal {
        font-size: 10px;
        line-height: 1.4;
    }

    .about-cehisef,
    .work-lines,
    .featured-projects,
    .upcoming-events,
    .recent-articles,
    .cultural-archive,
    .support-work,
    .allies-logo-section,
    .contact-section {
        padding-top: 48px;
        padding-bottom: 52px;
        padding-left: 6%;
        padding-right: 6%;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 26px;
    }

    .project-main-card {
        min-height: unset;
    }

    .project-image {
        min-height: 220px;
    }

    .project-main-content h3,
    .event-featured-content h3,
    .article-featured-content h3 {
        font-size: 24px;
    }

    .event-mini-card {
        padding: 16px;
        gap: 14px;
    }

    .article-featured-img {
        height: 200px;
    }

    .article-featured-content {
        padding: 24px 20px;
    }

    .articles-all-link,
    .events-calendar-link,
    .btn-about-primary,
    .btn-about-secondary {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .link-more,
    .work-line-link,
    .project-link,
    .article-link {
        min-height: 44px;
        align-items: center;
        padding: 8px 0;
    }

    .featured-projects-blue::before,
    .featured-projects-blue::after {
        display: none;
    }
}
