/* =========================================
   WINGS OF HOPE — Main Stylesheet
   ========================================= */

/* ---- Variables ---- */
:root {
  --green-dark: #1a6b5a;
  --green-main: #2a9d8f;
  --green-light: #3bbfb0;
  --green-pale: #d4f5f0;
  --green-card: #e8f8f5;
  --navy: #1b2e3c;
  --navy-light: #243447;
  --gold: #e9c46a;
  --gold-light: #f4d58d;
  --white: #ffffff;
  --off-white: #f8fdfc;
  --gray-light: #f0f4f3;
  --gray-text: #5a6e68;
  --text-dark: #1b2e3c;
  --shadow-soft: 0 4px 24px rgba(42,157,143,0.13);
  --shadow-hover: 0 12px 40px rgba(42,157,143,0.22);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--navy); line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: clamp(0.9rem, 1.5vw, 1rem); color: var(--gray-text); }

/* ============================================================
   1. TOP BAR
   ============================================================ */
.top-bar {
  background: #1f1646;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}
.top-bar .top-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-bar a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.top-bar a:hover { color: var(--green-light); }
.top-bar .top-socials { display: flex; align-items: center; gap: 6px; }
.top-bar .top-socials span { margin-right: 6px; opacity: 0.7; }
.top-bar .social-icon-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.top-bar .social-icon-btn:hover {
  background: var(--green-main);
  transform: scale(1.1);
}
.top-bar svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================
   2. MAIN HEADER / NAV
   ============================================================ */
.main-header {
  background: transparent;
  padding: 16px 130px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
  transition: var(--transition);
}
.main-header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}
.logo-container img, .logo-container svg { width: 130px; height: 130px; transition: var(--transition); }
.logo-text-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo-text-of { color: var(--gold); font-style: italic; }
.logo-text-sub {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-text);
}

/* ---- Navigation ---- */
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--gray-text);
  padding: 6px 16px;
  border-radius: 24px;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover { color: var(--green-dark); background: transparent; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(0); }
.main-nav a.active { color: #2a9d8f; font-weight: 500; }

/* ---- Mobile hamburger toggle (oculto en escritorio) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #1f1646;
  transition: var(--transition);
}
.nav-close { display: none; }
.mobile-nav-socials { display: none; }

/* ============================================================
   3. HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 700px;
  margin-top: -162px;
  background: var(--white);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-image-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: brightness(1);
}
.hero:hover .hero-image-side img { transform: scale(1.03); }
.hero-image-side::after {
  content: '';
  position: none;
  
}
.hero-content {
  width: 40%;
  margin-left: 10%;
  padding: 130px 40px 60px 20px;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}
.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
  opacity: 1;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #1f1646;
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 1;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em { color: #2a9d8f; font-style: italic; }
.hero-subtitle {
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 320px;
  opacity: 1;
  animation: fadeUp 0.8s 0.7s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-main);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 1;
  animation: fadeUp 0.8s 0.9s forwards;
  width: fit-content;
}
.btn-primary:hover {
  background: transparent;
  border-color: var(--green-light);
  color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,157,143,0.3);
}
.btn-primary svg { width: 18px; height: 18px; }

/* Decorative circles on hero */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.hero-deco-1 {
  width: 300px; height: 300px;
  background: var(--green-light);
  top: -80px; right: -60px;
}
.hero-deco-2 {
  width: 180px; height: 180px;
  background: var(--gold);
  bottom: -40px; right: 100px;
}

/* ============================================================
   4. MISSION BANNER
   ============================================================ */
.mission-banner {
  background: #171e00;
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.mission-left h2 {
  font-size: 2.2rem;
  color: #95e1bf;
  line-height: 1.2;
  margin-bottom: 8px;
  padding-left: 80px;
}
.mission-left h2 .highlight { color: var(--green-light); }
.mission-left p { color: #ffffff; font-size: 1rem; }
.mission-right p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.8;
  padding-right: 80px;
}

/* ============================================================
   5. SECTION DIVIDER (Logo)
   ============================================================ */
.logo-divider {
  display: flex;
  justify-content: center;
  padding: 0;
  background: transparent;
  position: relative;
  height: 0;
  z-index: 10;
}
.logo-divider-inner {
  position: absolute;
  top: -45px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-divider-inner::before,
.logo-divider-inner::after {
  display: none;
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--green-main));
}
.logo-divider-inner::after {
  background: linear-gradient(to left, transparent, var(--green-main));
}
.divider-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gray-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: var(--transition);
}
.divider-logo:hover {
  transform: rotate(15deg) scale(1.1);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   6. PILLARS SECTION
   ============================================================ */
.pillars-section {
  padding: 80px 80px 100px;
  background: var(--off-white);
  text-align: center;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 12px;
  font-weight: 700;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #1f1646;
  margin-bottom: 12px;
}
.section-title em { color: var(--green-main); font-style: italic; }
.section-subtitle {
  max-width: 600px;
  margin: 0 auto 16px;
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
}
.section-body-text {
  max-width: 700px;
  margin: 0 auto 56px;
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.8;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.pillar-card {
  background: transparent;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.pillar-card::before {
  content: '';
  position: relative;
  inset: 0;
  background: none;
  opacity: 0;
  transition: var(--transition);
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  }
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  width: 90px; height: 90px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.pillar-card:hover .pillar-icon {
  background: var(--white);
  transform: scale(1.1);
}
.pillar-icon img { width: 55px; height: 55px; object-fit: contain; }
.pillar-icon svg { width: 40px; height: 40px; }
.pillar-card:hover .pillar-icon svg { filter: brightness(10); }
.pillar-card h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative; z-index: 1;
  transition: var(--transition);
}
.pillar-card:hover h3 { color: var(--green-dark); }
.pillar-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  position: relative; z-index: 1;
  color: white;
}

/* ---- Colores individuales por tarjeta de pilar ---- */
.pillar-card:nth-child(1) { background: #a8d8c8 !important; }
.pillar-card:nth-child(2) { background: #bab5e2 !important; }
.pillar-card:nth-child(3) { background: #cdd6a5 !important; }


.pillar-card:nth-child(1) {
  background-color: #a8d8c8 !important;
  background-image: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)), linear-gradient(rgba(168,216,200,0.78), rgba(168,216,200,0.78)), url('../images/dignidad.png') !important;
  background-size: cover;
  background-position: center;
    border-radius: var(--radius);
  overflow: hidden;
}
.pillar-card:nth-child(2) {
  background-color: #bab5e2 !important;
  background-image: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)), linear-gradient(rgba(186,181,226,0.78), rgba(186,181,226,0.78)), url('../images/esperanza.png') !important;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar-card:nth-child(3) {
  background-color: #cdd6a5 !important;
  background-image: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)), linear-gradient(rgba(205,214,165,0.78), rgba(205,214,165,0.78)), url('../images/comunidad.png') !important;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}


