/* =============================================================================
   FUNDACIÓN SOCIAL DE COMUNIDADES AFROCOLOMBIANAS BENKOS BIOHÓ DE GALAPA
   styles.css — hoja de estilos única, organizada por secciones.
   ============================================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Paleta institucional */
  --accent:       #EB5204;  /* naranja principal — CTAs, acentos grandes */
  --accent-2:     #B64716;  /* terracota — fondos secundarios, enlaces, contraste */
  --accent-3:     #FD8E05;  /* naranja dorado — detalles, degradados, hover */

  --white:        #FFFFFF;
  --carbon:       #171717;
  --gray-dark:    #333333;
  --gray-light:   #F5F5F5;
  --cream:        #FFF9F4;

  --bg:           var(--cream);
  --bg-alt:       var(--gray-light);
  --paper:        var(--white);
  --ink:          var(--carbon);
  --ink-soft:     var(--gray-dark);
  --ink-mute:     #6b6559;
  --line:         rgba(23,23,23,0.10);
  --line-strong:  rgba(23,23,23,0.16);

  --shadow-sm:    0 2px 10px rgba(23,17,10,0.06);
  --shadow-md:    0 12px 32px rgba(23,17,10,0.10);
  --shadow-lg:    0 24px 64px rgba(23,17,10,0.16);
  --shadow-accent:0 16px 40px rgba(235,82,4,0.22);

  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    26px;
  --radius-pill:  999px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1240px;
}

@property --grad-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 45deg;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); color: var(--ink); font-weight: 600; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--carbon); }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--carbon); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 600; transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section { position: relative; padding: 5.5rem 0; }
@media (min-width: 960px) { .section { padding: 8rem 0; } }
.section--tight { padding: 3.5rem 0; }
.section--alt { background: var(--paper); }
.section--carbon { background: var(--carbon); color: var(--cream); }
.section--accent2 { background: var(--accent-2); color: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent);
  display: inline-block; border-radius: 2px;
}
.section--carbon .eyebrow,
.section--accent2 .eyebrow { color: var(--accent-3); }

.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 4.4vw, 2.85rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.08rem; color: var(--ink-mute); max-width: 58ch; }
.section--carbon .section-lead,
.section--accent2 .section-lead { color: rgba(255,249,244,0.82); }
.section--carbon .section-title,
.section--accent2 .section-title { color: var(--cream); }

.pattern-divider {
  width: 100%; height: 14px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; opacity: .55;
}
.pattern-divider svg { height: 100%; width: auto; }

/* =============================================================
   4. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap; min-height: 48px;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent); color: var(--carbon);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--accent-3); box-shadow: 0 18px 44px rgba(253,142,5,0.32); }

.btn-outline {
  background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--accent-2); border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent-2); background: rgba(182,71,22,0.06); }

.btn-carbon {
  background: var(--carbon); color: var(--cream);
}
.btn-carbon:hover { background: var(--accent-2); color: var(--white); }

.btn-block { width: 100%; }
.btn-lg { padding: 1.15rem 2.3rem; font-size: 1.03rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =============================================================
   5. NAVBAR
   ============================================================= */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.navbar.is-solid {
  background: rgba(255,249,244,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(235,82,4,0.3);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; }
.navbar:not(.is-solid) .brand-name { color: var(--white); }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-2); }
.navbar:not(.is-solid) .brand-sub { color: var(--accent-3); }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative; font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  padding-block: .4rem;
}
.navbar:not(.is-solid) .nav-links a { color: rgba(255,255,255,0.92); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .35s var(--ease-out); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; padding: .8rem 1.5rem; font-size: .88rem; } }

.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 10px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin-inline: auto;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), background-color .3s var(--ease-out);
}
.navbar:not(.is-solid) .hamburger span { background: var(--white); }
.mobile-menu.is-open ~ .navbar .hamburger span,
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger[aria-expanded="true"] span { background: var(--carbon); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 490;
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform .45s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu a {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--ink);
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 1.6rem; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  transform: scale(1.06);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}
@keyframes heroKenBurns { from { transform: scale(1.06); } to { transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(23,17,10,0.55) 0%, rgba(23,17,10,0.30) 32%, rgba(23,17,10,0.55) 70%, rgba(23,17,10,0.92) 100%),
    linear-gradient(90deg, rgba(23,17,10,0.55) 0%, rgba(23,17,10,0.05) 55%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-inner {
  position: relative; z-index: 3; width: 100%;
  padding-bottom: 4.5rem; padding-top: calc(var(--nav-h) + 2rem);
}
@media (min-width: 960px) { .hero-inner { padding-bottom: 6rem; } }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-3); margin-bottom: 1.3rem;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 0 4px rgba(253,142,5,0.25); }

