/* ==========================================================================
   GRANDALLA · Propuesta 3 — "Bento Clínico"
   Hoja de estilos compartida (sin frameworks). Tokens, base, componentes y páginas.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --stone: #EEEDE8;
  --stone-2: #E3E2DC;
  --line: #E6E4DE;
  --line-strong: #D6D4CC;

  --pine: #12352B;
  --pine-deep: #0B251D;
  --pine-soft: #1D4A3C;
  --ink: #12352B;
  --text: #3A4A44;
  --muted: #5A6862;

  --sage: #CFE8DA;
  --sage-soft: #E8F3EC;
  --green: #2F7D5B;
  --green-ink: #236447;
  --gold: #C9A45C;
  --gold-ink: #7F6126;
  --gold-soft: #F5EEDF;

  --r-xl: clamp(22px, 2.2vw, 32px);
  --r-lg: clamp(18px, 1.8vw, 24px);
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-1: 0 1px 1px rgba(18, 53, 43, .03), 0 2px 6px -2px rgba(18, 53, 43, .05);
  --shadow-2: 0 1px 2px rgba(18, 53, 43, .04), 0 14px 34px -16px rgba(18, 53, 43, .18);
  --shadow-3: 0 2px 4px rgba(18, 53, 43, .05), 0 28px 60px -24px rgba(18, 53, 43, .32);

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --gap: clamp(12px, 1.3vw, 18px);
  --section: clamp(64px, 8vw, 120px);

  --header-row: 68px;
  --header-nav: 0px;
  --header-h: calc(var(--header-row) + var(--header-nav));

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.0625rem, .35vw + .98rem, 1.25rem);
  --fs-h3: clamp(1.25rem, .6vw + 1.05rem, 1.5rem);
  --fs-h2: clamp(1.875rem, 2.2vw + 1.2rem, 3.25rem);
  --fs-h1: clamp(2.375rem, 3.4vw + 1.35rem, 4.5rem);
  --fs-display: clamp(3rem, 6.2vw + 1rem, 7.25rem);
}

@media (min-width: 1200px) {
  :root { --header-row: 72px; --header-nav: 56px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--ink); }
[hidden] { display: none !important; }
::selection { background: var(--sage); color: var(--pine-deep); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 10px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { padding-top: var(--header-h); }
.site-main > section:last-child { padding-bottom: 0; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- 3. Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); line-height: 1.35;
}
.eyebrow--green { color: var(--green-ink); }
.eyebrow--gold { color: var(--gold-ink); }
.eyebrow .slash { color: var(--line-strong); }

.display {
  font-size: var(--fs-display); line-height: .94; letter-spacing: -.045em; font-weight: 500; color: var(--ink);
}
.h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.032em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 550; color: var(--ink); }
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.small { font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.micro { font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); }

/* ---------- 4. Primitivas: botones, chips, puntos ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.35rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 550; letter-spacing: -.005em; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), border-color .25s var(--ease);
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--pine { --btn-bg: var(--pine); --btn-fg: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -12px rgba(18,53,43,.55); }
.btn--pine:hover { --btn-bg: var(--pine-soft); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 16px 30px -12px rgba(18,53,43,.6); }
.btn--ghost { --btn-bg: transparent; border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); border-color: var(--ink); }
.btn--stone { --btn-bg: var(--stone); }
.btn--stone:hover { --btn-bg: var(--stone-2); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--pine); }
.btn--light:hover { --btn-bg: var(--sage); }
.btn--sm { min-height: 40px; padding: .55rem 1.05rem; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 550; color: var(--ink); font-size: .9375rem; }
.link-arrow .ico { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translate(2px, -2px); }

.chip {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 30px; padding: .3rem .8rem;
  border-radius: var(--r-pill); background: var(--stone); color: var(--ink);
  font-size: .8125rem; font-weight: 550; line-height: 1.25; letter-spacing: -.005em;
}
.chip .ico { width: 1rem; height: 1rem; color: var(--green); }
.chip--line { background: var(--surface); border: 1px solid var(--line); }
.chip--sage { background: var(--sage-soft); color: var(--green-ink); }
.chip--gold { background: var(--gold-soft); color: var(--gold-ink); }
.chip--pine { background: var(--pine); color: #fff; }
.chip--pine .ico { color: var(--sage); }
.chip--glass { background: rgba(255,255,255,.82); color: var(--pine); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 4px 16px -6px rgba(11,37,29,.3); }
.chip--caps { text-transform: uppercase; letter-spacing: .09em; font-size: .6875rem; font-weight: 650; }
.chip--mono { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: 0; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot--green { background: var(--green); }
.dot--gold { background: var(--gold); }
.dot--pine { background: var(--pine); }
.dot--sage { background: var(--sage); }
.dot--live { position: relative; background: var(--green); }
.dot--live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .dot--live::after { animation: ping 2.2s var(--ease-out) infinite; }
}
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.badge-num {
  display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding-inline: .6rem;
  border-radius: var(--r-pill); background: var(--stone); color: var(--ink);
  font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.icon-bubble {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--sage-soft); color: var(--green-ink); flex: none;
}
.icon-bubble .ico { width: 22px; height: 22px; }
.icon-bubble--pine { background: var(--pine); color: var(--sage); }
.icon-bubble--round { border-radius: 50%; }
.arrow-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--stone); color: var(--ink); flex: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease);
}
.arrow-btn .ico { width: 20px; height: 20px; }

/* ---------- 5. Tiles (bento) ---------- */
.bento { display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tile {
  position: relative; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(20px, 2.3vw, 32px);
  box-shadow: var(--shadow-1);
  container-type: inline-size;
}
.tile--stone { background: var(--stone); border-color: transparent; box-shadow: none; }
.tile--sage { background: var(--sage-soft); border-color: #D8EADF; }
.tile--pine { background: var(--pine); border-color: var(--pine); color: #D5E6DD; box-shadow: var(--shadow-2); }
.tile--pine :is(.h1, .h2, .h3, strong) { color: #fff; }
.tile--photo { padding: 0; overflow: hidden; background: var(--stone-2); isolation: isolate; }
.tile--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile--lift { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease); }
.tile--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.tile--photo.tile--lift:hover > img { transform: scale(1.035); }
.scrim::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,37,29,0) 35%, rgba(11,37,29,.55) 70%, rgba(11,37,29,.88) 100%);
}
.space.scrim::after { background: linear-gradient(180deg, rgba(11,37,29,.12) 0%, rgba(11,37,29,.34) 28%, rgba(11,37,29,.8) 52%, rgba(11,37,29,.94) 100%); }
.space__kicker, .space__title { text-shadow: 0 1px 12px rgba(11,37,29,.45); }
.space--lg.scrim::after { background: linear-gradient(180deg, rgba(11,37,29,0) 40%, rgba(11,37,29,.6) 72%, rgba(11,37,29,.9) 100%); }
.scrim--top::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,37,29,.35), rgba(11,37,29,0));
}

