/* assets/css/style.css - Estilos Vibrantes y Lúdicos para Voces de Barro */

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

:root {
    --primary: #D25B1E;       /* Terracota barro alegre */
    --primary-dark: #B24610;
    --primary-light: #FF7E47;
    --yellow: #FFB703;        /* Sol vibrante */
    --yellow-light: #FFE082;
    --coral: #EF476F;         /* Coral / fucsia lúdico */
    --cyan: #06D6A0;          /* Verde menta brillante */
    --blue: #118AB2;          /* Azul cielo profundo */
    --sky: #48CAE4;           /* Celeste fresco */
    --purple: #7209B7;        /* Púrpura imaginación */
    --lime: #80ED99;          /* Verde alegría */
    
    --bg-body: #FFFDF9;       /* Fondo cálido papel */
    --bg-surface: #FFFFFF;
    --bg-alt: #FFF6EC;
    --bg-blue-tint: #F0F9FF;
    --bg-green-tint: #F0FDF4;
    
    --text-main: #2D3142;
    --text-muted: #5C677D;
    --text-light: #FFFFFF;
    
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(210, 91, 30, 0.12);
    --shadow-lg: 0 18px 40px rgba(210, 91, 30, 0.18);
    --shadow-color: 0 12px 28px rgba(0, 0, 0, 0.1);
    
    --transition-bounce: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .font-fun {
    font-family: 'Fredoka', cursive, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* ============================================================
   PRELOADER DIVERTIDO
   ============================================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #FFF4E6 0%, #FFE3C6 100%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-clay-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.clay-blob-bg {
    position: absolute;
    width: 190px;
    height: 190px;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--primary-light) 50%, var(--coral) 100%);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: claySpin 6s infinite linear;
    box-shadow: 0 15px 35px rgba(210, 91, 30, 0.3);
}

.preloader-logo {
    position: relative;
    z-index: 2;
    max-width: 140px;
    max-height: 90px;
    object-fit: contain;
    animation: bounceSlow 1.4s ease-in-out infinite;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}

.preloader-text-box {
    text-align: center;
    max-width: 380px;
    padding: 0 20px;
}

.preloader-message {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-family: 'Fredoka', cursive;
    min-height: 38px;
}

.preloader-progress-track {
    width: 260px;
    height: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-pill);
    overflow: hidden;
    padding: 3px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.preloader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--coral), var(--yellow), var(--cyan));
    border-radius: var(--radius-pill);
    transition: width 0.3s ease;
}

/* ============================================================
   ELEMENTOS DECORATIVOS FLOTANTES
   ============================================================ */
.bg-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.decor-shape {
    position: absolute;
    opacity: 0.55;
    z-index: 0;
}

.decor-1 { top: 120px; left: 4%; width: 55px; animation: floatSlow 6s infinite ease-in-out; }
.decor-2 { top: 280px; right: 5%; width: 70px; animation: floatReverse 7s infinite ease-in-out; }
.decor-3 { top: 850px; left: 3%; width: 45px; animation: floatSlow 5s infinite ease-in-out; }
.decor-4 { top: 1400px; right: 4%; width: 65px; animation: floatReverse 8s infinite ease-in-out; }
.decor-5 { top: 2200px; left: 5%; width: 50px; animation: floatSlow 6.5s infinite ease-in-out; }

/* ============================================================
   NAVBAR Y CABECERA
   ============================================================ */