/* ============================================================
   7. CHILDREN SECTION
   ============================================================ */
.children-section {
  padding: 80px 80px 100px;
  background: var(--white);
  text-align: center;
}
.children-intro {
  max-width: 680px;
  margin: 0 auto 56px;
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.8;
}
.children-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 48px;
  max-width: 860px;
  margin: 0 auto;
  justify-items: center;
}
.child-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.child-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--green-pale);
  transition: var(--transition);
  position: relative;
}
.child-circle::after {
  content: 'Ver historia';
  position: absolute;
  inset: 0;
  background: rgba(42,157,143,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: var(--transition);
  border-radius: 50%;
}
.child-item:hover .child-circle {
  border-color: var(--green-main);
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(42,157,143,0.25);
}
.child-item:hover .child-circle::after { opacity: 1; }
.child-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.child-item:hover .child-circle img { transform: scale(1.1); }
.child-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1645;
  transition: var(--transition);
  border-bottom: none;
  padding-bottom: 2px;
}
.child-item:hover .child-name {
  color: var(--green-main);
  border-bottom-color: transparent;;
}

/* Logo child (no hover overlay) */
.child-item.is-logo .child-circle::after { display: none; }
.child-item.is-logo .child-circle {
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.child-item.is-logo .child-circle img {
  object-fit: contain;
  filter: none;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,46,60,0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  text-align: center;
  background: var(--white);
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  padding: 40px 48px 40px;
  position: relative;
  text-align: center;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  overflow: visible;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-card);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--green-dark);
}
.modal-close:hover { background: var(--green-main); color: white; transform: rotate(90deg); }
.modal-child-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green-light);
  position: relative;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 20px rgba(42,157,143,0.2);
}
.modal-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-style: italic;
}
.modal-box p {
  font-size: 1rem;
  line-height: 1.8;
  color:#1f1646;
  margin-bottom: 12px;
}
.modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-main);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 16px;
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid var(--green-main);
}
.modal-link:hover {
  background: transparent;
  color: var(--green-main);
  border-color: var(--green-main);
}

/* Modal de donación / formas */
.modal-ways-box {
  max-width: 500px;
}
.modal-ways-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-card);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.modal-ways-icon svg { width: 40px; height: 40px; }

/* ============================================================
   8. TRANSPARENCY SECTION
   ============================================================ */
