/* ============================================
   FUNDACIÓN KUNDAVI — Design System v2
   Colors:  --ink #001D6D · --blue #0583F2 · --soft #C9E2FF · white
   Type:    DM Sans 600 (display + headings, tight tracking)
            Prata kept ONLY for big editorial numerics + italic accents
   ============================================ */

:root {
  --ink: #001D6D;
  --ink-2: #0A2A85;
  --blue: #0583F2;
  --soft: #C9E2FF;
  --soft-2: #EAF3FF;
  --bg: #ffffff;
  --paper: #FBFCFE;
  --muted: #5A6480;
  --line: rgba(0, 29, 109, 0.10);
  --line-strong: rgba(0, 29, 109, 0.22);
  --shadow-sm: 0 2px 8px rgba(0, 29, 109, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 29, 109, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 29, 109, 0.10);
  --radius-card: 24px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 26px; } }
@media (max-width: 420px) { .container { padding: 0 24px; } }

/* ============================================
   TYPOGRAPHY — DM Sans 600 with tight tracking
   ============================================ */
h1, h2, h3, h4, h5, h6,
.display, .h-display {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
}
.display {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.01;
  letter-spacing: -2.1px;
  margin: 0 0 22px;
  text-wrap: balance;
}
.display em {
  /* italic accent — kept editorial */
  font-style: italic;
  font-family: "Prata", "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: -1px;
}
.h-display {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.01;
  letter-spacing: -2.1px;
  text-wrap: balance;
}
h3 {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.7px;
}
h4 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow.light { color: var(--soft); }
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 32px;
  font-weight: 400;
}
.section-sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 8px auto 0;
  font-size: 17px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display: inline-block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 29, 109, 0.18);
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(5, 131, 242, 0.28);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--soft-2);
  transform: translateY(-2px);
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--soft-2);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 18px 32px;
  font-size: 16px;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover { background: #1FBE5A; transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 2px 14px rgba(0, 29, 109, 0.05);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.92);
}
/* Logo swap — navy logo on light header, white logo over the hero */
.site-header .brand-logo--on-hero { display: none; }
.site-header.at-hero .brand-logo--on-light { display: none; }
.site-header.at-hero .brand-logo--on-hero { display: block; }
/* Transparent header while the hero (bright blue) is in view */
.site-header.at-hero {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
.site-header.at-hero .nav-link { color: #fff !important; }
.site-header.at-hero .nav-link:hover { background: rgba(255,255,255,0.16) !important; }
.site-header.at-hero .hamburger span { background: #fff !important; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.site-footer .brand-logo { height: 52px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--ink);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.4px;
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 400;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { background: var(--soft-2); }
.nav-link.is-active { color: var(--blue); }
.nav-link .chev { width: 11px; height: 11px; transition: transform .2s var(--ease); }
.has-dropdown.open .chev { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.has-dropdown.open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .2s var(--ease);
}
.dropdown a:hover { background: var(--soft-2); }
.dd-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.dd-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
  letter-spacing: 0;
}

.header-cta { padding: 12px 22px; font-size: 14px; border: 1.5px solid transparent; }
.site-header.at-hero .header-cta:hover { border-color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 10px;
}
.hamburger span {
  width: 22px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 20px 26px 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu > a {
  padding: 16px 14px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.mobile-menu > a:hover, .mobile-menu > a:active { background: var(--soft-2); }
.mobile-menu details {
  border-radius: 12px;
  overflow: hidden;
}
.mobile-menu details summary {
  padding: 16px 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.mobile-menu details summary::-webkit-details-marker { display: none; }
.mobile-menu details summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
  margin-right: 4px;
}
.mobile-menu details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.mobile-menu details .submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 12px 14px;
  border-left: 1.5px solid var(--line);
  margin-left: 22px;
}
.mobile-menu details .submenu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.2px;
}
.mobile-menu details .submenu a:hover { background: var(--soft-2); }
.mobile-cta { margin-top: 18px; justify-content: center; }

/* ===== HERO ===== */
.hero {
  padding: clamp(92px, calc(4vw + 64px), 128px) 0 clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
  background: #0583f2;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.18), transparent 70%);
  z-index: 0;
  filter: blur(20px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero .display,
.hero .display em { color: #fff; }
.hero .lede { color: rgba(255,255,255,0.92); }
.hero .btn-ghost {
  color: #0583f2;
  background: #fff;
  border-color: #fff;
}
.hero .btn-ghost:hover { background: #f3f6fb; border-color: #f3f6fb; color: #0583f2; }
.hero .btn-primary { background: #feeb85; color: #001d6d; border-color: #feeb85; }
.hero .btn-primary:hover { background: #ffe35c; color: #001d6d; border-color: #ffe35c; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero-copy { max-width: 580px; }
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-trust {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.28);
  flex-wrap: wrap;
}
.hero-trust > div { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: "Prata", serif;
  font-weight: 400;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.4px;
}
.hero-trust span {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
}
.hero-image {
  position: relative;
  width: 100%; height: 100%;
}
.hero-image image-slot {
  width: 100%; height: 100%;
}
.hero-card {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 22px 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  max-width: 86%;
}
.hero-card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--soft-2);
  color: var(--ink);
  border-radius: 12px;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card-title {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.hero-card-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.5;
}
.dot-a {
  width: 14px; height: 14px;
  background: var(--blue);
  top: 8%; left: -3%;
}
.dot-b {
  width: 10px; height: 10px;
  background: var(--ink);
  top: 92%; right: 8%;
}

/* ===== PURPOSE ===== */
.purpose {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  position: relative;
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.purpose-visual { position: relative; aspect-ratio: 4 / 5; }
.purpose-visual image-slot {
  width: 100%; height: 100%;
}
.purpose-quote {
  position: absolute;
  right: -24px;
  bottom: -32px;
  background: var(--ink);
  color: #fff;
  height: auto;
  padding: 28px 30px;
  border-radius: 18px;
  max-width: 320px;
  box-shadow: 0 24px 60px rgba(0,29,109,0.25);
}
.purpose-quote svg { width: 28px; height: 28px; color: var(--soft); margin-bottom: 8px; }
.purpose-quote p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.6px;
}
.purpose-copy p {
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 50ch;
}
.purpose-pillars {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.purpose-pillars li {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.purpose-pillars li span {
  font-family: "Prata", serif;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.04em;
}

/* ===== WHAT WE DO ===== */
.dowhat { padding: clamp(70px, 8vw, 120px) 0; background: var(--bg); }
.dowhat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.dowhat-copy .h-display {
  font-size: clamp(34px, 3.4vw, 46px);
  margin: 0 0 22px;
}
.dowhat-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 46ch;
  margin: 0;
}
.dowhat-carousel { position: relative; min-width: 0; }
.dw-card {
  position: relative;
  background: #0583F2;
  color: #fff;
  border-radius: 22px;
  padding: 44px 44px 40px;
  min-height: 318px;
  display: flex;
  flex-direction: column;
}
.dw-stage { display: grid; flex: 1; }
.dw-content {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.dw-content.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.dw-num {
  display: block;
  font-family: "Prata", serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 26px;
}
.dw-content h3 {
  font-family: "Prata", serif;
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
  color: #fff;
}
.dw-content p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 42ch;
}
.dw-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}
.dw-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #FEEB85;
  color: #001D6D;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.dw-arrow svg { width: 22px; height: 22px; }
.dw-arrow:hover {
  background: #ffe35c;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 29, 109, 0.22);
}
.dw-arrow:active { transform: translateY(0); }

/* ===== HELP CARDS ===== */
.help { padding: clamp(80px, 10vw, 140px) 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.help-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px 36px;
  box-shadow: 0 10px 30px rgba(0, 29, 109, 0.10), 0 2px 8px rgba(0, 29, 109, 0.05);
  overflow: hidden;
  color: inherit;
}
.help-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, var(--soft-2), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.card-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--soft-2);
  color: var(--ink);
  margin-bottom: 24px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.help-card h3 {
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -0.9px;
  line-height: 1.1;
  text-wrap: balance;
}
.help-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
.card-arrow {
  position: absolute;
  bottom: 26px;
  right: 28px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--line-strong);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.card-arrow svg { width: 14px; height: 14px; }
.help-card:hover .card-arrow, .help-card:focus-visible .card-arrow {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateX(4px);
}

/* ===== EXPERIENCES (light blue, checklist) ===== */
.exp {
  background: #f8fafd;
  color: var(--ink);
  padding: clamp(80px, 9vw, 130px) 0;
}
.exp-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.exp-copy .eyebrow.light { color: #0583F2; }
.exp-copy .h-display {
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.8px;
  margin: 0 0 22px;
  color: var(--ink);
}
.exp-copy p {
  color: rgba(0, 29, 109, 0.72);
  font-size: 18px;
  line-height: 1.6;
  max-width: 42ch;
  margin: 0;
}
.exp-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.exp-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.exp-check {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E3EDFD;
  display: grid;
  place-items: center;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(0, 29, 109, 0.10);
}
.exp-check svg { width: 16px; height: 16px; display: block; }
.exp-body h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.2px;
  margin: 0 0 6px;
  color: var(--ink);
}
.exp-body p {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(0, 29, 109, 0.66);
  margin: 0;
  max-width: 46ch;
}

/* ===== SHIFT (before/after tabs) ===== */
.shift {
  background: #fff;
  padding: clamp(80px, 9vw, 130px) 0;
}
.shift .section-head { margin-bottom: 40px; }
.shift .section-head .h-display { max-width: 20ch; margin-left: auto; margin-right: auto; }
.shift-wrap { max-width: 880px; margin: 0 auto; }
.shift-tablist {
  display: flex;
  gap: 6px;
  background: #F8FAFD;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 7px;
  margin-bottom: 22px;
}
.shift-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 18px;
  border-radius: 11px;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.shift-tab:hover { color: var(--ink); }
.shift-tab.is-active {
  background: #fff;
  color: #000;
  box-shadow: 0 6px 18px rgba(0, 29, 109, 0.10);
}
.shift-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 29, 109, 0.07);
  padding: clamp(24px, 3vw, 40px);
}
.shift-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.shift-list[hidden] { display: none; }
.shift-list.is-active { animation: shiftFade .42s var(--ease); }
@keyframes shiftFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.shift-list li {
  display: flex;
  align-items: center;
  gap: 18px;
}
.shift-check {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 5px 14px rgba(0, 29, 109, 0.08);
  display: grid;
  place-items: center;
}
.shift-check svg { width: 20px; height: 20px; display: block; }
.shift-list p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: #5a6480;
  text-wrap: pretty;
}

/* ============================================
   APPROACH — 3-column philosophy
   ============================================ */
.approach {
  background: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
}
.approach .section-head { margin-bottom: 60px; }
.approach .section-head .h-display {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px);
  max-width: 1040px;
  margin: 0 auto;
}
.approach-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.approach-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--soft-2);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  box-shadow: 0 12px 28px rgba(5, 131, 242, 0.13);
}
.approach-icon svg { width: 46px; height: 46px; display: block; }
.approach-col h3 {
  font-size: 21px;
  letter-spacing: -0.4px;
  color: #000;
  margin: 0 0 12px;
}
.approach-col p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 32ch;
}
@media (max-width: 860px) {
  .approach .section-head { margin-bottom: 44px; }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    max-width: 460px;
  }
}

