/* Closify — closify.dev
   Paleta: negro tibio, crema y el naranja de la marca. Nada de tarjetas con
   borde ni rejillas de features: cada seccion es una escena a pantalla
   completa donde Closy hace algo. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-italic-latin.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0b0a09;
  --ink-2: #14110e;
  --paper: #fdf6ef;
  --paper-2: #fffdfb;
  --orange: #fd4c03;
  --orange-deep: #c73503;
  --on-dark: #f6f0e8;
  --on-dark-mute: #a49b91;
  --on-light: #17130f;
  --on-light-mute: #6d645b;
  --pad: clamp(20px, 5vw, 88px);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, dt, dd, dl, figure, p, ul, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

.skip {
  position: fixed; top: -100px; left: 12px; z-index: 99;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ── tipografia ─────────────────────────────────────────── */
.h2, .hero__title, .cta__title {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .96;
  text-wrap: balance;
}
.hero__title { font-size: clamp(2.4rem, 5vw, 4.7rem); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); }
em, .hero__title em, .h2 em, .cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--orange);
}
.eyebrow {
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  display: flex; align-items: center; gap: .7em;
}
.eyebrow b { color: var(--orange); font-weight: 800; letter-spacing: .06em; }
.eyebrow b::after {
  content: ''; display: inline-block; vertical-align: middle;
  width: 34px; height: 1px; margin-left: .8em; background: currentColor; opacity: .45;
}
.lede {
  font-size: clamp(1.02rem, 1.25vw, 1.19rem);
  line-height: 1.6;
  color: var(--on-dark-mute);
  max-width: 52ch;
}

/* ── botones ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 650; font-size: .98rem; letter-spacing: -.01em;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s, color .18s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: #ff5a12; }
.btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(246,240,232,.24); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(246,240,232,.5); }
.btn--invert { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 10px 19px; font-size: .9rem; background: var(--orange); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── nav ────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background-color .3s, backdrop-filter .3s, padding .3s;
}
.nav[data-stuck] {
  background: rgba(11,10,9,.72);
  backdrop-filter: blur(14px) saturate(140%);
  padding-block: 12px;
  box-shadow: 0 1px 0 rgba(246,240,232,.09);
}
.nav__mark { display: flex; align-items: center; gap: 10px; }
.nav__tag { display: block; width: 21px; color: var(--orange); }
.nav__word {
  font-size: 1.32rem; font-weight: 800; letter-spacing: -.055em;
  color: var(--on-dark);
}
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__link {
  padding: 10px 14px; font-size: .93rem; font-weight: 550;
  color: var(--on-dark-mute); transition: color .2s;
}
.nav__link:hover { color: var(--on-dark); }
/* sobre las secciones claras la barra se invierte, si no queda un bloque negro */
.nav[data-stuck][data-light] {
  background: rgba(253,246,239,.82);
  box-shadow: 0 1px 0 rgba(23,19,15,.1);
}
.nav[data-light] .nav__word { color: var(--on-light); }
.nav[data-light] .nav__link { color: var(--on-light-mute); }
.nav[data-light] .nav__link:hover { color: var(--on-light); }

/* ── hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(104px, 13vh, 150px) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(88% 62% at 74% 34%, rgba(253,76,3,.19), transparent 62%),
    radial-gradient(60% 50% at 8% 4%, rgba(253,76,3,.08), transparent 70%);
  transition: opacity .4s;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: .05; mix-blend-mode: overlay; pointer-events: none;
}
.hero__copy { max-width: 42ch; padding-bottom: 6vh; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__title { margin-bottom: 26px; }

.hero__stage { position: relative; align-self: stretch; min-height: 46vh; }
.hero__ground {
  position: absolute; left: 4%; right: 2%; bottom: 13%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,240,232,.22) 22%, rgba(246,240,232,.22) 78%, transparent);
}
.hero__closy {
  position: absolute; left: 52%; bottom: 13%;
  width: clamp(230px, 27vw, 380px);
  transform: translateX(-50%);
  cursor: pointer;
}
.hero__closy svg { overflow: visible; }
.hero__hint {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: var(--on-dark-mute); white-space: nowrap;
  transition: opacity .5s;
}
.hero__msgs { position: absolute; inset: 0; pointer-events: none; }
.msg {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 13px 8px 9px;
  background: rgba(246,240,232,.07);
  border-radius: 14px 14px 14px 4px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(246,240,232,.11);
  font-size: .8rem; color: var(--on-dark);
  white-space: nowrap;
  will-change: transform, opacity;
}
.msg svg { width: 15px; height: 15px; flex: none; }
.msg svg path { fill: currentColor; }

.ticker {
  grid-column: 1 / -1;
  margin: clamp(28px, 6vh, 64px) calc(var(--pad) * -1) 0;
  padding-block: 16px;
  overflow: hidden;
  border-top: 1px solid rgba(246,240,232,.1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.ticker__row {
  display: flex; align-items: center; gap: 26px; width: max-content;
  font-size: .88rem; letter-spacing: .01em; color: var(--on-dark-mute);
  will-change: transform;
}
.ticker__row i { color: var(--orange); font-style: normal; }
.ticker__item { white-space: nowrap; }

/* ── canales ────────────────────────────────────────────── */
.channels {
  position: relative;
  padding: clamp(90px, 13vh, 150px) var(--pad) clamp(60px, 9vh, 110px);
  background: linear-gradient(180deg, var(--ink), var(--ink-2) 40%, var(--ink));
}
.channels__head { max-width: 62ch; margin-bottom: clamp(30px, 6vh, 64px); }
.channels__head .h2 { margin: 20px 0 22px; }

