/* ICPALL · Home
   Colores, tipos y radios según reglas-de-marca.md. */

:root {
  --blanco: #FFFFFF;
  --tiza: #F7F6F3;
  --lino: #DBD6D1;
  --arena: #CABEB1;
  --canela: #D5BBA0;
  --piedra: #9D9589;
  --topo: #6D6559;
  --ink-soft: #857D72;
  --grafito: #23211F;
  --panel: #2F2C29;
  --negro: #0F0E0D;
  --amarillo: #F2ECAA;
  --ambar: #EBA94F;

  /* Titulares en Faculty Glyphic; texto y rótulos en PT Sans. Bricolage solo para el nombre ICPALL. */
  --f-brand: 'Bricolage Grotesque', sans-serif;
  --f-display: 'Faculty Glyphic', sans-serif;
  --f-body: 'PT Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-float: 0 14px 40px rgba(35, 33, 31, 0.22);
  --line-light: rgba(35, 33, 31, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tiza);
  color: var(--grafito);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--grafito); text-decoration: none; }
a:hover { color: var(--topo); }
:focus-visible { outline: 2px solid var(--grafito); outline-offset: 3px; }
#proceso :focus-visible, #firma :focus-visible { outline-color: var(--amarillo); }

@keyframes ic-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

.page { background: var(--tiza); overflow-x: clip; }

/* Rótulos */
.label {
  font-family: var(--f-body); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--topo);
}
.label--light { color: var(--arena); }

/* ---------- Menú (cápsula flotante) ---------- */
.pill-wrap {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.pill {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; overflow-x: auto;
  gap: clamp(16px, 2.4vw, 32px); width: min(880px, 100%);
  padding: 8px 10px; border-radius: 999px;
  background: rgba(247, 246, 243, 0.88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(35, 33, 31, 0.1); box-shadow: var(--shadow-float);
}
.pill__brand { flex: none; display: flex; align-items: center; padding-left: 22px; color: var(--grafito); }
.wordmark {
  font-family: var(--f-brand); font-weight: 600; font-size: 17px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.pill__links {
  flex: none; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); white-space: nowrap;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em;
}
.pill__cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--grafito); color: var(--tiza); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background 240ms var(--ease);
}
.pill__cta:hover { background: var(--topo); color: var(--tiza); }

/* ---------- Pantalla de entrada ---------- */
.intro {
  position: fixed; inset: 0; z-index: 80; overflow: hidden; background: var(--tiza);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 4vw, 56px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.intro__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.intro__top .wordmark { font-size: clamp(20px, 1.8vw, 26px); }
.intro__tag { font-family: var(--f-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--topo); }
.intro__art { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vh, 40px) 0; }
.intro__art svg { width: min(720px, 88vw); max-height: 56svh; overflow: visible; }
.intro__art [data-draw] { fill: none; stroke: var(--grafito); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.intro__art [data-draw].thin { stroke-width: 1.2; }
.intro__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.intro__words-win { position: relative; height: clamp(44px, 6vw, 88px); overflow: hidden; flex: 1; min-width: 0; }
.intro__words { display: flex; flex-direction: column; transition: transform 520ms var(--ease); }
.intro__words span {
  height: clamp(44px, 6vw, 88px); display: flex; align-items: flex-end;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 5vw, 76px);
  line-height: 1; letter-spacing: -0.04em; white-space: nowrap;
}
.intro__pct { display: flex; align-items: flex-end; font-family: var(--f-display); font-weight: 400; line-height: 0.8; letter-spacing: -0.05em; }
.intro__pct-n { font-size: clamp(88px, 14vw, 220px); font-variant-numeric: tabular-nums; display: inline-block; min-width: 2.2em; text-align: right; }
.intro__pct-s { font-size: clamp(32px, 4vw, 64px); color: var(--ambar); margin-left: 6px; }

