/* Zeta Theme — sistema de diseño base (Zetalabs). Los temas hijos redefinen los tokens de :root. */

@view-transition { navigation: auto; }

:root {
  --paper: #FFFFFF;
  --paper-2: #F6F5F8;
  --card: #FFFFFF;
  --ink: #18141F;
  --ink-2: #4A4653;
  --ink-3: #7F7B88;
  --rule: rgb(24 20 31 / .09);
  --rule-strong: rgb(24 20 31 / .8);
  --accent: #5B4BDB;
  --accent-ink: #3D2FB0;
  --deep: #17142A;
  --accent-2: #7FD1C3;
  --accent-2-ink: #2B7468;
  --wa: #25D366;

  --display: ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.4rem, 1.3rem + 3vw, 4.1rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 1.6vw, 2.8rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);

  --gutter: clamp(20px, 5.5vw, 88px);
  --wrap: 1280px;
  --sec: clamp(72px, 10vw, 152px);
  --radius: 10px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-rgb: 23 20 42;
  --shadow-xs: 0 1px 2px rgb(var(--shadow-rgb) / .06);
  --shadow-sm: 0 1px 2px rgb(var(--shadow-rgb) / .05), 0 4px 12px -2px rgb(var(--shadow-rgb) / .07);
  --shadow-md: 0 2px 4px rgb(var(--shadow-rgb) / .04), 0 12px 28px -8px rgb(var(--shadow-rgb) / .14);
  --shadow-lg: 0 4px 8px rgb(var(--shadow-rgb) / .04), 0 28px 56px -16px rgb(var(--shadow-rgb) / .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgb(29 22 41 / .3); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--accent-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.028em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
em { font-style: italic; }
h1 em, h2 em { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.arrow { width: 1.05em; height: 1.05em; flex: none; transition: transform .35s var(--ease); }
.arrow--back { transform: scaleX(-1); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(40px, 5vw, 72px); }
.sec--flush { padding-top: 0; }
.sec--paper2 { background: var(--paper-2); }
.sec--dark { background: var(--deep); color: #EDE8F3; }
.sec--dark h2 { color: #fff; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-3); }

/* Etiqueta de sección: número + filete */
.label { display: flex; align-items: baseline; gap: 14px; margin: 0 0 clamp(28px, 4vw, 48px); padding-top: 14px; border-top: 1px solid var(--rule-strong); font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--ink); }
.label__n { font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 500; min-width: 2ch; }
.label--light { border-top-color: rgb(255 255 255 / .5); color: #fff; }
.label--light .label__n { color: rgb(255 255 255 / .55); }

.sec__head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head .lead { justify-self: end; margin: 0; }
.sec__head--row { grid-template-columns: 1fr auto; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .98rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent-ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--line-light { border-color: rgb(255 255 255 / .35); color: #fff; }
.btn--line-light:hover { border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: var(--accent); transition: color .2s; }
.link:hover { color: var(--accent); }
.link--light { color: #fff; text-decoration-color: var(--accent-2); }
.link--light:hover { color: var(--accent-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); border-bottom: 1px solid transparent; transition: border-color .3s; view-transition-name: site-header; }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgb(255 255 255 / .8); backdrop-filter: blur(16px) saturate(1.3); } }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { flex: none; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: block; padding: 8px 12px; font-size: .94rem; font-weight: 500; text-decoration: none; color: var(--ink-2); border-radius: 6px; transition: color .2s; }
.nav__link:hover, .nav__link[aria-current] { color: var(--ink); }
.nav__link[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .45em; }
.has-sub > .nav__link::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.sub { position: absolute; top: 100%; left: -16px; width: 520px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub__list { background: var(--card); border: 1px solid var(--rule); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 8px; box-shadow: 0 24px 48px -24px rgb(29 22 41 / .3); }
.sub__link { display: grid; grid-template-columns: 36px 1fr; gap: 6px; padding: 14px; border-radius: 8px; text-decoration: none; transition: background-color .2s; }
.sub__link:hover { background: var(--paper-2); }
.sub__n { font-size: .8rem; color: var(--ink-3); padding-top: 4px; font-variant-numeric: tabular-nums; }
.sub__link strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.sub__link small { display: block; color: var(--ink-3); font-size: .86rem; line-height: 1.4; }
.sub__all { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: var(--ink); color: var(--paper); border-radius: 0 0 12px 12px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.sub__all:hover .arrow { transform: translateX(4px); }
.nav__foot { display: none; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 112px); }
.hero__title { font-size: var(--fs-display); font-weight: 800; line-height: .98; letter-spacing: -.035em; max-width: 15ch; }
.hero__title em { font-weight: 800; }
.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.hero__lead { margin: 0; }
.hero__media { display: grid; grid-template-columns: 7fr 3fr 2fr; gap: 12px; margin-top: clamp(48px, 6vw, 88px); }
.hero__fig { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.hero__fig img { width: 100%; height: 100%; object-fit: cover; }
.hero__fig--a { aspect-ratio: 16 / 10; }
.hero__fig--c img { object-position: 30% center; }
.hero__caption { grid-column: 1 / -1; margin: 4px 0 0; font-size: .82rem; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--rule-strong); }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; padding: 22px 24px 0 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.facts strong { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.facts__icon { display: block; width: auto; height: .95em; overflow: visible; }
.facts span { font-size: .92rem; color: var(--ink-2); line-height: 1.4; max-width: 28ch; }

/* Clientes */
.clients__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.clients__title { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .01em; }
.clients__head .link { font-size: .85rem; }
.logos { display: grid; grid-template-columns: repeat(7, 1fr); }
.logos li { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); padding: 10px 6px; display: grid; place-items: center; }
.logos li:nth-child(7n) { border-right: 0; }
.logos img { width: 100%; max-width: 150px; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .72; transition: opacity .3s, filter .3s; }
.logos li:hover img { filter: none; opacity: 1; }

/* Índice de soluciones */
.index { border-top: 1px solid var(--rule-strong); }
.index__row { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 110px 40px; align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; position: relative; }
.index__n { font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; align-self: start; padding-top: .9em; }
.index__thumb { display: none; }
.index__name { font-family: var(--display); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1; letter-spacing: -.03em; transition: color .3s, transform .45s var(--ease); }
.index__new { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-2-ink); background: color-mix(in srgb, var(--accent-2) 35%, transparent); padding: 3px 8px; border-radius: 999px; margin-left: 12px; vertical-align: super; }
.index__desc { color: var(--ink-2); max-width: 38ch; }
.index__meta { font-size: .85rem; color: var(--ink-3); text-align: right; }
.index__go { justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
@media (hover: hover) {
  .index__row:hover .index__name { color: var(--accent); transform: translateX(10px); }
  .index__row:hover .index__go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}

/* Vista previa flotante (desktop) */
.preview { position: fixed; top: 0; left: 0; z-index: 30; width: 260px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; pointer-events: none; opacity: 0; scale: .92; transition: opacity .25s, scale .35s var(--ease); box-shadow: 0 30px 60px -30px rgb(29 22 41 / .5); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview.is-on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .preview { display: none; } }

/* Manifiesto */
.manifesto__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.manifesto__num { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 3rem + 8vw, 11rem); line-height: .8; letter-spacing: -.06em; color: var(--accent-2); margin: 0 0 24px; }
.manifesto__num span { font-size: .45em; letter-spacing: 0; margin-left: .04em; vertical-align: .9em; }
.manifesto__cap { font-size: 1.1rem; color: #fff; max-width: 26ch; line-height: 1.4; }
.manifesto__cap cite { display: block; margin-top: 12px; font-style: normal; font-size: .8rem; color: rgb(237 232 243 / .55); }
.manifesto__body h2 { margin-bottom: 28px; max-width: 18ch; }
.manifesto__body > p { max-width: 54ch; color: rgb(237 232 243 / .8); font-size: 1.08rem; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; margin: 40px 0 36px; border-top: 1px solid rgb(255 255 255 / .2); }
.outcomes li { padding: 14px 24px 14px 0; border-bottom: 1px solid rgb(255 255 255 / .12); font-size: .98rem; display: flex; gap: 12px; }
.outcomes li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--accent-2); }

/* Método */
.steps-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.steps-layout__aside { position: sticky; top: 120px; }
.steps-layout__aside h2 { max-width: 14ch; }
.steps-layout__fig { margin-top: 40px; border-radius: var(--radius); overflow: hidden; }
.steps-layout__fig img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.steps { border-top: 1px solid var(--rule-strong); }
.steps__item { display: grid; grid-template-columns: 80px 1fr; gap: 8px 24px; padding: 32px 0 36px; border-bottom: 1px solid var(--rule); }
.steps__n { grid-row: span 2; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.steps__item h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.steps__item p { margin: 0; color: var(--ink-2); max-width: 48ch; }

/* Rail de talleres */
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s, opacity .25s; }
.rail-btn:hover { background: var(--ink); color: var(--paper); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 22vw, 320px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 32px; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-bottom: 8px; }
.rail { padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.poster { scroll-snap-align: start; text-decoration: none; display: grid; gap: 4px; align-content: start; }
.poster__img { display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: var(--paper); }
.poster__img img { width: 100%; aspect-ratio: 1903 / 2182; object-fit: cover; transition: scale .6s var(--ease); }
.poster:hover .poster__img img { scale: 1.03; }
.poster__name { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; }
.poster__desc { color: var(--ink-3); font-size: .9rem; }

/* Testimonios */
.draft-note { display: inline-block; font-size: .8rem; color: #7A5B00; background: #FFF3C4; border: 1px dashed #D9B44A; padding: 4px 10px; border-radius: 4px; margin-bottom: 28px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.8rem); line-height: 1.12; letter-spacing: -.025em; max-width: 24ch; text-indent: -.42em; margin: 0; }
.quote blockquote p::before { content: "“"; color: var(--accent); }
.quote blockquote p::after { content: "”"; color: var(--accent); }
.quote figcaption { margin-top: 32px; color: var(--ink-2); }
.quote figcaption strong { color: var(--ink); font-weight: 600; margin-right: 6px; }
.quote:not([hidden]) { animation: fade-in .5s var(--ease); }
.quotes__nav { display: flex; align-items: center; gap: 8px; margin-top: 40px; }
.quotes__count { font-variant-numeric: tabular-nums; font-size: .9rem; color: var(--ink-3); margin-right: 12px; }
@keyframes fade-in { from { opacity: 0; translate: 0 8px; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-layout h2 { max-width: 12ch; margin-bottom: 20px; }
.faq { border-top: 1px solid var(--rule-strong); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq__a p { margin: 0; max-width: 60ch; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

/* Lista de artículos */
.posts { border-top: 1px solid var(--rule-strong); }
.post-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 180px 40px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.post-row__thumb { display: none; }
.post-row__date { font-size: .88rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-row__title { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.85rem); line-height: 1.15; letter-spacing: -.015em; transition: color .3s; }
.post-row__cat { font-size: .88rem; color: var(--ink-2); }
@media (hover: hover) {
  .post-row:hover .post-row__title { color: var(--accent); }
  .post-row:hover .index__go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}

/* Cierre */
.closing { background: var(--deep); color: #EDE8F3; padding-block: clamp(80px, 11vw, 168px) clamp(64px, 8vw, 112px); }
.closing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 6vw, 96px); align-items: end; }
.closing__title { font-size: clamp(4.4rem, 2rem + 10vw, 11rem); font-weight: 900; font-style: italic; letter-spacing: -.05em; line-height: .9; color: #fff; }
.closing__body p { font-size: var(--fs-lead); max-width: 40ch; color: rgb(237 232 243 / .85); }
.closing__body .actions { margin: 32px 0 28px; }
.closing__body .closing__direct { font-size: .95rem; color: rgb(237 232 243 / .6); margin: 0; }
.closing__direct a { color: #fff; text-decoration-color: var(--accent-2); }

/* Footer */
.site-footer { background: var(--deep); color: rgb(237 232 243 / .72); padding-bottom: 32px; font-size: .95rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 48px 0 40px; border-top: 1px solid rgb(255 255 255 / .14); }
.site-footer__logo { width: 132px; height: auto; }
.site-footer__claim { margin: 0; max-width: 38ch; text-align: right; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 32px 0 48px; border-top: 1px solid rgb(255 255 255 / .14); }
.site-footer__title { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: .01em; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer__addr { line-height: 1.45; max-width: 26ch; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .14); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -12px rgb(0 0 0 / .45); transition: scale .25s var(--ease); }
.wa-fab .icon { width: 28px; height: 28px; }
.wa-fab:hover { scale: 1.06; }
.m-bar { display: none; }

/* Página interior: hero */
.phero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 104px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ink-3); margin-bottom: clamp(32px, 5vw, 72px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.phero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.phero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; line-height: 1; max-width: 16ch; }
.phero__title em { font-weight: 800; }
.phero__side .lead { margin-bottom: 28px; }
.phero__media { margin-top: clamp(48px, 6vw, 88px); }
.phero__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }

/* Split genérico */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--top { align-items: start; }
.split__fig { border-radius: var(--radius); overflow: hidden; }
.split__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body h2 { margin-bottom: 24px; max-width: 16ch; }
.split__body > p { color: var(--ink-2); max-width: 52ch; margin-bottom: 28px; }
.sec--dark .split__body > p { color: rgb(237 232 243 / .78); }

/* Ficha: contraste problema/cambio */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contrast__list li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 1.08rem; display: grid; grid-template-columns: 28px 1fr; }
.contrast__list--pain li { color: var(--ink-2); }
.contrast__list--pain li::before { content: "—"; color: var(--ink-3); }
.contrast__list--gain li::before { content: "→"; color: var(--accent); font-weight: 600; }

/* Tabla de programas */
.ptable { border-top: 1px solid var(--rule-strong); }
.ptable__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 120px 120px 170px; gap: 24px; padding: 0 0 10px; font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.ptable__head span:first-child { display: none; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 120px 120px 170px; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); transition: background-color .25s; }
.prow:target { background: color-mix(in srgb, var(--accent-2) 18%, transparent); }
.prow__thumb { display: none; }
.prow__name { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); transition: color .3s; }
.prow__desc { margin: 0; color: var(--ink-2); font-size: .95rem; }
.prow__type, .prow__line, .prow__modes { font-size: .88rem; color: var(--ink-2); }
.prow__line { color: var(--accent); font-weight: 600; }
.prow[hidden] { display: none; }
.ptable__empty { padding: 32px 0; color: var(--ink-2); }
@media (hover: hover) { .prow:hover .prow__name { color: var(--accent); } }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 18px 0; margin-bottom: 32px; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.filters__label { font-size: .8rem; color: var(--ink-3); margin-right: 8px; }
.fbtn { padding: 7px 14px; border-radius: 999px; border: 1px solid transparent; background: none; font-size: .9rem; font-weight: 500; color: var(--ink-2); cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.fbtn:hover { border-color: var(--rule); color: var(--ink); }
.fbtn[aria-pressed="true"], .fbtn[aria-current] { background: var(--ink); color: var(--paper); }
.filters__count { margin: 0 0 0 auto; font-size: .88rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* Metodología */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-strong); }
.pillars li { padding: 28px 32px 8px 0; }
.pillars li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.pillars__n { display: block; font-family: var(--display); font-style: italic; color: var(--accent); font-size: 1.3rem; margin-bottom: 40px; }
.pillars h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); margin-bottom: 14px; }
.pillars p { color: var(--ink-2); max-width: 36ch; }
.modes { display: grid; grid-template-columns: 1fr 1fr; margin: 8px 0 0; border-top: 1px solid var(--rule); }
.modes div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); }
.modes dt { font-family: var(--display); font-size: 1.35rem; margin-bottom: 4px; }
.modes dd { margin: 0; color: var(--ink-3); font-size: .92rem; }

/* Casos */
.cases { border-top: 1px solid var(--rule-strong); }
.case { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.case__fig { border-radius: var(--radius); overflow: hidden; }
.case__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__meta { display: flex; gap: 14px; font-size: .85rem; color: var(--ink-3); margin-bottom: 16px; }
.case__meta span { font-variant-numeric: tabular-nums; }
.case__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); margin-bottom: 28px; max-width: 18ch; }
.case__dl { margin: 0; border-top: 1px solid var(--rule); }
.case__dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.case__dl dt { font-size: .85rem; color: var(--ink-3); padding-top: 2px; }
.case__dl dd { margin: 0; color: var(--ink-2); }
.case__dl .case__result { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.member__photo { border-radius: var(--radius); overflow: hidden; background: var(--accent-2); margin-bottom: 18px; }
.member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: scale .6s var(--ease); }
.member:hover .member__photo img { scale: 1.03; }
.member__name { font-size: 1.45rem; margin-bottom: 2px; }
.member__role { color: var(--ink-3); font-size: .92rem; margin-bottom: 8px; }
.member__in { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.countries { columns: 3; column-gap: 32px; border-top: 1px solid rgb(255 255 255 / .2); padding-top: 8px; }
.countries li { padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .1); break-inside: avoid; font-size: 1.02rem; }

/* Contacto */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__intro .phero__title { margin-bottom: 28px; }
.channels { margin: 48px 0 0; border-top: 1px solid var(--rule-strong); }
.channels div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.channels dt { color: var(--ink-3); font-size: .88rem; padding-top: 2px; }
.channels dd { margin: 0; font-weight: 500; }
.form { display: grid; gap: 22px; padding-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .88rem; font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font-size: 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(29 22 41 / .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.field input:user-invalid { border-color: #B3261E; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.toggle { position: relative; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.toggle span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.toggle input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.consent input { margin-top: 4px; accent-color: var(--ink); width: 16px; height: 16px; }
.form__submit { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form__ok { margin: 0; font-size: .9rem; color: var(--accent-2-ink); }

/* Artículo */
.article__head { padding-top: clamp(28px, 4vw, 56px); }
.article__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; max-width: 20ch; margin-bottom: 20px; }
.article__meta { color: var(--ink-3); font-size: .92rem; }
.article__cover { margin-block: clamp(32px, 4vw, 56px); }
.article__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: 68ch; margin-inline: auto; font-size: 1.1rem; line-height: 1.7; padding-bottom: var(--sec); }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-left: 1.2em; margin-bottom: 1em; }
.prose img { border-radius: var(--radius); margin: 1.5em auto; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 999px; text-decoration: none; border: 1px solid var(--rule); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Revelado al hacer scroll (CSS nativo, mejora progresiva) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .index li, .steps__item, .prow, .posts li, .case, .member, .pillars li, .facts li, .contrast__list li, .faq__item {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
    .phero__media img, .split__fig img, .steps-layout__fig img, .case__fig img {
      animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 30%;
    }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 24px; } }
@keyframes unveil { from { clip-path: inset(6% 3% 6% 3% round 10px); scale: 1.04; } to { clip-path: inset(0 round 10px); } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .index__row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 40px; }
  .index__meta { display: none; }
  .ptable__head { display: none; }
  .prow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 110px; }
  .prow__line, .prow__modes { display: none; }
  .post-row { grid-template-columns: 120px minmax(0, 1fr) 40px; }
  .post-row__cat { display: none; }
}

