/* =========================================================
   Tributo a la Tierra Chorotega — sistema de diseño v3
   Paleta: verdes de naturaleza, elegante, un solo acento dorado
   ========================================================= */

:root {
  --ink: #0C201A;
  --forest-900: #10281F;
  --forest-800: #163728;
  --forest-700: #1D4633;
  --forest-600: #275940;
  --forest-500: #33704F;
  --sage-300: #9FB9A3;
  --sage-200: #C4D6C5;
  --cream: #F6F1E3;
  --cream-alt: #EEE6D0;
  --cream-line: rgba(16,40,31,0.1);
  --line-dark: rgba(246,241,227,0.12);
  --gold: #C9A24A;
  --gold-deep: #A9822E;
  --gold-soft: rgba(201,162,74,0.16);

  /* Colores reales extraídos del logo oficial de la asociación */
  --brand-green: #4C6B20;
  --brand-green-light: #7A9A45;
  --brand-teal: #0E4A57;
  --brand-teal-light: #1C93A8;
  --brand-gold: #C68814;
  --brand-gold-light: #E8B54A;
  --pastel-sage: #E7EFDF;
  --pastel-sky: #E2EDEA;
  --pastel-gold: #F5ECD3;
  --pastel-sand: #F0E8D2;
  --pastel-stone: #E9E2CE;
  --text: #16261F;
  --text-muted: #55665C;
  --bone: #F6F1E3;
  --bone-dim: rgba(246,241,227,0.72);

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;
  --font-label: "IBM Plex Mono", monospace;

  --max-width: 1180px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(12,32,26,0.06);
  --shadow-md: 0 14px 30px -14px rgba(12,32,26,0.22);
  --shadow-lg: 0 24px 48px -20px rgba(12,32,26,0.32);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gap); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; color: var(--forest-900); }

.eyebrow {
  font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem; border-radius: var(--radius-pill);
  background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 1.4rem;
}
.eyebrow.on-dark { background: rgba(246,241,227,0.08); color: var(--gold); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  padding: 0.95rem 1.9rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.btn-primary { background: var(--forest-700); color: var(--bone); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--forest-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 14px 28px -12px rgba(169,130,46,0.55); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }

.btn-outline { background: transparent; border-color: rgba(16,40,31,0.22); color: var(--forest-900); }
.btn-outline:hover { border-color: var(--forest-900); transform: translateY(-2px); }
.btn-outline.on-dark { border-color: rgba(246,241,227,0.3); color: var(--bone); }
.btn-outline.on-dark:hover { border-color: var(--bone); }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.3rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  background: linear-gradient(to bottom, rgba(9,20,16,0.55), rgba(9,20,16,0));
}
header.scrolled { background: rgba(246,241,227,0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--cream-line); padding: 0.9rem 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); transition: color 0.2s ease, text-shadow 0.2s ease; white-space: nowrap; }
header.scrolled .logo { color: var(--forest-900); text-shadow: none; }
.logo-mark {
  width: 38px; height: 38px; object-fit: contain;
  flex-shrink: 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
nav ul { list-style: none; display: flex; align-items: center; gap: 1.8rem; }
nav a.nav-link { font-family: var(--font-label); font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.88); text-shadow: 0 1px 3px rgba(0,0,0,0.35); transition: color 0.2s ease, text-shadow 0.2s ease; white-space: nowrap; }
nav a.nav-link:hover { color: var(--brand-gold-light); }
header.scrolled nav a.nav-link { color: var(--text-muted); text-shadow: none; }
header.scrolled nav a.nav-link:hover { color: var(--gold-deep); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
header.scrolled .nav-toggle { color: var(--forest-900); text-shadow: none; }

.lang-toggle {
  font-family: var(--font-label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff;
  padding: 0.45rem 0.8rem; border-radius: var(--radius-pill); cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover { border-color: var(--brand-gold-light); color: var(--brand-gold-light); background: rgba(255,255,255,0.1); }
header.scrolled .lang-toggle { border-color: rgba(16,40,31,0.22); color: var(--forest-900); }
header.scrolled .lang-toggle:hover { border-color: var(--gold-deep); color: var(--gold-deep); background: var(--gold-soft); }

@media (max-width: 1180px) {
  nav ul {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(80vw, 320px);
    background: var(--cream); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 2rem 2.5rem; gap: 1.8rem; transition: right 0.35s ease; box-shadow: -14px 0 34px rgba(12,32,26,0.18);
  }
  nav ul.open { right: 0; }
  nav ul a.nav-link { color: var(--text-muted) !important; text-shadow: none !important; }
  .nav-toggle { display: block; z-index: 110; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding-top: 7rem; padding-bottom: 4rem; overflow: hidden;
}
.hero-photo-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-duotone {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(76,107,32,0.9) 0%, rgba(14,74,87,0.82) 45%, rgba(198,136,20,0.5) 100%);
  mix-blend-mode: multiply;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(9,20,16,0.62) 0%, rgba(9,20,16,0.22) 55%, rgba(9,20,16,0.05) 80%);
}
.hero-grid { position: relative; z-index: 3; }
.hero-content { max-width: 620px; }

.hero-title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); margin-bottom: 1.5rem; color: var(--bone); }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(22px); animation: wordIn 0.7s ease forwards; }
.hero-title em { font-style: italic; color: var(--brand-gold-light); position: relative; }
.hero-title em.gradient-text { color: transparent; }
.hero-underline { position: absolute; left: 0; bottom: -6px; width: 100%; height: 10px; z-index: -1; opacity: 0; animation: underlineIn 0.6s ease forwards 1.1s; }
.hero-underline path { stroke: var(--brand-gold-light); }

