@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Jost:wght@400;500&display=swap');

/* ==============================
   VARIABLES Y RESET
============================== */
:root {
  --color-primary: #2E7D5E;
  --color-primary-dark: #1a5c44;
  --color-primary-light: #4CAF82;
  --color-accent: #F5A623;
  --color-accent-dark: #d4891a;
  --color-bg: #FAFAF8;
  --color-bg-alt: #F0F4F1;
  --color-text: #2C2C2C;
  --color-text-light: #5A5A5A;
  --color-white: #ffffff;
  --color-border: #D8E5DC;
  --font-heading: 'Georgia', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==============================
   TIPOGRAFÍA
============================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

/* ==============================
   UTILIDADES
============================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(46, 125, 94, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ==============================
   BOTONES
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==============================
   NAVBAR — transparente en hero, sólida al scroll
============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, padding 0.45s ease,
              border-color 0.45s ease, box-shadow 0.45s ease;
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.navbar__logo-svg {
  height: 72px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__links > li {
  display: flex;
  align-items: center;
}

.navbar__links a {
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.navbar__links a:hover { color: white; }
.navbar__links a.active { color: white; font-weight: 700; }

.navbar.scrolled .navbar__links a { color: var(--color-text); }
.navbar.scrolled .navbar__links a:hover,
.navbar.scrolled .navbar__links a.active { color: var(--color-primary); }

/* CTA Donar */
.navbar__cta {
  background: rgba(255,255,255,0.18) !important;
  color: white !important;
  padding: 7px 18px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  border: 1.5px solid rgba(255,255,255,0.55) !important;
  transition: all 0.35s ease !important;
  white-space: nowrap;
}

.navbar__cta:hover {
  background: rgba(255,255,255,0.3) !important;
  transform: translateY(-1px);
}

.navbar.scrolled .navbar__cta {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: white !important;
}

.navbar.scrolled .navbar__cta:hover {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: background 0.45s ease, transform 0.3s ease, opacity 0.3s ease;
}

.navbar.scrolled .navbar__hamburger span { background: var(--color-text); }

/* Hamburger animación X cuando está abierto */
.navbar__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 3px;
  transition: all 0.45s ease;
}

.navbar.scrolled .lang-toggle {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

.lang-toggle a {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65) !important;
  transition: all 0.25s ease !important;
  line-height: 1;
}

.navbar.scrolled .lang-toggle a {
  color: var(--color-text-light) !important;
}

.lang-toggle a.active {
  background: white;
  color: var(--color-primary) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.navbar.scrolled .lang-toggle a.active {
  background: var(--color-primary);
  color: white !important;
}

/* ==============================
   HERO — full screen estilo cinematic
============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__parallax-bg {
  position: absolute;
  top: -25%;
  left: 0;
  right: 0;
  bottom: -25%;
  background: url('../images/hero.jpg') center/cover no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,40,28,0.62) 0%, rgba(10,40,28,0.45) 60%, rgba(10,40,28,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 1.5rem;
  padding-top: 100px;
}

.corner-fdl-stage {
  position: absolute;
  top: 6rem;
  right: 2rem;
  z-index: 1;
  width: min(360px, calc(100% - 3rem));
  pointer-events: none;
}

.corner-fdl-stage .fdl-logo {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  animation: fdl-rise 1.1s cubic-bezier(.2,.7,.2,1) .1s forwards;
}

.corner-fdl-stage .fdl-mark {
  flex: 0 0 auto;
  width: 170px;
  height: auto;
}

.corner-fdl-stage .fdl-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--fdl-green);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: .5px;
}

.corner-fdl-stage .fdl-divider {
  width: min(280px, 100%);
  height: 2px;
  background: var(--fdl-green);
  opacity: .55;
  margin: 14px 0 10px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: fdl-line 1s ease .7s forwards;
}

.corner-fdl-stage .fdl-sub,
.corner-fdl-stage .fdl-tag {
  font-family: "Jost", sans-serif;
  margin: 0;
}

.corner-fdl-stage .fdl-sub {
  font-weight: 500;
  color: var(--fdl-green);
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: .42em;
}

.corner-fdl-stage .fdl-tag {
  font-weight: 400;
  color: var(--fdl-mist);
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: .12em;
}

@media (max-width: 900px) {
  .corner-fdl-stage {
    position: static;
    margin: 0 auto 2rem;
    width: min(340px, 100%);
  }
  .corner-fdl-stage .fdl-logo {
    flex-direction: column;
    text-align: center;
  }
  .corner-fdl-stage .fdl-wordmark {
    width: 100%;
  }
  .hero__content {
    padding-top: 60px;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  color: white;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 1.4rem;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: 2.2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll-hint::after {
  content: '↓';
  font-size: 1.1rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero__stats {
  display: flex;
  gap: 0;
  margin-top: 3.5rem;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-wrap: wrap;
}

.hero__stat {
  flex: 1;
  min-width: 120px;
  padding: 1.4rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

/* ==============================
   STUDENT CARDS
============================== */
.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}