.hero-title {
  color: var(--white); font-size: clamp(2.1rem, 5.4vw, 4.1rem); line-height: 1.05;
  max-width: 20ch; text-wrap: balance; font-weight: 700;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-title em { font-style: italic; color: var(--accent-3); font-weight: 500; }

.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--cream);
  max-width: 46ch; margin-top: 1.4rem;
}

.hero-text {
  font-size: 1.02rem; color: rgba(255,249,244,0.86); max-width: 56ch; margin-top: 1.1rem;
}

.hero-actions { margin-top: 2.3rem; }

.hero-scroll {
  position: absolute; right: 1.5rem; bottom: 1.6rem; z-index: 3;
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,0.75); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
@media (min-width: 720px) { .hero-scroll { display: flex; } }
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.9), transparent); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* =============================================================
   7. REVEAL / SCROLL ANIMATIONS
   ============================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensive: never let text vanish */

.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .23s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .30s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .37s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .44s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .51s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: .58s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: .65s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition-duration: .35s; }
}

/* =============================================================
   8. QUIÉNES SOMOS
   ============================================================= */
.about-grid {
  display: grid; gap: 2.6rem; align-items: center;
}
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

.about-media { position: relative; }
.about-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .8s var(--ease-out); }
.about-photo:hover img { transform: scale(1.06); }
.about-media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 130px; height: 130px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  border-radius: var(--radius-lg); z-index: -1; opacity: .9;
}
.about-badge {
  position: absolute; left: -1.2rem; bottom: -1.2rem; z-index: 2;
  background: var(--carbon); color: var(--cream); border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); max-width: 240px;
}
@media (max-width: 539px) { .about-badge { left: .6rem; bottom: -1rem; padding: .85rem 1.05rem; } }
.about-badge strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--accent-3); margin-bottom: .2rem; }
.about-badge span { font-size: .82rem; color: rgba(255,249,244,0.78); }

.about-copy p + p { margin-top: 1.1rem; }
.about-copy { color: var(--ink-soft); font-size: 1.03rem; }

.pull-quote {
  margin-top: 1.9rem; padding: 1.5rem 1.7rem; border-left: 3px solid var(--accent);
  background: var(--paper); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}
.pull-quote p {
  font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink);
  font-size: 1.12rem; line-height: 1.5;
}

.work-strip { margin-top: 3.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.work-strip img { width: 100%; height: auto; display: block; }

/* =============================================================
   9. PURPOSE / VALUE / SERVICE / ACTION CARDS (shared card system)
   ============================================================= */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper); border-radius: var(--radius-md); padding: 2rem 1.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(235,82,4,0.12), rgba(253,142,5,0.16));
  color: var(--accent-2); flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card p { font-size: .93rem; color: var(--ink-mute); line-height: 1.55; }

.card--compact { padding: 1.6rem 1.5rem; }
.card--center { text-align: center; }
.card--center .card-icon { margin-inline: auto; }

/* Purpose blocks (4) — bolder accent numerals */
.purpose-card { display: flex; flex-direction: column; gap: 1rem; }
.purpose-num { font-family: var(--serif); font-size: .85rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; }

/* Value cards */
.value-card { text-align: center; }
.value-card .card-icon { margin-inline: auto; }

/* =============================================================
   10. MISIÓN / VISIÓN
   ============================================================= */
.mission-intro { max-width: 72ch; margin-bottom: 3rem; }
.mission-intro p { font-size: 1.15rem; color: var(--ink); font-family: var(--serif); font-style: italic; line-height: 1.55; }

