/* Tipografía y colores */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: #F4F4F4;
    color: #333;
}

:root {
    --verde-oscuro: #0F3D2E;
    --verde-suave: #1E5F4D;
    --naranja: #E67E22;
    --gris-claro: #F4F4F4;
    --blanco: #FFFFFF;
}

/* HERO */
.hero {
    background: url('imagenes/hero.jpg') center/cover no-repeat;
    padding: 160px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.55);
    display: inline-block;
    padding: 50px 60px;
    border-radius: 16px;
}

.logo-banner {
    width: 120px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.hero h1 {
    font-size: 42px;
    margin: 10px 0;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.hero-buttons {
    margin-top: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 8px;
    display: inline-block;
}

.btn-primary {
    background: var(--naranja);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--verde-oscuro);
}

/* NAVBAR */
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 15px;
    background: var(--verde-oscuro);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul li {
    margin: 10px 20px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

/* SECCIONES */
.section {
    padding: 60px 40px;
    margin: 20px;
    background: white;
    border-radius: 12px;
}

.dark-section {
    background: var(--verde-oscuro);
    color: white;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--naranja);
    margin-bottom: 25px;
}

/* PILL BUTTONS */
.pill-buttons {
    margin-top: 20px;
}

.pill {
    background: var(--verde-suave);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 5px;
    display: inline-block;
    font-weight: 600;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #333;
}

.card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Íconos para Áreas de Acción */
.accion-card {
    padding: 30px;
}

.accion-icon {
    font-size: 60px;
    color: var(--naranja);
    margin-bottom: 20px;
}

/* Collages grandes */
.collage-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collage-img:hover {
    transform: scale(1.03);
}

/* PARTICIPAR GRID */
.participar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.participar-item {
    background: var(--gris-claro);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.participar-item i {
    font-size: 40px;
    color: var(--verde-oscuro);
    margin-bottom: 10px;
}

/* CONTRIBUIR */
.contribuir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.contribuir-item {
    background: var(--verde-suave);
    padding: 25px;
    border-radius: 12px;
    color: white;
}

.cbu-box {
    margin-top: 40px;
    background: white;
    color: #333;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
}

footer {
    background: var(--verde-oscuro);
    color: white;
    text-align: center;
}


/* FOOTER NUEVO */
footer {
    background: var(--verde-oscuro);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

/* Identidad del barrio centrada */
.footer-top {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Grid de navegación + contacto */
.footer-grid {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* Columnas del footer */
.footer-column {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: left;
}

.footer-column h3 {
    margin-bottom: 15px;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin: 8px 0;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Botón centrado */
.footer-button-center {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/* Copyright */
.footer-copy {
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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