* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --bg: #f0f0f0;
    --text: #1e273d;
    --card-bg: #fff;
    --slide-bg: #dedaf1;
    --section-alt: #e8e8e8;
    --noticia-text: #555;
    --bloque-text: #444;
    --modal-text: #444;
    --modal-bg: #fff;
    --noticia-title: #1e273d;
    --accent: #667eea;
}

body.dark {
    --bg: #0f0f23;
    --text: #e0e0e0;
    --card-bg: #1a1a35;
    --slide-bg: #1a1a35;
    --section-alt: #141428;
    --noticia-text: #bbb;
    --bloque-text: #ccc;
    --modal-text: #ccc;
    --modal-bg: #1a1a35;
    --noticia-title: #e0e0e0;
}

body {
    background: var(--bg);
    color: var(--text);
    animation: fadeIn 0.9s ease;
}

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

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

/* --- Entrance Reveal Animations --- */
.reveal {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) !important;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-staircase {
    transform: translateY(50px);
    transition-delay: calc(var(--order, 0) * 0.15s);
}

.reveal-fade-up {
    transform: translateY(30px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.visible,
    .slide:hover .slide-img-placeholder {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: opacity 0.5s ease;
}

.loader.oculto {
    opacity: 0;
    pointer-events: none;
}

.loader img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.loader p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

/* Dark Mode Toggle */
.dark-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.3s;
    line-height: 1;
}

.dark-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/*Navbar*/
.barranavegacion {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(2, 2, 8, 0.785);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 8px 0;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    padding: 8px;
    display: inline-block;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    transform: scale(0.98);
    opacity: 1;
}

/*Hero Section (index)*/
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    background: url('./images/imghero.webp') no-repeat center center/cover;
    color: #1e273d;
    text-align: center;
    gap: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
}

/*Page Hero (subpages)*/
.page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 45vh;
    text-align: center;
    gap: 15px;
    color: #fff;
    padding: 0 20px;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.3rem;
    max-width: 500px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-quienes-somos {
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7)),
        url('./images/fotomiembrosfundadores.webp') center 30%/cover no-repeat;
}

.hero-actividad {
    background:
        linear-gradient(135deg, rgba(240, 147, 251, 0.7), rgba(245, 87, 108, 0.7)),
        url('./images/charladeconcientizacion2.webp') center/cover no-repeat;
}

.hero-contacto {
    background:
        linear-gradient(135deg, rgba(79, 172, 254, 0.7), rgba(0, 242, 254, 0.7)),
        url('./images/fotodeparticipantes.webp') center/cover no-repeat;
}

.hero-donaciones {
    background:
        linear-gradient(135deg, rgba(17, 153, 142, 0.7), rgba(56, 239, 125, 0.7)),
        url('./images/fotomuchaspersonasreunidas.webp') center/cover no-repeat;
}

/* --- News Section (index) --- */
.news {
    padding: 60px 40px;
    text-align: center;
    background: var(--bg);
}

.news h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text);
}

.noticias_cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.noticia {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    cursor: pointer;
}

.noticia:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.noticia .noticia-img {
    width: 100%;
    height: 200px;
    transition: transform 0.4s ease;
}

.noticia:hover .noticia-img {
    transform: scale(1.05);
}

.noticia h3 {
    padding: 15px 15px 5px;
    font-size: 1.2rem;
    color: var(--noticia-title);
}

.noticia p {
    padding: 0 15px 10px;
    font-size: 0.9rem;
    color: var(--noticia-text);
    line-height: 1.5;
}

.noticia .noticia-fecha {
    padding: 0 15px 15px;
    font-size: 0.8rem;
    color: #999;
}

/*Mision/Vision/El futuro (Carrusel) - Modern Design */
.carrusel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
    background: var(--slide-bg);
}

/* Progress bar */
.carrusel-progreso {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10;
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), #764ba2);
    transform: scaleX(0);
}

.slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: stretch;
    min-height: 400px;
    background: var(--slide-bg);
}

.slide .texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 50px;
    text-align: left;
}

.slide .texto h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}

.slide .texto p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--noticia-text);
    max-width: 480px;
}

/* Carousel images: desktop */
.slide-img-placeholder {
    flex: 1;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.slide:hover .slide-img-placeholder {
    transform: scale(1.05);
}

/* Glassmorphism arrow buttons */
.botoneslide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 12px;
    z-index: 5;
}

.botoneslide a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.carrusel:hover .botoneslide a {
    opacity: 1;
    transform: scale(1);
}

.botoneslide a:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.1) !important;
}

/* Dots */
.carrusel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.carrusel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
    flex-shrink: 0;
}

.carrusel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carrusel-dot.activo {
    width: 28px;
    border-radius: 5px;
    background: #fff;
}

@media (max-width: 796px) {
    .slide {
        flex-direction: column;
        min-height: auto;
    }

    .slide-img-placeholder {
        flex: none;
        width: 100%;
        height: 250px;
    }

    .slide .texto {
        flex: none;
        padding: 30px;
        text-align: center;
    }

    .slide .texto p {
        max-width: none;
    }

    .botoneslide a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        opacity: 0.8;
        transform: scale(1);
    }

    .carrusel-dot {
        width: 8px;
        height: 8px;
    }

    .carrusel-dot.activo {
        width: 22px;
    }
}

/* --- Quienes Somos --- */
.quienes-somos {
    padding: 20px 0;
}

.loquehacemos {
    padding: 60px 40px;
    text-align: center;
    background: var(--bg);
}

.loquehacemos h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text);
}

.bloque {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bloque-img {
    flex: 1;
    min-height: 250px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #764ba2 100%);
}

.bloque-texto {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--bloque-text);
}

.bloque-invertido {
    flex-direction: row-reverse;
}

/* --- Contacto --- */
.contacto {
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contacto h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.contacto>p {
    color: var(--noticia-text);
    margin-bottom: 30px;
}

.contacto form label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.contacto form input,
.contacto form select,
.contacto form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
    font-family: inherit;
    width: 100%;
}

.contacto form input:focus,
.contacto form select:focus,
.contacto form textarea:focus {
    border-color: var(--accent);
}

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