.vision-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .vision-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.vision-panel {
  background: var(--paper); border-radius: var(--radius-lg); padding: 2.6rem 2.2rem;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.vision-panel-num {
  font-family: var(--serif); font-size: 3.2rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px rgba(235,82,4,0.35);
  position: absolute; top: 1.2rem; right: 1.6rem; line-height: 1;
}
.vision-panel h3 { font-size: 1.35rem; margin-bottom: 1rem; max-width: 22ch; }
.vision-panel p { color: var(--ink-mute); font-size: .98rem; }

.vision-media { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 720px) { .vision-media { grid-template-columns: .8fr 1.2fr; } }
.vision-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/4; }
.vision-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

/* =============================================================
   11. VALUES CLOSING
   ============================================================= */
.values-quote { text-align: center; margin-top: 3rem; }
.values-quote p {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--ink); max-width: 40ch; margin-inline: auto; line-height: 1.4;
}

/* =============================================================
   12. TIMELINE (EXPERIENCIA)
   ============================================================= */
.timeline { position: relative; margin-top: 1rem; }
.timeline::before {
  content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-3) 45%, var(--line-strong) 100%);
}
@media (min-width: 860px) { .timeline::before { left: 50%; transform: translateX(-1px); } }

.timeline-item {
  position: relative; padding-left: 52px; padding-bottom: 2.6rem;
}
.timeline-item:last-child { padding-bottom: 0; }
@media (min-width: 860px) {
  .timeline-item { width: 50%; padding-left: 0; padding-bottom: 3.2rem; }
  .timeline-item:nth-child(odd) { padding-right: 4.2rem; text-align: right; margin-left: 0; }
  .timeline-item:nth-child(even) { padding-left: 4.2rem; margin-left: 50%; }
}

.timeline-dot {
  position: absolute; left: 12px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent);
  box-shadow: 0 0 0 5px var(--bg);
  transform: scale(.5); opacity: 0; transition: transform .5s var(--ease-bounce), opacity .4s var(--ease-out);
}
@media (min-width: 860px) {
  .timeline-dot { left: auto; right: -9px; }
  .timeline-item:nth-child(even) .timeline-dot { right: auto; left: -9px; }
}
.timeline-item.is-visible .timeline-dot { transform: scale(1); opacity: 1; }

.timeline-year {
  display: inline-block; font-family: var(--serif); font-weight: 700; color: var(--accent-2);
  font-size: 1.05rem; margin-bottom: .4rem; letter-spacing: .01em;
}
.timeline-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.timeline-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.timeline-card p { font-size: .92rem; color: var(--ink-mute); }

.timeline-item { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.timeline-item.is-visible { opacity: 1; transform: none; }

/* Allies / entities */
.allies { margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.allies-title { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.6rem; text-align: center; }
.allies-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 1.1rem; }
.allies-list li {
  font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--ink-soft);
  padding: .7rem 1.3rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
}
.allies-list li:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

/* =============================================================
   13. IMPACTO
   ============================================================= */
.impact-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .impact-grid { grid-template-columns: repeat(4, 1fr); } }
.impact-card {
  padding: 2.1rem 1.6rem; border-radius: var(--radius-md); background: var(--paper);
  border: 1px solid var(--line); text-align: center;
}
.impact-card .card-icon { margin-inline: auto; }
.impact-card h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: .55rem; font-family: var(--sans);
}
.impact-card p { font-size: .95rem; color: var(--ink-mute); }

/* =============================================================
   14. GALERÍA
   ============================================================= */
.gallery {
  column-count: 1; column-gap: 1rem;
}
@media (min-width: 640px)  { .gallery { column-count: 2; } }
@media (min-width: 960px)  { .gallery { column-count: 3; } }
@media (min-width: 1280px) { .gallery { column-count: 4; } }

.gallery-item {
  break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius-md); overflow: hidden;
  position: relative; box-shadow: var(--shadow-sm); cursor: pointer;
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .4s var(--ease-out);
}
.gallery-item.is-visible { opacity: 1; transform: none; }
.gallery-item img { width: 100%; display: block; max-height: 560px; object-fit: cover; transition: transform .7s var(--ease-out), filter .5s var(--ease-out); }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem .95rem .85rem;
  background: linear-gradient(180deg, transparent, rgba(23,17,10,0.86));
  color: var(--cream); font-size: .84rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }

.gallery-zoom {
  position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(23,17,10,0.55); color: var(--white); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-zoom svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: rgba(10,7,4,0.94); max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; color: var(--white);
}
.lightbox::backdrop { background: rgba(10,7,4,0.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lbIn .3s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner { position: relative; max-width: min(90vw, 1100px); max-height: 86vh; width: 100%; }
.lightbox-inner img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox-caption { text-align: center; margin-top: .9rem; color: rgba(255,255,255,0.78); font-size: .9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease-out);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; } }

/* =============================================================
   15. CTA BAND
   ============================================================= */
.cta-band {
  position: relative; background: var(--accent-2); color: var(--white); overflow: hidden;
  padding: 5rem 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40% -10% -60% -10%;
  background: radial-gradient(45% 45% at 15% 20%, rgba(253,142,5,0.35), transparent 70%),
              radial-gradient(40% 40% at 90% 80%, rgba(235,82,4,0.4), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 780px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin-bottom: 1.1rem; }
.cta-band p { font-size: 1.08rem; color: rgba(255,249,244,0.9); max-width: 58ch; margin-bottom: 2.2rem; }

/* =============================================================
   16. CONTACTO
   ============================================================= */
.contact-grid { display: grid; gap: 2.8rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .82fr 1.18fr; gap: 4rem; } }

.contact-info-card {
  background: var(--carbon); color: var(--cream); border-radius: var(--radius-lg);
  padding: 2.4rem 2.1rem;
}
.contact-info-card h3 { color: var(--cream); font-size: 1.25rem; margin-bottom: .8rem; }
.contact-info-card > p { color: rgba(255,249,244,0.75); font-size: .96rem; margin-bottom: 2rem; }

.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,249,244,0.12); }
.contact-method:first-of-type { border-top: 0; }
.contact-method-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: var(--carbon);
  display: flex; align-items: center; justify-content: center;
}
.contact-method-icon svg { width: 22px; height: 22px; }
.contact-method-text { flex: 1; min-width: 0; }
.contact-method-text .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-3); font-weight: 700; }
.contact-method-text .value { font-size: 1.02rem; font-weight: 600; color: var(--cream); word-break: break-word; }
.contact-method .btn { margin-top: .9rem; }

.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.4rem 2.1rem; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.form-field .required { color: var(--accent-2); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .85rem 1rem; font-size: .96rem; background: var(--bg-alt); color: var(--ink);
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-2); background: var(--white); outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.form-note { font-size: .84rem; color: var(--ink-mute); }
.form-status {
  font-size: .9rem; font-weight: 600; padding: .7rem 1rem; border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(235,82,4,0.1); color: var(--accent-2); }
.form-status.is-error { background: rgba(23,23,23,0.06); color: var(--ink); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =============================================================
   17. FOOTER
   ============================================================= */
.footer { background: var(--carbon); color: rgba(255,249,244,0.7); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; gap: 2.8rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr; gap: 3rem; } }

.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.1rem; }
.footer-desc { max-width: 40ch; font-size: .92rem; line-height: 1.6; }

.footer-heading { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 1.3rem; }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { font-size: .93rem; transition: color .25s var(--ease-out); }
.footer-links a:hover { color: var(--cream); }

.footer-contact { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.4rem; }
.footer-contact-item { font-size: .93rem; }
.footer-contact-item .label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-3); margin-bottom: .2rem; }
.footer-btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-btn-row .btn { padding: .75rem 1.3rem; font-size: .86rem; }

.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,249,244,0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,249,244,0.5);
}

/* =============================================================
   18. GEOMETRIC PATTERN ACCENTS (afro-inspired, discreet)
   ============================================================= */
.geo-corner {
  position: absolute; width: 160px; height: 160px; pointer-events: none; opacity: .12; z-index: 0;
}
.geo-corner--tl { top: 0; left: 0; }
.geo-corner--br { bottom: 0; right: 0; transform: rotate(180deg); }

/* =============================================================
   19. RESPONSIVE — misc refinements
   ============================================================= */
@media (max-width: 539px) {
  .btn { padding: .9rem 1.5rem; font-size: .92rem; }
  .section { padding: 4rem 0; }
  .cta-band { padding: 3.5rem 0; }
}

/* =============================================================
   20. REDUCED MOTION — only truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll .line { animation: none; }
  .hero-bg img { animation: none; }
}