/* ============================================
   INVITE — two-column CTA + image
   ============================================ */
.invite {
  background: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
}
.invite-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.invite-copy { max-width: 30rem; }
.invite-copy .eyebrow { color: var(--blue); }
.invite-copy .h-display {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.04;
  margin: 0 0 20px;
}
.invite-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.btn-invite {
  background: #0583F2;
  color: #fff;
  border-radius: 14px;
  padding: 15px 30px;
  font-size: 15.5px;
  box-shadow: 0 10px 24px rgba(5, 131, 242, 0.26);
}
.btn-invite:hover {
  background: #2C9BFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(5, 131, 242, 0.34);
}
.invite-visual {
  position: relative;
  min-height: clamp(320px, 38vw, 460px);
}
.invite-visual image-slot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 38vw, 460px);
  border-radius: 24px;
}
@media (max-width: 860px) {
  .invite-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .invite-copy { max-width: none; }
  .invite-visual { min-height: 300px; }
  .invite-visual image-slot { min-height: 300px; }
}

/* ============================================
   FAQ — two-column accordion
   ============================================ */
.faq {
  background: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-copy { max-width: 26rem; }
.faq-copy .eyebrow { color: var(--blue); }
.faq-copy .h-display {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.02;
  margin: 0 0 20px;
}
.faq-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: "DM Sans", sans-serif;
}
.faq-q-text {
  font-size: 17px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.2px;
  line-height: 1.35;
}
.faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--soft-2);
  display: grid;
  place-items: center;
  transition: background .25s var(--ease);
}
.faq-icon svg { width: 18px; height: 18px; display: block; }
.faq-q[aria-expanded="true"] .faq-icon .ic-v { opacity: 0; }
.faq-q:hover .faq-icon { background: var(--soft); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s var(--ease);
}
.faq-a p {
  margin: 0;
  padding: 0 48px 26px 4px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-copy { max-width: none; }
}