.site-header {
    position: sticky;
    top: 15px;
    z-index: 9999;
    padding: 0 20px;
    margin-bottom: 25px;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(210, 91, 30, 0.12), 0 0 0 2px rgba(255, 183, 3, 0.4);
    transition: var(--transition-smooth);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover {
    transform: scale(1.1) rotate(-4deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.nav-link {
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-main);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background: #FFF3EB;
    border-color: #FFD8BE;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(210, 91, 30, 0.08);
}

.nav-cta {
    background: linear-gradient(180deg, #FF6F2E 0%, #D25B1E 100%);
    color: #FFFFFF !important;
    font-family: 'Fredoka', cursive;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.3px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid #FF8E57;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 5px 0 #9E3808, 0 8px 18px rgba(210, 91, 30, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 7px 0 #9E3808, 0 12px 24px rgba(210, 91, 30, 0.45);
}

.nav-cta:active {
    transform: translateY(3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 0 #9E3808, 0 4px 10px rgba(210, 91, 30, 0.25);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    padding: 40px 20px 80px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #FFE8D6, #FFF1E6);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid var(--primary-light);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.4rem;
    color: #1F2421;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-title .highlight-orange {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight-yellow {
    color: #E09F00;
    background: linear-gradient(120deg, rgba(255, 183, 3, 0.2) 0%, rgba(255, 183, 3, 0) 100%);
    border-radius: 12px;
    padding: 0 8px;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-fun {
    font-family: 'Fredoka', cursive;
    font-size: 1.12rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
    letter-spacing: 0.2px;
}

.btn-primary-fun {
    background: linear-gradient(180deg, #FF6F2E 0%, #D25B1E 100%);
    color: #fff;
    border: 2px solid #FF8E57;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 5px 0 #9E3808, 0 10px 22px rgba(210, 91, 30, 0.3);
}

.btn-primary-fun:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 8px 0 #9E3808, 0 14px 26px rgba(210, 91, 30, 0.4);
}

.btn-primary-fun:active {
    transform: translateY(4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 0 #9E3808, 0 4px 10px rgba(210, 91, 30, 0.2);
}

.btn-yellow-fun {
    background: linear-gradient(180deg, #FFC727 0%, #FFA000 100%);
    color: #382400;
    border: 2px solid #FFE082;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 5px 0 #C47D00, 0 10px 22px rgba(255, 160, 0, 0.3);
}

.btn-yellow-fun:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 8px 0 #C47D00, 0 14px 26px rgba(255, 160, 0, 0.4);
}

.btn-yellow-fun:active {
    transform: translateY(4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 0 #C47D00, 0 4px 10px rgba(255, 160, 0, 0.2);
}

.btn-outline-fun {
    background: #FFFFFF;
    color: var(--primary);
    border: 2px solid #FFD8BE;
    box-shadow: 0 4px 0 #FFD8BE, 0 6px 14px rgba(0, 0, 0, 0.04);
}

.btn-outline-fun:hover {
    background: #FFF7F0;
    border-color: #FFB088;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #FFB088, 0 8px 18px rgba(0, 0, 0, 0.08);
}

.btn-outline-fun:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #FFB088;
}

/* Visual del Hero */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-blob-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFE8D6 0%, #FFF3B0 50%, #C7F9CC 100%);
    border-radius: 60% 40% 50% 50% / 40% 50% 60% 50%;
    filter: blur(2px);
    animation: claySpin 18s infinite linear;
    z-index: 1;
}

.hero-main-card {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
    transform: rotate(2deg);
    transition: var(--transition-bounce);
}

.hero-main-card:hover {
    transform: rotate(0deg) scale(1.03);
}

.hero-main-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.hero-floating-badge {
    position: absolute;
    background: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    z-index: 3;
    animation: floatSlow 4s ease-in-out infinite;
}

.badge-pos-1 {
    top: -15px;
    left: -20px;
    border: 2px solid var(--yellow);
    color: #B57C00;
}

.badge-pos-2 {
    bottom: -20px;
    right: -10px;
    border: 2px solid var(--cyan);
    color: #02805A;
}

/* ============================================================
   BARRA DE ESTADÍSTICAS LÚDICA
   ============================================================ */
.stats-section {
    padding: 20px 20px 60px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

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

.stat-capsule {
    background: #fff;
    padding: 24px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid transparent;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.stat-capsule:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.stat-capsule.stat-orange { border-color: #FFD8BE; }
.stat-capsule.stat-yellow { border-color: #FFE699; }
.stat-capsule.stat-cyan   { border-color: #B7E4C7; }
.stat-capsule.stat-purple { border-color: #E0AAFF; }

.stat-emoji {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: inline-block;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Fredoka', cursive;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================================================
   SECCIÓN DE TITULOS Y CABECERAS DE BLOQUE
   ============================================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--primary);
    font-family: 'Fredoka', cursive;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    border: 1.5px solid var(--primary-light);
}

.section-title {
    font-size: 2.6rem;
    color: #1F2421;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* ============================================================
   QUIÉNES SOMOS / HISTORIA Y MISIÓN
   ============================================================ */
.about-section {
    position: relative;
    padding: 70px 20px;
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-alt) 100%);
    border-radius: var(--radius-lg);
    max-width: 1240px;
    margin: 40px auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.about-text-card {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid #FFE0C8;
}

.about-text-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-text-card p {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: #374151;
}

.timeline-pill-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-body);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary);
}

.timeline-year {
    font-family: 'Fredoka', cursive;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 55px;
}

.timeline-desc {
    font-size: 0.98rem;
    color: var(--text-main);
    font-weight: 500;
}

/* ============================================================
   VALORES COLECTIVOS (3D Cards)
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.value-card {
    background: #fff;
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid transparent;
    transition: var(--transition-bounce);
    position: relative;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.value-card.card-compromiso { border-color: #FFB703; }
.value-card.card-participacion { border-color: #06D6A0; }
.value-card.card-justicia { border-color: #EF476F; }

.value-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-card:hover .value-icon-circle {
    transform: scale(1.15) rotate(8deg);
}

.value-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.value-desc {
    color: var(--text-muted);
    font-size: 1.02rem;
}

/* ============================================================
   PROYECTOS Y ESPACIOS
   ============================================================ */
.projects-section {
    padding: 70px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.project-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 3px solid #F1F5F9;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--p-color, var(--primary));
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--p-color, var(--primary));
}

.project-badge-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--p-light, #FFF3E0);
    color: var(--p-color, var(--primary));
    margin-bottom: 14px;
    align-self: flex-start;
}

.project-title {
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: #1F2421;
}

.project-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ============================================================
   NOTICIAS Y NOVEDADES
   ============================================================ */
.news-section {
    padding: 70px 20px;
    background: var(--bg-blue-tint);
    border-radius: var(--radius-lg);
    max-width: 1240px;
    margin: 40px auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    border: 2px solid #E2E8F0;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-thumb-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-thumb {
    transform: scale(1.08);
}

.news-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    font-family: 'Fredoka', cursive;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.88rem;
    color: #94A3B8;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 1.35rem;
    color: #1E293B;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link-btn {
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.news-link-btn:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ============================================================
   GALERÍA MÁGICA (Fotos y Videos)
   ============================================================ */
.gallery-section {
    padding: 70px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.filter-btn {
    font-family: 'Fredoka', cursive;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    color: var(--text-main);
    box-shadow: 0 4px 0 #CBD5E1;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    user-select: none;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #94A3B8;
    color: var(--primary);
    border-color: #CBD5E1;
}

.filter-btn:active, .filter-btn.active {
    background: linear-gradient(180deg, #FF6F2E 0%, #D25B1E 100%);
    color: #FFFFFF;
    border-color: #FF8E57;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 4px 0 #9E3808;
    transform: translateY(1px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    background: #eee;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-media {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 16px 16px 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-item-cat {
    font-size: 0.8rem;
    color: var(--yellow);
    text-transform: uppercase;
    font-weight: 600;
}

.gallery-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(239, 71, 111, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    pointer-events: none;
    transition: var(--transition-bounce);
}

.gallery-item:hover .gallery-video-icon {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--coral);
}

/* ============================================================
   LIGHTBOX MODAL MULTIMEDIA
   ============================================================ */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.lightbox-body {
    max-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0B0F19;
}

.lightbox-body img {
    max-height: 75vh;
    width: auto;
    object-fit: contain;
}

.lightbox-body video {
    max-height: 75vh;
    width: 100%;
    outline: none;
}

.lightbox-caption {
    background: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1F2421;
    z-index: 10;
    transition: var(--transition-bounce);
}

.lightbox-close-btn:hover {
    background: #fff;
    transform: scale(1.15) rotate(90deg);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1F2421;
    z-index: 10;
    transition: var(--transition-bounce);
}

.lightbox-nav-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

/* ============================================================
   SECCIÓN DE DONACIONES Y PADRINAZGO (LÚDICA)
   ============================================================ */
.donate-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #D25B1E 50%, #B24610 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    max-width: 1240px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(210, 91, 30, 0.35);
}

.donate-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.donate-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 18px;
}

.donate-lead {
    font-size: 1.25rem;
    color: #FFF3E6;
    margin-bottom: 35px;
}

.donate-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.donate-tier-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 22px 18px;
    border-radius: var(--radius-md);
    transition: var(--transition-bounce);
}

.donate-tier-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-6px);
    border-color: #fff;
}

.donate-tier-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.donate-tier-desc {
    font-size: 0.95rem;
    color: #FFF0E0;
}

.donate-buttons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ============================================================
   SECCIÓN DE CONTACTO
   ============================================================ */
.contact-section {
    padding: 70px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid #F1F5F9;
}

.contact-info h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-list {
    list-style: none;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
}

.contact-icon-bubble {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
}

.form-control {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid #E2E8F0;
    background: #F8FAFC;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(210, 91, 30, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #1F2421;
    color: #F8FAFC;
    padding: 60px 20px 30px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 14px;
    max-width: 380px;
}

.footer-social-links {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.social-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.25rem;
    transition: var(--transition-bounce);
}

.social-circle-btn:hover {
    background: var(--primary);
    transform: translateY(-4px) scale(1.1);
}

.footer-col h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 18px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    color: #94A3B8;
    font-weight: 500;
}

.footer-nav-list a:hover {
    color: var(--yellow);
    padding-left: 6px;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.92rem;
    flex-wrap: wrap;
    gap: 15px;
}

/* ============================================================
   RESPONSIVIDAD (Móviles y Tablets)
   ============================================================ */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid, .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-visual-wrapper {
        order: -1;
        margin-bottom: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 20px;
        right: 20px;
        background: #fff;
        padding: 24px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        border: 2px solid var(--primary-light);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-fun {
        width: 100%;
        justify-content: center;
    }
    
    .contact-grid {
        padding: 20px;
    }
}
