*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal: #2AAFBA;
  --teal-dark: #1a8f9a;
  --teal-light: #85D5DC;
  --green: #52C078;
  --green-dark: #3A9958;
  --cream: #F5FFFC;
  --deep: #0D4A55;
  --text: #1A3A3F;
  --muted: #5A7A7E;
  --white: #FFFFFF;
  --gold: #F5A623;
}
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: .5rem 4%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(42,175,186,0.12);
}
.nav-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.nav-brand-text { line-height: 1.1; }
.nav-brand-text strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--deep); }
.nav-brand-text span { font-size: .72rem; color: var(--muted); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text); font-size: .88rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 6px; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(42,175,186,.1); color: var(--teal); }
.nav-right { display: flex; gap: .6rem; align-items: center; }
.nav-cta {
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: white; padding: .75rem 2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 4px 20px rgba(42,175,186,.45);
  transition: all .25s; letter-spacing: .02em;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(42,175,186,.6); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--deep); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 6rem 4% 3rem;
  background: linear-gradient(135deg, #E0F7FA 0%, #CCF0F5 40%, #E0F5EA 100%);
  position: relative; overflow: hidden;
}
.hero::before { display: none; }
.hero-content { max-width: 600px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(42,175,186,.12); border: 1.5px solid rgba(42,175,186,.3);
  color: var(--teal-dark); font-size: .82rem; font-weight: 700;
  padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
  animation: fadeUp .7s .1s both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.15; color: var(--deep);
  margin-bottom: 1rem;
  animation: fadeUp .7s .2s both;
}
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p {
  color: var(--muted); line-height: 1.7; font-size: 1rem;
  margin-bottom: 2rem; max-width: 500px;
  animation: fadeUp .7s .4s both;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .7s .5s both; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: white; padding: .85rem 2rem; border-radius: 50px;
  font-size: .95rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(42,175,186,.4);
  transition: all .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(42,175,186,.5); }
.btn-outline {
  background: white; color: var(--teal);
  padding: .85rem 2rem; border-radius: 50px;
  font-size: .95rem; font-weight: 700; text-decoration: none;
  border: 2px solid var(--teal);
  transition: all .25s;
}
.btn-outline:hover { background: var(--teal); color: white; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem;
  animation: fadeUp .7s .6s both;
}
.stat { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--teal-dark); display: block; }
.stat-lbl { font-size: .78rem; color: var(--muted); }

/* ── SECTIONS ── */
section { padding: 5rem 4%; }
.section-label {
  display: block; color: var(--teal); font-size: .8rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--deep); margin-bottom: 1rem;
}
.section-sub { color: var(--muted); line-height: 1.7; max-width: 550px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── ABOUT ── */
.about { background: white; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-card {
  background: linear-gradient(135deg, #E0F7FA, #B2EBF4);
  border-radius: 24px; padding: 2.5rem;
  border: 1px solid rgba(42,175,186,.2);
}
.about-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--deep); margin-bottom: 1rem; }
.about-list { list-style: none; }
.about-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .6rem 0; border-bottom: 1px solid rgba(42,175,186,.15);
  font-size: .9rem; color: var(--text); line-height: 1.5;
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before { content: '✦'; color: var(--teal); font-size: .75rem; margin-top: 2px; flex-shrink: 0; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.5rem; }
.value-pill {
  background: rgba(42,175,186,.08); border: 1px solid rgba(42,175,186,.2);
  border-radius: 12px; padding: .6rem .8rem;
  font-size: .82rem; font-weight: 600; color: var(--teal-dark); text-align: center;
}

/* ── DONACIONES ── */
.donations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.donation-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.5rem; }
.amount-opt {
  padding: 1rem; border-radius: 14px;
  border: 2px solid rgba(42,175,186,.2);
  text-align: center; cursor: pointer; transition: all .2s;
  background: var(--cream);
}
.amount-opt:hover, .amount-opt.selected {
  border-color: var(--teal); background: rgba(42,175,186,.08);
}
.amount-opt .price { font-size: 1.3rem; font-weight: 800; color: var(--teal-dark); display: block; }
.amount-opt .desc { font-size: .75rem; color: var(--muted); }
.payment-methods h4 { font-weight: 700; font-size: .9rem; margin-bottom: 1rem; color: var(--deep); }
.payment-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.pay-opt {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 10px;
  border: 1.5px solid rgba(42,175,186,.2);
  background: white; cursor: pointer; transition: all .2s;
  font-size: .83rem; font-weight: 600; color: var(--text);
}
.pay-opt:hover, .pay-opt.selected { border-color: var(--teal); background: rgba(42,175,186,.06); }
.pay-icon { font-size: 1.1rem; }
.donation-form label { display: block; font-size: .83rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; }
.donation-form input, .donation-form select {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid rgba(42,175,186,.2); border-radius: 10px;
  font-family: 'Nunito', sans-serif; font-size: .9rem; outline: none;
  background: var(--cream); color: var(--text); margin-bottom: 1rem;
  transition: border-color .2s;
}
.donation-form input:focus, .donation-form select:focus { border-color: var(--teal); background: white; }
.btn-donar {
  width: 100%; padding: .9rem;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: white; border: none; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800;
  cursor: pointer; box-shadow: 0 6px 20px rgba(42,175,186,.35);
  transition: all .25s;
}
.btn-donar:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(42,175,186,.5); }
.secure-badge { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .8rem; font-size: .75rem; color: var(--muted); }
.donation-info { background: linear-gradient(135deg, #E0F7FA, #B2EBF4); border-radius: 20px; padding: 2rem; }
.donation-info h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--deep); margin-bottom: 1rem; }
.impact-list { list-style: none; }
.impact-list li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid rgba(42,175,186,.15); font-size: .88rem; }
.impact-list li:last-child { border-bottom: none; }
.impact-list .emoji { font-size: 1.2rem; flex-shrink: 0; }
.banco-card {
  background: #f0fafa; border: 1.5px solid rgba(42,175,186,.25);
  border-radius: 14px; padding: 1rem 1.2rem; margin-top: .8rem;
}
.banco-titulo { font-weight: 800; color: var(--deep); margin-bottom: .6rem; font-size: .9rem; }
.banco-dato { display: flex; justify-content: space-between; padding: .3rem 0; font-size: .85rem; border-bottom: 1px solid rgba(42,175,186,.1); }
.banco-dato:last-child { border-bottom: none; }
.banco-dato span { color: var(--muted); }
.banco-dato strong { color: var(--deep); }

