/* --- CONTENEDOR PRINCIPAL --- */
#siembra-section {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 20; 
    
    /* PADDING INFERIOR A 0 PARA QUE EL FOOTER TOQUE EL FINAL */
    padding: 0 0 0 0; 
    
    overflow-y: auto;
    background: radial-gradient(circle at center, #b61943 0%, #000000 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}

#siembra-section.active-section {
    opacity: 1; pointer-events: auto;
}

/* --- 1. SLIDER SIEMBRA --- */
.siembra-slider-container {
    width: 100%;
    height: 45vh;
    position: relative;
    margin-left: 0; 
}

.siembra-swiper { width: 100%; height: 100%; }
.siembra-swiper .slide-img { filter: brightness(0.6); }
.siembra-swiper .slide-title { font-size: 2rem; margin-bottom: 10px; color: #fff; text-shadow: 0 2px 10px #000; }
.siembra-swiper .slide-quote { font-size: 1rem; color: #eee; text-shadow: 0 2px 5px #000; }

/* PAGINACIÓN */
.siembra-pagination {
    bottom: 30px !important;
    z-index: 10;
}
.siembra-pagination .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.siembra-pagination .swiper-pagination-bullet-active { background: var(--primary); opacity: 1; }

/* --- CONTENIDO --- */
.siembra-content {
    /* AJUSTE 1: Aumentado el padding superior a 60px para bajar el título */
    /* El padding izquierdo es 100px para librar el sidebar en escritorio */
    padding: 60px 40px 0 100px; 
    
    background: linear-gradient(to bottom, transparent, #111 20%);
    position: relative;
    z-index: 10;
    
    /* Solapamiento suave en escritorio */
    margin-top: -50px; 
}

/* Intro */
.siembra-intro-box { text-align: center; margin-bottom: 40px; }
.siembra-intro-box h2 { font-size: 2.2rem; color: #fff; margin-bottom: 15px; font-weight: 800; text-transform: uppercase; }
.siembra-intro-box p { color: #ddd; line-height: 1.6; font-size: 1.1rem; max-width: 800px; margin: 0 auto; }

/* --- 2. TARJETAS (GRID) --- */
.giving-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.giving-card {
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; justify-content: space-between;
}
.giving-card:hover { transform: translateY(-8px); }

/* Colores */
.card-unica { background: linear-gradient(145deg, #2c3e50, #1a1a1a); border-top: 4px solid #f1c40f; }
.card-mensual { background: linear-gradient(145deg, #1a2980, #1a1a1a); border-top: 4px solid #26d0ce; }
.card-proyectos { background: linear-gradient(145deg, #600f25, #1a1a1a); border-top: 4px solid #B61942; }

/* Iconos */
.icon-circle {
    width: 80px; height: 80px; margin: 0 auto 20px auto;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 35px; background: rgba(255,255,255,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.card-unica .icon-circle { color: #f1c40f; }
.card-mensual .icon-circle { color: #26d0ce; }
.card-proyectos .icon-circle { color: #B61942; }

.giving-card h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 700; }
.giving-card p { font-size: 0.95rem; color: #ccc; margin-bottom: 25px; line-height: 1.5; }

.btn-donate {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
    color: #fff; padding: 12px 25px; border-radius: 30px; cursor: pointer;
    font-weight: 600; transition: all 0.3s; width: 100%;
}
.btn-donate:hover { background: #fff; color: #000; }

/* --- 3. FOOTER DEL SITIO --- */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    width: 100%;
    margin-left: 0; margin-right: 0;
}

/* Mapa del sitio */
.footer-sitemap {
    background: rgba(20, 20, 20, 0.95);
    padding: 40px 20px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}

/* Estilo del slogan */
.footer-tagline {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #bbb; /* Gris claro */
    line-height: 1.6;
    max-width: 600px; /* Para que no se estire demasiado */
    margin-left: auto; 
    margin-right: auto;
}

/* Icono del Corazón */
.heart-beat {
    color: #ff4757; /* Rojo bonito */
    margin-left: 3px;
    display: inline-block;
    animation: pulse 1.5s infinite ease-in-out; /* Animación infinita */
    vertical-align: middle;
}

/* Animación de Latido (Palpitar) */
@keyframes pulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); } /* Primer latido fuerte */
    30% { transform: scale(1); }
    45% { transform: scale(1.15); } /* Segundo latido suave */
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.footer-logo img { width: 60px; margin-bottom: 10px; }
.footer-logo h4 { text-transform: uppercase; letter-spacing: 1px; color: #fff; }

.footer-info p { color: #ccc; margin: 5px 0; font-size: 0.9rem; }
.footer-info a { color: var(--secondary); text-decoration: none; }

.footer-social { display: flex; gap: 15px; margin-top: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: #fff;
    transition: 0.3s;
}
.footer-social a:hover { background: var(--primary); transform: scale(1.1); }

/* COPYRIGHT */
.footer-copyright {
    background: #000;
    color: #666; font-size: 0.8rem;
    border-top: 1px solid #222;
    text-align: center;
    /* AJUSTE TUYO APLICADO: 180px para librar el reproductor */
    padding: 20px 20px 180px 20px;
}
.footer-copyright strong { color: #888; }

/* --- 4. MODALES --- */
.modal-overlay {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    /* Fondo oscuro sólido con algo de transparencia y blur */
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px);
    
    /* Z-INDEX MUY ALTO (Mayor que sidebar: 2000) */
    z-index: 3000; 
    
    display: none;
    align-items: center; justify-content: center; 
    padding: 20px;
}
.modal-overlay.active { display: flex; animation: fadeIn 0.3s; }

.modal-content {
    background: #1e1e24; border: 1px solid #333;
    width: 100%; max-width: 500px;
    padding: 30px; border-radius: 20px;
    position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-height: 90vh; overflow-y: auto;
}

.close-modal {
    position: absolute; top: 15px; right: 20px;
    font-size: 30px; color: #aaa; cursor: pointer;
}
.close-modal:hover { color: #fff; }

.modal-content h3 { color: var(--secondary); margin-bottom: 10px; font-size: 1.5rem; }
.modal-content p { color: #ccc; margin-bottom: 20px; font-size: 0.9rem; }

.bank-item { background: #2a2a2a; border-radius: 10px; padding: 15px; margin-bottom: 15px; }
.bank-header { color: #fff; font-weight: bold; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.copy-line {
    background: #111; padding: 10px; border-radius: 6px; margin-bottom: 5px;
    display: flex; justify-content: space-between; color: #ddd; font-size: 0.85rem; cursor: pointer;
}
.copy-line:active { background: #333; }
.bizum { color: #f1c40f; border: 1px solid #f1c40f; background: transparent; }
.nequi { color: #ff7675; border: 1px solid #d63031; background: transparent; }

.siembra-form input, .siembra-form select, .siembra-form textarea {
    width: 100%; padding: 12px; margin-bottom: 15px;
    background: #111; border: 1px solid #333; border-radius: 8px;
    color: #fff; font-family: inherit;
}
.siembra-form textarea { height: 100px; resize: vertical; }
.form-row { display: flex; gap: 10px; }
.btn-submit {
    width: 100%; padding: 12px; background: var(--primary); border: none;
    color: #fff; font-weight: bold; border-radius: 8px; cursor: pointer;
    font-size: 1rem; transition: 0.3s;
}
.btn-submit:hover { background: #9c1538; }

#copy-toast {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    background: var(--primary); color: #fff; padding: 15px 30px; border-radius: 30px;
    font-weight: bold; opacity: 0; transition: 0.3s; z-index: 2000;
}
#copy-toast.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* --- RESPONSIVE MÓVIL (CORRECCIÓN) --- */
@media (max-width: 480px) {
    .siembra-slider-container {
        /* AJUSTE MÓVIL: Más altura para que la imagen luzca */
        height: 50vh; 
    }
    
    .siembra-content {
        /* AJUSTE MÓVIL: Padding lateral recuperado */
        /* Padding superior 50px para bajar el texto */
        padding: 50px 20px 0 20px; 
        
        /* AJUSTE MÓVIL: Margen negativo reducido para no tapar la foto */
        margin-top: -20px; 
        
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    
    #siembra-section { padding: 0; }
    
    /* El intro en móvil un poco más compacto */
    .siembra-intro-box h2 { font-size: 1.8rem; }
}