@media (max-width: 960px) {
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .site-header__inner { height: 64px; }
  .brand img { height: 34px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; height: 44px; padding: 0 4px 0 14px; border: 0; background: none; font-weight: 600; font-size: .92rem; cursor: pointer; }
  .menu-toggle__bars { position: relative; width: 22px; height: 12px; }
  .menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.5px; 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: 10px; }
  .menu-open .menu-toggle__bars i:first-child { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-toggle__bars i:last-child { top: 5px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: 64px 0 0; margin: 0; background: var(--paper); display: flex; flex-direction: column; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--rule); }
  .nav__link { font-family: var(--display); font-size: 2rem; color: var(--ink); padding: 14px 0; letter-spacing: -.02em; }
  .nav__link[aria-current] { color: var(--accent); text-decoration: none; }
  .has-sub > .nav__link::after { display: none; }
  .sub { position: static; width: auto; padding: 0 0 14px; opacity: 1; visibility: visible; transform: none; }
  .sub__list { background: none; border: 0; box-shadow: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .sub__link { grid-template-columns: 28px 1fr; padding: 8px 0; }
  .sub__link strong { font-size: 1.1rem; }
  .sub__link small, .sub__all { display: none; }
  .nav__foot { display: grid; gap: 16px; margin-top: auto; padding-top: 32px; }
  .nav__foot .btn { width: 100%; min-height: 56px; }
  .nav__contact { display: flex; justify-content: space-between; margin: 0; font-size: .92rem; color: var(--ink-2); }
  .sec__head, .sec__head--row, .hero__row, .phero__grid, .manifesto__grid, .steps-layout, .faq-layout, .split, .contrast, .contact, .closing__grid, .case { grid-template-columns: 1fr; }
  .sec__head--row { align-items: center; grid-template-columns: 1fr auto; }
  .sec__head .lead { justify-self: start; }
  .steps-layout__aside { position: static; }
  .hero__media { grid-template-columns: 2fr 1fr; }
  .hero__fig--a { grid-column: 1 / -1; }
  .hero__fig--b, .hero__fig--c { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .logos li:nth-child(7n) { border-right: 1px solid var(--rule); }
  .logos li:nth-child(4n) { border-right: 0; }
  .team { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .pillars__n { margin-bottom: 12px; }
  .countries { columns: 2; }
  .wa-fab { display: none; }
}

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --sec: 72px; }
  .hero { padding-top: 28px; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero__actions { display: grid; gap: 14px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link { justify-self: center; }
  .hero__media { gap: 8px; margin-top: 40px; }
  .facts { margin-top: 40px; }
  .facts li { grid-template-columns: 72px 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos li:nth-child(4n) { border-right: 1px solid var(--rule); }
  .logos li:nth-child(3n) { border-right: 0; }

  .index__row { grid-template-columns: 76px minmax(0, 1fr) 36px; grid-template-rows: auto auto; gap: 4px 16px; padding: 18px 0; }
  .index__n { display: none; }
  .index__thumb { display: block; grid-row: span 2; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; }
  .index__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .index__name { font-size: 1.9rem; align-self: end; }
  .index__desc { grid-column: 2; font-size: .9rem; line-height: 1.4; }
  .index__go { grid-row: 1 / span 2; grid-column: 3; width: 36px; height: 36px; }
  .index__new { margin-left: 6px; }

  .manifesto__num { font-size: 8.5rem; }
  .outcomes { grid-template-columns: 1fr; }
  .steps__item { grid-template-columns: 52px 1fr; padding: 24px 0; }
  .steps__n { font-size: 1.9rem; }

  .rail { grid-auto-columns: 68%; gap: 14px; }
  .rail-nav { display: none; }

  .quote blockquote p { font-size: 1.85rem; }

  .post-row { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 16px; padding: 16px 0; }
  .post-row__thumb { display: block; grid-row: span 2; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; }
  .post-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .post-row__date { grid-column: 2; grid-row: 2; font-size: .8rem; }
  .post-row__title { grid-column: 2; grid-row: 1; font-size: 1.2rem; }
  .post-row .index__go { display: none; }

  .closing__title { font-size: clamp(3.2rem, 17vw, 4.6rem); }
  .closing__body .actions { display: grid; }
  .closing__body .btn { width: 100%; }

  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__claim { text-align: left; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .site-footer__bottom { padding-bottom: 88px; }

  .phero__title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .phero__media img { aspect-ratio: 4 / 3; }
  .phero__side .actions { display: grid; gap: 14px; }
  .phero__side .btn { width: 100%; }
  .phero__side .link { justify-self: center; }
  .crumbs { margin-bottom: 28px; }

  .prow { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 2px 16px; padding: 16px 0; align-items: start; }
  .prow__thumb { display: block; grid-row: span 3; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; }
  .prow__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .prow__name { font-size: 1.15rem; line-height: 1.2; }
  .prow__desc { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .prow__type { grid-column: 2; font-size: .8rem; color: var(--ink-3); }
  .filters { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; padding: 12px 0; }
  .filters__group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filters__group::-webkit-scrollbar { display: none; }
  .fbtn { flex: none; }
  .filters__count { margin: 0; }

  .contrast__list li { font-size: 1rem; padding: 14px 0; }
  .modes { grid-template-columns: 1fr; }
  .case__dl div { grid-template-columns: 1fr; gap: 2px; }
  .team { gap: 28px 12px; }
  .member__name { font-size: 1.15rem; }
  .countries { column-gap: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit .btn { width: 100%; }
  .channels { margin-top: 32px; }

  .m-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: 1fr 52px; gap: 8px; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--rule); box-shadow: 0 16px 32px -16px rgb(29 22 41 / .4); translate: 0 calc(100% + 24px); transition: translate .4s var(--ease); }
  .m-bar.is-visible { translate: 0 0; }
  .m-bar .btn { min-height: 48px; }
  .m-bar__wa { display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; }
  .m-bar__wa .icon { width: 24px; height: 24px; }
  .menu-open .m-bar { translate: 0 calc(100% + 24px); }
}

/* ---------- Elevación y movimiento ---------- */

/* Entrada de la portada al cargar */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__row, .hero__media, .facts, .phero__grid, .crumbs, .phero__media, .contact__intro, .form { animation: enter .9s var(--ease-out) both; }
  .hero__row, .phero__grid { animation-delay: .08s; }
  .hero__media, .phero__media, .form { animation-delay: .16s; }
  .facts { animation-delay: .24s; }
}
@keyframes enter { from { opacity: 0; translate: 0 18px; } }

/* Transición entre páginas */
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 10px; } }

/* Header */
.site-header { transition: border-color .3s, box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgb(var(--shadow-rgb) / .25); }

/* Botones */
.btn { transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s var(--ease), translate .3s var(--ease); }
.btn--ink, .btn--light { box-shadow: var(--shadow-sm); }
.btn--ink:hover, .btn--light:hover { translate: 0 -1px; box-shadow: var(--shadow-md); }
.btn:active { translate: 0 0; box-shadow: var(--shadow-xs); transition-duration: .08s; }
.btn--ink:focus-visible { outline-offset: 4px; }

/* Enlaces con subrayado que crece */
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat, linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: color .25s, background-size .45s var(--ease-out); }
.link:hover { background-size: 100% 1px, 100% 2px; }
.link--light { background-image: linear-gradient(rgb(255 255 255 / .5), rgb(255 255 255 / .5)), linear-gradient(var(--accent-2), var(--accent-2)); }

