/* ============================================================
   Fundación Chirigua — Higherlife-style identity
   ============================================================ */

/* -------- Fonts -------- */
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Light.woff") format("woff");   font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Medium.woff") format("woff");  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Bold.woff") format("woff");    font-weight: 700; font-style: normal; font-display: swap; }

/* -------- Tokens -------- */
:root {
  --bg:       #ffffff;
  --bg-soft:  #fafafa;
  --ink:      #0a0a0a;
  --ink-2:    #5c5c5c;
  --ink-3:    #b8b8b8;
  --line:     #e5e5e5;
  --line-dark: rgba(255,255,255,.12);

  --navy:     #0a0e2e;
  --navy-2:   #11163a;
  --lime:     #c5f04e;
  --lime-2:   #b6e640;
  --lime-ink: #0a0a0a;
  --gold:     #c9a557;
  --danger:   #d4485e;

  --font-sans: "Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-display: clamp(44px, 7vw, 96px);
  --fs-h1:      clamp(36px, 5vw, 72px);
  --fs-h2:      clamp(28px, 3.6vw, 52px);
  --fs-h3:      22px;
  --fs-body:    16px;
  --fs-sm:      14px;
  --fs-xs:      12px;
  --lh-tight:   1.05;
  --lh-snug:    1.2;
  --lh-normal:  1.55;

  --container: 1280px;
  --gutter:    32px;
  --radius:    4px;
  --radius-lg: 80px;
  --transition: 240ms cubic-bezier(.2,.6,.2,1);

  --nav-h: 72px;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  line-height: var(--lh-tight);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* -------- Utilities -------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }

/* Section pattern — black square at viewport edge + content */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
}
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--no-pb { padding-bottom: 0; }
.section--no-pt { padding-top: 0; }

/* Marks ahora son inline con el s-label (estilo hero) */
.sq-mark,
.sq-mark-inline { display: none; }

.s-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: clamp(32px, 5vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.s-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  flex-shrink: 0;
}
.section--navy .s-label { color: rgba(255,255,255,.85); }