.transparency-section {
  padding: 80px 80px 100px;
  background: #1f1646;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.transparency-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,191,176,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.transparency-section .section-title { color: var(--white); }
.transparency-section .section-subtitle { color: rgba(255,255,255,0.75); margin-top: 38px;}
.transparency-cta {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  cursor: pointer;
  transition: var(--transition);none
  
}
.transparency-cta:hover { opacity: 0.8; }

.trans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 60px auto 0;
}
.trans-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: default;
  transition: var(--transition);
}
.trans-card:hover { transform: translateY(-4px);0 8px 32px rgba(0,0,0,0.2); }
.trans-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}
.trans-card:hover .trans-card-img { transform: scale(1.03); filter: brightness(1.08);}
.trans-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(27,46,60,0.95) 0%, transparent 100%);
  padding: 24px 16px 16px;
  transition: var(--transition);
}
.trans-card:hover .trans-card-overlay { padding-bottom: 24px; }
.trans-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 4px;
  font-weight: 700;
}
.trans-card-title {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ============================================================
   9. WAYS TO HELP
   ============================================================ */
.ways-section {
  padding: 80px 80px 100px;
  background: var(--off-white);
  text-align: center;
}
.ways-subtitle {
  max-width: 560px;
  margin: 0 auto 56px;
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
}
.ways-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.way-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  width: 170px;
  transition: var(--transition);
}
.way-card:hover {
  transform: translateY(-10px);
}
.way-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2.5px solid var(--green-main);
  background: #fbfbfb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 6px 28px rgba(42,157,143,0.12);
}
.way-card:hover .way-circle {
  background: #b1efd1;
  border-color: var(--green-main);
  box-shadow: 0 16px 48px rgba(42,157,143,0.35);
}
.way-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.way-icon svg {
  width: 52px;
  height: 52px;
  stroke: var(--green-main);
  transition: var(--transition);
}
.way-card:hover .way-icon svg { stroke: white; }
.way-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
  transition: var(--transition);
}
.way-card:hover h3 { color: var(--green-dark); }
}
.way-card:hover h3 { color: white; }

/* ============================================================
   10. WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 500;
  transition: var(--transition);
  animation: pulse-whatsapp 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
  background: #32381e;
  padding: 60px 80px 32px;
  text-align: center;
  color: rgba(255,255,255,0.75);
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-text .of { color: var(--gold); font-style: italic; }
.footer-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  font-style: italic;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.footer-social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}
.footer-social-btn:hover {
  background: var(--green-main);
  border-color: var(--green-main);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42,157,143,0.35);
}
.footer-social-btn svg { width: 20px; height: 20px; fill: currentColor; }
.footer-social-label {
  font-size: 0.78rem;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .trans-grid { grid-template-columns: repeat(2, 1fr); }
  .ways-grid { gap: 28px; }
  .way-card { width: 140px; }
  .way-circle { width: 120px; height: 120px; }
  .way-icon svg { width: 42px; height: 42px; }
}
@media (max-width: 768px) {
  .top-bar { padding: 8px 20px; font-size: 0.75rem; }
  .main-header,
  .main-header.scrolled {
    padding: 12px 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .logo-container img { width: 130px !important; height: 130px !important; }
  .nav-toggle { display: flex; }

  /* Menú full-screen morado con textos verde agua */
  .main-nav {
    position: fixed;
    inset: 0;
    background: #1f1646;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: var(--transition);
    z-index: 1000;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-light);
    padding: 0;
  }
  .main-nav a.active,
  .main-nav a:hover { color: var(--white); background: transparent; }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-light);
    color: #1f1646;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1002;
  }

  .mobile-nav-socials {
    display: flex;
    gap: 16px;
    margin-top: 10px;
  }
  .mobile-nav-socials a {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--green-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-light);
    transition: var(--transition);
  }
  .mobile-nav-socials a:hover { background: var(--green-light); color: #1f1646; }
  .mobile-nav-socials svg { width: 20px; height: 20px; fill: currentColor; }

  .hero { flex-direction: column; min-height: 100vh; margin-top: -154px; } 
  .hero-image-side { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-image-side img { object-position: 55% 20%; }
  .hero-image-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,30,30,0.7) 0%, rgba(30,30,30,0.25) 42%, rgba(30,30,30,0.03) 65%);
  }
  .hero-content {
    width: 100%;
    margin-left: 0;
    min-height: 100vh;
    padding: 100px 24px 56px;
    justify-content: flex-end;
  }
  .hero-title { color: var(--white); }
  .hero-subtitle { color: rgba(255,255,255,0.85); max-width: 100%; }
  .mission-banner { grid-template-columns: 1fr; padding: 48px 24px; gap: 24px; }
  .mission-left, .mission-right { text-align: center; }
  .mission-left h2 { padding-left: 0;font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
  .mission-right p { padding-right: 0; }
  .pillars-section, .children-section, .transparency-section, .ways-section { padding: 56px 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .children-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .child-circle { width: 150px; height: 150px; }
  .modal-box { padding: 32px 24px 32px; }
  .trans-grid { grid-template-columns: repeat(2, 1fr); }
  .ways-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 48px 24px 24px; }
}
@media (max-width: 480px) {
  .trans-grid { grid-template-columns: 1fr; }
  .ways-grid { gap: 24px; }
  .way-card { width: 130px; }
  .way-circle { width: 110px; height: 110px; }
  .way-icon svg { width: 38px; height: 38px; }
  .children-grid { gap: 20px; }
  .child-circle { width: 110px; height: 110px; }
}