/* Imágenes */
.hero__fig, .phero__media img, .split__fig, .steps-layout__fig, .case__fig, .member__photo, .poster__img { box-shadow: var(--shadow-md); }
.hero__fig img, .split__fig img, .steps-layout__fig img, .case__fig img { transition: scale .8s var(--ease-out); }
.hero__fig:hover img, .split__fig:hover img, .case:hover .case__fig img { scale: 1.025; }

/* Filas de índice, programas y artículos: fondo al pasar */
@media (hover: hover) {
  .index__row, .post-row, .prow { transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
  .index__row:hover, .post-row:hover, .prow:hover { background: var(--paper-2); box-shadow: -20px 0 0 var(--paper-2), 20px 0 0 var(--paper-2); }
  .sec--paper2 .prow:hover { background: #fff; box-shadow: -20px 0 0 #fff, 20px 0 0 #fff; }
  .index__row:hover .index__go, .post-row:hover .index__go { box-shadow: var(--shadow-sm); }
}
.index__go { background: #fff; box-shadow: var(--shadow-xs); }

/* Talleres */
.poster__img { transition: box-shadow .4s var(--ease), translate .45s var(--ease-out); }
.poster:hover .poster__img { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.poster__name { transition: color .25s; }
.poster:hover .poster__name { color: var(--accent); }
.rail-btn { background: #fff; border-color: var(--rule); box-shadow: var(--shadow-xs); transition: background-color .25s, color .25s, box-shadow .3s, scale .2s var(--ease); }
.rail-btn:hover { box-shadow: var(--shadow-md); }
.rail-btn:active { scale: .94; }

/* Clientes */
.logos li { transition: background-color .3s; }
.logos li:hover { background: var(--paper-2); }

/* Equipo */
.member__photo { transition: box-shadow .4s var(--ease), translate .45s var(--ease-out); }
.member:hover .member__photo { translate: 0 -4px; box-shadow: var(--shadow-lg); }

/* FAQ */
.faq__item summary { transition: color .25s; }
.faq__item summary:hover, .faq__item[open] summary { color: var(--accent); }

/* Submenú */
.sub__list { box-shadow: var(--shadow-lg); }
.sub__link { transition: background-color .2s, translate .3s var(--ease-out); }
.sub__link:hover { translate: 4px 0; }

/* Formulario */
.field input, .field select, .field textarea { box-shadow: var(--shadow-xs); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent), var(--shadow-sm); }
.toggle span { box-shadow: var(--shadow-xs); transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, scale .15s var(--ease); }
.toggle:hover span { box-shadow: var(--shadow-sm); }
.toggle input:active + span { scale: .96; }
.fbtn { transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s; }
.fbtn[aria-pressed="true"], .fbtn[aria-current] { box-shadow: var(--shadow-sm); }

/* Contadores y vista previa */
.preview { box-shadow: var(--shadow-lg); }
.wa-fab, .m-bar { box-shadow: var(--shadow-lg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Pesos de la tipografía display */
.index__name, .poster__name, .post-row__title, .steps__n, .modes dt, .case__result, .member__name, .pillars__n, .prow__name { font-weight: 800; }
.prow__name, .poster__name, .post-row__title { font-weight: 750; }
.nav__link { font-weight: 600; }
.lead { color: var(--ink-2); }
.logos img { mix-blend-mode: multiply; }

/* Ajustes de composición */
.hero__title { max-width: 17ch; }
@media (min-width: 961px) {
  .quote, .quotes__nav { margin-left: calc(41.666% + 10px); }
  .quotes .draft-note { float: left; }
}
.phero { padding-bottom: clamp(40px, 5vw, 72px); }
.phero + .sec:not(.sec--paper2):not(.sec--dark) { padding-top: clamp(32px, 4vw, 56px); }
.manifesto__body > .label, .split__body > .label { max-width: none; }
.field input, .field select, .field textarea, .toggle span { border-color: rgb(29 22 41 / .2); background: #fff; }
@media (max-width: 640px) {
  .hero__media { grid-template-columns: 1fr 1fr; }
  .hero__fig--b, .hero__fig--c { grid-column: auto; aspect-ratio: 1; }
  .sec__head--row { grid-template-columns: 1fr; gap: 16px; }
  .logos li { padding: 6px 4px; }
}

/* Los hijos de grid/flex no deben ensanchar su contenedor */
.closing__grid > *, .filters > *, .sec__head > *, .split > *, .contact > * { min-width: 0; }
.filters { max-width: 100%; }

/* ---------- Menú móvil (hoja) ---------- */
.sub__img, .nav__all, .nav__wa { display: none; }

@media (max-width: 960px) {
  .nav { padding: 0; overflow: hidden; }
  .nav__list { flex: 1; display: block; overflow-y: auto; overscroll-behavior: contain; padding: 20px var(--gutter) 24px; }
  .nav__item { border-bottom: 1px solid var(--rule); }
  .nav__link { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-family: var(--display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
  .nav__link::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .3; margin-right: 4px; }
  .nav__link[aria-current] { color: var(--accent); }

  .nav__item.has-sub { border-bottom: 0; padding-bottom: 12px; }
  .has-sub > .nav__link { padding: 0 0 12px; font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-3); }
  .has-sub > .nav__link::after { display: none; }
  .nav__all { display: inline; color: var(--accent); }

  .sub { padding: 0; }
  .sub__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; background: none; border: 0; box-shadow: none; }
  .sub__link { display: block; padding: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-xs); translate: none; transition: scale .2s var(--ease), box-shadow .2s; }
  .sub__link:hover { translate: none; background: var(--paper-2); }
  .sub__link:active { scale: .97; }
  .sub__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
  .sub__img img { width: 100%; height: 100%; object-fit: cover; }
  .sub__n, .sub__link small { display: none; }
  .sub__link strong { display: block; padding: 9px 12px 11px; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }

  .nav__foot { display: grid; grid-template-columns: 1fr 56px; gap: 10px; margin: 0; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: #fff; box-shadow: 0 -8px 24px -16px rgb(var(--shadow-rgb) / .18); }
  .nav__foot .btn { width: 100%; min-height: 56px; }
  .nav__wa { display: grid; place-items: center; height: 56px; border-radius: 999px; background: var(--wa); color: #fff; box-shadow: var(--shadow-sm); }
  .nav__wa .icon { width: 26px; height: 26px; }
  .nav__contact { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin: 2px 0 0; font-size: .85rem; color: var(--ink-3); }
  .nav__contact a { text-decoration: none; }

  @media (prefers-reduced-motion: no-preference) {
    .nav.is-open .nav__item { animation: menu-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
    .nav.is-open .nav__foot { animation: menu-up .5s var(--ease-out) .2s both; }
  }
}
@keyframes menu-in { from { opacity: 0; translate: 0 14px; } }
@keyframes menu-up { from { opacity: 0; translate: 0 100%; } }
@media (max-width: 960px) {
  .sub__img { aspect-ratio: 2 / 1; }
}
@media (max-width: 960px) and (max-height: 760px) {
  .nav__list { padding-top: 14px; }
  .sub__list { gap: 8px; }
  .sub__link { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; padding: 6px; }
  .sub__img { aspect-ratio: 1; border-radius: 8px; }
  .sub__link strong { padding: 0; font-size: .95rem; }
  .nav__link { padding: 12px 0; font-size: 1.3rem; }
}

/* Cierre: título a todo el ancho; texto y acciones debajo */
.closing__grid { grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.closing__title { font-size: clamp(3.2rem, 1rem + 11vw, 10rem); white-space: nowrap; }
.closing__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; padding-top: 32px; border-top: 1px solid rgb(255 255 255 / .16); }
.closing__body > p:first-child { margin: 0; }
.closing__body .actions { margin: 0; justify-content: flex-end; }
.closing__body .closing__direct { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .closing__body { grid-template-columns: 1fr; }
  .closing__body .actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .closing__title { font-size: clamp(3.2rem, 17vw, 4.6rem); }
}

/* Miniaturas fijas en filas (reemplaza la vista previa flotante) */
.preview { display: none !important; }
@media (min-width: 641px) {
  .index__thumb, .post-row__thumb, .prow__thumb { display: block; overflow: hidden; border-radius: 8px; background: var(--paper-2); box-shadow: var(--shadow-xs); }
  .index__thumb img, .post-row__thumb img, .prow__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
  .index__row:hover .index__thumb img, .post-row:hover .post-row__thumb img, .prow:hover .prow__thumb img { scale: 1.06; }
  .index__thumb { width: 132px; aspect-ratio: 4 / 3; }
  .index__row { grid-template-columns: 40px 132px minmax(0, 1.1fr) minmax(0, 1fr) 100px 40px; }
  .index__n { padding-top: 0; align-self: center; }
  .post-row__thumb { width: 96px; aspect-ratio: 4 / 3; }
  .post-row { grid-template-columns: 110px 96px minmax(0, 1fr) 160px 40px; }
  .prow__thumb { width: 64px; aspect-ratio: 1; align-self: center; }
  .prow__thumb img { object-position: top; }
  .prow, .ptable__head { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr) 110px 110px 160px; align-items: center; }
  .ptable__head span:first-child { display: block; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .index__row { grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr) 40px; }
  .index__n { display: none; }
  .index__thumb { width: 112px; }
  .post-row { grid-template-columns: 96px minmax(0, 1fr) 40px; }
  .post-row__date { display: none; }
  .prow { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 100px; }
}

/* Zeta: logo y crédito */
.brand img { height: 40px; width: auto; }
.brand__text { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.site-footer__logo img { width: 132px; height: auto; }
.zeta-credit a { color: #fff; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-2) 70%, transparent); text-underline-offset: .25em; }
@media (max-width: 960px) { .brand img { height: 34px; } }
.form__error { margin: 0; padding: 12px 16px; border-radius: 8px; background: #FDECEA; color: #8A1C14; font-size: .92rem; }
.form__ok { padding: 12px 16px; border-radius: 8px; background: color-mix(in srgb, var(--accent-2) 22%, transparent); }
.hero__media--1 { grid-template-columns: 1fr; }
.hero__media--2 { grid-template-columns: 2fr 1fr; }

/* ---------- Portada con foto al lado ---------- */
.hero--side { padding-top: clamp(32px, 5vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px clamp(32px, 5vw, 80px); align-items: center; }
.hero--side .hero__title { font-size: var(--fs-display); max-width: none; }
.hero--side .hero__row { grid-template-columns: 1fr; gap: 28px; margin-top: clamp(24px, 3vw, 36px); align-items: start; }
.hero--side .hero__lead { max-width: 44ch; }
.hero__art { position: relative; aspect-ratio: 1 / .92; }
.hero--side .hero__fig { position: absolute; margin: 0; box-shadow: var(--shadow-lg); }
.hero--side .hero__fig--a { inset: 6% 4% 12% 8%; aspect-ratio: auto; border-radius: 42% 58% 46% 54% / 38% 40% 60% 62%; }
.hero--side .hero__fig--b { width: 36%; aspect-ratio: 1; left: 0; bottom: 0; border-radius: 50%; border: 6px solid var(--paper); }
.hero__blob { position: absolute; border-radius: 50%; z-index: -1; }
.hero__blob--1 { width: 38%; aspect-ratio: 1; right: 0; bottom: 4%; background: var(--accent); opacity: .85; }
.hero__blob--2 { width: 26%; aspect-ratio: 1; left: 2%; top: 2%; background: var(--accent-2); }
.hero__art { isolation: isolate; }
.hero__note { position: absolute; right: 2%; top: 0; max-width: 22ch; margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-md); font-size: .8rem; line-height: 1.35; color: var(--ink-2); rotate: 3deg; }
.hero--side .facts { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .hero--side .hero__title { font-size: clamp(2.4rem, 10.5vw, 3.2rem); }
  .hero__note { font-size: .74rem; max-width: 18ch; }
}

/* ---------- Testimonios con foto (fondo oscuro) ---------- */
.quotes-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.quotes-sec .quote, .quotes-sec .quotes__nav { margin-left: 0; }
.quotes-sec .quotes .draft-note { float: none; }
.quotes-sec .quote blockquote p { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); color: #fff; }
.quotes-sec .quote blockquote p::before, .quotes-sec .quote blockquote p::after { color: var(--accent-2); }
.quotes-sec .quote figcaption { color: rgb(237 232 243 / .7); }
.quotes-sec .quote figcaption strong { color: #fff; }
.quotes-sec .quotes__count { color: rgb(237 232 243 / .6); }
.quotes-sec .rail-btn { background: transparent; border-color: rgb(255 255 255 / .4); color: #fff; box-shadow: none; }
.quotes-sec .rail-btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--deep); }
.quotes__fig { overflow: hidden; border-radius: 28px; rotate: 2deg; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .5); }
.quotes__fig img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
@media (max-width: 960px) {
  .quotes-layout { grid-template-columns: 1fr; }
  .quotes__fig { rotate: 0deg; max-width: 560px; }
}

/* ---------- FAQ: acceso a WhatsApp ---------- */
.faq-layout__wa { margin-top: 12px; }
.faq-layout__wa .icon { width: 1.25em; height: 1.25em; }

/* ---------- Recursos en tarjetas ---------- */
.pcards-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.pcards-layout__intro h2 { margin-bottom: 28px; max-width: 11ch; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow .3s, translate .3s var(--ease); }
.pcard:hover { box-shadow: var(--shadow-lg); translate: 0 -4px; }
.pcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.pcard:hover .pcard__img img { scale: 1.05; }
.pcard__body { flex: 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 6px 12px; padding: 16px 18px 18px; }
.pcard__meta { grid-column: 1 / -1; font-size: .78rem; color: var(--ink-3); }
.pcard__title { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.01em; }
.pcard .index__go { align-self: end; }
.pcard:hover .index__go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 1100px) {
  .pcards-layout { grid-template-columns: 1fr; }
  .pcards-layout__intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
  .pcards-layout__intro .label { flex-basis: 100%; }
  .pcards-layout__intro h2 { margin: 0; max-width: none; }
}
@media (max-width: 640px) {
  .pcards { grid-template-columns: 1fr; gap: 12px; }
  .pcard { flex-direction: row; border-radius: 14px; }
  .pcard__img { flex: none; width: 112px; aspect-ratio: auto; }
  .pcard__body { padding: 12px 14px; }
  .pcard__title { font-size: 1.02rem; }
  .pcard .index__go { width: 32px; height: 32px; }
}

/* ---------- Página interior: foto sin cortar cabezas ---------- */
.phero__media img { aspect-ratio: 2 / 1; object-position: 50% 18%; }
@media (max-width: 640px) { .phero__media img { aspect-ratio: 4 / 3; } }

/* ---------- Cierre más contenido ---------- */
.closing { padding-block: clamp(64px, 8vw, 120px) clamp(56px, 7vw, 96px); }
.closing__title { font-size: clamp(2.6rem, 1.2rem + 4.4vw, 5rem); }
@media (max-width: 640px) { .closing__title { font-size: clamp(2.6rem, 13vw, 3.6rem); } }

/* ---------- Filtros en móvil: chips que bajan de línea (sin deslizar) ---------- */
@media (max-width: 640px) {
  .filters { gap: 14px; padding: 16px 0; }
  .filters__group { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 6px; }
  .filters__label { flex-basis: 100%; margin: 0 0 2px; }
  .fbtn { padding: 7px 13px; font-size: .86rem; border-color: var(--rule); background: var(--paper); }
}

/* ---------- Soluciones en diagrama (núcleo + 4 líneas) ---------- */
.svc-diagram { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: ". n1 ." "n4 core n2" ". n3 ."; gap: clamp(20px, 2.6vw, 36px); align-items: center; padding-block: 8px; }
.svc-diagram::before, .svc-diagram::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.svc-diagram::before { left: 16.66%; right: 16.66%; top: 50%; border-top: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.svc-diagram::after { top: 12%; bottom: 12%; left: 50%; border-left: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.svc-diagram__nodes { display: contents; }
.svc-diagram__core { grid-area: core; position: relative; z-index: 1; justify-self: center; width: min(100%, 250px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--deep); color: #fff; box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent-2) 30%, transparent), 0 0 0 30px color-mix(in srgb, var(--accent) 10%, transparent), var(--shadow-lg); }
.svc-diagram__core b { display: block; font-weight: inherit; }
.svc-diagram__core span { font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, .9rem + .5vw, 1.4rem); line-height: 1.25; letter-spacing: -.01em; padding: 18%; }
.svc-node { position: relative; z-index: 1; }
.svc-node--1 { grid-area: n1; } .svc-node--2 { grid-area: n2; } .svc-node--3 { grid-area: n3; } .svc-node--4 { grid-area: n4; }
.svc-node a { display: grid; gap: 8px; height: 100%; padding: 22px 24px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow .3s, translate .3s var(--ease); }
.svc-node:nth-child(even) a { border-top-color: var(--accent-2); }
.svc-node__n { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc-node__name { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.05; letter-spacing: -.02em; transition: color .3s; }
.svc-node__desc { color: var(--ink-2); font-size: .95rem; }
.svc-node__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: .82rem; color: var(--ink-3); }
@media (hover: hover) {
  .svc-node a:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
  .svc-node a:hover .svc-node__name { color: var(--accent); }
  .svc-node a:hover .index__go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}
@media (max-width: 960px) {
  .svc-diagram { grid-template-columns: 1fr; grid-template-areas: none; gap: 14px; padding-left: 28px; }
  .svc-diagram::before { display: none; }
  .svc-diagram::after { top: 40px; bottom: 40px; left: 8px; }
  .svc-diagram__core, .svc-node { grid-area: auto !important; }
  .svc-diagram__core { justify-self: start; width: auto; aspect-ratio: auto; border-radius: 999px; margin-left: -28px; margin-bottom: 10px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-2) 30%, transparent); }
  .svc-diagram__core span { padding: 14px 22px; font-size: 1rem; }
  .svc-diagram__core span { display: flex; flex-wrap: wrap; }
  .svc-diagram__core b + b::before { content: "·"; margin-inline: .4em; color: var(--accent-2); }
  .svc-node::before { content: ""; position: absolute; left: -24px; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
  .svc-node:nth-child(even)::before { background: var(--accent-2); }
  .svc-node a { padding: 18px 18px 16px; }
}

/* ---------- Equipo: tarjeta que gira ---------- */
.member__card { display: block; width: 100%; padding: 0; margin: 0 0 18px; border: 0; background: none; cursor: pointer; perspective: 1200px; text-align: left; color: inherit; font: inherit; border-radius: var(--radius); }
.member__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.member__inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform .7s var(--ease-out); }
.member__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.member--flip .member__photo { display: block; margin: 0; position: relative; }
.member__hint { position: absolute; right: 12px; bottom: 12px; min-width: 36px; height: 36px; padding: 0 6px 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: rgb(255 255 255 / .94); color: var(--accent); font-size: .82rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.member__hint span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .95rem; }
.member__back { position: relative; z-index: 1; transform: rotateY(180deg); border-radius: var(--radius); background: var(--deep); color: rgb(237 232 243 / .9); padding: clamp(18px, 2vw, 26px); overflow-y: auto; font-size: .9rem; line-height: 1.5; box-shadow: var(--shadow-md); }
.member__back-name { display: block; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 10px; }
.member__back p + p { margin-top: .7em; }
.member__card[aria-pressed="true"] .member__inner { transform: rotateY(180deg); }
.member--flip:hover .member__photo { translate: none; }
@media (prefers-reduced-motion: reduce) {
  .member__inner { transform: none !important; transition: none; }
  .member__back { transform: none; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .member__card[aria-pressed="true"] .member__back { opacity: 1; visibility: visible; }
}
@media (max-width: 640px) { .member__back { font-size: .8rem; padding: 14px; } .member__back-name { font-size: 1rem; } }

/* ---------- Blog en carrusel ---------- */
.pcarousel { position: relative; }
.pcarousel__nav { justify-content: flex-end; margin: 0 0 16px; }
.pcards--rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 28px; }
.pcards--rail::-webkit-scrollbar { display: none; }
.pcards--rail > li { scroll-snap-align: start; }
.pcards--rail .pcard__title { font-size: 1.3rem; }
@media (max-width: 960px) { .pcards--rail { grid-auto-columns: 46%; } }
@media (max-width: 640px) {
  .pcards--rail { grid-template-columns: none; grid-auto-columns: 82%; gap: 14px; }
  .pcards--rail .pcard { flex-direction: column; border-radius: 18px; }
  .pcards--rail .pcard__img { width: auto; aspect-ratio: 4 / 3; }
  .pcarousel__nav { display: none; }
}

/* ---------- Bloques v2 (tarjetas, texto editorial, portada lateral) ---------- */
.facts__title { display: block; font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); border-radius: 18px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
.sec--paper2 .card { border-color: transparent; }
.card__badge { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 9%, #fff); color: var(--accent); box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--accent-2) 70%, transparent); }
.card__icon { width: 28px; height: 28px; }
.card__title { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; max-width: 24ch; }
.card__text { margin: 0; color: var(--ink-2); max-width: 54ch; }
.card__meta { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--ink-3); line-height: 1.5; }
.card__meta span { display: block; margin-bottom: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--accent); }
.cards--numbered { gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--rule-strong); }
.cards--numbered .card { display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px; padding: 28px 0 32px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; box-shadow: none; }
.cards--numbered .card__n { grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.cards--numbered .card__title { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); }
.cards__foot { margin-top: clamp(32px, 4vw, 48px); }

.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story__aside { position: sticky; top: 120px; }
.story__aside h2 { max-width: 12ch; }
.story__quote { margin: 40px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent-2); }
.story__quote p { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.3; letter-spacing: -.015em; color: var(--accent-ink); }
.story__body { max-width: 66ch; font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.story__body p { margin-bottom: 1.3em; }
.story__body p:first-child { font-size: 1.22rem; line-height: 1.6; color: var(--ink); }

.phero__main .lead { margin-top: 28px; }
.phero--side .phero__grid { grid-template-columns: 6fr 5fr; align-items: center; }
.phero--side .phero__title { max-width: 18ch; }
.phero__fig { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-md); }
.phero__fig img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.phero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.phero__tags li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-ink); font-size: .88rem; font-weight: 600; }

.steps-layout__lead { margin: 24px 0 0; color: var(--ink-2); max-width: 44ch; font-size: var(--fs-lead); line-height: 1.5; }
.pcards-layout__lead { color: var(--ink-2); margin: -8px 0 28px; max-width: 34ch; }
.team--3 { grid-template-columns: repeat(3, 1fr); gap: 48px clamp(20px, 2.4vw, 32px); }
.team .lead p { margin: 0 0 .8em; }
.member__training { display: block; margin-top: .9em; padding-top: .8em; border-top: 1px solid rgb(255 255 255 / .16); font-size: .92em; color: rgb(237 232 243 / .78); }
.member__training b { display: block; margin-bottom: 4px; color: var(--accent-2); font-size: .82rem; letter-spacing: .02em; }
.member__back-hint { display: inline-block; margin-top: 1em; font-size: .8rem; font-weight: 700; color: var(--accent-2); }
.quotes__figs { display: grid; }
.quotes__figs .quotes__fig { grid-area: 1 / 1; }
.quotes__figs .quotes__fig:not([hidden]) { animation: fade-in .5s var(--ease); }
.form__title { font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); margin: 0 0 4px; }
.form__ok { padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, var(--accent-2) 22%, #fff); color: var(--ink); font-size: .95rem; }
.form__ok strong { display: block; }

@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; }
  .story__aside { position: static; }
  .story__aside h2 { max-width: none; }
  .phero--side .phero__grid { grid-template-columns: 1fr; }
  .team--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards, .cards--numbered { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .cards--numbered .card { grid-template-columns: 44px 1fr; padding: 22px 0 24px; }
  .cards--numbered .card__n { font-size: 1.6rem; }
  .cards__foot .btn { width: 100%; }
  .team--3 { grid-template-columns: 1fr; max-width: 420px; }
  .member--flip .member__back { font-size: .86rem; }
  .story__body { font-size: 1.02rem; }
  .story__body p:first-child { font-size: 1.12rem; }
}

.closing__title--long { white-space: normal; font-size: var(--fs-display); font-style: normal; font-weight: 800; line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; }
.prose .article__question { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--accent-2); font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.35; color: var(--accent-ink); }
.prose .article__sign { color: var(--ink-3); font-size: .95rem; }
.prose ul li { margin-bottom: .5em; }
@media (max-width: 640px) { .closing__title--long { font-size: clamp(2rem, 8.5vw, 2.6rem); } }

/* ---------- Portada con foto grande integrada (layout=bleed) ---------- */
.hero--bleed { position: relative; overflow-x: clip; padding-top: 0; }
.hero--bleed .hero__grid { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(520px, 46vw, 700px); padding-block: clamp(40px, 5vw, 72px); }
.hero--bleed .hero__copy { position: relative; z-index: 2; }
.hero--bleed .hero__title { max-width: 13ch; }
.hero--bleed .hero__art { position: absolute; inset: 0 calc(50% - 50vw) 0 34%; aspect-ratio: auto; z-index: 1; }
.hero--bleed .hero__fig--a { inset: 0; border-radius: 0; box-shadow: none; background: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .55) 16%, #000 34%), linear-gradient(0deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .55) 16%, #000 34%), linear-gradient(0deg, transparent 0, #000 14%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero--bleed .hero__fig--a img { object-position: 60% 40%; }
.hero--bleed .hero__fig:hover img { scale: 1; }
.hero--bleed .hero__blob { z-index: 1; pointer-events: none; }
.hero--bleed .hero__fig--a { z-index: 2; }
.hero--bleed .hero__blob--1 { width: clamp(280px, 30vw, 460px); right: auto; left: 18%; top: 12%; bottom: auto; background: none; border: clamp(18px, 2.2vw, 34px) solid color-mix(in srgb, var(--accent) 45%, transparent); opacity: .5; clip-path: inset(0 0 52% 0); mix-blend-mode: multiply; }
.hero--bleed .hero__blob--2 { width: clamp(16px, 1.6vw, 24px); left: auto; right: 9%; top: 18%; background: var(--accent-2); }
.hero--bleed .hero__blob--3 { width: clamp(150px, 17vw, 260px); aspect-ratio: 1; right: -6%; top: 8%; background: color-mix(in srgb, var(--accent-2) 55%, transparent); mix-blend-mode: multiply; opacity: .7; }
.hero--bleed .facts { position: relative; z-index: 2; margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 960px) {
  .hero--bleed .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
  .hero--bleed .hero__title { max-width: 15ch; }
  .hero--bleed .hero__art { position: relative; inset: auto; width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); aspect-ratio: 4 / 3; }
  .hero--bleed .hero__fig--a { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 86%, transparent 100%); }
  .hero--bleed .hero__blob--1 { left: 8%; top: 4%; }
}
@media (min-width: 961px) and (max-width: 1280px) {
  .hero--bleed .hero__art { left: 42%; }
  .hero--bleed .hero__lead { max-width: 36ch; }
}