.channels__stage { position: sticky; top: 15vh; }
.funnel {
  position: relative;
  height: 62vh; min-height: 380px;
  margin-inline: auto; max-width: 1060px;
}
.funnel__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.funnel__nodes { position: absolute; inset: 0; }
.funnel__nodes li {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: clamp(46px, 5.4vw, 68px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 20px;
  background: rgba(246,240,232,.055);
  box-shadow: inset 0 0 0 1px rgba(246,240,232,.12);
  color: var(--on-dark);
  transition: color .35s, background-color .35s, box-shadow .35s;
  will-change: transform;
}
.funnel__nodes li svg { width: 46%; }
.funnel__nodes li svg path { fill: currentColor; }
.funnel__nodes li[data-lit] {
  color: var(--c);
  background: rgba(246,240,232,.1);
  box-shadow: inset 0 0 0 1px rgba(246,240,232,.28), 0 0 34px -6px var(--c);
}

.funnel__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; gap: 2px;
  width: clamp(160px, 20vw, 232px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,76,3,.22), rgba(253,76,3,.03) 68%);
  text-align: center;
}
.funnel__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(253,76,3,.5);
  will-change: transform, opacity;
}
.funnel__count {
  font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.05em;
  line-height: 1; font-variant-numeric: tabular-nums; color: var(--on-dark);
}
.funnel__label { font-size: .78rem; letter-spacing: .05em; color: var(--on-dark-mute); }

.stack {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px;
  margin-top: 26px;
  font-size: .84rem; color: var(--on-dark-mute);
}
.stack li { display: flex; align-items: center; gap: 9px; }
.stack svg { width: 17px; height: 17px; }
.stack svg path { fill: currentColor; }

.runway { height: 118vh; pointer-events: none; }

/* ── agentes ────────────────────────────────────────────── */
.agents {
  background: var(--paper);
  color: var(--on-light);
  padding: clamp(90px, 14vh, 160px) var(--pad) clamp(70px, 10vh, 120px);
}
.agents .eyebrow { color: var(--on-light-mute); }
.agents__head { margin-bottom: clamp(40px, 8vh, 100px); }
.agents__head .h2 { margin-top: 20px; }

.act {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(20px, 5vw, 70px);
  padding-block: clamp(40px, 8vh, 96px);
}
.act + .act { border-top: 1px solid rgba(23,19,15,.1); }
.act--flip .act__art { order: 2; }
.act__art { will-change: transform; }
.act__art svg { width: 100%; height: auto; overflow: visible; }
.act__copy { max-width: 42ch; }
.act__n {
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; color: var(--orange);
}
.act__copy h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1; margin: 4px 0 16px;
}
.act__copy p { color: var(--on-light-mute); font-size: 1.06rem; }
.beats { margin-top: 22px; display: grid; gap: 11px; }
.beats li {
  display: flex; align-items: baseline; gap: 11px;
  font-size: .95rem; font-weight: 500;
  opacity: 0; transform: translateY(9px);
  transition: opacity .5s, transform .5s;
}
.beats li::before {
  content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); transform: translateY(-1px);
}
.beats[data-on] li { opacity: 1; transform: none; }
.beats[data-on] li:nth-child(2) { transition-delay: .09s; }
.beats[data-on] li:nth-child(3) { transition-delay: .18s; }