/* Two-column section grid: label/title left | body/photo right */
.s-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
/* Cuando hay un título grande a la izquierda, alinear el párrafo al fondo */
.s-grid:has(.title-2t) { align-items: end; }
@media (max-width: 880px) {
  .s-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* -------- Two-tone title -------- */
.title-2t {
  font-size: var(--fs-h1);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.025em;
}
.title-2t .t-dark { color: var(--ink); display: block; }
.title-2t .t-light { color: var(--ink-3); display: block; }
.section--navy .title-2t .t-dark { color: #fff; }
.section--navy .title-2t .t-light { color: rgba(255,255,255,.45); }

/* -------- btn-lime — Circle Expand hover (Pro Effects style) -------- */
.btn-lime {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px 0 58px;          /* 44 sq + 14 gap visual */
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
}
button.btn-lime { border: 0; font-family: inherit; }
.btn-lime .sq {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  background: var(--lime);
  border-radius: var(--radius);
  z-index: 0;
  transition: width 0.45s cubic-bezier(0.65, 0, 0.076, 1),
              background 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}
.btn-lime .sq svg {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--ink);
}
.btn-lime .txt {
  position: relative;
  z-index: 1;
  transition: color 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

/* Hover: el sq se expande hasta cubrir el botón completo */
.btn-lime:hover .sq {
  width: 100%;
  background: var(--lime-2);
}

.btn-lime:active .sq { transform: scaleY(0.96); }

/* Disabled state — para convocatorias cerradas */
.btn-lime.is-disabled,
.btn-lime[disabled],
.btn-lime[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-lime.is-disabled .sq,
.btn-lime[disabled] .sq,
.btn-lime[aria-disabled="true"] .sq {
  background: var(--ink-3);
}

/* Variantes sobre fondos oscuros: texto inicia blanco, hover pasa a ink */
.section--navy .btn-lime,
.commit-band .btn-lime,
.impact .btn-lime,
.hero .btn-lime,
.cta-banner .btn-lime,
.feature-slider .btn-lime { color: #fff; }

.section--navy .btn-lime:hover .txt,
.commit-band .btn-lime:hover .txt,
.impact .btn-lime:hover .txt,
.hero .btn-lime:hover .txt,
.cta-banner .btn-lime:hover .txt,
.feature-slider .btn-lime:hover .txt { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .btn-lime .sq,
  .btn-lime .sq svg,
  .btn-lime .txt { transition: none !important; }
}

/* Compact lime pill (nav CTA) */
.btn-lime-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 12px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition);
}
.btn-lime-pill svg { width: 16px; height: 16px; }
.btn-lime-pill:hover { background: var(--lime-2); }

/* CTA pair with vertical divider */
.btn-pair { display: inline-flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-pair .div { width: 1px; height: 28px; background: var(--ink-3); opacity: .6; }
.section--navy .btn-pair .div { background: rgba(255,255,255,.25); }

/* Plain link with arrow */
.lnk-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}
.lnk-arrow svg { transition: transform var(--transition); width: 14px; height: 14px; }
.lnk-arrow:hover svg { transform: translateX(3px); }

/* -------- Header -------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: auto;
  padding: 10px 0;
  background: transparent;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header > .container {
  max-width: none;
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}
.site-header.is-scrolled,
.site-header.is-light {
  position: fixed;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  display: block;
  width: 59px;
  height: auto;
}
/* Logo en footer — color original sobre gris */
.site-footer .brand-logo {
  width: 140px;
}
.brand-mark {
  width: 28px; height: 28px;
  display: none;
}
.brand-text-stack { display: none; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.85);
  position: relative;
}
.site-header.is-scrolled .nav-links a,
.site-header.is-light .nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: #fff; }
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-light .nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: #fff; }
.site-header.is-scrolled .nav-links a.is-active,
.site-header.is-light .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--lime);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: #fff;
}
.site-header.is-scrolled .nav-toggle,
.site-header.is-light .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }
  .nav-mobile-open .nav-links a { color: var(--ink-2); padding: 14px 16px; }
  .nav-cta .btn-lime-pill { padding: 9px 14px 9px 10px; }
  .nav-cta .btn-lime-pill .txt { display: none; }
}

main { min-height: 100vh; }