/* ---------- Inicio: recorrido con scroll ---------- */
.journey { position: relative; height: 760vh; background: var(--grafito); }
.journey__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--grafito); color: var(--tiza); }
.journey__grid { position: absolute; inset: 0; }
.journey__swatch {
  position: absolute; left: 0; top: 0; border-radius: 999px; background-color: var(--topo);
  background-size: cover; background-position: center; opacity: 0; visibility: hidden;
  will-change: transform, opacity; box-shadow: inset 0 0 0 1px rgba(247, 246, 243, 0.06);
}
.journey__row {
  position: absolute; left: 0; top: 50%; display: flex; align-items: center; gap: 0.32em; white-space: nowrap;
  font-family: var(--f-display); font-weight: 400; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase;
  will-change: transform; visibility: hidden;
}
.journey__logo {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 0.3em; border-radius: 999px;
  background: radial-gradient(120% 140% at 30% 20%, #F2C27A 0%, #EBA94F 46%, #D98F33 100%);
  color: var(--grafito); letter-spacing: -0.02em; text-transform: none;
  box-shadow: 0 0 120px rgba(235, 169, 79, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
#ic-j-logotxt { font-family: var(--f-brand); font-weight: 600; }
.journey__word { color: var(--topo); transition: color 300ms ease; }
.journey__keeper {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden;
  background: radial-gradient(60% 70% at 66% 52%, var(--panel) 0%, var(--grafito) 72%);
  will-change: clip-path;
}
.journey__gridbg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(247, 246, 243, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 246, 243, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.journey__chair { position: absolute; top: 0; left: 38%; width: 62%; height: 100%; display: block; transform-origin: 0 0; will-change: transform; }
/* Celular y tableta en vertical: la silla ocupa el hueco real entre los dos titulares.
   224px ≈ fin del rótulo y el primer titular; el resto ≈ alto del segundo titular y su margen. */
@media (max-width: 899px) and (orientation: portrait) {
  .journey__chair { left: 0; width: 100%; top: 224px; height: calc(100% - 224px - (max(121px, 23vw) + 4vh + 24px)); }
}

.journey__cards {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: clamp(10px, 1.2vw, 20px); padding: 0 clamp(20px, 6vw, 120px); pointer-events: none; visibility: hidden;
}
.jcard {
  position: relative; flex: 1 1 0; min-width: 0; max-width: 440px; height: clamp(340px, 62vh, 560px);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.4vw, 40px);
  border-radius: 32px; background: linear-gradient(180deg, rgba(58, 54, 50, 0.5) 0%, rgba(35, 33, 31, 0.62) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.1); backdrop-filter: blur(22px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(247, 246, 243, 0.22), inset 0 0 0 1px rgba(247, 246, 243, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  opacity: 0; will-change: transform, opacity;
}
.jcard__top { display: flex; flex-direction: column; gap: clamp(28px, 6vh, 72px); }
.jcard__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 14px rgba(235, 169, 79, 0.6); }
.jcard__num { display: flex; align-items: flex-start; gap: 0.6em; }
.jcard__n {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 8vw, 150px); line-height: 0.8;
  letter-spacing: -0.03em; color: var(--tiza); font-variant-numeric: tabular-nums;
}
.jcard__unit { padding-top: 0.3em; font-family: var(--f-body); font-size: clamp(11px, 0.9vw, 14px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--arena); }
.jcard__bottom { display: flex; flex-direction: column; gap: 12px; }
.jcard__title { font-family: var(--f-body); font-size: clamp(13px, 1.1vw, 17px); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tiza); }
.jcard__body { font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: var(--arena); text-wrap: pretty; }

.journey__copy { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; }
.journey__copy-in {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(28px, 5vh, 64px); padding: clamp(36px, 6vh, 80px) clamp(20px, 3vw, 40px) clamp(28px, 4vh, 48px);
}
.journey__head {
  display: flex; flex-direction: column; gap: clamp(16px, 2vw, 26px); max-width: 560px;
  animation: ic-in 1000ms var(--ease) 200ms both;
}
.journey__kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lino);
}
.journey__kicker::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--ambar); }
.grad-text {
  background: linear-gradient(180deg, var(--amarillo) 0%, var(--tiza) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.journey__h1 {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, min(5.6vw, 7.5vh), 70px);
  line-height: 1.1; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance;
}
.journey__h2 {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, min(9vw, 12.5vh), 120px);
  line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase;
}
.journey__h2 span { display: block; }
.journey__h2 .c1 { color: var(--ambar); }
.journey__h2 .c3 { color: var(--tiza); }