/* ── tablero ────────────────────────────────────────────── */
.board {
  position: relative;
  padding: clamp(90px, 13vh, 150px) var(--pad) clamp(60px, 9vh, 110px);
  background: var(--ink);
}
.board__head { max-width: 62ch; margin-bottom: clamp(30px, 5vh, 56px); }
.board__head .h2 { margin: 20px 0 22px; }
.board__stage {
  position: sticky; top: 15vh;
  height: 66vh; min-height: 400px;
  max-width: 1120px; margin-inline: auto;
}
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 22px); height: 100%; }
.col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.col h4 {
  font-size: .76rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mute); transition: color .3s;
}
.col[data-active] h4 { color: var(--orange); }
.col__slot {
  flex: 1; border-radius: 18px;
  background: rgba(246,240,232,.035);
  box-shadow: inset 0 0 0 1px rgba(246,240,232,.08);
  transition: background-color .3s, box-shadow .3s;
}
.col[data-active] .col__slot {
  background: rgba(253,76,3,.07);
  box-shadow: inset 0 0 0 1px rgba(253,76,3,.34);
}
.ghost {
  display: flex; align-items: center; gap: 9px;
  margin: 11px; padding: 11px;
  border-radius: 13px;
  background: rgba(246,240,232,.045);
  opacity: .55;
}
.ghost span {
  flex: none; display: grid; place-items: center;
  width: 27px; height: 27px; border-radius: 50%;
  background: rgba(246,240,232,.13);
  font-size: .64rem; font-weight: 700; color: var(--on-dark-mute);
}
.ghost i { font-style: normal; font-size: .76rem; color: var(--on-dark-mute); }