.contacto form button {
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contacto form button:hover {
    background: #5a6fd6;
}

.contacto-email {
    margin-top: 20px;
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    padding: 1rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(.22,.68,0,1.2);
    max-width: 90vw;
    text-align: center;
    pointer-events: none;
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
}

.toast.exito {
    background: #2e7d32;
}

.toast.error {
    background: #c62828;
}

.contacto-email a {
    color: var(--accent);
    font-weight: 600;
}

.ubicacion-wrapper {
    position: relative;
}

.ubicacion {
    padding: 60px 40px;
    text-align: center;
    background: var(--section-alt);
}

.ubicacion h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.ubicacion>p {
    color: var(--noticia-text);
    margin-bottom: 20px;
}

.mapa {
    max-width: 700px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mapa iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.contacto-extra {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.proximamente-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 10;
}

.proximamente-overlay .glass-box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.bloque-direccion,
.bloque-llamar {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 280px;
    text-align: center;
}

.bloque-llamar {
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bloque-direccion .icon-placeholder,
.bloque-llamar .icon-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.bloque-direccion h3,
.bloque-llamar h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.bloque-direccion p,
.bloque-llamar p {
    color: var(--noticia-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Donaciones --- */
.donaciones {
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.donaciones h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text);
}

.donaciones>p {
    color: var(--noticia-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.donacion-paypal {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.donacion-bancaria {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.donacion-bancaria p {
    color: var(--noticia-text);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- Activity Cards --- */
.actividad-reciente {
    padding: 60px 40px;
    text-align: center;
}

.actividad-reciente h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text);
}

.act-reciente-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.actividadcard {
    position: relative;
    width: 220px;
    height: 300px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.actividadcard:hover {
    z-index: 5;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.actividadcard .portada {
    border-radius: 4px;
    position: relative;
    width: 100%;
    height: 100%;
    box-shadow: 0 5px 10px #000;
    background-position: center;
    background-size: cover;
    z-index: 2;
    transition: opacity 0.3s;
}

.actividadcard .portada h3 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 25px;
    color: #f0f0f0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.actividadcard .portada .fecha-portada {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    border-radius: 4px;
}

.actividadcard .contenido {
    border-radius: 0 0 4px 4px;
    position: absolute;
    width: 100%;
    height: 65%;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    background: rgba(2, 2, 8, 0.92);
    z-index: 3;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.actividadcard .contenido .textoresumen {
    padding: 15px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
}

.actividadcard .contenido .textoresumen .preview {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.actividadcard .contenido .detallescontenido {
    top: 0;
    position: sticky;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 8px 10px;
    background-color: rgb(137, 113, 245);
    color: white;
    font-size: 0.85rem;
    align-items: center;
}

.actividadcard .contenido .detallescontenido .ver-mas {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.3s;
}

.actividadcard .contenido .detallescontenido .ver-mas:hover {
    background: rgba(255, 255, 255, 0.2);
}

.actividadcard:hover .contenido {
    transform: translateY(0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.activo {
    display: flex;
}

.modal-imagen {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.modal-contenido {
    background: var(--modal-bg);
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-cerrar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--noticia-text);
    transition: color 0.3s;
    background: none;
    border: none;
    line-height: 1;
}

.modal-cerrar:hover {
    color: var(--text);
}

.modal-titulo {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 5px;
    padding-right: 30px;
}

.modal-fecha {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
    display: block;
}

.modal-descripcion {
    font-size: 1rem;
    color: var(--modal-text);
    line-height: 1.7;
}

/* --- Footer --- */
footer {
    background: rgba(2, 2, 8, 0.9);
    color: #fff;
    padding: 40px 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.7;
}

footer .fa-brands {
    font-size: 1.5rem;
    margin: 0 10px;
}

.subnav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.subnav a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.subnav a:hover {
    opacity: 1;
}

#donar_en_footer {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-donar {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-donar:hover {
    background: #5a6fd6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .page-hero {
        height: 35vh;
    }

    .news {
        padding: 40px 20px;
    }

    .noticias_cards {
        gap: 20px;
    }

    .noticia {
        width: 100%;
        max-width: 350px;
    }

    .contacto {
        padding: 40px 20px;
    }

    .ubicacion {
        padding: 40px 20px;
    }

    .contacto-extra {
        flex-direction: column;
        align-items: center;
    }

    .donaciones {
        padding: 40px 20px;
    }

    .actividad-reciente {
        padding: 40px 20px;
    }

    .act-reciente-container {
        gap: 40px;
    }

    .actividadcard {
        width: 180px;
        height: 250px;
    }

    .actividadcard:hover .contenido {
        transform: translateY(0);
        width: 100%;
        height: 65%;
    }

    .loquehacemos {
        padding: 40px 20px;
    }

    .modal-contenido {
        padding: 20px;
        margin: 10px;
    }

    footer {
        padding: 30px 20px 15px;
    }
}

@media (max-width: 480px) {
    .modal-contenido {
        padding: 15px;
        margin: 5px;
    }

    .modal-imagen {
        height: 120px;
        border-radius: 6px;
    }

    .modal-titulo {
        font-size: 1.1rem;
        padding-right: 25px;
    }

    .modal-cerrar {
        top: 10px;
        right: 12px;
        font-size: 1.4rem;
    }

    .modal-descripcion {
        font-size: 0.9rem;
    }

    .actividadcard {
        width: 150px;
        height: 220px;
    }

    .actividadcard:hover .contenido {
        transform: translateY(0);
        width: 100%;
        height: 65%;
    }
}