/* Generales */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; scroll-behavior: smooth; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 5%; }
.bg-light { background: #f8f9fa; }
.bg-dark { background: #2c3e50; color: white; }
.text-center { text-align: center; }
.white { color: white !important; }

/* Navegación */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 8%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: 700; color: #2c3e50; }
.logo span { color: #27ae60; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 500; }
.btn-donar { background: #e67e22; color: #fff !important; padding: 8px 20px; border-radius: 50px; }

/* Hero */
.hero { height: 90vh; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?q=80&w=1200'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
.hero h1 { font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; letter-spacing: 5px; }
.hero p { font-size: 1.2rem; font-style: italic; margin-top: 10px; }
.btn-primary { background: #27ae60; color: #fff; padding: 15px 40px; text-decoration: none; border-radius: 50px; font-weight: 600; margin-top: 30px; display: inline-block; transition: 0.3s; }
.btn-outline { border: 2px solid white; color: white; padding: 15px 40px; text-decoration: none; border-radius: 50px; margin-left: 10px; font-weight: 600; }

/* Nosotros y Valores */
.intro-text { max-width: 800px; margin: 0 auto 40px; font-size: 1.1rem; }
.valores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.valor-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.valor-card i { font-size: 3rem; color: #27ae60; margin-bottom: 20px; }

/* Misión/Visión */
.filosofia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.filo-box { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-left: 10px solid #27ae60; color: #333; }
.filo-box h2 { margin-bottom: 20px; color: #2c3e50; }

/* Donación Cards */
.grid-donacion { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.metodo-card { background: white; padding: 30px; border-radius: 20px; width: 330px; color: #333; transition: 0.3s; }
.metodo-card:hover { transform: translateY(-5px); }
.border-paypal { border-top: 5px solid #003087; }
.border-trc { border-top: 5px solid #ec0623; }
.border-bep { border-top: 5px solid #f3ba2f; }

.wallet-container { background: #f1f1f1; padding: 10px; border-radius: 10px; margin: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.wallet-text { font-size: 0.75rem; word-break: break-all; font-family: monospace; }
.btn-copy { background: #2c3e50; color: white; border: none; padding: 8px; border-radius: 5px; cursor: pointer; }
.btn-qr { background: #27ae60; color: white; border: none; padding: 10px; width: 100%; border-radius: 5px; font-weight: bold; cursor: pointer; margin-top: 10px; }
.btn-paypal { background: #003087; color: white; text-decoration: none; padding: 12px; border-radius: 50px; display: block; margin-top: 20px; font-weight: 600; transition: 0.3s; }
.btn-paypal:hover { background: #0070ba; transform: scale(1.05); }

/* Banner Emergente (Pop-up) */
.popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; justify-content: center; align-items: center; padding: 20px; }
.popup-content { background: white; padding: 40px; border-radius: 20px; text-align: center; position: relative; max-width: 450px; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: fadeIn 0.5s ease; }
.close-popup { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; color: #999; }
.btn-popup-donar { background: #27ae60; color: white; text-decoration: none; padding: 15px; display: block; border-radius: 50px; margin-top: 25px; font-weight: 600; transition: 0.3s; }
.btn-popup-donar:hover { background: #219150; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* Modales QR */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 3000; justify-content: center; align-items: center; }
.modal-content { background: white; padding: 40px; border-radius: 20px; text-align: center; position: relative; }
.modal-content img { width: 250px; height: 250px; margin: 20px 0; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 35px; color: #333; cursor: pointer; }

/* Footer */
footer { padding: 50px 0; background: #1a1a1a; color: white; }
.social-mini a { font-size: 2.5rem; color: #27ae60; }

@media (max-width: 768px) {
    .filosofia-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}