@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }
@keyframes underlineIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-title .word { opacity: 1; transform: none; animation: none; }
  .hero-underline { opacity: 1; animation: none; }
}

.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(246,241,227,0.9); max-width: 560px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .eyebrow { background: rgba(255,255,255,0.16); color: #fff; }
.hero .eyebrow .dot { background: var(--brand-gold-light); }
.hero .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; }
.hero .btn-primary { background: var(--brand-gold); color: var(--ink); }
.hero .btn-primary:hover { background: var(--brand-gold-light); }

/* ---------- Chips flotantes sobre la foto ---------- */
.hero-floating-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-floating-chips .hero-chip { pointer-events: auto; }

/* ---------- Visual de firma del hero (heredado, ya no se usa en Inicio) ---------- */
.hero-visual { position: relative; aspect-ratio: 1/1; max-width: 460px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.hero-ring { width: 100%; height: 100%; animation: spin 90s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hero-ring { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-core {
  position: absolute; width: 46%; height: 46%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--forest-500), var(--forest-900) 75%);
  box-shadow: var(--shadow-lg), inset 0 0 40px rgba(201,162,74,0.15);
  display: flex; align-items: center; justify-content: center;
}
.hero-core svg { width: 42%; height: 42%; stroke: var(--gold); }

.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 0.6rem;
  background: rgba(246,241,227,0.92); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4); border-radius: var(--radius-pill);
  padding: 0.6rem 1.1rem; box-shadow: var(--shadow-md); white-space: nowrap;
  font-family: var(--font-label); font-size: 0.74rem; color: var(--forest-900);
  animation: floaty 5s ease-in-out infinite;
}
.hero-chip .dot-ico { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deep); flex-shrink: 0; }
.hero-chip.c1 { top: 32%; right: 7%; animation-delay: 0s; }
.hero-chip.c2 { top: 45%; right: 9%; animation-delay: -1.6s; }
.hero-chip.c3 { top: 58%; right: 6%; animation-delay: -3.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } }

@media (max-width: 1020px) {
  .hero-chip { display: none; }
}

.hero-tags-mobile { display: none; }
@media (max-width: 1020px) {
  .hero-tags-mobile { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
  .hero-tags-mobile .mobile-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.14); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-pill);
    padding: 0.45rem 0.9rem; font-family: var(--font-label); font-size: 0.72rem; color: #fff;
  }
  .hero-tags-mobile .dot-ico { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-gold-light); flex-shrink: 0; }
}

/* ---------- Separador con motivo geométrico Chorotega (hilo visual) ---------- */
.section-divider {
  max-width: 320px; height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--cream-line) 50%, transparent);
}



/* ---------- Franja de confianza ---------- */
.trust-strip { padding: 3rem 0; border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); background: var(--cream); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 0 2rem; }
.trust-item:not(:first-child) { border-left: 1px solid var(--cream-line); }
.trust-item .num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--forest-600); margin-bottom: 0.4rem; }
.trust-item p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .trust-item { border-left: none !important; padding: 0; border-top: 1px solid var(--cream-line); padding-top: 1.2rem; }
  .trust-item:first-child { border-top: none; padding-top: 0; }
}

/* ---------- Secciones generales ---------- */
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 660px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); margin-bottom: 1rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-head.on-dark h2 { color: var(--bone); }
.section-head.on-dark p { color: var(--bone-dim); }