.deal {
  position: absolute; top: 46px; left: 0;
  width: calc(25% - 16px);
  display: flex; align-items: center; gap: 11px;
  padding: 15px;
  border-radius: 16px;
  background: var(--paper-2); color: var(--on-light);
  box-shadow: 0 22px 46px -14px rgba(0,0,0,.7);
  will-change: transform;
}
.deal__avatar {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-size: .78rem; font-weight: 700;
}
.deal b { display: block; font-size: .93rem; letter-spacing: -.01em; }
.deal i { display: block; font-size: .8rem; font-style: normal; color: var(--on-light-mute); }
.deal__amount {
  margin-left: auto; font-size: .84rem; font-weight: 700; color: var(--orange);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.board__closy {
  position: absolute; top: 6px; left: 0;
  width: clamp(96px, 11vw, 148px);
  will-change: transform;
}
.board__closy svg { overflow: visible; }

/* ── catalogo ───────────────────────────────────────────── */
.catalog {
  position: relative;
  background: var(--paper); color: var(--on-light);
  padding: clamp(90px, 13vh, 150px) var(--pad) clamp(60px, 9vh, 110px);
}
.catalog .eyebrow { color: var(--on-light-mute); }
.catalog__head { max-width: 62ch; margin-bottom: clamp(28px, 5vh, 52px); }
.catalog__head .h2 { margin: 20px 0 22px; }
.catalog__head .lede { color: var(--on-light-mute); }
.catalog__stage {
  position: sticky; top: 13vh;
  height: 74vh; min-height: 460px;
  max-width: 1000px; margin-inline: auto;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 2%;
}
.screen {
  height: 100%;
  display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 70px -26px rgba(23,19,15,.42), 0 0 0 1px rgba(23,19,15,.07);
}
.screen__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  background: rgba(23,19,15,.035);
  border-bottom: 1px solid rgba(23,19,15,.07);
}
.screen__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(23,19,15,.14); }
.screen__title {
  margin-left: 10px; font-size: .82rem; font-weight: 600; color: var(--on-light-mute);
}
.screen__body {
  flex: 1; overflow: hidden;
  padding: clamp(14px, 2.4vw, 26px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 11px;
}
.bub {
  max-width: 78%; padding: 12px 16px; font-size: .93rem; line-height: 1.45;
  border-radius: 17px;
  opacity: 0; transform: translateY(14px);
  will-change: transform, opacity;
}
.bub--me { align-self: flex-end; background: var(--orange); color: #fff; border-bottom-right-radius: 5px; }
.bub--closy { align-self: flex-start; background: rgba(23,19,15,.06); border-bottom-left-radius: 5px; }
.bub__who {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 3px;
}
.typing {
  align-self: flex-start; display: flex; gap: 5px;
  padding: 14px 16px; border-radius: 17px 17px 17px 5px;
  background: rgba(23,19,15,.06); opacity: 0;
}
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.cards { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.pcard {
  flex: 1 1 190px; min-width: 0;
  display: flex; gap: 12px; align-items: center;
  padding: 11px; border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(23,19,15,.08), 0 12px 26px -18px rgba(23,19,15,.5);
  opacity: 0; transform: translateY(16px) scale(.96);
  will-change: transform, opacity;
}
.pcard__img {
  flex: none; width: 54px; height: 54px; border-radius: 11px;
  background: #17130f; display: grid; place-items: center;
}
.pcard__img--alt { background: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(23,19,15,.14); }
.pcard__img i {
  width: 30px; height: 13px; border-radius: 7px 7px 3px 3px;
  background: var(--orange); transform: rotate(-8deg);
}
.pcard figcaption { min-width: 0; }
.pcard b { display: block; font-size: .92rem; letter-spacing: -.01em; }
.pcard span {
  display: block; font-size: .7rem; color: var(--on-light-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pcard em { font-family: var(--sans); font-style: normal; font-size: .86rem; font-weight: 700; color: var(--orange); }
.catalog__closy { order: -1; width: clamp(130px, 16vw, 224px); align-self: end; margin-bottom: -2%; }
.catalog__closy svg { overflow: visible; }

/* ── numeros ────────────────────────────────────────────── */
.metrics {
  background: var(--ink);
  padding: clamp(90px, 14vh, 160px) var(--pad) clamp(80px, 12vh, 140px);
}
.metrics .h2 { margin: 20px 0 clamp(40px, 7vh, 84px); }
.figs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.figs dt {
  font-size: clamp(3rem, 6.6vw, 5.6rem); font-weight: 800; letter-spacing: -.055em;
  line-height: .92; color: var(--orange); font-variant-numeric: tabular-nums;
}
.figs dd { margin-top: 12px; font-size: .95rem; color: var(--on-dark-mute); max-width: 22ch; }
.bars {
  display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 16px);
  height: clamp(150px, 24vh, 260px);
  margin-top: clamp(50px, 9vh, 110px);
}
.bars span {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--orange), rgba(253,76,3,.28));
  height: 0; transform-origin: bottom;
  transition: height .9s cubic-bezier(.2,.8,.2,1);
}
.bars[data-on] span { height: var(--h); }
.bars[data-on] span:nth-child(2) { transition-delay: .06s }
.bars[data-on] span:nth-child(3) { transition-delay: .12s }
.bars[data-on] span:nth-child(4) { transition-delay: .18s }
.bars[data-on] span:nth-child(5) { transition-delay: .24s }
.bars[data-on] span:nth-child(6) { transition-delay: .3s }
.bars[data-on] span:nth-child(7) { transition-delay: .36s }
.bars[data-on] span:nth-child(8) { transition-delay: .42s }
.figs__foot { margin-top: 16px; font-size: .8rem; color: var(--on-dark-mute); }

/* ── cierre ─────────────────────────────────────────────── */
.cta {
  position: relative;
  background: var(--orange); color: #fff;
  padding: clamp(80px, 12vh, 140px) var(--pad) clamp(80px, 12vh, 140px);
  text-align: center;
  display: grid; justify-items: center; gap: 20px;
  overflow: hidden;
}
.cta::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none;
}
.cta__closy { width: clamp(120px, 15vw, 200px); }
.cta__closy svg { overflow: visible; }
.cta__closy .cl-b { fill: #fff; stroke: #fff; }
.cta__closy .cl-d { fill: rgba(255,255,255,.72); stroke: rgba(255,255,255,.72); }
.cta__closy .cl-ink { fill: var(--orange-deep); }
.cta__title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.cta__lede { max-width: 44ch; color: rgba(255,255,255,.86); font-size: 1.06rem; }
.cta .btn { margin-top: 12px; }

/* ── pie ────────────────────────────────────────────────── */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  padding: 34px var(--pad);
  font-size: .87rem; color: var(--on-dark-mute);
  background: var(--ink);
}
.foot__mark { font-weight: 800; letter-spacing: -.05em; font-size: 1.1rem; color: var(--on-dark); }
.foot__links { display: flex; gap: 22px; margin-left: auto; }
.foot__links a:hover { color: var(--on-dark); }

/* ── personajes: solo lo que necesita adaptarse al fondo ── */
.on-dark .cl-glyph { fill: #f4efe8; }
.on-dark .cl-glyph-s { stroke: #f4efe8; }
.on-dark .cl-glyph-eye { fill: #17130f; }
[data-closy] { overflow: visible; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: clamp(104px, 15vh, 150px);
  }
  .hero__copy { max-width: none; padding-bottom: 0; }
  .hero__stage { min-height: 52vh; }
  /* en pantallas estrechas los globos se salen por los lados: se meten hacia
     dentro, se dejan envolver y se quedan solo los cuatro primeros */
  .hero__msgs { inset: 0 4%; }
  .msg { font-size: .76rem; max-width: 62vw; white-space: normal; }
  .msg:nth-child(n+5) { display: none; }
  .act, .act--flip .act__art { grid-template-columns: 1fr; order: 0; }
  .act__art { max-width: 460px; }
  .catalog__stage { grid-template-columns: 1fr; }
  .catalog__closy { display: none; }
  .cols { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .deal { width: calc(50% - 12px); }
  .board__closy { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .funnel__nodes li { border-radius: 15px; }
  .foot__links { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beats li, .bars span, .bub, .pcard { opacity: 1 !important; transform: none !important; }
  .msg { display: none; }
}