/* ---------- La tela ---------- */
.tela {
  position: relative; overflow: hidden; background: var(--tiza);
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 64px) clamp(56px, 7vw, 104px);
}
.tela__blob {
  position: absolute; left: 50%; top: clamp(220px, 26vw, 340px); width: min(700px, 90%); height: min(700px, 90vw);
  transform: translateX(-50%); border-radius: 50%; background: var(--lino); opacity: 0.55; pointer-events: none;
}
.tela__head { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 1100px; margin: 0 auto clamp(32px, 4vw, 56px); }
.tela__h2 {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance;
}
.tela__h2 mark { display: inline-block; padding: 0 0.2em; background: var(--canela); border-radius: 999px; color: inherit; }
.tela__lead { margin: clamp(10px, 1.4vw, 18px) 0 0; max-width: 52ch; font-size: 18px; line-height: 1.6; color: var(--topo); text-wrap: pretty; }
.tela__grid {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.5vw, 32px); align-items: center; max-width: 1240px; margin: 0 auto;
}
.tela__col { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.fcard {
  width: min(300px, 100%); padding: 22px 24px 18px; border-radius: 32px; background: var(--blanco);
  box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: 10px; will-change: transform;
}
.fcard + .fcard { margin-top: clamp(18px, 3vw, 44px); }
.fcard--end { align-self: flex-end; }
.fcard--start { align-self: flex-start; }
.fcard--dark { background: var(--grafito); color: var(--tiza); }
.fcard--canela { background: var(--canela); }
.fcard__no { font-family: var(--f-body); font-size: 13px; color: var(--topo); }
.fcard--dark .fcard__no { color: var(--arena); }
.fcard__title { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; }
.fcard--dark .fcard__title { color: var(--amarillo); }
.fcard__tag { font-family: var(--f-body); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--topo); }
.fcard--dark .fcard__tag { color: var(--lino); }
.fcard--canela .fcard__tag { color: var(--grafito); }
.fcard__body { font-size: 15px; line-height: 1.5; color: var(--topo); }
.tela__object { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tela__canvas-box { position: relative; width: 100%; height: clamp(320px, 44vw, 540px); }
.tela__canvas-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Proceso ---------- */
.proceso {
  background: var(--grafito); color: var(--tiza); padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 64px);
  display: flex; flex-direction: column; gap: clamp(28px, 4vw, 52px);
}
.proceso__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid rgba(247, 246, 243, 0.16);
}
.proceso__head > div { display: flex; flex-direction: column; gap: 8px; }
.proceso__h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 7vw, 96px); line-height: 1.08; letter-spacing: -0.01em; color: var(--tiza); }
.proceso__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.flip { perspective: 1400px; min-width: 0; }
.flip__inner { position: relative; width: 100%; aspect-ratio: 1 / 1; transform-style: preserve-3d; will-change: transform; }
.flip__face {
  position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 32px; color: var(--grafito); padding: clamp(20px, 2.4vw, 32px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.flip__face--back { transform: rotateY(180deg); background: var(--tiza); gap: 14px; }
.flip__no { font-family: var(--f-body); font-size: 14px; }
.flip__face--back .flip__no { color: var(--topo); }
.flip__word { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: 1.08; letter-spacing: -0.04em; }
.flip__hint, .flip__tag { font-family: var(--f-body); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--topo); }
.flip__text { display: flex; flex-direction: column; gap: 10px; }
.flip__title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -0.02em; }
.flip__body { margin: 0; font-size: 16px; line-height: 1.55; color: var(--topo); text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; white-space: nowrap;
  font-weight: 500; transition: background 240ms var(--ease);
}
.btn--light { background: var(--tiza); color: var(--grafito); }
.btn--light:hover { background: var(--amarillo); color: var(--grafito); }
.btn--md { min-height: 52px; padding: 0 30px; font-size: 16px; }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 17px; }