.tile__label { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: rgba(250, 250, 247, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease), background-color .35s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 247, .9); box-shadow: 0 8px 30px -22px rgba(18,53,43,.35); }
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-row);
  transition: height .4s var(--ease);
}
.site-header.is-condensed .site-header__row { height: 56px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; border-radius: 12px; }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--pine); color: #F4F7F2; transition: transform .5s var(--ease), width .4s var(--ease), height .4s var(--ease);
}
.brand__mark .mark { width: 26px; height: 26px; }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: 1.125rem; font-weight: 650; letter-spacing: .14em; color: var(--ink); line-height: 1.05; }
.brand__tag { margin-top: 3px; font-size: .625rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.site-header.is-condensed .brand__mark { width: 34px; height: 34px; }

.site-header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--stone); }
.lang-switch__btn {
  min-width: 36px; height: 30px; padding: 0 .55rem; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(18,53,43,.1), 0 2px 8px -3px rgba(18,53,43,.18); }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pine); color: #fff; transition: background-color .25s var(--ease);
}
.menu-toggle:hover { background: var(--pine-soft); }
.menu-toggle__bars { position: relative; display: block; width: 18px; height: 10px; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 4px; transform: rotate(-45deg); }

.site-header__nav { display: none; }
.primary-nav__list { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-pill {
  display: inline-flex; align-items: center; height: 38px; padding: 0 1rem; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 550; letter-spacing: -.003em; color: var(--muted); white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav-pill:hover { color: var(--ink); background: rgba(18,53,43,.05); }
.nav-pill[aria-current="page"] { background: var(--pine); color: #fff; box-shadow: 0 8px 18px -10px rgba(18,53,43,.6); }

@media (max-width: 639.98px) {
  .header-cta { display: none; }
}
@media (max-width: 419.98px) {
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__mark .mark { width: 22px; height: 22px; }
  .brand { gap: .5rem; }
  .brand__name { font-size: 1rem; letter-spacing: .12em; }
  .brand__tag { font-size: .5625rem; letter-spacing: .06em; }
  .site-header__actions { gap: .4rem; }
  .lang-switch__btn { min-width: 32px; padding: 0 .4rem; }
  .menu-toggle { width: 40px; height: 40px; }
}
@media (max-width: 389.98px) {
  .brand__mark { display: none; }
  .brand__tag { overflow: hidden; text-overflow: ellipsis; }
}

@media (min-width: 1200px) {
  .menu-toggle { display: none; }
  .site-header__nav {
    display: grid; grid-template-rows: 1fr;
    border-top: 1px solid var(--line);
  }
  .primary-nav { height: var(--header-nav); display: flex; align-items: center; }
  .primary-nav__list { width: 100%; justify-content: space-between; padding: 4px; border-radius: var(--r-pill); background: rgba(238,237,232,.7); }
  .primary-nav__list li { flex: 1 1 auto; }
  .nav-pill { width: 100%; justify-content: center; }
  /* Cabecera condensada: la fila de marca se pliega y queda sólo la navegación */
  .site-header.is-condensed { transform: translateY(calc(-1 * var(--header-row))); }
  .site-header.is-condensed .site-header__row { height: var(--header-row); }
  .site-header.is-condensed .brand__mark { width: 40px; height: 40px; }
}

/* ---------- 7. Drawer móvil ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s linear .5s; }
.drawer.is-open { visibility: visible; transition: visibility 0s; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11,37,29,.34); opacity: 0; transition: opacity .45s var(--ease); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 8px; right: 8px; bottom: 8px; width: min(420px, calc(100% - 16px));
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background: var(--bg); border-radius: 28px; box-shadow: var(--shadow-3);
  transform: translateX(calc(100% + 16px)); transition: transform .55s var(--ease-out);
  overflow-y: auto; overscroll-behavior: contain; outline: none;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .25rem .25rem .5rem; }
.drawer__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--pine); color: #fff; }
.drawer__mark .mark { width: 28px; height: 28px; }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--stone); color: var(--ink); }
.drawer__close .ico { width: 22px; height: 22px; }
.drawer__close:hover { background: var(--stone-2); }
.drawer__list { display: grid; gap: 6px; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: .9rem 1.1rem .9rem 1.25rem; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 1.375rem; font-weight: 520; letter-spacing: -.025em; color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: background-color .25s var(--ease), transform .35s var(--ease), border-color .25s var(--ease);
}
.drawer__link .ico { width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.drawer__link:hover { border-color: var(--line-strong); }
.drawer__link:hover .ico { transform: translateX(3px); }
.drawer__link[aria-current="page"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.drawer__link[aria-current="page"] .ico { color: var(--sage); }
.drawer__cta { margin-top: auto; }
@media (prefers-reduced-motion: no-preference) {
  .drawer.is-open .drawer__list li { animation: rise .6s var(--ease-out) both; }
  .drawer.is-open .drawer__list li:nth-child(2) { animation-delay: .04s; }
  .drawer.is-open .drawer__list li:nth-child(3) { animation-delay: .08s; }
  .drawer.is-open .drawer__list li:nth-child(4) { animation-delay: .12s; }
  .drawer.is-open .drawer__list li:nth-child(5) { animation-delay: .16s; }
  .drawer.is-open .drawer__list li:nth-child(6) { animation-delay: .2s; }
}
@keyframes rise { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 1200px) { .drawer { display: none; } }

/* ---------- 8. Secciones ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--first { padding-top: clamp(20px, 2.6vw, 36px); }
.section--stone { background: linear-gradient(180deg, var(--bg), #F2F1EC 18%, #F2F1EC 82%, var(--bg)); }
.section-head {
  display: grid; gap: 1.25rem 3rem; align-items: end; margin-bottom: clamp(28px, 3.6vw, 48px);
}
.section-head .eyebrow { margin-bottom: .9rem; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
.page-hero { padding-top: clamp(28px, 4.5vw, 64px); padding-bottom: clamp(28px, 3.5vw, 48px); }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: clamp(20px, 2.5vw, 32px); }
.page-hero__grid { display: grid; gap: 1.5rem 4rem; align-items: end; }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

/* ---------- 9. Revelado al hacer scroll (mejora progresiva) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   10. INDEX
   ========================================================================== */
.hero-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.hero-bento > * { grid-column: 1 / -1; }
.hero-copy {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(24px, 4vw, 56px); overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(207,232,218,.55), rgba(207,232,218,0) 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(201,164,92,.10), rgba(201,164,92,0) 60%),
    var(--surface);
}
.hero-copy__top { display: grid; gap: clamp(20px, 2.4vw, 32px); justify-items: start; }
.hero-title { display: flex; flex-direction: column; }
.hero-title__accent { display: block; margin-top: .02em; color: var(--green); font-size: 1.04em; line-height: .98; letter-spacing: -.03em; }
.hero-copy .lead { max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions .btn--ghost span:last-child { transition: transform .3s var(--ease); }
.hero-actions .btn--ghost:hover span:last-child { transform: translateX(3px); }

.hero-photo { min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-photo > img { object-position: 50% 40%; }
.hero-photo__top { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: clamp(14px, 1.8vw, 22px); }
.hero-photo__top .chip { font-variant-numeric: tabular-nums; }
.hero-card {
  position: relative; z-index: 1; margin: clamp(10px, 1.4vw, 18px);
  display: grid; gap: 1rem; padding: clamp(18px, 2vw, 26px);
  border-radius: calc(var(--r-xl) - 8px);
  background: rgba(11, 37, 29, .62); color: #DCEAE2;
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-card__label { display: inline-flex; align-items: center; gap: .5rem; color: #E7CF9E; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-card__label .ico { width: 16px; height: 16px; }
.hero-card h2 { margin-top: .4rem; font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; color: #fff; }
.hero-card p { margin-top: .35rem; font-size: .875rem; line-height: 1.5; color: #C9DDD2; }
.hero-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-card__foot .chip { background: rgba(207,232,218,.16); color: #E4F1E9; }
.hero-card__foot .micro { color: #C9DDD2; }

.metric { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 188px; transition: background-color .3s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.metric:hover { background: var(--sage-soft); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.metric__label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.metric__value { display: flex; align-items: baseline; gap: .2rem; color: var(--ink); line-height: .9; }
.metric__big { font-size: clamp(2.5rem, 19cqi, 3.5rem); font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.metric__unit { font-size: 1.125rem; font-weight: 550; color: var(--green); letter-spacing: -.01em; }
.metric__word { font-size: clamp(1.625rem, 13cqi, 2.25rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.metric__note { display: block; min-height: 2.8em; margin-top: .45rem; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.metric__viz { color: var(--green); height: 28px; }
.metric__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.metric__head .ico { width: 20px; height: 20px; color: var(--green); }

@media (min-width: 640px) {
  .hero-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
}
@media (min-width: 1000px) {
  .hero-copy { grid-column: 1 / span 7; grid-row: 1; min-height: 540px; }
  .hero-photo { grid-column: 8 / span 5; grid-row: 1 / span 2; min-height: 0; }
  .hero-metrics { grid-column: 1 / span 7; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { min-height: 0; }
}
@media (min-width: 1280px) {
  .hero-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-copy { min-height: 540px; }
}
@media (max-width: 639.98px) {
  .hero-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .metric { min-height: 164px; padding: 18px; }
  .hero-photo { min-height: 560px; }
}

/* Directorio */
.dir-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.dir-card { display: flex; flex-direction: column; gap: 1.25rem; min-height: 260px; }
.dir-card__top { display: flex; align-items: center; justify-content: space-between; }
.dir-card__body { display: grid; gap: .6rem; margin-top: auto; }
.dir-card__body p { color: var(--muted); max-width: 34rem; }
.dir-card__cta { font-size: .875rem; font-weight: 600; color: var(--green-ink); }
.dir-card:hover .arrow-btn { background: var(--pine); color: #fff; transform: rotate(-45deg); }
.dir-card--photo { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.dir-card--photo .dir-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone-2); }
.dir-card--photo .dir-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.dir-card--photo:hover .dir-card__media img { transform: scale(1.04); }
.dir-card--photo .dir-card__media .badge-num { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.9); }
.dir-card--photo .dir-card__media .arrow-btn { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.9); }
.dir-card--photo .dir-card__content { display: flex; flex-direction: column; gap: 1rem; padding: clamp(20px, 2.3vw, 32px); }
.dir-card--pine .badge-num { background: rgba(255,255,255,.12); color: #E7CF9E; }
.dir-card--pine .arrow-btn { background: rgba(255,255,255,.12); color: #fff; }
.dir-card--pine:hover .arrow-btn { background: #fff; color: var(--pine); }
.dir-card--pine .dir-card__body p { color: #BFD6CA; }
.dir-card--pine .dir-card__cta { color: #E7CF9E; }
.dir-card__glyph { width: 56px; height: 56px; color: var(--green); opacity: .9; }
.dir-card--pine .dir-card__glyph { color: var(--sage); }
@media (min-width: 720px) {
  .dir-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dir-grid > :nth-child(1), .dir-grid > :nth-child(2) { grid-column: span 3; }
  .dir-grid > :nth-child(3), .dir-grid > :nth-child(4) { grid-column: span 3; }
  .dir-grid > :nth-child(5) { grid-column: span 6; }
}
@media (min-width: 1100px) {
  .dir-grid > :nth-child(3), .dir-grid > :nth-child(4), .dir-grid > :nth-child(5) { grid-column: span 2; }
  .dir-card--photo .dir-card__media { aspect-ratio: 16 / 8; }
}

/* ==========================================================================
   11. PROGRAMAS & CIENCIA
   ========================================================================== */
.segmented {
  display: flex; gap: 4px; padding: 5px; border-radius: var(--r-pill);
  background: var(--stone); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  margin-bottom: var(--gap);
}
.segmented::-webkit-scrollbar { display: none; }
.segmented__tab {
  position: relative; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .6rem 1.2rem; border-radius: var(--r-pill);
  font-size: .9375rem; font-weight: 550; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; scroll-snap-align: start;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.segmented__tab .dot { background: var(--line-strong); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.segmented__tab:hover { color: var(--ink); }
.segmented__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(18,53,43,.08), 0 8px 20px -10px rgba(18,53,43,.3); }
.segmented__tab[aria-selected="true"] .dot { background: var(--green); transform: scale(1.15); }
@media (max-width: 719.98px) {
  .segmented { border-radius: 22px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding-inline: var(--gutter); background: transparent; gap: 8px; }
  .segmented__tab { background: var(--stone); flex: 0 0 auto; }
}

.prog-panel { transition: opacity .35s var(--ease); }
.prog-panel.is-switching { opacity: .45; }
.prog-bento > * { grid-column: 1 / -1; }
.prog-main { display: flex; flex-direction: column; gap: 1.5rem; }
.prog-main__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.prog-main__text { display: grid; gap: 1rem; }
.prog-main__text .h2 { font-size: clamp(1.75rem, 1.8vw + 1.1rem, 2.75rem); }
.prog-main__text p { max-width: 42rem; }
.prog-main__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.prog-main__actions .link-arrow { color: var(--green-ink); }
.prog-main__actions .link-arrow:hover .ico { transform: translateY(2px); }

.prog-photo { min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; }
.prog-photo__chip { position: relative; z-index: 1; margin: clamp(14px, 1.6vw, 20px); align-self: flex-start; }

.prog-chips__title { display: block; margin-bottom: 1rem; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-cloud .chip { min-height: 40px; padding: .5rem .95rem .5rem .7rem; background: var(--bg); border: 1px solid var(--line); font-size: .875rem; }
.chip-cloud .chip .ico { width: 18px; height: 18px; }

.spark-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.spark-tile__title { font-size: 1.125rem; font-weight: 550; letter-spacing: -.015em; color: var(--ink); margin-top: .35rem; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: var(--stone-2); transform-origin: bottom; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 80ms); }
.bars span:nth-child(3) { background: #BFDCCB; }
.bars span:nth-child(4) { background: #93C4A9; }
.bars span:nth-child(5) { background: var(--green); }
.bars span:nth-child(6) { background: var(--pine); }
@media (prefers-reduced-motion: no-preference) {
  .js .bars:not(.is-in) span { transform: scaleY(.08); }
}

.result { display: flex; flex-direction: column; gap: .5rem; }
.result__value { font-size: clamp(3rem, 24cqi, 5.25rem); line-height: .9; letter-spacing: -.055em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; margin-block: .75rem .6rem; }
.result--down .result__value { color: var(--green-ink); }
.result__label { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.result__compare { display: grid; gap: 6px; margin-top: auto; padding-top: 1.25rem; }
.result__compare i { display: block; height: 8px; border-radius: 8px; background: var(--stone); overflow: hidden; }
.result__compare i::before { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c, var(--line-strong)); transform-origin: left; transition: transform 1.2s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .js .result__compare:not(.is-in) i::before { transform: scaleX(0); }
}

.protocol-note { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.protocol-note__head { display: flex; align-items: center; gap: .6rem; color: #E7CF9E; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.protocol-note__head .ico { width: 20px; height: 20px; }
.protocol-note__cohort { margin-top: 1rem; font-size: clamp(2rem, 14cqi, 2.75rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.protocol-note__text { color: #C3D8CD; font-size: .9375rem; line-height: 1.5; }
.protocol-note .chip { background: rgba(207,232,218,.14); color: #E4F1E9; align-self: flex-start; }
.protocol-note .chip .ico { color: var(--sage); }

@media (min-width: 720px) {
  .prog-chips { grid-column: span 7; }
  .spark-tile { grid-column: span 5; }
  .result { grid-column: span 6; }
  .protocol-note { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .prog-main { grid-column: 1 / span 7; grid-row: 1; }
  .prog-photo { grid-column: 8 / span 5; grid-row: 1 / span 2; }
  .prog-chips { grid-column: 1 / span 4; grid-row: 2; }
  .spark-tile { grid-column: 5 / span 3; grid-row: 2; }
  .result { grid-column: span 4; }
  .protocol-note { grid-column: span 4; }
}

/* ==========================================================================
   12. VIAJE
   ========================================================================== */
.journey-hero { display: grid; gap: var(--gap); }
.journey-hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(24px, 4vw, 56px); }
.journey-hero__copy .h1 { max-width: 16ch; }
.journey-hero__copy p { max-width: 44rem; }
.journey-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.journey-hero__photo { min-height: 320px; }
.journey-hero__photo > img { object-position: 50% 60%; }
@media (min-width: 1000px) {
  .journey-hero { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
  .journey-hero__photo { min-height: 0; }
}

.progress-tile { display: grid; gap: 1rem; padding-block: clamp(18px, 2vw, 26px); margin-bottom: var(--gap); }
.progress-tile__ends { display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.progress-tile__ends span { display: inline-flex; align-items: center; gap: .5rem; }
.progress-tile__ends span:first-child { color: var(--ink); }
.progress-tile__ends span:last-child { color: var(--gold-ink); text-align: right; }
.track { position: relative; height: 10px; border-radius: 10px; background: var(--stone); }
.track__fill { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--pine)); transition: width .8s var(--ease-out); }
.track__fill::after { content: ""; position: absolute; right: -3px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--pine); box-shadow: 0 4px 12px -2px rgba(18,53,43,.4); }
.track__ticks { position: absolute; inset: 0; pointer-events: none; }
.track__ticks i { position: absolute; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--line-strong); }
.track__ticks i:nth-child(1) { left: 20%; } .track__ticks i:nth-child(2) { left: 40%; } .track__ticks i:nth-child(3) { left: 60%; } .track__ticks i:nth-child(4) { left: 80%; }

.phases { display: grid; gap: var(--gap); grid-template-columns: 1fr; counter-reset: none; }
.phase {
  position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 0; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease);
}
.phase__hit { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.phase__hit:focus-visible { outline-offset: -3px; }
.phase:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.phase__main { display: flex; flex-direction: column; gap: 1rem; padding: clamp(20px, 2vw, 26px) clamp(20px, 2vw, 26px) 0; }
.phase__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.phase__num { font-size: clamp(2.75rem, 3vw + 1rem, 3.5rem); line-height: .9; letter-spacing: -.05em; font-weight: 500; color: #CFCDC4; font-variant-numeric: tabular-nums; transition: color .35s var(--ease); }
.phase:hover .phase__num, .phase.is-active .phase__num { color: var(--ink); }
.phase__kicker { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.phase__title { margin-top: .25rem; font-size: clamp(1.375rem, .6vw + 1.15rem, 1.625rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 550; color: var(--ink); }
.phase__text { font-size: .9063rem; line-height: 1.55; color: var(--muted); }
.phase__foot { display: grid; gap: .6rem; margin-top: auto; padding: 1rem clamp(20px, 2vw, 26px) clamp(20px, 2vw, 24px); background: var(--bg); border-top: 1px solid var(--line); }
.phase__row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; font-size: .8125rem; }
.phase__row span:first-child { white-space: nowrap; color: var(--muted); font-weight: 550; letter-spacing: .06em; text-transform: uppercase; font-size: .6875rem; }
.phase__row span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.phase__bar { height: 5px; border-radius: 5px; background: var(--stone); overflow: hidden; }
.phase__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--green); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.phase__where { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--muted); }
.phase__where .ico { width: 16px; height: 16px; color: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .js .phases:not(.is-in) .phase__bar i { transform: scaleX(0); }
}
.phase.is-active { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine), var(--shadow-2); }

.phase--pine { background: var(--pine); border-color: var(--pine); }
.phase--pine .phase__num { color: rgba(231,207,158,.45); }
.phase--pine:hover .phase__num, .phase--pine.is-active .phase__num { color: #E7CF9E; }
.phase--pine .chip { background: rgba(255,255,255,.12); color: #fff; }
.phase--pine .phase__kicker { color: #E7CF9E; }
.phase--pine .phase__title { color: #fff; }
.phase--pine .phase__text { color: #BFD6CA; }
.phase--pine .phase__foot { background: rgba(0,0,0,.16); border-top-color: rgba(255,255,255,.1); }
.phase--pine .phase__row span:first-child { color: #A9C6B8; }
.phase--pine .phase__row span:last-child { color: #E7CF9E; }
.phase--pine .phase__bar { background: rgba(255,255,255,.12); }
.phase--pine .phase__bar i { background: #E7CF9E; }
.phase--pine .phase__where { color: #E4F1E9; }
.phase--pine .phase__where .ico { color: #E7CF9E; }
.phase--pine.is-active { box-shadow: 0 0 0 3px #E7CF9E, var(--shadow-2); }
.phase--3 .phase__bar i { background: var(--gold); }

@media (min-width: 720px) {
  .phases { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .phase { grid-column: span 2; }
  .phase:nth-child(4), .phase:nth-child(5) { grid-column: span 3; }
}
@media (min-width: 1200px) {
  .phases { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .phase, .phase:nth-child(4), .phase:nth-child(5) { grid-column: auto; }
  .phase { min-height: 470px; }
}
@media (max-width: 719.98px) {
  .progress-tile__ends { font-size: .6875rem; letter-spacing: .06em; }
}

.guarantee { display: grid; gap: 1.5rem 3rem; align-items: center; margin-top: var(--gap); padding: clamp(24px, 3.4vw, 48px); }
.guarantee__main { display: flex; gap: 1.25rem; align-items: flex-start; }
.guarantee__main .icon-bubble { width: 56px; height: 56px; border-radius: 50%; }
.guarantee__quote { margin-top: .6rem; font-family: var(--serif); font-size: clamp(1.625rem, 1.6vw + 1.1rem, 2.5rem); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.guarantee__team { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); justify-self: start; }
.avatars { display: flex; }
.avatars span { display: grid; place-items: center; width: 46px; height: 46px; margin-left: -10px; border-radius: 50%; border: 3px solid var(--bg); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; color: var(--pine); }
.avatars span:first-child { margin-left: 0; background: var(--sage); }
.avatars span:nth-child(2) { background: var(--gold-soft); color: var(--gold-ink); }
.avatars span:nth-child(3) { background: var(--pine); color: #fff; }
.guarantee__team strong { display: block; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.guarantee__team span.micro { display: block; }
@media (min-width: 1000px) {
  .guarantee { grid-template-columns: minmax(0, 1.8fr) auto; }
  .guarantee__team { justify-self: end; }
}

/* ==========================================================================
   13. ESPACIOS & BIOFILIA
   ========================================================================== */
.spaces { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.space { min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.space__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: clamp(14px, 1.6vw, 20px); }
.space__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--pine); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.space__body { position: relative; z-index: 1; display: grid; gap: .6rem; padding: clamp(22px, 2.6vw, 36px); }
.space__kicker { display: inline-flex; align-items: center; gap: .5rem; color: #EBD3A2; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.space__kicker .ico { width: 18px; height: 18px; }
.space__title { font-size: clamp(1.625rem, 1.4vw + 1.1rem, 2.25rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; color: #fff; }
.space__text { max-width: 36rem; color: #DCEAE2; font-size: .9688rem; line-height: 1.55; }
.space__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .875rem; font-weight: 550; color: #fff; }
.space__foot .arrow-btn { width: 40px; height: 40px; background: rgba(255,255,255,.16); color: #fff; }
.space:hover .space__foot .arrow-btn { background: #fff; color: var(--pine); transform: rotate(-45deg); }
.space--lg .space__title { font-size: clamp(2rem, 2.4vw + 1.1rem, 3.25rem); }
@media (min-width: 1000px) {
  .spaces { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(360px, auto)); }
  .space--lg { grid-row: 1 / span 2; min-height: 780px; }
  .space:not(.space--lg) { min-height: 380px; }
  .space:not(.space--lg) .space__text { font-size: .9063rem; }
}

.telemetry { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.telemetry__intro { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.telemetry__intro .eyebrow { color: #E7CF9E; }
.telemetry__intro .h3 { color: #fff; font-size: clamp(1.5rem, 1vw + 1.15rem, 2rem); line-height: 1.12; margin-top: .6rem; }
.telemetry__intro .btn { align-self: flex-start; }
.telemetry__intro .btn .ico { color: var(--green); }
.gauge-tile { display: flex; flex-direction: column; gap: 1rem; min-height: 230px; }
.gauge-tile__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gauge-tile__head .ico { width: 20px; height: 20px; color: var(--green); }
.gauge-tile__value { margin-top: auto; font-size: clamp(2.25rem, 16cqi, 3rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.gauge-tile__status { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 550; color: var(--green-ink); }
.gauge-tile__status--muted { color: var(--muted); }
.mini-meter { display: flex; gap: 4px; height: 6px; }
.mini-meter i { flex: 1; border-radius: 4px; background: var(--stone); }
.mini-meter i.on { background: var(--green); }
.eq { display: flex; align-items: center; gap: 5px; height: 28px; }
.eq i { width: 5px; border-radius: 3px; background: var(--green); height: var(--h); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .eq i { animation: eq 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.23s); transform-origin: center; }
}
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@media (min-width: 640px) {
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .telemetry { grid-template-columns: 1.25fr 1fr 1fr 1fr; }
}

/* ==========================================================================
   14. HEALTH INTELLIGENCE
   ========================================================================== */
.hi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.hi-meta .badge-num { background: var(--pine); color: #fff; }
.hi-meta__iso { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hi-hero { display: grid; gap: var(--gap); }
.hi-hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: clamp(24px, 4vw, 56px); background: radial-gradient(100% 80% at 0% 0%, rgba(207,232,218,.5), rgba(207,232,218,0) 60%), var(--surface); }
.hi-hero__copy .h1 br { display: block; }
.hi-hero__copy .h1 .serif-accent { color: var(--green); font-size: 1.06em; }
.hi-hero__copy .lead { max-width: 40rem; }
.hi-hero__photo { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.hi-hero__caption { position: relative; z-index: 1; margin: clamp(10px, 1.4vw, 18px); padding: 1.1rem 1.25rem; border-radius: calc(var(--r-xl) - 8px); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: grid; gap: .3rem; }
.hi-hero__caption .eyebrow { color: var(--gold-ink); }
.hi-hero__caption p { font-size: .9063rem; line-height: 1.5; color: var(--text); }
@media (min-width: 1000px) {
  .hi-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .hi-hero__photo { min-height: 560px; }
}

.dashboard { padding: clamp(10px, 1.4vw, 18px); border-radius: calc(var(--r-xl) + 10px); background: var(--stone); border: 1px solid var(--stone-2); }
.dashboard > .bento > * { grid-column: 1 / -1; }
.profile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.profile__who { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.profile__avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: none; background: var(--stone-2); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile__name { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; }
.profile__name > span:first-child { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.profile__prog { font-size: .9063rem; color: var(--muted); }

.bio { display: flex; flex-direction: column; gap: 1rem; min-height: 230px; }
.bio__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bio__head .ico { width: 20px; height: 20px; color: var(--green); }
.bio__value { font-size: clamp(2.75rem, 22cqi, 4rem); line-height: .9; letter-spacing: -.055em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: auto; }
.bio__value span { margin-left: .25rem; font-size: 1.125rem; letter-spacing: -.01em; font-weight: 550; color: var(--green); }
.bio__sub { display: flex; align-items: center; gap: .35rem; font-size: .875rem; color: var(--muted); }
.bio__sub .ico { width: 16px; height: 16px; color: var(--green); }
.bio__sub .hl { color: var(--green-ink); font-weight: 650; }
.bio__sub--up { color: var(--green-ink); font-weight: 600; }
.meter { height: 8px; border-radius: 8px; background: var(--stone); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--sage), var(--green)); transform-origin: left; transition: transform 1.3s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .js .meter:not(.is-in) i { transform: scaleX(0); }
}

.chart-tile { display: flex; flex-direction: column; gap: 1.25rem; }
.chart-tile__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.chart-tile__title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.chart-tile__title > span:first-child { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .8125rem; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: .1rem; }
.legend .sw { display: inline-block; width: 18px; height: 0; margin-right: .4rem; border-top: 2px dashed #9AA6A0; }
.legend .sw--g { border-top: 3px solid var(--pine); border-radius: 2px; }
.chart-scroll__inner { display: grid; gap: .9rem; }
@media (max-width: 639.98px) {
  .chart-scroll { overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: thin; }
  .chart-scroll__inner { min-width: 560px; padding-bottom: 4px; }
}
.chart { position: relative; height: clamp(180px, 20vw, 260px); }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart svg { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease-out); }
.chart__pin { transition: opacity .4s var(--ease) .9s, transform .5s var(--ease-out) .9s; }
.chart__pin { position: absolute; left: 50%; top: 68%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 4px solid var(--pine); box-shadow: 0 0 0 6px rgba(47,125,91,.18); }
@media (prefers-reduced-motion: no-preference) {
  .js .chart:not(.is-in) svg { clip-path: inset(0 100% 0 0); }
  .js .chart:not(.is-in) .chart__pin { opacity: 0; transform: scale(.4); }
}
.chart .c-layer { opacity: 0; transition: opacity .5s var(--ease); }
.chart.show-layers .c-layer { opacity: 1; }
.chart__axis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; font-size: .75rem; line-height: 1.3; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart__axis span:nth-child(2), .chart__axis span:nth-child(3), .chart__axis span:nth-child(4) { text-align: center; }
.chart__axis span:last-child { text-align: right; }
.chart__axis .is-now { color: var(--ink); font-weight: 650; }
.chart-tile__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .95rem .45rem .75rem;
  border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  font-size: .875rem; font-weight: 550;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.tool-btn .ico { width: 18px; height: 18px; color: var(--green); }
.tool-btn:hover { border-color: var(--line-strong); background: #fff; }
.tool-btn[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.tool-btn[aria-pressed="true"] .ico { color: var(--sage); }
.hash { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .01em; }

.note { display: flex; flex-direction: column; gap: 1.5rem; }
.note__pulse { margin-top: auto; width: 100%; height: 44px; color: rgba(207,232,218,.5); }
.note__head { display: flex; align-items: flex-start; gap: .9rem; }
.note__head .icon-bubble { width: 40px; height: 40px; }
.note__who { display: grid; gap: .3rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #E7CF9E; line-height: 1.4; }
.note__time { color: #A9C6B8; letter-spacing: .04em; font-weight: 550; text-transform: none; font-size: .8125rem; }
.note__quote { font-family: var(--serif); font-size: clamp(1.25rem, .8vw + 1rem, 1.5rem); line-height: 1.3; color: #F1F6F3; letter-spacing: -.005em; }

@media (min-width: 720px) {
  .dashboard .bio { grid-column: span 4; }
}
@media (max-width: 719.98px) {
  .dashboard .bio { min-height: 0; }
}
@media (min-width: 1100px) {
  .dashboard .chart-tile { grid-column: 1 / span 8; }
  .dashboard .note { grid-column: 9 / span 4; }
}

.principles { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.principle { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 3rem); }
.principle__top { display: flex; align-items: center; justify-content: space-between; }
.principle__num { font-size: 1rem; font-weight: 600; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.principle__body { display: grid; gap: .6rem; }
.principle__body h2 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
.principle__body p { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
@media (min-width: 800px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.facts { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-top: var(--gap); }
.fact { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.25rem; border-radius: 22px; }
.fact .icon-bubble { width: 40px; height: 40px; border-radius: 12px; }
.fact .icon-bubble .ico { width: 20px; height: 20px; }
.fact > span:last-child { font-size: .9063rem; line-height: 1.4; color: var(--muted); }
.fact strong { display: inline; color: var(--ink); font-weight: 650; }
.fact--link { justify-content: space-between; background: var(--pine); border-color: var(--pine); color: #fff; font-weight: 550; font-size: .9375rem; }
.fact--link .arrow-btn { background: rgba(255,255,255,.14); color: #fff; }
.fact--link:hover .arrow-btn { background: #fff; color: var(--pine); transform: translateX(2px); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   15. DOSSIER & ADMISIÓN
   ========================================================================== */
.admission { display: grid; gap: var(--gap); align-items: start; }
.admission__side { display: grid; gap: var(--gap); }
@media (min-width: 1100px) {
  .admission { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

}
.form-tile { padding: clamp(24px, 3.6vw, 52px); }
.form-tile__intro { display: grid; gap: .9rem; margin-bottom: clamp(24px, 3vw, 36px); }
.form-tile__intro p { max-width: 40rem; color: var(--muted); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .5rem; min-width: 0; }
.field label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); line-height: 1.35; }
.field__control { position: relative; }
.field__control .ico { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; transition: color .25s var(--ease); }
.input {
  width: 100%; min-height: 56px; padding: .9rem 3rem .9rem 1.1rem;
  border-radius: 16px; border: 1px solid transparent; background: #F3F2EE; color: var(--ink);
  font-size: 1rem; line-height: 1.3; appearance: none; -webkit-appearance: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.input::placeholder { color: #8C9792; opacity: 1; }
.input:hover { background: #EEEDE8; }
.input:focus { outline: none; background: #fff; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(47,125,91,.18); }
.field__control:focus-within .ico { color: var(--pine); }
select.input { cursor: pointer; }
.submit { margin-top: .4rem; }
.submit .spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; }
@media (prefers-reduced-motion: no-preference) { .submit .spinner { animation: spin .8s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.submit.is-loading { pointer-events: none; opacity: .88; }
.feedback { display: flex; align-items: flex-start; gap: .8rem; padding: 1.1rem 1.25rem; border-radius: 18px; background: var(--sage-soft); border: 1px solid #CFE3D6; color: var(--pine); font-size: .9375rem; line-height: 1.5; outline: none; }
.feedback .ico { width: 24px; height: 24px; color: var(--green); margin-top: 1px; }
@media (prefers-reduced-motion: no-preference) { .feedback:not([hidden]) { animation: pop .6s var(--ease-out) both; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.privacy { display: flex; gap: .7rem; align-items: flex-start; padding-top: 1.1rem; margin-top: .3rem; border-top: 1px solid var(--line); }
.privacy .ico { width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.privacy p { font-size: .8125rem; line-height: 1.55; color: var(--muted); }

.faq__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.faq__head .h3 { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.875rem); margin-top: .4rem; letter-spacing: -.03em; }
.faq__list { display: grid; gap: 8px; }
.faq-item { border-radius: 20px; background: var(--bg); border: 1px solid var(--line); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.faq-item.is-open { background: #fff; border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.faq-item__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.1rem 1.05rem 1.25rem; text-align: left; border-radius: 20px; color: var(--ink); font-size: 1rem; font-weight: 550; line-height: 1.35; letter-spacing: -.01em; }
.faq-item__icon { position: relative; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--stone); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), transform .45s var(--ease); }
.faq-item__icon .ico { width: 18px; height: 18px; }
.faq-item__btn[aria-expanded="true"] .faq-item__icon { background: var(--pine); color: #fff; transform: rotate(180deg); }
.faq-item__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item__panel > div { overflow: hidden; }
.faq-item__content { padding: 0 1.25rem 1.2rem; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.faq-item__content p + div { margin-top: .9rem; }
.faq-item__pop { display: flex; gap: .55rem; align-items: baseline; padding: .75rem .9rem; border-radius: 14px; background: var(--sage-soft); color: var(--green-ink); font-size: .8125rem; font-weight: 600; line-height: 1.45; }
.faq-item__pop .dot { transform: translateY(-1px); }
.js .faq-item:not(.is-open) .faq-item__panel { grid-template-rows: 0fr; }
.js .faq-item:not(.is-open) .faq-item__panel > div { visibility: hidden; transition: visibility 0s .45s; }

.altitude { padding: 0; overflow: hidden; display: grid; }
.altitude__media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--stone-2); }
@media (min-width: 640px) {
  .altitude { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .altitude__media { aspect-ratio: auto; min-height: 100%; }
  .altitude__media img { position: absolute; inset: 0; }
}
.altitude__media img { width: 100%; height: 100%; object-fit: cover; }
.altitude__body { display: grid; gap: 1.25rem; padding: clamp(20px, 2.3vw, 28px); }
.altitude__place { display: grid; gap: .45rem; }
.altitude__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; }
.altitude__head > span:first-child { font-size: 2.25rem; line-height: 1; letter-spacing: -.045em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.altitude__spark { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.altitude__spark > div { display: grid; gap: .2rem; }
.altitude__spark strong { font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.altitude__spark svg { width: 120px; height: 48px; flex: none; color: var(--pine); }

.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(28px, 3.5vw, 44px); }
.contact-row .chip { min-height: 40px; padding: .5rem .95rem; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 500; }
.contact-row .bullet { color: var(--line-strong); font-size: .75rem; }
.contact-row .chip--sage { background: var(--sage-soft); border-color: #D2E6DA; color: var(--green-ink); font-weight: 550; }
@media (min-width: 1100px) { .contact-row .chip--sage { margin-left: auto; } }
@media (max-width: 639.98px) { .contact-row .bullet { display: none; } }

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer { margin-top: clamp(72px, 7vw, 104px); padding-block: clamp(12px, 1.5vw, 20px) clamp(24px, 3vw, 36px); background: #F0EFEA; border-top: 1px solid var(--line); }
.chapters { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-top: clamp(-80px, -6vw, -48px); margin-bottom: var(--gap); }
.chapter {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 132px; padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s var(--ease);
}
.chapter:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.chapter__body { display: grid; gap: .45rem; min-width: 0; }
.chapter__dir { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chapter__title { font-size: clamp(1.625rem, 1.8vw + 1rem, 2.5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.chapter__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--stone); color: var(--ink); flex: none; transition: background-color .3s var(--ease), color .3s var(--ease), transform .45s var(--ease); }
.chapter__icon .ico { width: 24px; height: 24px; }
.chapter--next { background: var(--pine); border-color: var(--pine); }
.chapter--next .chapter__dir { color: #A9C6B8; }
.chapter--next .chapter__title { color: #fff; }
.chapter--next .chapter__icon { background: rgba(255,255,255,.12); color: #fff; }
.chapter--next:hover .chapter__icon { background: #fff; color: var(--pine); transform: translateX(4px); }
.chapter--prev:hover .chapter__icon { background: var(--pine); color: #fff; transform: translateX(-4px); }
.chapter--next .chapter__body { text-align: right; justify-items: end; }
@media (min-width: 720px) { .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.footer-bento { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.footer-map { display: grid; gap: 2rem; align-content: space-between; background: #FBFBF8; }
.footer-map__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--pine); color: #fff; }
.footer-map__mark .mark { width: 34px; height: 34px; }
.sitemap { display: grid; grid-template-columns: 1fr; gap: 2px 1.5rem; }
.sitemap__link { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 500; letter-spacing: -.01em; color: var(--text); font-variant-numeric: tabular-nums; transition: color .2s var(--ease), padding .3s var(--ease); }
.sitemap__link:hover { color: var(--ink); padding-left: 6px; }
.sitemap__link[aria-current="page"] { color: var(--green-ink); font-weight: 600; }
@media (min-width: 640px) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-photo { min-height: 240px; display: flex; align-items: flex-end; }
.footer-photo > img { object-position: 50% 45%; }
.footer-photo__chip { position: relative; z-index: 1; margin: 16px; text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; font-weight: 650; }
@media (min-width: 900px) {
  .footer-bento { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: clamp(20px, 2.4vw, 28px); padding-inline: .25rem; font-size: .8125rem; color: var(--muted); }
.footer-bottom .sep { color: var(--line-strong); }
.footer-bottom__legal .sep { margin-inline: .35rem; }
.counter { display: inline-flex; align-items: center; min-height: 26px; padding: 0 .6rem; border-radius: 8px; background: var(--stone-2); color: var(--text); font-family: var(--mono); font-size: .75rem; }
@media (max-width: 639.98px) { .footer-bottom > .sep { display: none; } }

/* ---------- 17. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