/* ---------- Proyecto ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--gap); align-items: center; }
.split-media {
  aspect-ratio: 4/5; border-radius: var(--radius-m); overflow: hidden;
  background: linear-gradient(160deg, var(--sage-200), var(--cream-alt));
  border: 1px solid var(--cream-line); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.7rem; color: rgba(246,241,227,0.85);
  font-family: var(--font-label); font-size: 0.72rem; text-align: center; padding: 1.5rem;
  background: linear-gradient(150deg, var(--brand-green-light), var(--brand-teal) 70%, var(--ink));
  position: relative; overflow: hidden;
}
.placeholder-img::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(255,255,255,0.14), transparent 55%);
}
.placeholder-img .ph-icon { position: relative; width: 34px; height: 34px; opacity: 0.9; }
.placeholder-img span { position: relative; }
.split-text h3, .split-text h2 { margin-bottom: 1.1rem; }
.split-text p { color: var(--text-muted); margin-bottom: 1rem; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.info-card {
  background: #fff; border: 1px solid var(--cream-line); border-radius: var(--radius-m);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card:hover { transform: translateY(-9px) scale(1.03); box-shadow: 0 26px 48px -18px rgba(12,32,26,0.35); border-color: var(--brand-teal-light); }
.info-card .label { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 0.7rem; }
.info-card p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; aspect-ratio: 16/10; }
  .info-cards { grid-template-columns: 1fr; }
}

/* ---------- Iniciativa (pilares — monocromo verde con profundidad) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar-card {
  border-radius: var(--radius-m); padding: 2.2rem; color: var(--bone);
  background: linear-gradient(165deg, var(--forest-700), var(--forest-900));
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(246,241,227,0.06);
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(201,162,74,0.14), transparent 60%);
  pointer-events: none;
}
.pillar-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 34px 64px -20px rgba(12,32,26,0.5); }
.pillar-card .icon-badge {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(201,162,74,0.16);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; position: relative; z-index: 1;
}
.pillar-card .icon-badge svg { width: 22px; height: 22px; stroke: var(--gold); }
.pillar-card h3 { color: var(--bone); font-size: 1.3rem; margin-bottom: 0.7rem; position: relative; z-index: 1; }
.pillar-card p { color: var(--bone-dim); font-size: 0.96rem; position: relative; z-index: 1; }

@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Impacto en cifras ---------- */
.impact { background: linear-gradient(175deg, var(--ink), var(--forest-800)); position: relative; }
.impact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 400px at 90% 0%, rgba(201,162,74,0.10), transparent 60%);
  pointer-events: none;
}
.impact .container { position: relative; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.counter-num { display: flex; align-items: flex-start; font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--gold); }
.counter-num .suffix { font-size: 0.55em; margin-left: 0.15rem; margin-top: 0.3rem; }
.counter-item p { color: var(--bone-dim); font-size: 0.92rem; margin-top: 0.6rem; max-width: 220px; }
@media (max-width: 860px) { .counters { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Noticias — carrusel ---------- */
.carousel-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 700px) { .carousel-item { flex: 0 0 calc(50% - 0.75rem); } }
@media (min-width: 1020px) { .carousel-item { flex: 0 0 calc(33.333% - 1rem); } }

.news-card { background: #fff; border: 1px solid var(--cream-line); border-radius: var(--radius-m); overflow: hidden; height: 100%; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.news-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow-md); border-color: var(--brand-gold); }
.news-card:hover .news-thumb { filter: brightness(1.08); }
.news-thumb { transition: filter 0.25s ease; }
.news-thumb { aspect-ratio: 16/10; background: linear-gradient(150deg, var(--forest-600), var(--forest-900)); display: flex; align-items: center; justify-content: center; color: rgba(246,241,227,0.75); font-family: var(--font-label); font-size: 0.7rem; }
.news-body { padding: 1.6rem; }
.news-date { font-family: var(--font-label); font-size: 0.7rem; color: var(--gold-deep); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; display: block; }
.news-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.news-body p { color: var(--text-muted); font-size: 0.92rem; }

.carousel-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; }
.carousel-arrows { display: flex; gap: 0.7rem; }
.carousel-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--cream-line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.carousel-arrow:hover { background: var(--forest-700); border-color: var(--forest-700); transform: translateY(-2px); }
.carousel-arrow:hover svg { stroke: var(--bone); }
.carousel-arrow svg { width: 18px; height: 18px; stroke: var(--forest-900); transition: stroke 0.2s ease; }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-line); border: none; cursor: pointer; transition: background 0.2s ease, width 0.2s ease; }
.carousel-dot.active { background: var(--gold-deep); width: 22px; border-radius: 4px; }

/* ---------- Donar ---------- */
.donate-section { background: linear-gradient(175deg, var(--forest-900), var(--ink)); position: relative; overflow: hidden; }
.donate-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 500px at 10% 100%, rgba(201,162,74,0.12), transparent 60%);
  pointer-events: none;
}
.donate-section .container { position: relative; }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.donate-copy p { color: var(--bone-dim); margin-bottom: 1.6rem; font-size: 1.02rem; }
.donate-methods { display: flex; flex-direction: column; gap: 1rem; }
.donate-method {
  background: rgba(246,241,227,0.05); border: 1px solid var(--line-dark); border-radius: var(--radius-m);
  padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.donate-method:hover { border-color: var(--gold); background: rgba(246,241,227,0.08); transform: translateY(-3px); }
.donate-method .m-label { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.4rem; }
.donate-method .m-value { color: var(--bone); font-size: 1.05rem; font-weight: 600; }
.donate-method p { color: var(--bone-dim); font-size: 0.88rem; margin-top: 0.3rem; }
@media (max-width: 860px) { .donate-grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  border-radius: var(--radius-m); padding: clamp(2.5rem, 6vw, 4.5rem); color: var(--bone);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(201,162,74,0.18), transparent 55%);
  pointer-events: none;
}
.cta-banner .inner { position: relative; }
.cta-banner h2 { color: var(--bone); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; max-width: 640px; }
.cta-banner p { color: var(--bone-dim); max-width: 560px; margin-bottom: 2rem; font-size: 1.02rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Contacto ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 1.6rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.98rem; }
.contact-list .label { font-family: var(--font-label); font-size: 0.72rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.06em; min-width: 90px; }
.social-row { display: flex; gap: 1rem; margin-top: 1.6rem; }
.social-row a { width: 42px; height: 42px; border: 1px solid var(--cream-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.social-row a:hover { border-color: var(--gold-deep); color: var(--gold-deep); background: var(--gold-soft); }

form.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--cream-line); padding: 2rem; border-radius: var(--radius-m); box-shadow: var(--shadow-sm); }
.contact-form label { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; display: block; }
.contact-form input, .contact-form textarea { width: 100%; background: var(--cream); border: 1px solid var(--cream-line); border-radius: var(--radius-s); padding: 0.8rem 1rem; color: var(--text); font-family: var(--font-body); font-size: 0.95rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-deep); }
.contact-form textarea { min-height: 120px; resize: vertical; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }

/* ---------- Botones flotantes ---------- */
.float-stack { position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90; display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-end; }
.whatsapp-float, .donate-float {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform 0.2s ease;
}
.whatsapp-float { background: #25D366; }
.whatsapp-float:hover, .donate-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #0f2418; }
.donate-float { background: var(--gold); color: var(--ink); }
.donate-float svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--cream-line); padding: 3.5rem 0 2.5rem; background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; max-width: 320px; font-size: 0.94rem; }
.footer-col h4 { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a, .footer-col span { color: var(--text-muted); font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid var(--cream-line); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--font-label); font-size: 0.75rem; color: var(--text-muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Comunidad (testimonios) ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: #fff; border: 1px solid var(--cream-line); border-radius: var(--radius-m);
  padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 0.6rem; }
.testimonial-card blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--forest-900); margin-bottom: 1.6rem; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-avatar.a1 { background: linear-gradient(160deg, var(--forest-500), var(--forest-800)); }
.testimonial-avatar.a2 { background: linear-gradient(160deg, var(--gold), var(--gold-deep)); color: var(--ink); }
.testimonial-avatar.a3 { background: linear-gradient(160deg, var(--sage-300), var(--forest-600)); }
.testimonial-author .name { font-weight: 600; color: var(--forest-900); font-size: 0.95rem; }
.testimonial-author .role { color: var(--text-muted); font-size: 0.85rem; }
.testimonial-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 2rem; }