/* ---------- Reseñas ---------- */
.resenas { position: relative; background: linear-gradient(135deg, var(--tiza) 0%, var(--lino) 45%, var(--arena) 100%); color: var(--grafito); }
.resenas__head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 96px); align-items: end;
  padding: clamp(72px, 9vw, 140px) clamp(20px, 8vw, 140px) clamp(24px, 3vw, 40px);
}
.resenas__head > div:first-child { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.resenas__kicker {
  display: flex; align-items: center; gap: 8px; font-family: var(--f-body); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em; color: #8A5A1F;
}
.resenas__kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ambar); }
.resenas__h2 {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 5.4vw, 92px);
  line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance;
}
.resenas__h2 span { color: var(--piedra); }
.resenas__side { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 28px); max-width: 560px; justify-self: end; }
.resenas__side p { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--topo); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--tiza); font-size: 15px; color: var(--grafito); }
.chip strong { font-family: var(--f-display); font-weight: 400; font-size: 20px; }

.rv { position: relative; height: 340vh; }
.rv__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 56px); }
.rv__track { display: flex; gap: clamp(16px, 1.6vw, 28px); padding: 0 clamp(20px, 8vw, 140px); width: max-content; will-change: transform; margin: 0; list-style: none; }
.rcard {
  position: relative; flex: none; width: clamp(300px, 30vw, 500px); min-height: clamp(420px, 58vh, 540px);
  display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 2.6vw, 44px); border-radius: 32px;
  background: rgba(247, 246, 243, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(247, 246, 243, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(35, 33, 31, 0.04), 0 18px 44px -20px rgba(35, 33, 31, 0.22);
  overflow: hidden;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), box-shadow 500ms ease;
}
.rcard:nth-child(4n+2) { background: rgba(232, 220, 205, 0.55); }
.rcard:nth-child(4n+3) { background: rgba(242, 236, 170, 0.5); }
.rcard:nth-child(4n+4) { background: rgba(219, 214, 209, 0.55); }
.rcard__who { position: relative; display: flex; align-items: center; gap: 16px; }
.rcard__av {
  flex: none; width: 64px; height: 64px; border-radius: 50%; background-color: var(--canela); background-size: cover;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(247, 246, 243, 0.7);
}
.rcard__ini {
  background: var(--tiza); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 400; font-size: 16px; color: var(--grafito);
}
.rcard__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rcard__name { font-size: 18px; font-weight: 500; color: var(--grafito); }
.rcard__role { font-size: 15px; color: var(--topo); }
.rcard__quote { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; margin: 0; }
.rcard__quote p {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.25; letter-spacing: -0.015em; color: var(--grafito); text-wrap: pretty;
}
.rcard__tags { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.rtag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; }
.rtag--soft { background: rgba(35, 33, 31, 0.07); color: var(--grafito); }
.rtag--dark { background: var(--grafito); color: var(--tiza); }
.rtag--dark::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ambar); }
.rv__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 8vw, 140px); }
.rv__dots { display: flex; align-items: center; gap: 8px; }
.rv__dots span { height: 8px; width: 8px; border-radius: 999px; background: var(--arena); transition: width 400ms var(--ease-out), background 400ms ease; }
.rv__dots span.is-on { width: 32px; background: var(--grafito); }
.rv__count { font-size: 15px; color: var(--topo); }
.rv__count b { color: var(--grafito); font-weight: 500; }