/* ============================================
   TIMELINE — proper connected timeline
   ============================================ */
.timeline-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: #f8fafd;
}
.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Continuous connector line — sits behind nodes */
.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--soft) 0%, var(--blue) 50%, var(--soft) 100%);
  z-index: 0;
}
/* Animated progress overlay */
.timeline::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  z-index: 1;
  transition: width 1.6s var(--ease);
}
.timeline.in-view::after { width: 75%; }

.step {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-node {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 4px 14px rgba(0,29,109,0.06);
}
.step:hover .step-node {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}
.step:hover .step-node .step-icon { color: #fff; }
.step-icon {
  color: var(--ink);
  transition: color .3s var(--ease);
}
.step-icon svg { width: 26px; height: 26px; }
.step-num {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--ink);
  color: #fff;
  font-family: "Prata", serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
}
.step-body {
  margin-top: 24px;
  max-width: 22ch;
}
.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
  line-height: 1.2;
  text-wrap: balance;
}
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== IMPACT ===== */
.impact { padding: clamp(80px, 10vw, 140px) 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.stat { text-align: center; padding: 8px 12px; }
.stat .num {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: #000;
  letter-spacing: -1.4px;
}
.stat .label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.subhead {
  text-align: center;
  margin: 0 0 32px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}
.subhead-title {
  text-align: center;
  margin: 0 0 36px;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.testimonial-pre {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 64ch;
}
.testimonial-pre .subhead { margin-bottom: 14px; }
.testimonial-pre p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 100px;
}
.gallery image-slot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.gallery image-slot:hover {
  transform: scale(1.025);
}

.testimonial {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 861px) {
  .testimonial { max-width: 820px; }
}
.testimonial::before, .testimonial::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.testimonial::before {
  width: 320px; height: 320px;
  background: var(--blue);
  top: -120px; right: -100px;
}
.testimonial::after {
  width: 280px; height: 280px;
  background: var(--soft);
  bottom: -120px; left: -80px;
  opacity: 0.18;
}
.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  flex-wrap: wrap;
}
.testimonial-head h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  color: #fff;
  letter-spacing: -0.9px;
}
.quote-mark {
  width: 36px; height: 36px;
  color: var(--blue);
  opacity: 0.9;
}
.t-track { position: relative; min-height: 220px; }
.t-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.t-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.t-slide p {
  margin: 0 0 28px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.9px;
  max-width: 760px;
  text-wrap: balance;
}
.t-slide footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.t-slide footer strong { font-weight: 600; font-size: 15px; letter-spacing: -0.3px; }
.t-slide footer span { color: var(--soft); font-size: 13.5px; }