@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ (acordeón) ---------- */
.faq-list { border-top: 1px solid var(--cream-line); }
.faq-item { border-bottom: 1px solid var(--cream-line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-size: 1.08rem; color: var(--forest-900);
  transition: color 0.2s ease;
}
.faq-item summary:hover { color: var(--brand-teal-light); }
.faq-item summary:hover .plus { border-color: var(--brand-teal-light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--cream-line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.faq-item .plus svg { width: 14px; height: 14px; stroke: var(--forest-900); }
.faq-item[open] .plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.faq-item[open] .plus svg { stroke: var(--ink); }
.faq-item .faq-answer { color: var(--text-muted); padding-bottom: 1.5rem; max-width: 720px; font-size: 0.98rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Manchas de color decorativas (profundidad en secciones pastel) ---------- */
.soft-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.soft-blob.sage { background: rgba(143,183,155,0.45); }
.soft-blob.gold { background: rgba(201,162,74,0.30); }
.soft-blob.sky { background: rgba(169,201,209,0.45); }
.soft-blob.clay { background: rgba(168,155,120,0.28); }

/* ---------- Barra de acento sobre eyebrows ---------- */
.accent-bar { width: 42px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 1.1rem; }
.accent-bar.sage { background: var(--forest-500); }

/* ---------- Franja superior de color en tarjetas ---------- */
.info-card, .testimonial-card, .news-card { position: relative; }
.info-card::before, .testimonial-card::before, .news-card::before {
  content: ""; position: absolute; top: 0; left: 1.6rem; right: 1.6rem; height: 3px; border-radius: 0 0 3px 3px;
}
.info-cards .info-card:nth-child(1)::before { background: var(--forest-500); }
.info-cards .info-card:nth-child(2)::before { background: var(--gold); }
.info-cards .info-card:nth-child(3)::before { background: var(--sage-300); }
.testimonial-grid .testimonial-card:nth-child(1)::before { background: var(--forest-500); }
.testimonial-grid .testimonial-card:nth-child(2)::before { background: var(--gold); }
.testimonial-grid .testimonial-card:nth-child(3)::before { background: var(--sage-300); }
.news-card::before { left: 0; right: 0; background: var(--gold); }

/* ---------- Aparición en cascada para grupos de tarjetas ---------- */
.pillars .pillar-card:nth-child(1) { transition-delay: 0s; }
.pillars .pillar-card:nth-child(2) { transition-delay: 0.12s; }
.pillars .pillar-card:nth-child(3) { transition-delay: 0.24s; }

.info-cards .info-card:nth-child(1) { transition-delay: 0s; }
.info-cards .info-card:nth-child(2) { transition-delay: 0.12s; }
.info-cards .info-card:nth-child(3) { transition-delay: 0.24s; }

.testimonial-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonial-grid .testimonial-card:nth-child(2) { transition-delay: 0.12s; }
.testimonial-grid .testimonial-card:nth-child(3) { transition-delay: 0.24s; }

.counters .counter-item:nth-child(1) { transition-delay: 0s; }
.counters .counter-item:nth-child(2) { transition-delay: 0.1s; }
.counters .counter-item:nth-child(3) { transition-delay: 0.2s; }
.counters .counter-item:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   Adiciones para el sitio institucional Earth Tributes Chorotega
   ============================================================ */

/* ---------- Franja de confianza (sin cifras, solo hechos confirmados) ---------- */
.trust-tags {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2.2rem; padding: 0.4rem 0;
}
.trust-tag-v2 {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-label); font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--text-muted); position: relative; padding-right: 2.2rem;
  transition: color 0.2s ease;
}
.trust-tag-v2:last-child { padding-right: 0; }
.trust-tag-v2:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 22px; background: var(--cream-line);
}
.trust-tag-v2 svg { width: 18px; height: 18px; stroke: var(--brand-teal-light); flex-shrink: 0; transition: stroke 0.2s ease, transform 0.2s ease; }
.trust-tag-v2:hover { color: var(--forest-900); }
.trust-tag-v2:hover svg { stroke: var(--brand-gold-deep, var(--gold-deep)); transform: scale(1.15); }
@media (max-width: 760px) {
  .trust-tags { gap: 1.2rem; }
  .trust-tag-v2 { padding-right: 1.2rem; }
  .trust-tag-v2:not(:last-child)::after { display: none; }
}

/* ---------- Grid de 5 pilares ---------- */
.pillars-5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillars-5 .pillar-card:nth-child(4), .pillars-5 .pillar-card:nth-child(5) { grid-column: span 1; }
@media (max-width: 1020px) { .pillars-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars-5 { grid-template-columns: 1fr; } }
.pillars-5 .pillar-card:nth-child(1) { transition-delay: 0s; background: linear-gradient(165deg, var(--brand-green-light), var(--forest-900)); }
.pillars-5 .pillar-card:nth-child(2) { transition-delay: 0.08s; background: linear-gradient(165deg, var(--brand-teal-light), var(--brand-teal) 55%, var(--ink)); }
.pillars-5 .pillar-card:nth-child(3) { transition-delay: 0.16s; background: linear-gradient(165deg, var(--brand-gold), #5c3f10 85%); }
.pillars-5 .pillar-card:nth-child(3) .icon-badge { background: rgba(0,0,0,0.2); }
.pillars-5 .pillar-card:nth-child(3) .icon-badge svg { stroke: var(--ink); }
.pillars-5 .pillar-card:nth-child(4) { transition-delay: 0.24s; background: linear-gradient(165deg, var(--brand-teal), var(--ink)); }
.pillars-5 .pillar-card:nth-child(5) { transition-delay: 0.32s; background: linear-gradient(165deg, var(--forest-700), var(--forest-900)); }

/* ---------- Grid de programas (8 tarjetas) ---------- */
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1100px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .programs-grid { grid-template-columns: 1fr; } }

.program-card {
  background: #fff; border: 1px solid var(--cream-line); border-radius: var(--radius-m);
  padding: 1.7rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column;
}
.program-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 44px -16px rgba(12,32,26,0.28); border-color: var(--brand-teal-light); }
.program-card::before { content:""; position:absolute; top:0; left:1.4rem; right:1.4rem; height:3px; background: var(--gold); border-radius: 0 0 3px 3px; }
.program-card .flag { font-family: var(--font-label); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft); display: inline-block; padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); margin-bottom: 0.9rem; align-self: flex-start; }
.program-card h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.program-card p { color: var(--text-muted); font-size: 0.92rem; flex-grow: 1; }
.program-card .more-link { margin-top: 1rem; font-family: var(--font-label); font-size: 0.75rem; color: var(--forest-700); text-decoration: underline; }

/* ---------- Comunidad: 4 formas de participar ---------- */
.ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1020px) { .ways-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ways-grid { grid-template-columns: 1fr; } }

.way-card {
  background: linear-gradient(165deg, var(--forest-700), var(--forest-900));
  border-radius: var(--radius-m); padding: 1.8rem; color: var(--bone);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  border: 1px solid transparent; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.way-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 30px 56px -22px rgba(12,32,26,0.45); border-color: var(--gold); }
.way-card h3 { color: var(--bone); font-size: 1.15rem; margin-bottom: 0.7rem; }
.way-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; flex-grow: 1; }
.way-card li { color: var(--bone-dim); font-size: 0.88rem; padding-left: 0.9rem; position: relative; }
.way-card li::before { content:"—"; position:absolute; left:0; color: var(--gold); }
.way-card .way-cta { font-family: var(--font-label); font-size: 0.76rem; color: var(--gold); text-decoration: underline; }