.student-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.student-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.student-card__photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--color-bg-alt);
}

.student-card__body {
  padding: 1.5rem;
}

.student-card__dream {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,125,94,0.1);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.student-card__name {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-bottom: 0.6rem;
}

.student-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-light);
}

/* ==============================
   TARJETAS
============================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(46, 125, 94, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

/* ==============================
   PASOS / HOW IT WORKS
============================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
}

/* ==============================
   QUOTE / TESTIMONIAL
============================== */
.quote-block {
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 2rem;
  font-size: 12rem;
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.08);
  line-height: 1;
}

.quote-block p {
  color: rgba(255,255,255,0.9);
  font-size: 1.3rem;
  font-style: italic;
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.quote-block cite {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-style: normal;
}

/* ==============================
   DIRECTOR CARD
============================== */
.director-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.director-avatar {
  width: 300px;
  height: 340px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.director-name {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.director-title {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==============================
   HISTORIA DE ÉXITO
============================== */
.success-story {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.success-story:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-tag {
  display: inline-block;
  background: rgba(46,125,94,0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ==============================
   DONACIÓN / CTA BANNER
============================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-primary {
  font-size: 1.1rem;
  padding: 16px 36px;
}

/* ==============================
   TRANSPARENCIA / FONDOS
============================== */
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.transparency-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.transparency-percent {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background: #1a2e25;
  color: white;
  padding: 60px 0 30px;
  --fdl-green: white;
  --fdl-green-deep: rgba(255,255,255,0.65);
  --fdl-window: #1a2e25;
}

.footer p {
  color: white;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul a {
  color: white;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==============================
   PAGE HERO (subpáginas)
============================== */
.page-hero {
  padding: 140px 0 80px;
  background:
    linear-gradient(135deg, rgba(26,92,68,0.80) 0%, rgba(46,125,94,0.72) 100%),
    url('../images/hero.jpg') center/cover no-repeat;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ==============================
   FORMULARIO PADRINO
============================== */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.split-grid,
.donation-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.split-grid {
  grid-template-columns: 1fr 1fr;
}

.donation-grid {
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 3rem;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.trust-panel {
  max-width: 760px;
  margin: 2rem auto 0;
  text-align: left;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.trust-list p {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.amount-btn {
  padding: 12px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--color-primary);
  background: rgba(46,125,94,0.08);
  color: var(--color-primary);
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.5rem 1.5rem;
    gap: 0.2rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .navbar__links > li {
    width: 100%;
  }

  .navbar__links a {
    color: var(--color-text) !important;
    padding: 0.55rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--color-bg-alt);
    font-size: 1rem;
  }

  .navbar__links a:hover,
  .navbar__links a.active {
    color: var(--color-primary) !important;
  }

  .navbar__links .navbar__cta {
    background: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
    text-align: center;
    border-radius: 50px;
    margin-top: 0.5rem;
    padding: 10px 20px !important;
    display: block;
    border-bottom: none !important;
  }

  .lang-toggle {
    background: var(--color-bg-alt) !important;
    border-color: var(--color-border) !important;
    margin: 0.4rem 0;
  }

  .lang-toggle a {
    color: var(--color-text-light) !important;
    border-bottom: none !important;
    padding: 4px 10px !important;
    width: auto !important;
    display: inline !important;
  }

  .lang-toggle a.active {
    color: white !important;
    background: var(--color-primary);
    border-radius: 50px;
  }

  .navbar__links.open {
    display: flex;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__logo {
    font-size: 0.95rem;
  }

  .director-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .amount-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid,
  .donation-grid,
  .story-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .donation-grid {
    gap: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__stats {
    gap: 1.5rem;
  }
}

/* ==============================
   LOGO ANIMADO — FDL
============================== */
:root {
  --fdl-green: #2E6B51;
  --fdl-green-deep: #21513D;
  --fdl-gold: #EDA313;
  --fdl-mist: #5FA384;
  --fdl-window: #3E8467;
}

.fdl-logo {
  display: flex;
  align-items: center;
  gap: 42px;
  opacity: 0;
  transform: translateY(18px);
  animation: fdl-rise 1.1s cubic-bezier(.2,.7,.2,1) .1s forwards;
}

.fdl-mark {
  flex: 0 0 auto;
  width: 330px;
  height: auto;
}

.fdl-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--fdl-green);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: .5px;
}

.fdl-divider {
  width: min(420px, 100%);
  height: 2px;
  background: var(--fdl-green);
  opacity: .55;
  margin: 18px 0 14px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: fdl-line 1s ease .7s forwards;
}

.fdl-sub {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  color: var(--fdl-green);
  font-size: clamp(15px, 1.6vw, 21px);
  letter-spacing: .42em;
  margin: 0 0 10px;
}

.fdl-tag {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  color: var(--fdl-mist);
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: .12em;
  margin: 0;
}

.fdl-beam {
  stroke: var(--fdl-green);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: .16;
  animation: fdl-beam 3.2s ease-in-out infinite;
}

.fdl-lamp { animation: fdl-lamp 3.2s ease-in-out infinite; transform-origin: center; }
.fdl-glow { animation: fdl-glow 3.2s ease-in-out infinite; transform-origin: center; }
.fdl-waves { animation: fdl-waves 5s ease-in-out infinite; }

@keyframes fdl-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fdl-line { to { transform: scaleX(1); } }
@keyframes fdl-beam {
  0%, 100% { opacity: .14; }
  45% { opacity: .72; }
}
@keyframes fdl-lamp {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}
@keyframes fdl-glow {
  0%, 100% { opacity: .25; transform: scale(.85); }
  50% { opacity: .6; transform: scale(1.15); }
}
@keyframes fdl-waves {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

/* Logo en el navbar */
.navbar__logo .fdl-logo {
  opacity: 1;
  transform: none;
  animation: none;
  gap: 10px;
}

.navbar__logo .fdl-mark {
  width: 72px;
}

.navbar__logo .fdl-name {
  font-size: 17px;
  line-height: 1.15;
  color: white;
  transition: color 0.45s ease;
}

.navbar.scrolled .navbar__logo .fdl-name {
  color: var(--fdl-green);
}

.navbar__logo .fdl-divider {
  animation: none;
  transform: scaleX(1);
  margin: 5px 0 4px;
  width: 100%;
  background: rgba(255,255,255,0.55);
  transition: background 0.45s ease;
}

.navbar.scrolled .navbar__logo .fdl-divider {
  background: var(--fdl-green);
  opacity: .55;
}

.navbar__logo .fdl-sub {
  font-size: 8px;
  letter-spacing: 0.28em;
  margin: 0 0 2px;
  color: rgba(255,255,255,0.88);
  transition: color 0.45s ease;
}

.navbar.scrolled .navbar__logo .fdl-sub {
  color: var(--fdl-green);
}

.navbar__logo .fdl-tag {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  transition: color 0.45s ease;
}

.navbar.scrolled .navbar__logo .fdl-tag {
  color: var(--fdl-mist);
}

@media (max-width: 480px) {
  .navbar__logo .fdl-sub,
  .navbar__logo .fdl-tag,
  .navbar__logo .fdl-divider { display: none; }
  .navbar__logo .fdl-name { font-size: 15px; }
  .navbar__logo .fdl-mark { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .fdl-logo, .fdl-divider { animation: none; opacity: 1; transform: none; }
  .fdl-beam, .fdl-lamp, .fdl-glow, .fdl-waves { animation: none; }
  .fdl-beam { opacity: .4; }
}

/* ==============================
   TARJETAS DE NIÑOS
============================== */
.kids-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.kid-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  background: var(--color-primary);
  cursor: default;
}

.kid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
  display: block;
}

.kid-card:hover img {
  transform: scale(1.06);
}

.kid-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
}

.kid-card__name {
  font-family: "Playfair Display", Georgia, serif;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.kid-card__age {
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 900px) {
  .kids-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .kids-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
}

/* ==============================
   GALERÍA
============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  opacity: 0.88;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.28); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