/* ── CONTACT / SOCIAL ── */
.contact-section { background: linear-gradient(135deg, #2AAFBA 0%, #3A9958 100%); color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-section .section-label { color: rgba(255,255,255,.85); }
.contact-section .section-title { color: white; }
.contact-section .section-sub { color: rgba(255,255,255,.75); }
.contact-info { margin-top: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item p { font-size: .9rem; color: rgba(255,255,255,.8); }
.contact-item strong { display: block; color: white; font-size: .95rem; }
.social-grid { display: flex; flex-direction: column; gap: 1rem; }
.social-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px; padding: 1rem 1.5rem;
  text-decoration: none; transition: all .25s;
}
.social-card:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.5); transform: translateX(6px); }
.social-card-icon { font-size: 1.8rem; }
.social-card-text strong { display: block; color: white; font-size: .95rem; font-weight: 700; }
.social-card-text span { font-size: .8rem; color: rgba(255,255,255,.75); }
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  background: #25D366; color: white;
  padding: 1rem 2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  margin-top: 1.5rem; transition: all .25s;
}
.whatsapp-btn:hover { background: #1eb855; transform: translateY(-2px); }

/* ── IMPACT ── */
.impact-section { background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%); }
.impact-section .section-title { color: white; }
.impact-section .section-label { color: rgba(255,255,255,.7); }
.impact-section .section-sub { color: rgba(255,255,255,.75); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.number-card {
  text-align: center; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 1.8rem;
  transition: all .3s;
}
.number-card:hover { background: rgba(255,255,255,.2); transform: translateY(-4px); }
.big-num { font-size: 2.8rem; font-weight: 800; color: white; display: block; line-height: 1; }
.num-lbl { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .4rem; }

/* ── FOOTER ── */
footer { background: #051F22; color: rgba(255,255,255,.5); padding: 3rem 4% 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-top: .8rem; max-width: 280px; }
footer h5 { color: white; font-size: .9rem; margin-bottom: 1rem; font-weight: 700; }
footer ul { list-style: none; }
footer ul li { margin-bottom: .5rem; }
footer ul a { color: rgba(255,255,255,.45); font-size: .85rem; text-decoration: none; transition: color .2s; }
footer ul a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; }
.footer-nit { font-size: .8rem; color: var(--teal-light); }
.footer-socials { display: flex; gap: .8rem; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: .8rem; font-weight: 800; text-decoration: none;
  transition: all .2s;
}
.footer-socials a:hover { border-color: var(--teal-light); color: var(--teal-light); }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal {
  background: white; border-radius: 24px; padding: 2.5rem;
  max-width: 480px; width: 90%; position: relative;
  animation: fadeUp .3s both;
}
.modal h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--deep); margin-bottom: 1rem; }
.modal p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--cream); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-actions { display: flex; flex-direction: column; gap: .8rem; }
.modal-pay-btn {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  padding: .85rem; border-radius: 14px; border: 2px solid rgba(42,175,186,.2);
  background: var(--cream); font-family: 'Nunito', sans-serif;
  font-size: .92rem; font-weight: 700; color: var(--text);
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.modal-pay-btn:hover { border-color: var(--teal); background: rgba(42,175,186,.06); }
.modal-pay-btn.whatsapp { background: #25D366; color: white; border-color: #25D366; }
.modal-pay-btn.whatsapp:hover { background: #1eb855; }

/* ── PAGE HERO (for inner pages) ── */
.page-hero {
  padding: 8rem 4% 4rem;
  background: linear-gradient(135deg, #E0F7FA 0%, #CCF0F5 40%, #E0F5EA 100%);
  text-align: center;
}
.page-hero .hero-badge { animation: none; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--deep); margin-bottom: 1rem; animation: none;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1rem 4%; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .menu-toggle { display: block; }
  .hero { flex-direction: column; text-align: center; padding-top: 7rem; }
  .hero-content { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .about, .donations-grid, .contact-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  #padrino > div { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .hero-stats { gap: 1rem; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .donation-amounts { grid-template-columns: 1fr 1fr; }
}