/* ---------- Áreas de impacto (sin cifras) ---------- */
.impact-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (max-width: 860px) { .impact-areas { grid-template-columns: 1fr; } }
.impact-area {
  border: 1px solid var(--line-dark); border-radius: var(--radius-s); padding: 1.1rem 1.3rem;
  color: var(--bone-dim); font-size: 0.92rem; background: rgba(246,241,227,0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.impact-area:hover {
  transform: translateY(-4px) scale(1.02); border-color: var(--gold);
  background: rgba(201,162,74,0.1); color: var(--bone); box-shadow: 0 16px 30px -14px rgba(0,0,0,0.4);
}
.pending-note {
  font-family: var(--font-label); font-size: 0.76rem; letter-spacing: 0.03em;
  color: var(--gold); background: rgba(201,162,74,0.12); border: 1px dashed rgba(201,162,74,0.4);
  border-radius: var(--radius-s); padding: 0.8rem 1.1rem; margin-top: 1.8rem; display: inline-block;
}
.pending-note.on-light { color: var(--gold-deep); background: var(--gold-soft); border-color: rgba(169,130,46,0.35); }

/* ---------- Testimonios: estado vacío preparado ---------- */
.testimonial-empty {
  background: #fff; border: 1px dashed var(--cream-line); border-radius: var(--radius-m);
  padding: 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-empty:hover { transform: translateY(-4px); border-color: var(--brand-teal-light); border-style: solid; box-shadow: var(--shadow-md); }
.testimonial-empty:hover .avatar-ph { background: var(--brand-teal-light); color: #fff; }
.testimonial-empty .avatar-ph {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.testimonial-empty .role-label { font-family: var(--font-label); font-size: 0.78rem; color: var(--forest-800); font-weight: 600; }
.testimonial-empty p { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- FAQ answer con lista ---------- */
.faq-answer ul { margin-top: 0.5rem; padding-left: 1.2rem; }
.faq-answer li { margin-bottom: 0.3rem; }

/* ---------- Bloque de fotos múltiples (galería simple) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.photo-slot {
  aspect-ratio: 4/3; border-radius: var(--radius-s); background: var(--sage-light, var(--cream-alt));
  border: 1px solid var(--cream-line); display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-family: var(--font-label); font-size: 0.68rem; text-align: center; padding: 0.8rem;
}

/* ============================================================
   Sección cinematográfica: aurora animada + espacio para video real
   ============================================================ */
.cinematic-section {
  position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.cinematic-aurora {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, var(--brand-green) 0%, var(--brand-teal) 35%, var(--ink) 60%, var(--brand-gold) 100%);
  background-size: 300% 300%;
  animation: auroraMove 18s ease infinite;
}
@keyframes auroraMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cinematic-bg-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.cinematic-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(12,32,26,0.35), rgba(12,32,26,0.72));
}
.cinematic-content { position: relative; z-index: 3; max-width: 720px; padding: 3rem var(--gap); }
.cinematic-content h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 1.1rem; }
.cinematic-content p { color: rgba(255,255,255,0.92); margin-bottom: 1.8rem; font-size: 1.05rem; }
.cinematic-content .eyebrow { background: rgba(255,255,255,0.16); color: #fff; }
.cinematic-content .eyebrow .dot { background: #fff; }

/* ============================================================
   Interacciones modernas: texto degradado, tilt 3D, magnético, marquee, spotlight
   ============================================================ */

/* ---------- Texto con degradado animado ---------- */
.gradient-text {
  background: linear-gradient(90deg, var(--brand-green), var(--brand-teal), var(--brand-gold), var(--brand-green));
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientShift 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .gradient-text { animation: none; background-position: 0% 50%; } }
@keyframes gradientShift { to { background-position: 300% center; } }

/* ---------- Tarjetas con tilt 3D al pasar el cursor ---------- */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ---------- Botones magnéticos ---------- */
.btn-magnetic { will-change: transform; }

/* ---------- Marquee de cinta infinita ---------- */
.marquee-wrap { overflow: hidden; padding: 1.1rem 0; background: var(--cream); border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marqueeScroll 24s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-label); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item:nth-child(5n+1) { color: var(--brand-green); }
.marquee-item:nth-child(5n+2) { color: var(--brand-teal); }
.marquee-item:nth-child(5n+3) { color: var(--brand-gold); }
.marquee-item:nth-child(5n+4) { color: var(--forest-800); }
.marquee-item:nth-child(5n+5) { color: var(--brand-teal-light); }
.marquee-item .sep { color: var(--cream-line); }

/* ---------- Spotlight que sigue al cursor (sección cinematográfica) ---------- */
.cinematic-section { --spot-x: 50%; --spot-y: 50%; }
.cinematic-spotlight {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle 380px at var(--spot-x) var(--spot-y), rgba(255,255,255,0.16), transparent 70%);
}

/* ============================================================
   Nube de valores flotantes (reemplaza el marquee simple)
   ============================================================ */
.value-cloud-wrap { padding: 3.5rem 0; background: var(--cream); overflow: hidden; }
.value-cloud {
  position: relative; max-width: 1080px; height: 360px; margin: 0 auto;
}
.value-cloud-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--brand-green-light), var(--ink) 78%);
  box-shadow: 0 0 70px rgba(201,162,74,0.28), var(--shadow-lg);
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.value-cloud-core img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.92; }

.value-pill {
  position: absolute; font-family: var(--font-label); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.6rem 1.3rem; border-radius: var(--radius-pill); background: #fff;
  box-shadow: var(--shadow-md); border: 1px solid var(--cream-line);
  animation: floatyBig var(--fdur, 6s) ease-in-out infinite; animation-delay: var(--fdelay, 0s);
  white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: default;
}
.value-pill:hover { transform: scale(1.12) !important; opacity: 1 !important; box-shadow: var(--shadow-lg); animation-play-state: paused; }
@keyframes floatyBig {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(4px, -14px) rotate(1deg); }
  50% { transform: translate(-3px, -22px) rotate(-1.2deg); }
  75% { transform: translate(-5px, -10px) rotate(0.8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .value-pill { animation: none; } }
.value-pill.vp-green { color: var(--brand-green); }
.value-pill.vp-teal { color: var(--brand-teal-light); }
.value-pill.vp-gold { color: var(--brand-gold-deep, var(--gold-deep)); }
.value-pill.vp-dark { color: var(--forest-800); }

@media (prefers-reduced-motion: reduce) { .value-pill { animation: none; } }

@media (max-width: 760px) {
  .value-cloud { height: 460px; }
  .value-pill.hide-mobile { display: none; }
}


/* ============================================================
   v4 — Contenido final del cliente
   ============================================================ */

/* ---------- Quiénes somos: fondo verde para contrastar con la nube de valores ---------- */
.about-dark {
  background: linear-gradient(165deg, var(--forest-700) 0%, var(--forest-900) 70%, var(--ink) 100%);
  position: relative; overflow: hidden;
}
.about-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 760px 420px at 8% 0%, rgba(201,162,74,0.16), transparent 62%),
    radial-gradient(ellipse 700px 500px at 100% 90%, rgba(28,147,168,0.14), transparent 60%);
}
.about-dark .container { position: relative; }
.about-dark .split-text h2 { color: var(--bone); }
.about-dark .split-text p { color: var(--bone-dim); }
.about-dark .split-media { border-color: var(--line-dark); box-shadow: 0 34px 70px -26px rgba(0,0,0,0.6); }
.about-dark .info-card { background: rgba(246,241,227,0.06); border-color: var(--line-dark); box-shadow: none; }
.about-dark .info-card:hover { background: rgba(246,241,227,0.1); border-color: var(--brand-teal-light); box-shadow: 0 26px 48px -18px rgba(0,0,0,0.5); }
.about-dark .info-card .label { color: var(--gold); }
.about-dark .info-card p { color: var(--bone-dim); }
.about-dark .info-cards .info-card:nth-child(1)::before { background: var(--brand-green-light); }
.about-dark .info-cards .info-card:nth-child(2)::before { background: var(--gold); }
.about-dark .info-cards .info-card:nth-child(3)::before { background: var(--brand-teal-light); }
.about-dark .photo-slot { border-color: var(--line-dark); box-shadow: 0 18px 36px -18px rgba(0,0,0,0.5); }
.photo-slot img { transition: transform 0.5s ease; }
.photo-slot:hover img { transform: scale(1.06); }