/* -------- Photo placeholder (color, subtle grain) -------- */
.photo-ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6b7d52 0%, #3a4a32 100%);
  isolation: isolate;
}
.photo-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.photo-ph::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px; left: 18px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 3;
}
.photo-ph--field   { background: linear-gradient(135deg,#6b7d52,#3a4a32); }
.photo-ph--earth   { background: linear-gradient(135deg,#a67b4a,#5e4329); }
.photo-ph--sky     { background: linear-gradient(135deg,#4a6f8a,#2c4763); }
.photo-ph--cattle  { background: linear-gradient(135deg,#8a7a5e,#4a3f30); }
.photo-ph--coast   { background: linear-gradient(135deg,#5d8a7e,#2f4d44); }
.photo-ph--mujeres { background: linear-gradient(135deg,#b58758,#75503a); }
.photo-ph--health  { background: linear-gradient(135deg,#6e8aa8,#384759); }
.photo-ph--dust    { background: linear-gradient(135deg,#a89576,#665543); }

/* -------- Hero -------- */
.hero {
  position: relative;
  height: clamp(620px, 100vh, 860px);
  background: var(--navy);
  overflow: hidden;
  color: #fff;
}
.hero .hero-bg {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.7) 100%);
}
.hero .container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1.6fr);
  gap: clamp(40px, 6vw, 96px);
  width: 100%;
  align-items: start;
  padding-top: 40px;
  padding-bottom: clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-side .sq-mark-inline {
  width: 8px; height: 8px;
  background: #fff;
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 4px;
  vertical-align: middle;
}
.hero-side .s-label { color: rgba(255,255,255,.85); margin-bottom: 0; }
.hero-main h1 {
  font-size: 50px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 940px;
}
.hero-main .btn-lime { margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero { height: 100vh; min-height: 560px; padding-top: 0; padding-bottom: 0; }
  .hero .container { align-items: flex-end; height: 100%; padding-bottom: 32px; }
}

/* -------- About -------- */
.about-body p {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.about-body p + p {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.about-body .btn-lime { margin-top: 36px; }

.about-photos {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-photos .photo-ph { aspect-ratio: 4 / 3; }
.about-photos figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink);
}
.about-photos figcaption .sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-2);
}
.about-photos figure { margin: 0; }
@media (max-width: 640px) {
  .about-photos { grid-template-columns: 1fr; }
}

/* -------- Feature slider (lecture-notice style) -------- */
.feature-slider {
  position: relative;
  background-color: var(--navy);
  color: #fff;
  overflow: hidden;
  border-radius: 4px;
  margin: 0 var(--gutter);
}
.feature-slider .fs-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  transition: opacity 0.35s cubic-bezier(0.65, 0, 0.076, 1);
}
.feature-slider .fs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy) 0%,
    var(--navy) 32%,
    rgba(10,14,46,0.92) 48%,
    rgba(10,14,46,0.65) 72%,
    rgba(10,14,46,0.45) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.fs-deco {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201,165,87,.25);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}
.fs-deco::before, .fs-deco::after {
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  border: 1px solid rgba(201,165,87,.45);
  border-radius: 50%;
}
.fs-deco::before { top: -70px; left: -70px; border-color: rgba(201,165,87,.35); }
.fs-deco::after  { bottom: -70px; right: -70px; }
.fs-inner {
  position: relative;
  z-index: 3;
  min-height: 540px;
}
.fs-content {
  padding: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  max-width: 60%;
  box-sizing: border-box;
}
.fs-partners {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.fs-partner {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.fs-partner:last-child { border-right: 0; padding-right: 0; }
.fs-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.fs-meta .pg { color: #fff; }
.fs-body { margin-top: 18px; }
.fs-body h3 {
  font-size: clamp(28px, 3.2vw, 44px);
  color: #fff;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 540px;
}
.fs-body p {
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  max-width: 480px;
}
.fs-body .fs-when {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.02em;
}
.fs-body .btn-lime { margin-top: 32px; }

.fs-arrows {
  position: absolute;
  z-index: 4;
  top: 50%; right: clamp(20px, 3vw, 40px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fs-arrow {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.fs-arrow:hover { background: var(--lime-2); }
.fs-arrow svg { width: 16px; height: 16px; }
@media (max-width: 880px) {
  .fs-content { max-width: 100%; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
  .fs-arrows { flex-direction: row; top: auto; bottom: 20px; right: 20px; transform: none; }
  .feature-slider { margin: 0; }
  .feature-slider .fs-bg-img { object-position: top center; }
  .feature-slider .fs-overlay {
    background: linear-gradient(180deg,
      rgba(10,14,46,0.55) 0%,
      rgba(10,14,46,0.85) 50%,
      var(--navy) 100%
    );
  }
  .fs-partner { padding-right: 14px; }
}

/* -------- Commitment band (full-bleed quote) -------- */
.commit-band {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.commit-bg {
  position: absolute; inset: 0;
  z-index: 1;
}
.commit-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.85) 100%);
}
.commit-band .container { position: relative; z-index: 3; padding: clamp(96px, 12vw, 160px) var(--gutter); }
.commit-band .s-label { color: rgba(255,255,255,.85); }
.commit-band .quote {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 1000px;
}

/* -------- Tab list -------- */
.tab-list {
  display: flex;
  flex-direction: column;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.tab {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 15px;
  color: var(--ink-3);
  text-align: left;
  font-weight: 400;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: color var(--transition);
  position: relative;
}
.tab:hover { color: var(--ink-2); }
.tab.is-active { color: var(--ink); }
.tab.is-active::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 36px; height: 2px;
  background: var(--lime);
}

/* What we do section: text + photo */
.wwd-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.wwd-text h3 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.wwd-text p { margin-top: 24px; color: var(--ink-2); font-size: 16px; }
.wwd-text .btn-lime { margin-top: 32px; }
.wwd-photo .photo-ph { aspect-ratio: 4 / 5; }
.wwd-photo .wwd-photo-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: opacity 0.35s cubic-bezier(0.65, 0, 0.076, 1);
}
@media (max-width: 880px) {
  .wwd-grid { grid-template-columns: 1fr; }
}

/* -------- Stats over photo -------- */
.impact {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(24px, 3vw, 40px);
}
.impact-bg {
  position: absolute; inset: 0;
  z-index: 1;
}
.impact-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.85) 100%);
}
.impact .container { position: relative; z-index: 3; }
.impact .s-label { color: rgba(255,255,255,.85); margin-bottom: 0; }

.stat-row {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.3);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(0, 1.4fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.stat-row .stat-side { padding-top: 4px; }
.stat-num {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-desc {
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  max-width: 240px;
}
.impact .btn-lime { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 880px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* -------- Collaborate -------- */
.collab-body p {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.45;
}
.collab-body p + p {
  margin-top: 20px;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}
.collab-body .btn-pair { margin-top: 36px; }

/* -------- Locations -------- */
.locations {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.loc-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.6fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.loc-side .desc {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 420px;
}
.loc-region {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.loc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.loc-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.loc-item .name {
  font-size: 16px;
  color: var(--ink);
  display: block;
}
.loc-item .meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-list { grid-template-columns: 1fr; }
}

/* -------- Page title (sub pages) -------- */
.page-title {
  position: relative;
  padding: clamp(140px, 16vw, 200px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.pt-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1.6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.breadcrumb {
  font-size: 13px;
  color: var(--ink-2);
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--ink); }
.page-title .title-2t { font-size: clamp(36px, 5vw, 72px); }
.page-title p {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 520px;
}
@media (max-width: 880px) {
  .pt-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* -------- Convocatorias list -------- */
.tabs-filter {
  margin-top: 0;
  margin-bottom: 0;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.tabs-filter .tab {
  border-bottom: 0;
  padding: 14px 28px;
  text-align: center;
}
.tabs-filter .tab.is-active::before {
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
}
.conv-list .conv-card:first-child { border-top: 0; }
.conv-card[hidden] { display: none !important; }

.conv-empty {
  padding: clamp(56px, 7vw, 96px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.conv-empty p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto;
}

.conv-list { display: flex; flex-direction: column; }
.conv-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.conv-card:first-child { border-top: 1px solid var(--line); }
.conv-thumb { aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: var(--radius); }
.conv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.conv-body { display: flex; flex-direction: column; min-width: 0; }
.conv-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}
.badge--open { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.badge--soon { background: #fff; border-color: var(--gold); color: var(--gold); }
.badge--closed { background: #fff; color: var(--danger); border-color: var(--danger); }
.conv-cat {
  font-size: 12px;
  color: var(--ink-2);
}
.conv-body h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.conv-body p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 640px;
}
.conv-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, auto) 1fr;
  gap: 32px;
  align-items: center;
}
.conv-meta .col .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.conv-meta .col .val {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink);
}
.conv-meta .btn-lime { justify-self: end; }
@media (max-width: 880px) {
  .conv-card { grid-template-columns: 1fr; gap: 24px; }
  .conv-thumb { aspect-ratio: 16 / 10; }
  .conv-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .conv-meta .btn-lime { grid-column: 1 / -1; justify-self: start; margin-top: 12px; }
}

.pagination {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pagination-info { font-size: 13px; color: var(--ink-2); }
.pagination-btns { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.page-btn {
  width: 44px; height: 44px;
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  cursor: pointer;
}
.page-btn:last-child { border-right: 0; }
.page-btn.is-current { background: var(--ink); color: #fff; }
.page-btn[disabled] { opacity: .35; cursor: not-allowed; }

/* -------- CTA banner navy with curve -------- */
.cta-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 8vw, 112px) clamp(40px, 6vw, 96px);
  border-top-left-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201,165,87,.18);
  pointer-events: none;
}
.cta-banner .s-label { color: rgba(255,255,255,.85); }
.cta-banner .quote {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.015em;
  max-width: 820px;
  line-height: 1.25;
}
.cta-banner .btn-pair { margin-top: 36px; }
/* .cta-banner .btn-lime — color manejado por regla consolidada */

/* -------- Contact page -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-side { }
.contact-side .s-label { margin-bottom: 24px; }
.info-list { border-top: 1px solid var(--line); }
.info-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-row .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.info-row .val {
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
}
.info-row .val a:hover { color: var(--lime-ink); border-bottom: 1px solid var(--lime); }
.info-row .sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

.socials-block { margin-top: 32px; }
.socials-block .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.socials { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all var(--transition);
}
.social:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.social svg { width: 16px; height: 16px; }

.form-card {
  background: var(--bg);
  padding: 0;
}
.form-card h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.form-card .sub {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 16px;
}
.form {
  margin-top: 36px;
  display: grid;
  gap: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  transition: border-color var(--transition);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--lime);
  border-bottom-width: 2px;
  padding-bottom: 9px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: var(--danger); }
.field .error {
  font-size: 11px;
  color: var(--danger);
  display: none;
  letter-spacing: 0.06em;
}
.field.has-error .error { display: block; }

.form-submit { margin-top: 8px; }
.form-success { display: none; padding: 24px 0; }
.form-success .check {
  width: 44px; height: 44px;
  background: var(--lime);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.form-success .check svg { width: 22px; height: 22px; color: var(--ink); }
.form-success h3 { font-size: 24px; font-weight: 300; letter-spacing: -0.015em; }
.form-success p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.form-wrapper.is-success .form { display: none; }
.form-wrapper.is-success .form-success { display: block; }

.map-block {
  margin-top: clamp(56px, 7vw, 96px);
  position: relative;
  aspect-ratio: 16 / 7;
}
.map-block .photo-ph { width: 100%; height: 100%; }
.map-block .map-pin {
  position: absolute;
  z-index: 4;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.map-block .pin {
  width: 18px; height: 18px;
  background: var(--lime);
  border: 2px solid #fff;
  border-radius: 2px;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* -------- Org structure grid -------- */
.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.org-card {
  padding: 36px 32px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.org-card:nth-child(2n) { border-right: 0; }
.org-card:nth-last-child(-n+2) { border-bottom: 0; }
.org-num {
  font-size: 11px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.org-card h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.org-card p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 520px;
}
@media (max-width: 720px) {
  .org-grid { grid-template-columns: 1fr; }
  .org-card { padding: 28px 0 !important; border-right: 0; }
  .org-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .org-card:last-child { border-bottom: 0; }
}

/* -------- Team grid -------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.team-card {
  padding: 36px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.team-card:nth-child(3n) { border-right: 0; }
.team-card h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.team-card .role {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.team-card .cred {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 28px 0 !important; border-right: 0; }
}

/* -------- Areas list -------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.areas-grid li {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.areas-grid li:nth-child(even) { border-left: 1px solid var(--line); }
.areas-num {
  font-size: 11px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  min-width: 28px;
}
.areas-name {
  font-size: 17px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
@media (max-width: 720px) {
  .areas-grid { grid-template-columns: 1fr; }
  .areas-grid li, .areas-grid li:nth-child(odd), .areas-grid li:nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }
}

/* -------- Footer -------- */
.site-footer {
  position: relative;
  background: #e6e6e6;
  color: var(--ink-2);
  padding: clamp(72px, 9vw, 120px) 0 32px;
  margin-top: clamp(48px, 6vw, 96px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(10,10,10,.12);
}
.site-footer .brand { color: var(--ink); }
.footer-pitch { margin-top: 20px; color: var(--ink-2); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-news { margin-top: 32px; }
.footer-news p { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; max-width: 280px; }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}
.btn-outline-light svg { width: 14px; height: 14px; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--ink-2); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-col .addr { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.footer-col .addr p + p { margin-top: 12px; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.footer-bottom .socials .social {
  background: transparent;
  border-color: rgba(10,10,10,.18);
  color: var(--ink-2);
}
.footer-bottom .socials .social:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