/* ---------- Aliados ---------- */
.aliados {
  position: relative; background: var(--blanco); color: var(--grafito); overflow: hidden;
  padding: clamp(56px, 5vw, 100px) 0 clamp(64px, 7vw, 120px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 7vh, 96px);
}
.aliados__head { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.6vw, 22px); padding: 0 20px; text-align: center; }
.aliados__h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 8vw, 136px); line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; }
.aliados__sub { font-family: var(--f-display); font-weight: 400; font-size: clamp(14px, 1.2vw, 20px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink-soft); }
.cl {
  position: relative; width: min(1300px, calc(100vw - 40px)); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.cl__track { position: relative; height: clamp(180px, 26vw, 420px); margin: 0; padding: 0; list-style: none; }
.cl__mark {
  position: absolute; left: 50%; top: 0; width: 50%; height: 100%; margin-left: -25%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 4.4vw, 84px); letter-spacing: -0.04em;
  color: var(--negro); white-space: nowrap; will-change: transform, opacity;
}
.cl__mark > span { display: inline-flex; align-items: center; gap: 0.22em; }
.cl__shape { flex: none; width: var(--w); height: 0.82em; border-radius: var(--r); background: var(--bg, transparent); border: var(--bd, none); transform: rotate(var(--rot, 0deg)); }
.cl__name { display: inline-flex; align-items: flex-start; gap: 0.04em; }
.cl__name sup { font-size: 0.22em; font-weight: 500; letter-spacing: 0; line-height: 1; margin-top: 0.35em; }
.aliados__foot { display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 5vw, 72px); }
.cl__ctrl { display: flex; align-items: center; gap: 4px; color: var(--piedra); }
.cl__btn {
  width: 56px; height: 48px; display: flex; align-items: center; justify-content: center; border: none; background: none;
  cursor: pointer; color: var(--piedra); transition: color 200ms ease, transform 300ms var(--ease-out);
}
.cl__btn:hover { color: var(--grafito); }
.cl__btn--prev:hover { transform: translateX(-4px); }
.cl__btn--next:hover { transform: translateX(4px); }
.aliados__note {
  margin: 0; text-align: center; font-family: var(--f-display); font-weight: 400; font-size: clamp(14px, 1.15vw, 19px);
  line-height: 1.45; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- Preguntas ---------- */
.preguntas { position: relative; background: var(--tiza); }
.q { position: relative; height: 210vh; }
.q__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 1.4vw, 22px); padding: 0 clamp(20px, 5vw, 64px);
}
.q__a, .q__b {
  font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.045em; text-transform: uppercase;
  white-space: nowrap; will-change: transform, opacity; margin: 0;
}
.q__a { font-size: clamp(52px, 9.6vw, 180px); color: var(--grafito); }
.q__b { font-size: clamp(34px, 6.4vw, 120px); color: var(--ink-soft); }
.q__l { font-family: var(--f-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--topo); will-change: opacity; }
.faq { max-width: 900px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px) clamp(80px, 10vw, 140px); display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line-light); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js .faq__item { opacity: 0; transform: translateY(48px); }
.js .faq__item.is-in { opacity: 1; transform: none; }
.faq__item h3 { margin: 0; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; color: var(--grafito);
}
.faq__icon {
  flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--lino); font-family: var(--f-body); font-size: 20px; color: var(--grafito);
  transition: transform 340ms var(--ease), background 240ms ease;
}
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--amarillo); }
.faq__a { padding: 0 4px 28px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--topo); text-wrap: pretty; }
.faq__a p { margin: 0; }

/* ---------- Firma ---------- */
.firma {
  position: relative; background: var(--grafito); padding: clamp(80px, 12vw, 180px) clamp(20px, 5vw, 64px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3.5vw, 48px); text-align: center;
}
.firma__h2 {
  margin: 0; max-width: 14ch; font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 11vw, 176px);
  line-height: 1.08; letter-spacing: -0.01em; color: var(--tiza); text-wrap: balance;
}
.firma__h2 span { color: var(--amarillo); }

