/* =========================================================
   Fundación Oncosur · hoja de estilos única
   Tipografía: Inter Tight (títulos) + Inter (texto)
   Formas: tarjetas 28px · botones en píldora · emojis animados (Noto, Google)
   ========================================================= */

:root {
  /* Marca (muestreado de assets/oncosur/logo.jpg) */
  --sun: #fcbc2c;
  --sun-dk: #d4a400;
  --sun-soft: rgba(252, 188, 44, .16);
  --sky: #64dce4;
  --sky-dk: #38c5ce;
  --sky-soft: rgba(100, 220, 228, .2);

  /* Neutros */
  --ink: #16191d;
  --ink-2: #5a6472;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --line: #e5e8ec;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-d: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 3.6vw, 64px);
  --max: 1680px;
  --gap: clamp(14px, 1.4vw, 24px);
  --head-h: 64px;
  --head-top: 14px;
  --head-space: calc(var(--head-h) + var(--head-top) * 2);
  --sec: clamp(56px, 6.4vw, 104px);

  --r-card: 28px;
  --r-img: 20px;
  --pill: 999px;
  --shadow-up: 0 2px 4px rgba(22, 25, 29, .04), 0 28px 56px -18px rgba(22, 25, 29, .26);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head-space); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: normal; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .lightbox :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--pill); font-weight: 600; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Íconos de interfaz (flechas, menú): Lucide de línea */
.i { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 18px; height: 18px; }

/* Emojis animados a color */
.emo { width: 56px; height: 56px; flex-shrink: 0; transition: transform .45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .emo, .glass:hover .emo { transform: scale(1.1) rotate(-5deg); } }
/* Los emojis que no vienen animados flotan suavemente */
@media (prefers-reduced-motion: no-preference) {
  .emo.still { animation: bob 3.4s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -4px; rotate: -4deg; } }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.sec { padding-block: var(--sec); }
.sec.alt { background: var(--mist); }
.sec.sky { background: var(--sky-dk); }
.sec.sky .lead { color: var(--ink); }
main > .sec:first-child { padding-top: calc(var(--head-space) + clamp(32px, 4vw, 64px)); }

.head { margin-bottom: clamp(28px, 3vw, 48px); }
.head .h1, .head .h2 { margin-top: 14px; }
.head .lead { margin-top: 14px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill); background: var(--mist); color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.3; }
.sec.alt .tag, .cta-band .tag { background: #fff; }
.sec.sky .tag { background: rgba(255, 255, 255, .55); color: var(--ink); }

/* ---------- Tipografía (una familia) ---------- */
h1, h2, h3 { font-family: var(--font-d); font-weight: 600; color: inherit; }
.h1 { font-size: clamp(44px, 6vw, 100px); line-height: 1; letter-spacing: -.04em; }
.h2 { font-size: clamp(36px, 4.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.h3 { font-size: clamp(19px, 1.35vw, 23px); line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.55; color: var(--ink-2); }
.body p { color: var(--ink-2); font-size: clamp(16px, 1.1vw, 18px); }
.body p + p { margin-top: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--pill);
  font-family: var(--font); font-size: 15.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .emo { width: 22px; height: 22px; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(212, 164, 0, .8); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-white { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); }
.btn-line { border-color: rgba(22, 25, 29, .2); color: var(--ink); background: #fff; }
.btn-glass { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn-sun:hover { background: #ffc94d; }
  .btn-ink:hover { background: #2a2f35; }
  .btn-white:hover { background: #fff; }
  .btn-line:hover { border-color: var(--ink); }
  .btn-glass:hover { background: rgba(255, 255, 255, .26); }
  .btn:hover .i-arrow { transform: translateX(3px); }
}
.i-arrow { transition: transform .25s var(--ease-out); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(22, 25, 29, .16); background: rgba(255, 255, 255, .6); color: var(--ink); transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.go .i { width: 19px; height: 19px; transition: transform .35s var(--ease-out); }

/* Tarjeta base */
.card { background: #fff; border-radius: var(--r-card); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s ease; }
a.card { display: flex; flex-direction: column; }
@media (hover: hover) and (pointer: fine) {
  .card.lift:hover, a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); border-color: transparent; }
  a.card:hover .go, a.glass:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; }
  a.card:hover .go .i, a.glass:hover .go .i { transform: rotate(45deg); }
}

/* ---------- Liquid glass (tarjetas de color) ----------
   Aproximación web: degradado de color + brillo superior + borde luminoso + reflejo al pasar el cursor */
.glass {
  --g: var(--sun); --glow: rgba(212, 164, 0, .55);
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-card); background: var(--g); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -1px 0 rgba(0, 0, 0, .08), 0 20px 44px -22px var(--glow);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.glass::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 15% -10%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 55%), radial-gradient(80% 60% at 110% 110%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%); }
.glass::after { content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .36) 50%, transparent 58%);
  transform: translateX(-75%); transition: transform 1.1s var(--ease-out); }
.glass > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .glass:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(0, 0, 0, .08), 0 32px 60px -24px var(--glow); }
  .glass:hover::after { transform: translateX(75%); }
}
.frost { background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4); }
.bubble { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }

/* Colores especiales por tarjeta */
.g-sun    { --g: linear-gradient(150deg, #ffe08a 0%, #fcbc2c 55%, #f4a908 100%); --glow: rgba(212, 164, 0, .6); color: var(--ink); }
.g-sky    { --g: linear-gradient(150deg, #a5f0f4 0%, #64dce4 50%, #38c5ce 100%); --glow: rgba(56, 197, 206, .6); color: var(--ink); }
.g-violet { --g: linear-gradient(150deg, #7c6dff 0%, #5d4cf0 55%, #4636cf 100%); --glow: rgba(93, 76, 240, .55); color: #fff; }
.g-teal   { --g: linear-gradient(150deg, #129aa5 0%, #0b7f8a 55%, #07646d 100%); --glow: rgba(11, 127, 138, .55); color: #fff; }
.g-xmas   { --g: linear-gradient(135deg, #d32f2f 0%, #b71c1c 49.8%, #2e7d32 50.2%, #1b5e20 100%); --glow: rgba(120, 40, 30, .5); color: #fff; }
.g-pink   { --g: linear-gradient(150deg, #ef5b93 0%, #d6336c 55%, #b5245a 100%); --glow: rgba(214, 51, 108, .5); color: #fff; }

/* ---------- Header flotante centrado ---------- */
.site-header { position: fixed; inset: var(--head-top) var(--pad) auto; z-index: 100; pointer-events: none; }
.hd-bar {
  pointer-events: auto; max-width: 1360px; margin-inline: auto; height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 8px 0 18px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 10px 30px -12px rgba(22, 25, 29, .25), inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.brand { justify-self: start; display: block; position: relative; width: 80px; height: 48px; overflow: hidden; }
.brand img { position: absolute; width: 96px; height: 96px; max-width: none; left: -8px; top: -25px; }
.nav-list { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--pill); background: rgba(22, 25, 29, .045); }
.nav-list a { display: block; padding: 9px 16px; border-radius: var(--pill); font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background-color .2s ease; }
.nav-list a[aria-current="page"] { background: #fff; box-shadow: 0 2px 8px -2px rgba(22, 25, 29, .2); }
@media (hover: hover) and (pointer: fine) { .nav-list a:not([aria-current="page"]):hover { background: rgba(255, 255, 255, .8); } }
.hd-cta { justify-self: end; display: flex; align-items: center; gap: 8px; }
.hd-cta .btn { min-height: 48px; padding: 0 20px; font-size: 14.5px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--mist); }
.burger .i-close { display: none; }
.menu-open .burger .i-open { display: none; }
.menu-open .burger .i-close { display: block; }
.mobile-menu { position: fixed; top: calc(var(--head-top) + var(--head-h) + 8px); left: var(--pad); right: var(--pad); z-index: 99; max-height: calc(100svh - var(--head-space)); overflow-y: auto; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-up); padding: 12px 12px 18px; display: none; flex-direction: column; }
.menu-open .mobile-menu { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu { transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); transform-origin: top center; }
  @starting-style { .menu-open .mobile-menu { opacity: 0; transform: translateY(-6px) scale(.98); } }
}
.mobile-menu li a { display: block; padding: 12px 16px; border-radius: 16px; font-family: var(--font-d); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.mobile-menu li a[aria-current="page"] { background: var(--sun-soft); }
.mobile-menu .btn { margin-top: 12px; width: 100%; }
.menu-open { overflow: hidden; }

/* ---------- Hero: foto a pantalla completa ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); opacity: 0; transition: opacity 1.4s ease; }
.hero-bg img.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img.is-active { animation: kenburns 9s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1); } }
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(14, 16, 19, .86) 0%, rgba(14, 16, 19, .45) 38%, rgba(14, 16, 19, .08) 70%, rgba(14, 16, 19, .25) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: var(--head-space); padding-bottom: clamp(40px, 6vh, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.hero .tag { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero .h1 { margin-top: 18px; font-size: clamp(48px, 7.4vw, 128px); letter-spacing: -.045em; }
.hero .lead { margin-top: 18px; color: rgba(255, 255, 255, .9); font-size: clamp(18px, 1.5vw, 24px); max-width: 60ch; }
.hero .btn-row { margin-top: 28px; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hero-stat { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: var(--pill); font-weight: 500; font-size: 15.5px; color: #fff; max-width: 440px; }
.hero-stat.frost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.hero-stat .emo { width: 40px; height: 40px; }
.slide-dots { display: flex; gap: 6px; }
.slide-dots button { width: 28px; height: 24px; position: relative; }
.slide-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: var(--pill); background: rgba(255, 255, 255, .4); transition: background-color .3s ease; }
.slide-dots button[aria-current="true"]::after { background: #fff; }

/* ---------- Inicio ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.reason { padding: clamp(24px, 2vw, 34px); }
.reason .emo { margin-bottom: 20px; }
.reason h3 { margin-bottom: 10px; }
.reason p { color: var(--ink-2); }
.quote-band { margin-top: var(--gap); padding: clamp(24px, 2.6vw, 40px); }
.quote-band p { font-family: var(--font-d); font-weight: 500; font-size: clamp(22px, 2.1vw, 34px); line-height: 1.3; letter-spacing: -.02em; }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.stat { background: #fff; border-radius: var(--r-card); padding: clamp(22px, 1.8vw, 30px); display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); } .stat:hover .emo { transform: scale(1.1) rotate(-5deg); } }
.stat-n { margin-top: 18px; font-family: var(--font-d); font-weight: 600; font-size: clamp(48px, 4.6vw, 84px); line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat-n.word { font-size: clamp(30px, 2.5vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.stat-l { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.stats.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
.stats.compact .stat { background: var(--mist); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center; }
.stats.compact .stat .emo { grid-row: span 2; width: 48px; height: 48px; }
.stats.compact .stat-n { margin-top: 0; font-size: clamp(36px, 3vw, 56px); }
.stats.compact .stat-n.word { font-size: clamp(26px, 2vw, 36px); }
.stats.compact .stat.wide { grid-column: span 2; order: 1; }

/* Tarjetas a páginas: fila justificada, cada foto entera a su proporción */
.pages { display: flex; gap: var(--gap); align-items: stretch; }
.pcard { flex: var(--r) 1 0; min-width: 0; padding: 10px; }
.pcard .ph { aspect-ratio: var(--r); border-radius: var(--r-img); overflow: hidden; background: var(--mist); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pcard .pc-body { padding: 18px 8px 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .kicker { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pcard p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; margin-bottom: 8px; }
.pcard .go { margin-top: auto; align-self: flex-start; }
@media (hover: hover) and (pointer: fine) { a.pcard:hover .ph img { transform: scale(1.04); } }

/* ---------- Banda de acción ---------- */
.cta-band { background: var(--mist); padding-block: var(--sec); }
.cta-band .grid { align-items: center; }
.cta-copy { grid-column: 1 / span 5; }
.cta-copy .h2 { margin-top: 14px; }
.cta-copy p { margin-top: 14px; font-size: clamp(18px, 1.3vw, 21px); color: var(--ink-2); }
.cta-copy .btn { margin-top: 24px; }
.cta-actions { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.action { padding: clamp(24px, 2.2vw, 34px); min-height: 250px; display: flex; flex-direction: column; }
.action .a-top { display: flex; justify-content: space-between; align-items: flex-start; }
.action .a-title { margin-top: auto; padding-top: 28px; font-family: var(--font-d); font-weight: 600; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.action .a-sub { margin-top: 8px; font-weight: 500; opacity: .85; }

/* ---------- Nosotros ---------- */
.story { align-items: center; }
.story-copy { grid-column: 1 / span 7; }
.story-copy .h1 { margin: 14px 0 22px; }
.story-media { grid-column: 8 / span 5; display: flex; justify-content: flex-end; }
.natural { position: relative; }
.natural > img { width: auto; max-width: 100%; height: auto; max-height: min(680px, 78svh); border-radius: var(--r-img); }
.badge-year { position: absolute; left: -24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 14px 20px; font-weight: 600; line-height: 1.25; }
.badge-year .yr { font-family: var(--font-d); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.values { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.value { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--pill); background: var(--mist); font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.value .emo { width: 36px; height: 36px; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.member { padding: clamp(20px, 1.8vw, 28px); display: flex; align-items: center; gap: 18px; }
.member .avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); font-family: var(--font-d); font-size: 26px; font-weight: 600; flex-shrink: 0; }
.member:nth-child(even) .avatar { background: var(--sun-soft); }
.member .name { font-family: var(--font-d); font-weight: 600; font-size: clamp(18px, 1.3vw, 21px); letter-spacing: -.015em; line-height: 1.2; }
.member .role { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.mv-item { padding: clamp(28px, 2.8vw, 44px); }
.mv-item .emo { margin-bottom: 20px; }
.mv-item h3 { margin-bottom: 12px; font-size: clamp(26px, 2vw, 34px); letter-spacing: -.03em; }
.mv-item p { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.6; }

/* ---------- Qué hacemos ---------- */
.work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.work-item { padding: clamp(24px, 2vw, 32px); }
.work-item .wi-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; gap: 12px; }
.work-item h3 { margin-bottom: 10px; }
.work-item p { color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step { position: relative; padding: clamp(24px, 2vw, 32px); border-color: transparent; }
.step .emo { margin-bottom: 20px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); }
.step + .step::before { content: ""; position: absolute; left: calc(-1 * var(--gap) / 2 - 13px); top: 50%; width: 26px; height: 26px; margin-top: -13px; z-index: 2; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316191d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 0 0 4px var(--sky-dk); }
.note { margin-top: var(--gap); padding: 22px 30px; border-radius: var(--r-card); background: rgba(255, 255, 255, .45); }
.note p { font-family: var(--font-d); font-weight: 500; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.35; letter-spacing: -.02em; }

.impact { align-items: start; }
.impact-copy { grid-column: 1 / span 6; }
.impact-copy .h2 { margin: 14px 0 22px; }
.impact-data { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: var(--gap); }
.house { padding: clamp(24px, 2vw, 32px); display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; }
.house .emo { grid-row: span 3; }
.house h3 { font-family: var(--font-d); font-size: clamp(24px, 1.8vw, 30px); letter-spacing: -.03em; }
.house-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 600; }

.partners { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.partner { padding: 22px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.partner .logo { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.partner .logo img { width: 100%; height: 100%; object-fit: cover; }
.partner h3 { font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.3; }
.partner p { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.network { margin-top: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.net { padding: 12px 20px 12px 12px; display: flex; align-items: center; gap: 14px; border-radius: var(--pill); }
.net .emo { width: 40px; height: 40px; }
.net h3 { font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.3; }
.net p { font-size: 13px; line-height: 1.4; color: var(--ink-2); }

/* ---------- Campañas ---------- */
.phrase { margin-bottom: clamp(24px, 2.6vw, 40px); font-family: var(--font-d); font-weight: 500; font-size: clamp(22px, 2vw, 32px); line-height: 1.3; letter-spacing: -.02em; max-width: 46ch; }
.campaigns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.campaign { padding: clamp(20px, 1.6vw, 26px); display: flex; flex-direction: column; gap: 14px; min-height: 440px; }
.campaign .c-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.campaign .bubble { width: 84px; height: 84px; }
.campaign .bubble .emo { width: 58px; height: 58px; }
.campaign h3 { margin-top: auto; font-size: clamp(21px, 1.5vw, 26px); letter-spacing: -.025em; }
.campaign p { font-size: 15px; line-height: 1.5; opacity: .92; }
.campaign .btn { width: 100%; margin-top: 6px; white-space: normal; text-align: center; padding: 10px 14px; font-size: 14.5px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); font-size: 12.5px; font-weight: 600; color: inherit; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.status.soon::before { background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .status.active::before { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7), 0 0 0 2px rgba(61, 220, 132, .5); } 50% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7), 0 0 0 8px rgba(61, 220, 132, 0); } }
}

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.way { padding: clamp(28px, 2.8vw, 44px); display: flex; flex-direction: column; }
.way .w-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.way .w-top h3 { font-size: clamp(26px, 2vw, 34px); letter-spacing: -.03em; }
.way > p { margin-bottom: 22px; font-size: clamp(16px, 1.1vw, 18px); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; font-weight: 500; font-size: 15px; line-height: 1.4; }
.checks li .i { margin-top: 1px; }
.way .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Historias ---------- */
.t-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--gap); }
.t-tab { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: var(--pill); background: var(--mist); font-weight: 600; font-size: 15px; transition: background-color .2s ease; }
.t-tab .mono { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-family: var(--font-d); font-weight: 600; }
.t-tab[aria-selected="true"] { background: var(--sun); }
@media (hover: hover) and (pointer: fine) { .t-tab:not([aria-selected="true"]):hover { background: var(--line); } }
.t-slide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.js .t-slide:not(.is-active) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .t-slide.is-active { animation: t-in .45s var(--ease-out); }
  @keyframes t-in { from { opacity: 0; transform: translateY(8px); } }
}
.t-slide + .t-slide { margin-top: 48px; }
.js .t-slide + .t-slide { margin-top: 0; }
.t-slide .natural > img { max-height: min(560px, 64svh); max-width: min(440px, 34vw); }
.t-body { display: flex; flex-direction: column; gap: 22px; }
.t-body blockquote p { font-family: var(--font-d); font-weight: 500; font-size: clamp(19px, 1.5vw, 25px); line-height: 1.45; letter-spacing: -.015em; }
.t-body blockquote p + p { margin-top: 12px; }
.author { display: flex; align-items: center; gap: 14px; }
.author .mono { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-family: var(--font-d); font-size: 20px; font-weight: 600; flex-shrink: 0; }
.author .who { font-weight: 600; }
.author .where { font-size: 14.5px; color: var(--ink-2); }
.t-nav { display: flex; gap: 8px; margin-left: auto; }
.t-nav button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(22, 25, 29, .16); transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease-out); }
.t-nav button:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .t-nav button:hover { background: var(--sun); border-color: var(--sun); } }
.t-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.no-js-hide { display: none; }
.js .no-js-hide { display: flex; }
.verified { margin-top: var(--gap); display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: var(--pill); background: var(--sky-soft); font-size: 15px; }
.verified .emo { width: 30px; height: 30px; }

.run { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); align-items: end; margin-bottom: 12px; }
.run h3 { font-size: clamp(26px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.jrow { display: flex; gap: 12px; }
.jrow + .jrow { margin-top: 12px; }
.g-item { position: relative; display: block; flex: var(--r) 1 0; aspect-ratio: var(--r); min-width: 0; overflow: hidden; border-radius: 16px; background: var(--line); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--sun); transition: box-shadow .3s var(--ease-out); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .g-item:hover img { transform: scale(1.04); } .g-item:hover::after { box-shadow: inset 0 0 0 5px var(--sun); } }

.lightbox { position: fixed; inset: 0; z-index: 200; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: rgba(14, 16, 19, .96); color: #fff; }
.lightbox::backdrop { background: rgba(14, 16, 19, .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: lb-in .2s var(--ease-out); } @keyframes lb-in { from { opacity: 0; } } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; }
.lb-count { font-size: 14px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .72); }
.lb-stage { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; min-height: 0; padding-inline: 16px; }
.lb-stage figure { height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lb-stage img { max-height: calc(100dvh - 180px); width: auto; max-width: 100%; object-fit: contain; border-radius: 14px; }
.lb-stage figcaption { font-size: 15px; color: rgba(255, 255, 255, .72); text-align: center; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: rgba(255, 255, 255, .22); } }
.lb-btn:active { transform: scale(.95); }

/* ---------- Contacto ---------- */
.contact { align-items: center; }
.contact-copy { grid-column: 1 / span 7; }
.contact-copy .h1 { margin: 14px 0 18px; }
.contact-copy > p { color: var(--ink-2); font-size: clamp(16px, 1.15vw, 19px); }
.c-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-grid > :first-child { grid-column: 1 / -1; }
.c-card { padding: 14px 18px 14px 14px; display: flex; align-items: center; gap: 14px; flex-direction: row !important; }
.c-card .emo { width: 44px; height: 44px; }
.c-card .lbl { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.c-card .val { display: block; font-size: clamp(16px, 1.1vw, 18px); font-weight: 500; overflow-wrap: anywhere; line-height: 1.35; }
.c-card .go { margin-left: auto; width: 40px; height: 40px; }
.socials { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.socials h3 { font-family: var(--font); font-size: 16px; font-weight: 600; margin-right: 6px; }
.contact-media { grid-column: 8 / span 5; display: flex; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(56px, 6vw, 88px) 0 28px; }
.ft-top { padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft-brand { grid-column: 1 / span 5; }
.ft-logo { display: flex; align-items: center; gap: 20px; }
.ft-logo .tile { position: relative; width: 128px; height: 80px; flex-shrink: 0; overflow: hidden; }
.ft-logo .tile img { position: absolute; width: 160px; height: 160px; max-width: none; left: -16px; top: -41px; }
.ft-name { font-family: var(--font-d); font-weight: 600; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.ft-sub { font-size: 14px; color: rgba(255, 255, 255, .7); }
.ft-brand p { margin-top: 20px; color: rgba(255, 255, 255, .75); max-width: 40ch; }
.ft-col { grid-column: span 3; }
.ft-col.nav-col { grid-column: 7 / span 3; }
.ft-col h4 { font-size: 13.5px; font-weight: 600; color: var(--sun); margin-bottom: 14px; }
.ft-col li + li { margin-top: 6px; }
.ft-col a { color: #fff; display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .ft-col a:hover { color: var(--sun); } }
.ft-col p { color: rgba(255, 255, 255, .75); }
.ft-col p + p { margin-top: 6px; }
.ft-col .ig { margin-top: 14px; }
.ft-col .ig .emo { width: 22px; height: 22px; }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.ft-bot span { display: inline-flex; align-items: center; gap: 6px; }
.ft-bot .emo { width: 20px; height: 20px; }
.ft-bot a { color: #fff; }

/* ---------- Aparición al scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-bg img { transition: none; } .glass::after { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stats .stat { grid-column: span 2; }
  .stats .stat:nth-child(n+4) { grid-column: span 3; }
  .stats.compact .stat { grid-column: span 1; }
  .stats.compact .stat.wide { grid-column: span 2; }
  .campaigns { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .campaign { grid-column: span 2; min-height: 400px; }
  .campaign:nth-child(n+4) { grid-column: span 3; }
  .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .network { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-list a { padding: 9px 12px; font-size: 14px; }
  .pages { flex-wrap: wrap; }
  .pcard { flex-basis: calc(var(--r) * 220px); }
}
@media (max-width: 1024px) {
  .hd-bar { grid-template-columns: 1fr auto; }
  .hd-bar > nav, .hd-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .reasons, .work, .steps, .board { grid-template-columns: 1fr 1fr; }
  .step + .step::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { align-items: flex-start; }
  .cta-copy, .cta-actions { grid-column: 1 / -1; }
  .story-copy, .story-media, .impact-copy, .impact-data, .contact-copy, .contact-media { grid-column: 1 / -1; }
  .story-media, .contact-media { justify-content: flex-start; }
  .badge-year { left: auto; right: -12px; }
  .values { grid-template-columns: 1fr 1fr; }
  .t-slide .natural > img { max-width: 38vw; }
  .run { grid-template-columns: 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .ft-col.nav-col { grid-column: 1 / span 6; }
  .ft-col { grid-column: span 6; }
}
@media (max-width: 768px) {
  :root { --head-top: 10px; --head-h: 60px; }
  body { font-size: 16px; }
  .grid > * { grid-column: 1 / -1 !important; }
  .hd-bar { padding: 0 6px 0 14px; }
  .brand { width: 76px; height: 46px; }
  .brand img { width: 92px; height: 92px; left: -8px; top: -24px; }
  .hero::after { background: linear-gradient(0deg, rgba(14, 16, 19, .9) 0%, rgba(14, 16, 19, .55) 45%, rgba(14, 16, 19, .1) 75%, rgba(14, 16, 19, .3) 100%); }
  .hero-bg img { object-position: var(--pos-m, var(--pos, center)); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-stat { border-radius: 22px; align-items: flex-start; }
  .reasons, .work, .steps, .board, .mv, .ways, .checks, .c-grid, .values, .cta-actions { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat, .stats .stat:nth-child(n+4) { grid-column: span 1; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .stats.compact { grid-template-columns: 1fr; }
  .stats.compact .stat, .stats.compact .stat.wide, .stats.compact .stat:last-child { grid-column: auto; }
  .stat { min-width: 0; padding: 20px; }
  .stat-n { font-size: 40px; }
  .pages { flex-direction: column; }
  .pcard { flex: none; }
  .action { min-height: 0; }
  .badge-year { right: 12px; bottom: 12px; left: auto; }
  .badge-year .yr { font-size: 32px; }
  .member .avatar { width: 54px; height: 54px; font-size: 22px; }
  .campaigns { grid-template-columns: 1fr; }
  .campaign, .campaign:nth-child(n+4) { grid-column: auto; min-height: 0; }
  .campaign h3 { margin-top: 8px; }
  .partners { grid-template-columns: 1fr 1fr; }
  .network { grid-template-columns: 1fr; }
  .net { border-radius: 22px; }
  .way .btn { align-self: stretch; }
  .t-slide { grid-template-columns: 1fr; }
  .t-slide .natural > img { max-width: 100%; max-height: 60svh; }
  .t-nav { margin-left: 0; }
  .socials h3 { width: 100%; }
  .gallery-js { columns: 2; column-gap: 8px; }
  .gallery-js .jrow { display: contents; }
  .gallery-js .g-item { width: 100%; margin-bottom: 8px; break-inside: avoid; border-radius: 12px; }
  .jrow + .jrow { margin-top: 0; }
  .lb-stage { grid-template-columns: 1fr; padding-inline: 8px; }
  .lb-stage .lb-btn { display: none; }
  .ft-col.nav-col, .ft-col { grid-column: 1 / -1; }
  .ft-bot { flex-direction: column; }
}

@media print {
  .site-header, .mobile-menu, .cta-band, .lightbox { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .t-slide { display: grid !important; }
}

/* ---------- Hero dividido: panel con fondo de colores + foto en marco ---------- */
.hero.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; background: linear-gradient(160deg, #043e46 0%, #07646d 100%); }
.hero.split::after { display: none; }
.hs-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; padding: calc(var(--head-space) + 24px) clamp(24px, 4.4vw, 80px) clamp(40px, 7vh, 80px); border-radius: 0 44px 44px 0; }
.hs-blur { position: absolute; inset: -60px; z-index: -2; }
.hs-blur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(46px) saturate(1.25); opacity: 0; transition: opacity 1.4s ease; }
.hs-blur img.is-active { opacity: 1; }
.hs-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 62, 70, .82), rgba(7, 100, 109, .55)); }
.hero.split .hero-copy { max-width: 760px; }
.hero.split .h1 { margin-top: 0; font-size: clamp(44px, 5.6vw, 96px); }
.hero.split .hero-stat { margin-top: 28px; }
.hs-media { display: grid; place-items: center; padding: calc(var(--head-space) + 12px) clamp(24px, 3.4vw, 64px) clamp(28px, 5vh, 56px); }
.hs-frame { position: relative; height: min(76svh, 800px); aspect-ratio: 4 / 5; max-width: 100%; border-radius: 28px; overflow: hidden; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .4); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); }
.hs-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); opacity: 0; transition: opacity 1.2s ease; }
.hs-frame img.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .hs-frame img.is-active { animation: kenburns 9s ease-out both; } }
@media (max-width: 860px) {
  .hero.split { grid-template-columns: 1fr; min-height: 0; }
  .hs-panel { border-radius: 0 0 32px 32px; padding: calc(var(--head-space) + 12px) var(--pad) 40px; }
  .hs-media { padding: 28px var(--pad) 40px; }
  .hs-frame { height: auto; width: min(100%, 440px); }
  .hs-frame img { object-position: var(--pos-m, var(--pos, center)); }
}

/* ---------- Hero final: panel con fondo de colores + foto entera a pantalla completa (sin marco) ---------- */
.hero.split { grid-template-columns: min(46%, 720px) minmax(0, 1fr); background: #043e46; }
.hs-panel { border-radius: 0; padding: calc(var(--head-space) + 24px) clamp(24px, 4vw, 72px) clamp(40px, 7vh, 80px); z-index: 1; }
.hs-media { padding: 0; display: block; position: relative; }
.hs-frame { position: absolute; inset: 0; height: auto; width: auto; aspect-ratio: auto; max-width: none; border-radius: 0; border: 0; box-shadow: none; background: none; }
.hs-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4, 62, 70, .45) 0%, rgba(4, 62, 70, 0) 28%); }
@media (max-width: 860px) {
  .hero.split { grid-template-columns: 1fr; }
  .hs-panel { border-radius: 0; padding: calc(var(--head-space) + 12px) var(--pad) 36px; }
  .hs-media { height: 70svh; padding: 0; }
  .hs-frame { width: auto; }
}

/* ---------- Navbar: ancho completo, plano, de izquierda a derecha ---------- */
.site-header { inset: 0 0 auto; pointer-events: auto; background: #fff; border-bottom: 1px solid var(--line); }
.hd-bar { max-width: none; height: var(--head-h); padding: 0 var(--pad); border-radius: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-list { background: transparent; padding: 0; gap: 4px; }
.nav-list a { border-radius: 0; padding: 22px 14px 20px; border-bottom: 2px solid transparent; font-size: 15px; color: #3a4350; }
.nav-list a[aria-current="page"] { background: transparent; box-shadow: none; border-bottom-color: var(--ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav-list a:not([aria-current="page"]):hover { background: transparent; color: var(--ink); border-bottom-color: var(--line); } }
:root { --head-top: 0px; }
.mobile-menu { top: var(--head-h); left: 0; right: 0; border-radius: 0 0 24px 24px; }
@media (max-width: 768px) { :root { --head-top: 0px; } }

/* ---------- Testimonios: todos visibles en cards, de izquierda a derecha ---------- */
.t-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(20px, 2.4vw, 36px); }
.t-card + .t-card { margin-top: var(--gap); }
.t-card .natural > img { max-height: 420px; max-width: min(300px, 28vw); }
@media (max-width: 768px) { .t-card { grid-template-columns: 1fr; } .t-card .natural > img { max-width: 100%; max-height: 60svh; } }

/* ---------- Galería: título de la corrida centrado arriba ---------- */
.run { display: block; margin-bottom: 12px; }
.run h3 { text-align: center; margin-bottom: 20px; }

/* Navbar translúcido: los colores de cada sección se ven a través al hacer scroll */
.site-header { background: rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(255, 255, 255, .45); backdrop-filter: saturate(200%) blur(22px); -webkit-backdrop-filter: saturate(200%) blur(22px); box-shadow: 0 1px 0 rgba(22, 25, 29, .06); }
.nav-list a { color: var(--ink); }
.mobile-menu { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(200%) blur(22px); -webkit-backdrop-filter: saturate(200%) blur(22px); }

/* ---------- Más color y sombra en las cards (efecto glass suave) ---------- */
.soc { width: 20px; height: 20px; flex-shrink: 0; }
:root { --card-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 16px 36px -16px rgba(22, 25, 29, .28), 0 2px 6px rgba(22, 25, 29, .06); }
.reason, .work-item, .stat, .c-card, .pcard, .member, .partner, .net, .step, .t-card {
  box-shadow: var(--card-shadow);
}
.reason, .work-item, .stat { border: 1px solid rgba(255, 255, 255, .7); position: relative; }
.reason::after, .work-item::after, .stat::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 12% -10%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%); }
.reason > *, .work-item > *, .stat > * { position: relative; z-index: 1; }
/* colores por card */
.reasons > :nth-child(1), .work > :nth-child(1), .stats > :nth-child(1) { background: linear-gradient(155deg, #ffe9a8, #ffd25a 120%); }
.reasons > :nth-child(2), .work > :nth-child(2), .stats > :nth-child(2) { background: linear-gradient(155deg, #c9f4f7, #7fe3ea 120%); }
.reasons > :nth-child(3), .work > :nth-child(3), .stats > :nth-child(3) { background: linear-gradient(155deg, #e4defe, #b9acf7 120%); }
.work > :nth-child(4), .stats > :nth-child(4) { background: linear-gradient(155deg, #d3f6e4, #8fe3b8 120%); }
.stats > :nth-child(5) { background: linear-gradient(155deg, #ffe0ea, #ffb3cc 120%); }
.stats.compact .stat { background: none; }
.stats.compact > :nth-child(1) { background: linear-gradient(155deg, #ffe9a8, #ffd25a 120%); }
.stats.compact > :nth-child(2) { background: linear-gradient(155deg, #c9f4f7, #7fe3ea 120%); }
.stats.compact > :nth-child(3) { background: linear-gradient(155deg, #e4defe, #b9acf7 120%); }
.stats.compact > :nth-child(4) { background: linear-gradient(155deg, #d3f6e4, #8fe3b8 120%); }
.stats.compact > :nth-child(5) { background: linear-gradient(155deg, #ffe0ea, #ffb3cc 120%); }
.reason p, .work-item p, .stat-l { color: #3d4753; }

/* fondos distintos para separar las secciones de abajo */
#paginas { background: #fff3d0; }
.cta-band { background: #e9ecfa; }

/* ---------- Campañas: sección más compacta para verla entera ---------- */
#campanas { padding-block: clamp(36px, 4vw, 56px); }
#campanas .head { margin-bottom: 16px; }
#campanas .h1 { font-size: clamp(38px, 4.4vw, 72px); }
#campanas .lead { font-size: 17px; }
#campanas .phrase { font-size: clamp(18px, 1.5vw, 24px); margin-bottom: 18px; }
#campanas .campaign { min-height: 330px; padding: 18px; gap: 10px; }
#campanas .campaign .bubble { width: 64px; height: 64px; }
#campanas .campaign .bubble .emo { width: 44px; height: 44px; }
#campanas .campaign p { font-size: 14px; line-height: 1.45; }
#campanas .campaign .btn { min-height: 44px; }
main > #campanas:first-child { padding-top: calc(var(--head-space) + 28px); }

.c-card { box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -16px rgba(22, 25, 29, .34), 0 3px 8px rgba(22, 25, 29, .08); }