.timeline-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.timeline-list li { display: flex; gap: 1rem; align-items: baseline; color: var(--bone-dim); font-size: 0.95rem; }
.timeline-list .year { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold); min-width: 4.4rem; }

/* ---------- Junta Directiva ---------- */
.board { margin-top: 4rem; }
.board-title { color: var(--bone); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.board-title::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.board-member {
  background: rgba(246,241,227,0.06); border: 1px solid var(--line-dark); border-radius: var(--radius-m);
  padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem;
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.board-member:hover { border-color: var(--gold); background: rgba(201,162,74,0.1); box-shadow: 0 22px 40px -18px rgba(0,0,0,0.55); }
.board-member .role { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); }
.board-member .name { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; color: var(--bone); font-weight: 600; }
@media (max-width: 1020px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .board-grid { grid-template-columns: 1fr; } }

/* ---------- Pilares: ejemplo "en la práctica" ---------- */
.pillar-card .pillar-example {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid rgba(246,241,227,0.18);
  font-size: 0.9rem; color: var(--bone); opacity: 0.9;
}

/* ---------- Programas: detalles desplegables ---------- */
.program-details { margin-top: 1.1rem; border-top: 1px solid var(--cream-line); padding-top: 0.85rem; }
.program-details summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--forest-700); transition: color 0.2s ease;
}
.program-details summary::-webkit-details-marker { display: none; }
.program-details summary::after {
  content: "+"; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--cream-line);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1; flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.program-details summary:hover { color: var(--brand-teal-light); }