/* ---------- En uso ---------- */
.uso {
  position: relative; background: var(--tiza); color: var(--grafito); padding: clamp(72px, 9vw, 140px) 0;
  display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 5vw, 72px);
}
.uso__head { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2vw, 26px); padding: 0 20px; text-align: center; max-width: 980px; }
.uso__chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 16px; border-radius: 999px; background: var(--lino);
  font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grafito);
}
.uso__h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 88px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.uso__h2 span { color: var(--ink-soft); }
.uso__lead { margin: 0; max-width: 52ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--topo); text-wrap: pretty; }
.uso__box { width: 100%; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.uso__track { display: flex; gap: clamp(14px, 1.8vw, 28px); width: max-content; will-change: transform; margin: 0; padding: 0; list-style: none; }
.ucard { flex: none; width: clamp(240px, 22vw, 340px); aspect-ratio: 9 / 14; margin: 0; position: relative; border-radius: 32px; overflow: hidden; background: var(--lino); }
.ucard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.ucard figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px; border-radius: 24px; background: rgba(247, 246, 243, 0.94); pointer-events: none;
}
.ucard__t { font-family: var(--f-display); font-weight: 400; font-size: 20px; letter-spacing: -0.02em; color: var(--grafito); }
.ucard__d { font-size: 14px; line-height: 1.4; color: var(--topo); }

/* ---------- Pie ---------- */
.footer { background: var(--tiza); color: var(--grafito); padding: clamp(48px, 6vw, 96px) clamp(16px, 2vw, 36px) 0; display: flex; flex-direction: column; }
.footer__word-wrap { position: relative; display: block; height: 26.2vw; overflow: hidden; }
.footer__word { position: absolute; inset: 0; }
.footer__layer {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
  font-family: var(--f-brand); font-weight: 600; font-size: 34.4vw; line-height: 0.8; letter-spacing: -0.035em;
  color: var(--grafito); white-space: nowrap;
  -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 90%); mask-image: linear-gradient(180deg, #000 66%, transparent 90%);
}
.footer__layer--blur {
  filter: blur(5px);
  -webkit-mask-image: linear-gradient(180deg, transparent 64%, #000 86%); mask-image: linear-gradient(180deg, transparent 64%, #000 86%);
}
.footer__layer span { display: inline-block; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border-top: 1px solid var(--line-light); margin-top: clamp(24px, 3vw, 48px); }
.footer__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px;
  padding: clamp(32px, 4vw, 64px) clamp(0px, 2vw, 40px) clamp(32px, 4vw, 64px) 0; border-right: 1px solid var(--line-light);
}
.fcol { display: flex; flex-direction: column; gap: 22px; }
.fcol__h { font-family: var(--f-body); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--topo); margin: 0; }
.fcol ul { display: contents; }
.fcol li { list-style: none; }
.fcol__i { font-family: var(--f-body); font-weight: 700; font-size: clamp(15px, 1.2vw, 18px); text-transform: uppercase; letter-spacing: 0.04em; color: var(--grafito); }
a.fcol__i:hover { color: var(--topo); }
.call { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); padding: clamp(32px, 4vw, 64px) 0 clamp(32px, 4vw, 64px) clamp(0px, 3vw, 64px); }
.call__lead { display: flex; align-items: center; gap: 14px; }
.brand-dots {
  width: 30px; height: 30px; border-radius: 8px; background: var(--grafito);
  display: grid; grid-template-columns: repeat(2, 4px); gap: 4px; place-content: center;
}
.brand-dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--tiza); }
.brand-dots span:first-child { background: var(--ambar); }
.call__lead p { margin: 0; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -0.01em; color: var(--grafito); }
.call__h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; letter-spacing: -0.01em; }
.call__form { display: flex; flex-direction: column; gap: 8px; }
.call__field {
  width: 100%; min-height: 52px; padding: 14px 4px; border: none; border-bottom: 1px solid rgba(35, 33, 31, 0.18); border-radius: 0;
  background: transparent; font-family: var(--f-body); font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--grafito);
  outline: none;
}
.call__field::placeholder { color: var(--topo); }
.call__field:focus-visible { border-bottom-color: var(--grafito); outline: 2px solid var(--grafito); outline-offset: 3px; border-radius: 4px; }
select.call__field {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--topo) 50%), linear-gradient(135deg, var(--topo) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.call__actions { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; margin-top: clamp(20px, 3vw, 40px); }
.call__submit {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 30px; border: none; border-radius: 999px;
  background: var(--grafito); color: var(--tiza); font-family: var(--f-body); font-weight: 700; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: background 240ms var(--ease);
}
.call__submit:hover { background: var(--topo); }
.call__submit::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); }
.call__note {
  display: flex; flex-direction: column; font-family: var(--f-body); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--topo); line-height: 1.5;
}
.call__thanks { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-top: 1px solid rgba(35, 33, 31, 0.18); border-bottom: 1px solid rgba(35, 33, 31, 0.18); }
.call__thanks[hidden] { display: none; }
.call__thanks-t { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.025em; }
.call__thanks-d { font-family: var(--f-body); font-weight: 700; font-size: clamp(15px, 1.2vw, 18px); text-transform: uppercase; letter-spacing: 0.04em; color: var(--topo); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 28px; border-top: 1px solid var(--line-light);
  font-family: var(--f-body); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--topo);
}