/* ---------- Imagen en carrusel (split con galería) ---------- */
.split__carousel { position: relative; min-width: 0; }
.split__slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split__slides::-webkit-scrollbar { display: none; }
.split__slides .split__fig { scroll-snap-align: start; border-radius: 0; box-shadow: none; }
.split__slides .split__fig img { aspect-ratio: 4 / 3; object-fit: cover; }
.split__nav { justify-content: flex-end; margin-top: 16px; }
@media (max-width: 960px) { .split__nav.rail-nav { display: flex; } }

/* ---------- Encabezado con imágenes en círculos (page-hero layout=orbit) ---------- */
.phero__orbit { position: relative; isolation: isolate; aspect-ratio: 1 / .92; width: 100%; max-width: 560px; margin-left: auto; }
.phero__circle { position: absolute; margin: 0; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-lg); }
.phero__circle img { width: 100%; height: 100%; object-fit: cover; }
.phero__circle--a { inset: 4% 4% 10% 12%; border-radius: 50%; }
.phero__circle--b { width: 38%; aspect-ratio: 1; left: 0; bottom: 0; border-radius: 50%; border: 6px solid var(--paper); }
.phero__dot { position: absolute; border-radius: 50%; z-index: -1; }
.phero__dot--1 { width: 26%; aspect-ratio: 1; left: 4%; top: 0; background: var(--accent-2); }
.phero__dot--2 { width: 34%; aspect-ratio: 1; right: 0; bottom: 2%; background: var(--accent); opacity: .85; }
@media (max-width: 960px) { .phero__orbit { max-width: 440px; margin-inline: auto; } }

/* ---------- Logos en franja en movimiento (logos layout=marquee) ---------- */
.marquee { display: grid; gap: 4px; padding-top: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { --w: clamp(120px, 12vw, 170px); display: flex; width: max-content; animation: marquee calc(var(--n) * 3.2s) linear infinite; }
.marquee__track--rev { animation-direction: reverse; }
.marquee__track li { flex: none; width: var(--w); padding: 8px 14px; display: grid; place-items: center; }
.marquee__track img { width: 100%; max-height: 64px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .72; transition: opacity .3s, filter .3s; }
.marquee__track li:hover img { filter: none; opacity: 1; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { display: flex; flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { display: contents; animation: none; }
  .marquee__track li[aria-hidden="true"] { display: none; }
}