.t-controls {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  position: relative;
  align-items: center;
}
.t-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.t-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.t-arrow svg { width: 18px; height: 18px; }
.t-count {
  margin-left: 8px;
  font-size: 14px;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.t-count strong { color: #fff; font-weight: 600; }

/* ===== SPONSOR ===== */
.sponsor {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
}
.sponsor-inner { text-align: center; }
.sponsor-inner .h-display { max-width: 22ch; margin-left: auto; margin-right: auto; }
.sponsor-card {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 44px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
  text-align: left;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin-inline: auto;
}
.sponsor-card image-slot {
  width: 100%;
  aspect-ratio: 4 / 2.4;
  border: 1px solid var(--line);
  background: #fff;
}
.sponsor-name {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -1px;
  margin: 0 0 4px;
}
.sponsor-role {
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.sponsor-blurb {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 48ch;
}
.sponsor-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ============================================
   FINAL CTA — workshop bg + blur + overlay
   ============================================ */
.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(120px, 16vw, 220px) 0;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}
.final-cta.in {
  opacity: 1;
  transform: none;
}
.cta-image {
  position: absolute;
  inset: -10px;
  z-index: -1;
}
.cta-image image-slot {
  width: 100%; height: 100%;
  filter: blur(6px);
  transform: scale(1.04);
}
.cta-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 50% 40%, rgba(0,29,109,0.65) 0%, rgba(0,29,109,0.92) 100%),
    linear-gradient(180deg, rgba(0,29,109,0.55) 0%, rgba(0,29,109,0.92) 100%);
}
.cta-inner { position: relative; }
.cta-inner .h-display {
  color: #fff;
  max-width: 22ch;
  margin-inline: auto;
}
.cta-sub {
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  max-width: 50ch;
  margin: 18px auto 36px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 28px;
}
.brand-light { color: #fff; }
.brand-light .brand-sub { color: rgba(255,255,255,0.55); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.foot-brand .foot-blurb {
  margin: 20px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 36ch;
  color: rgba(255,255,255,0.65);
}
.foot-col h4 {
  margin: 6px 0 18px;
  font-family: "DM Sans", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}
.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  transition: color .2s var(--ease);
}
.foot-col a:hover { color: var(--soft); }
.foot-addr {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  padding: 0;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ===== Image slot tweaks ===== */
image-slot {
  background: transparent;
  display: block;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .final-cta { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   SUBPAGE STYLES
   ============================================ */
.page-hero {
  padding: clamp(60px, 8vw, 120px) 0 clamp(56px, 7vw, 80px);
  position: relative;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.01;
  letter-spacing: -2.1px;
  margin: 0 0 22px;
  text-wrap: balance;
}
.page-hero p.lede { margin-bottom: 0; }
.page-visual {
  aspect-ratio: 4 / 5;
  position: relative;
}
.page-visual image-slot {
  width: 100%; height: 100%;
}

.content-section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.content-section.paper { background: var(--paper); }

/* Misión + Visión icon */
.mv-block { display: flex; flex-direction: column; align-items: flex-start; }
.mv-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: #fff;
  color: #0583f2;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(5, 131, 242, 0.18);
}
.mv-icon svg { width: 32px; height: 32px; }
.mv-section .eyebrow { color: #0583f2; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 1fr; }
.split .split-visual { aspect-ratio: 4 / 5; }
.split .split-visual image-slot { width: 100%; height: 100%; }
.split h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin: 0 0 18px;
  text-wrap: balance;
}
.split p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 56ch;
}
.big-letter {
  font-family: "Prata", serif;
  font-size: clamp(120px, 14vw, 200px);
  line-height: 0.9;
  color: var(--soft);
  letter-spacing: -6px;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .v-num {
  font-family: "Prata", serif;
  font-size: 28px;
  color: var(--blue);
  letter-spacing: -0.7px;
  display: block;
  margin-bottom: 10px;
}
.value-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.7px;
}
.value-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.workshop-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.workshop-card .w-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--soft-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.workshop-card h3 {
  font-size: 20px;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
}
.workshop-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.workshop-tag {
  align-self: flex-start;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 22px;
  white-space: nowrap;
}
.workshop-tag.tag--familias { background: #F5CDCD; }
.workshop-tag.tag--inst     { background: #FEEB85; }

/* Top row: tag (left) + themed icon (right) */
.workshop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.workshop-top .workshop-tag {
  margin-bottom: 0;
  align-self: center;
}
.workshop-top .w-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin: 0;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.workshop-top .w-icon svg { width: 22px; height: 22px; }
.workshop-card:hover .workshop-top .w-icon {
  background: var(--ink);
  color: #fff;
}


.benefit-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.3px;
}
.benefit-list li .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--soft-2);
  color: var(--blue);
  display: grid; place-items: center;
}
.benefit-list li .check svg { width: 12px; height: 12px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row .c-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.contact-row .c-icon svg { width: 20px; height: 20px; }
.contact-row .c-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-row .c-value {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.contact-row .c-meta {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

.contact-illustration {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 40px;
}
.contact-illustration svg { width: 100%; height: auto; max-width: 360px; }

.thanks-note {
  margin-top: 48px;
  padding: 32px;
  border-left: 2px solid var(--blue);
  background: var(--paper);
  border-radius: 4px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  max-width: 720px;
  letter-spacing: -0.3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 48px 12px; }
  .timeline::before, .timeline::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .workshop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4/4; max-width: 520px; margin: 0 auto; width: 100%; }
  /* PURPOSE: text first, image below on mobile */
  .purpose-grid { grid-template-columns: 1fr; gap: 26px; }
  .purpose-visual { order: 2; aspect-ratio: 4 / 5; max-width: 660px; margin: -8px auto 0; width: 100%; }
  .purpose-copy { order: 1; }
  .purpose-copy .h-display { font-size: 32px !important; }
  .purpose-quote {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -52px;
  }
  /* WHAT WE DO: stack columns on mobile */
  .dowhat-grid { grid-template-columns: 1fr; gap: 32px; }
  .dowhat-copy p { max-width: none; }
  .dw-card { padding: 34px 30px 38px; min-height: 0; }
  .dw-controls { justify-content: flex-end; }
  .sponsor-card { grid-template-columns: 1fr; padding: 32px; text-align: center; }
  .sponsor-card image-slot { max-width: 220px; margin: 0 auto; }
  .sponsor-blurb { margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-visual { order: 2; aspect-ratio: 4/4; max-width: 520px; margin: 0 auto; width: 100%; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split .split-visual { order: 2; aspect-ratio: 4/4; max-width: 520px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-illustration { max-width: 420px; margin: 0 auto; }

  /* Mobile-only: smaller hero H1 + fix mobile menu CTA text color */
  .hero .display { font-size: 34px !important; letter-spacing: -0.2px !important; }
  .mobile-menu > a.mobile-cta { color: #fff; }

  /* Sponsor hero card — keep image inside the viewport */
  .sponsor-hero-card {
    padding: 24px 20px !important;
    max-width: 100% !important;
    border-radius: 18px !important;
  }
  .sponsor-hero-card image-slot {
    aspect-ratio: 4 / 2.6 !important;
  }

  /* Mobile title consistency — match ¿Quiénes somos? (32px / 700 / line-height 1) */
  .dowhat-copy .h-display,
  .help .section-head .h-display,
  .exp-copy .h-display,
  .shift .section-head .h-display,
  .approach .section-head .h-display,
  .timeline-section .section-head .h-display,
  .impact .section-head .h-display,
  .impact .subhead-title,
  .faq-copy .h-display {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }
  /* Galería / Testimonios titles: drop fixed width/height so they show fully on mobile */
  .impact .subhead-title {
    width: auto !important;
    height: auto !important;
  }
  /* Nuestro impacto: stack stats vertically with good separation */
  .stats {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  /* Stats only ~5px larger than the 32px title to keep hierarchy balanced */
  .stat .num { font-size: 37px !important; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .brand-sub { display: none; }
  .brand-logo { height: 36px; }
  .hero { padding: 92px 0 64px; }
  .hero-card { left: -4px; bottom: -22px; padding: 12px 16px; }
  .hero-card-icon { width: 38px; height: 38px; }
  .hero-card-title { font-size: 15px; }
  .hero-card-sub { font-size: 12px; }
  /* Hide hero trust stats on mobile per spec */
  .hero-trust { display: none; }
  /* Tighten vertical gaps between sections on mobile only */
  .invite { padding-bottom: 40px !important; }
  .impact { padding-top: 44px !important; padding-bottom: 56px !important; }
  .faq { padding-top: 44px !important; }
  .card-grid { grid-template-columns: 1fr; gap: 28px; }
  .exp-grid { grid-template-columns: 1fr; gap: 40px; }
  .exp-copy p { max-width: none; }
  .shift-tab { font-size: 18px; line-height: 1.15; text-align: center; padding: 12px 8px; }
  .shift-check { width: 38px; height: 38px; }
  .timeline { grid-template-columns: 1fr; gap: 36px 0; }
  .step { padding: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section-head { margin-bottom: 36px; }
  .btn { padding: 13px 22px; }
  .btn-whatsapp { padding: 16px 24px; font-size: 15px; }
  .testimonial { border-radius: 24px; padding: 36px 26px; }
  .stats { padding: 24px 0; margin-bottom: 60px; }
  .values-grid, .workshop-grid { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .contact-card { padding: 28px; }
  /* Slightly tighter title tracking on tiny screens to avoid overflow */
  .display { letter-spacing: -1.5px; }
  .h-display { letter-spacing: -1.5px; }
}