/* La pantalla de entrada solo aparece con JS. */
.intro { display: none; }
.js .intro { display: flex; }

/* Formulario de llamada: error, privacidad y campo trampa para bots */
.call__err { margin: 8px 0 0; font-size: 16px; color: var(--grafito); }
.call__err::before { content: '! '; font-weight: 600; }
.call__privacy { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--topo); }
.call__privacy a { color: var(--grafito); text-decoration: underline; text-underline-offset: 3px; }
.call__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.call__submit[aria-busy="true"] { opacity: 0.6; cursor: progress; }

/* Celular y tableta: los seis enlaces no caben; se quedan marca y «Elige tu tejido» (todo sigue en el pie). */
@media (max-width: 860px) {
  .pill__links { display: none; }
  .pill { gap: 16px; }
}

/* ---------- Auditoría: accesibilidad y responsivo ---------- */
/* Saltar al contenido: visible solo al enfocarlo con teclado */
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 20px; border-radius: 999px;
  background: var(--grafito); color: var(--tiza); font-weight: 500; transition: top 160ms ease;
}
.skip:focus { top: 16px; color: var(--tiza); }
#contenido:focus, #app:focus { outline: none; }

/* Áreas táctiles del menú ≥ 44 px de alto */
.pill__brand { min-height: 44px; }
.pill__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* El menú flotante no tapa el rótulo de la portada en tableta */
@media (max-width: 1100px) { .journey__copy-in { padding-top: 104px; } }

/* Celular: las tres tarjetas de números se apilan en vez de apretarse */
@media (max-width: 640px) {
  .journey__cards { flex-direction: column; justify-content: center; gap: 10px; padding: 96px 20px 24px; }
  .jcard { flex: 0 1 auto; width: 100%; max-width: none; height: auto; min-height: 0; padding: 18px 22px; gap: 10px; }
  .jcard__top { flex-direction: row; align-items: center; gap: 14px; }
  .jcard__dot { display: none; }
  .jcard__n { font-size: clamp(48px, 15vw, 64px); }
  .jcard__bottom { gap: 4px; }
}

/* En pantallas táctiles no hay cursor: la indicación no aplica */
@media (hover: none) { .tela__hint { display: none; } }