.program-details summary:hover::after { border-color: var(--brand-teal-light); }
.program-details[open] summary::after { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.program-details dl { margin-top: 0.8rem; }
.program-details dt { font-family: var(--font-label); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-top: 0.7rem; }
.program-details dd { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }
.programs-cta { margin-top: 2.4rem; text-align: center; color: var(--text-muted); font-size: 1.02rem; }
.programs-cta a { color: var(--forest-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.programs-cta a:hover { color: var(--brand-teal-light); }

/* ---------- Impacto: texto provisional ---------- */
.impact-statement {
  margin-top: 2.6rem; max-width: 760px; padding: 2rem 2.2rem;
  border-left: 3px solid var(--gold); background: rgba(246,241,227,0.05);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
}
.impact-statement p { color: var(--bone-dim); font-size: 1.05rem; line-height: 1.7; }
.impact-statement .lead {
  display: block; font-family: var(--font-display); font-style: italic; color: var(--bone);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; margin-bottom: 0.8rem;
}

/* ---------- Testimonios: texto provisional ---------- */
.voices-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.voices { max-width: 720px; margin: 0 auto; text-align: center; }
.voices-mark { font-family: var(--font-display); font-size: 6rem; line-height: 0.7; height: 2.6rem; color: var(--gold); opacity: 0.55; }
.voices h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); margin: 1rem 0; }
.voices p { color: var(--text-muted); font-size: 1.1rem; }

/* ---------- Donaciones: transferencia y SINPE ---------- */
.donate-copy p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.donate-method .m-body { width: 100%; }
.iban-row { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.85rem; }
.iban-tag {
  font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 0.2rem 0.65rem; border-radius: var(--radius-pill);
  min-width: 4.8rem; text-align: center;
}
.iban-row code { font-family: var(--font-label); font-size: 0.95rem; color: var(--bone); letter-spacing: 0.02em; word-break: break-all; flex: 1 1 auto; }
.iban-row code.sinpe-num { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.03em; }
.copy-btn {
  cursor: pointer; background: transparent; color: var(--gold); border: 1px solid rgba(201,162,74,0.5);
  border-radius: var(--radius-pill); padding: 0.3rem 0.9rem; font-family: var(--font-label); font-size: 0.7rem;
  letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.copy-btn:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.copy-btn.copied { background: var(--brand-green-light); border-color: var(--brand-green-light); color: var(--ink); }

/* ---------- Enlaces dentro de respuestas FAQ y pie de página ---------- */
.faq-answer a { color: var(--forest-700); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--brand-teal-light); }
.footer-col a { transition: color 0.2s ease; }
.footer-col a:hover { color: var(--brand-teal-light); }


/* ============================================================
   v5 — Video con clic para reproducir + carrusel automático
   ============================================================ */

/* ---------- Sección "Nuestro territorio" con video ---------- */
.cinematic-section.has-video { text-align: left; }
.cinematic-inner {
  position: relative; z-index: 3; width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap); align-items: center;
}
.has-video .cinematic-content { max-width: 560px; padding: 1.5rem 0; }
.video-frame {
  position: relative; width: 100%; max-width: 460px; justify-self: end; aspect-ratio: 1 / 1;
  border-radius: var(--radius-m); overflow: hidden; background: var(--ink);
  border: 1px solid rgba(246,241,227,0.22); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.65);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: none; cursor: pointer; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.55), 0 0 0 10px rgba(201,162,74,0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.video-play svg { width: 30px; height: 30px; fill: var(--ink); margin-left: 4px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.1); background: var(--brand-gold-light); box-shadow: 0 22px 46px -10px rgba(0,0,0,0.6), 0 0 0 16px rgba(201,162,74,0.32); }
.video-frame.playing .video-play { opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .cinematic-inner { grid-template-columns: 1fr; }
  .video-frame { justify-self: center; max-width: 420px; }
  .has-video .cinematic-content { max-width: none; }
}

/* ---------- Carrusel: botón de pausa ---------- */
.carousel-toggle .icon-play { display: none; }
.carousel-toggle.paused .icon-pause { display: none; }
.carousel-toggle.paused .icon-play { display: block; }


/* ---------- Programas: efecto al pasar el cursor más suave (para que sea fácil pulsar el "+") ---------- */
.program-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 20px 38px -16px rgba(12,32,26,0.26); }


/* ============================================================
   v6 — Clases de fútbol y entrenadores
   ============================================================ */
.soccer-section { background: var(--cream-alt); }
.soccer-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--gap); align-items: center; }
.soccer-copy h2 { margin-bottom: 1.2rem; }
.soccer-copy p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0.9rem; max-width: 560px; }
.soccer-copy .soccer-contact a { white-space: nowrap; color: var(--forest-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.soccer-copy .soccer-contact a:hover { color: var(--brand-teal-light); }
.soccer-copy .soccer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--forest-800); margin-top: 1.5rem; }

.coaches { display: grid; gap: 1.2rem; }
.coach-card {
  display: flex; align-items: center; gap: 1.4rem; background: #fff; border: 1px solid var(--cream-line);
  border-radius: var(--radius-m); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-md);
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.coach-card:hover { border-color: var(--brand-teal-light); box-shadow: var(--shadow-lg); }
.coach-photo { width: 104px; height: 104px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 10px 22px -10px rgba(12,32,26,0.45); }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.coach-card:hover .coach-photo img { transform: scale(1.08); }
.coach-card .role { display: block; font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.4rem; }
.coach-card h3 { font-size: 1.3rem; line-height: 1.2; }
@media (max-width: 860px) { .soccer-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .coach-card { padding: 1.1rem; gap: 1rem; } .coach-photo { width: 84px; height: 84px; } }