/* Pausa del carrusel «Cada silla, su propia vida» */
.uso__pause {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--grafito); background: transparent; color: var(--grafito); font: 500 15px var(--f-body); cursor: pointer;
  transition: background 240ms var(--ease), color 240ms var(--ease);
}
.uso__pause::before { content: ''; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.uso__pause[aria-pressed="true"]::before { width: 0; height: 0; border-width: 6px 0 6px 10px; border-style: solid; border-color: transparent transparent transparent currentColor; }
.uso__pause:hover { background: var(--grafito); color: var(--tiza); }

/* La pantalla de entrada no se repite en la misma visita */
.js.intro-seen .intro { display: none; }

/* Pantallas bajas (celular en horizontal): titulares y tarjetas caben sin recortarse */
@media (max-height: 520px) and (orientation: landscape) {
  .journey__copy-in { padding: 84px clamp(20px, 3vw, 40px) 16px; gap: 12px; }
  .journey__head { gap: 10px; }
  .journey__h1 { font-size: min(5.6vw, 8vh); }
  .journey__h2 { font-size: min(9vw, 12.5vh); }
  .journey__cards { flex-direction: row; padding-top: 84px; padding-bottom: 12px; align-items: center; }
  .jcard { flex: 1 1 0; width: auto; height: auto; min-height: 0; padding: 14px 18px; gap: 6px; justify-content: flex-start; }
  .jcard__top { gap: 8px; }
  .jcard__dot { display: none; }
  .jcard__n { font-size: min(8vw, 16vh); }
  .jcard__body { display: none; }
}

/* ---------- 1.2 · Video «En movimiento» ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.video {
  position: relative; background: var(--grafito); color: var(--tiza);
  padding: 0 clamp(20px, 5vw, 64px) clamp(64px, 9vw, 128px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.4vw, 32px);
}
.video :focus-visible { outline-color: var(--amarillo); }
.video__h2 {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1; letter-spacing: -0.01em; text-align: center; text-wrap: balance;
}
.video__h2 span { color: var(--amarillo); }
.video__player {
  display: block; width: 100%; max-width: 1200px; height: auto; aspect-ratio: 16 / 9;
  border-radius: 32px; background: var(--negro); object-fit: cover;
}

/* ---------- 1.2 · Ventana «Una silla que respira.» ---------- */
.pop {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 20px;
  background: transparent; color: var(--grafito);
}
.pop[open] { display: flex; align-items: center; justify-content: center; }
.pop::backdrop { background: rgba(35, 33, 31, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pop__card {
  position: relative; width: min(960px, 100%); max-height: calc(100svh - 40px); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border-radius: 32px; background: var(--tiza); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55);
  animation: ic-in 500ms var(--ease) both;
}
.pop__body { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(28px, 5vw, 64px); }
.pop__form-wrap, .pop__thanks { display: flex; flex-direction: column; gap: 20px; }
.pop__form-wrap[hidden], .pop__thanks[hidden] { display: none; }
.pop__chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--blanco); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em;
}
.pop__chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); }
.pop__h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.pop__h2:focus { outline: none; }
.pop__h2 span { color: var(--ink-soft); }
.pop__lead { margin: 0; max-width: 40ch; font-size: 18px; line-height: 1.5; color: var(--topo); text-wrap: pretty; }
.pop__form { display: flex; flex-direction: column; gap: 8px; }
.pop__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pop__input {
  flex: 1 1 220px; min-width: 0; height: 56px; padding: 0 22px; border: 1.5px solid rgba(35, 33, 31, 0.18); border-radius: 999px;
  background: var(--blanco); font: 17px var(--f-body); color: var(--grafito);
}
.pop__input[aria-invalid="true"] { border: 2px solid var(--grafito); }
.pop__submit, .pop__again {
  flex: none; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 999px;
  font: 700 16px var(--f-body); cursor: pointer; transition: background 240ms var(--ease), color 240ms var(--ease);
}
.pop__submit { border: none; background: var(--grafito); color: var(--tiza); }
.pop__submit::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); }
.pop__submit:hover { background: var(--topo); }
.pop__submit[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.pop__again { align-self: flex-start; border: 1.5px solid var(--grafito); background: transparent; color: var(--grafito); }
.pop__again:hover { background: var(--grafito); color: var(--tiza); }
.pop__err { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.pop__err::before { content: '! '; font-weight: 700; }
.pop__privacy { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--topo); }
.pop__privacy a { text-decoration: underline; text-underline-offset: 3px; }
.pop__img { position: relative; min-height: 420px; background: var(--lino); }
.pop__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pop__x {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; background: rgba(35, 33, 31, 0.35); color: var(--tiza); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
  .pop__card { grid-template-columns: minmax(0, 1fr); }
  .pop__img { display: none; }
  .pop__x { color: var(--grafito); background: rgba(247, 246, 243, 0.9); }
  .pop__body { padding-top: 72px; }
}
