/* ==========================================================================
   ShelfWatch Latinoamérica · Brasil — hoja de estilos
   Identidad: off-white #FBFAF8 · tinta #1A1615 · naranja #FE6625
   Tipografías: Space Grotesk (display) + Inter (texto), self-hosted
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBFAF8;
  --bg-2: #F3F0EC;
  --bg-3: #ECE7E1;
  --card: #FFFFFF;
  --ink: #1A1615;
  --ink-2: #4A4442;
  --ink-3: #6E6866;
  --line: #E6E1DC;
  --line-2: #D9D2CB;
  --orange: #FE6625;
  --orange-ink: #C2410C;
  --orange-soft: #FFEDE4;
  --dark: #1A1615;
  --dark-2: #241F1D;
  --dark-line: #3A3331;
  --on-dark: #F6F2EE;
  --on-dark-2: #BFB6B0;
  --ok: #1F7A4D;

  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 68px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(26, 22, 21, .05), 0 12px 32px -12px rgba(26, 22, 21, .16);
  --shadow-lg: 0 2px 6px rgba(26, 22, 21, .06), 0 30px 60px -24px rgba(26, 22, 21, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --fs-hero: clamp(2.75rem, 6.4vw, 6rem);
  --fs-h2: clamp(2rem, 3.9vw, 3.5rem);
  --fs-h3: clamp(1.125rem, 1.35vw, 1.3rem);
  --fs-lead: clamp(1.0625rem, 1.25vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.ic { width: 22px; height: 22px; flex: none; }
.ic-s { width: 18px; height: 18px; }

/* ---------- Tipografía ---------- */
.h2 { font-family: var(--display); font-size: var(--fs-h2); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; max-width: 18ch; }
.h2--wide { max-width: 26ch; }
.h3 { font-family: var(--display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.5; max-width: 60ch; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); }
.kicker-mark { width: 32px; height: 20px; color: var(--orange); flex: none; }
.kicker--light { color: #FFB892; }
.source { margin-top: 28px; font-size: var(--fs-small); color: var(--ink-3); }
.source--center { text-align: center; }
.source--dark { color: var(--on-dark-2); }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-weight: 600; font-size: .975rem; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --b-bg: var(--orange); --b-fg: #fff; box-shadow: 0 8px 24px -10px rgba(254, 102, 37, .7); }
.btn--primary:hover { --b-bg: #F2551A; box-shadow: 0 12px 28px -10px rgba(254, 102, 37, .8); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn--ghost:hover { --b-bd: var(--ink); }
.btn--light { --b-bg: var(--card); --b-fg: var(--ink); --b-bd: var(--line); }
.btn--light:hover { --b-bd: var(--ink-3); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.btn-icon:hover { border-color: var(--ink-3); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 248, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; flex: none; }
.brand__mark { width: 34px; height: 22px; color: var(--orange); align-self: center; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.03em; }
.brand__by { font-size: .78rem; color: var(--ink-3); }
.site-nav { flex: 1; min-width: 0; overflow: hidden; }
.site-nav__list { display: flex; justify-content: center; gap: 2px; }
.site-nav__list a { display: block; padding: 8px 11px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.site-nav__list a:hover { color: var(--ink); background: var(--bg-2); }
.site-nav__list a.is-active { color: var(--ink); background: var(--bg-2); }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .85rem; text-decoration: none; color: var(--ink-3); background: var(--card); }
.lang-switch__on { color: var(--ink); }
.lang-switch__sep { color: var(--line-2); }
.lang-switch:hover { border-color: var(--ink-3); }
.menu-toggle { display: none; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); overflow: hidden; }
.hero__dots { position: absolute; top: 0; right: 0; width: min(380px, 40vw); color: var(--orange); opacity: .9; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__text { position: relative; z-index: 1; }
.hero__title { margin: 22px 0 22px; font-family: var(--display); font-weight: 500; font-size: var(--fs-hero); line-height: .98; letter-spacing: -.045em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(.12s + var(--i) * .11s); }
.hero__line:nth-child(3) > span { color: var(--orange); }
.no-js .hero__line > span { transform: none; animation: none; }
@keyframes rise { to { transform: translateY(0); } }
.hero__sub { font-size: var(--fs-lead); color: var(--ink-2); max-width: 54ch; line-height: 1.55; transition: opacity .3s; }
.hero__sub.is-swapping { opacity: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.prepared { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); width: fit-content; max-width: 100%; box-shadow: var(--shadow); }
.prepared__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); padding: 6px 12px; background: var(--orange-soft); border-radius: 999px; }
.prepared__logo img { height: 26px; width: auto; max-width: 110px; object-fit: contain; }
.prepared__company { font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.prepared__contact { color: var(--ink-3); font-size: .9rem; }
.prepared__contact::before { content: "·"; margin-right: 10px; color: var(--line-2); }

.profile-picker { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.profile-picker__q { font-size: .82rem; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; }
.profile-picker__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: left; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.chip:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.chip__label { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.chip__hint { font-size: .78rem; color: var(--ink-3); }
.chip[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); }
.chip[aria-pressed="true"] .chip__hint { color: var(--orange-ink); }

.hero__media { position: relative; }
.hero__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--bg-2); box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 1.6s var(--ease-out) .1s forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: .85rem; color: var(--ink-2); animation: float-in .9s var(--ease-out) both; }
.hero__float--a { left: -22px; bottom: 34px; max-width: 270px; animation-delay: .7s; }
.hero__float--a .ic { color: var(--orange); }
.hero__float--a strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1rem; letter-spacing: -.01em; line-height: 1.25; }
.hero__float--b { right: -14px; top: 30px; animation-delay: .95s; }
.hero__float--b .ic { color: var(--ok); }
.hero__float-num { font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
@keyframes float-in { from { opacity: 0; transform: translateY(14px); } }
.video-card { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 0; border-radius: 18px; background: rgba(26, 22, 21, .82); color: var(--on-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: left; transition: transform .25s var(--ease), background .2s; z-index: 2; }
.video-card:hover { transform: translateY(-2px); background: rgba(26, 22, 21, .92); }
.video-card__avatar { position: relative; flex: none; width: 56px; height: 56px; }
.video-card__avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.video-card__play { position: absolute; inset: auto -4px -4px auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 0 0 3px rgba(26, 22, 21, .82); }
.video-card__play .ic { width: 12px; height: 12px; }
.video-card__text { display: flex; flex-direction: column; gap: 2px; font-size: .85rem; color: var(--on-dark-2); }
.video-card__text strong { font-family: var(--display); font-size: 1.02rem; color: #fff; font-weight: 600; letter-spacing: -.01em; }
.hero__media:has(.video-card) .hero__float--a { bottom: auto; top: 120px; }

.hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.hero__proof li { display: flex; align-items: baseline; gap: 12px; padding: 20px 0 0; }
.hero__proof li + li { padding-left: 24px; border-left: 1px solid var(--line); margin-left: -1px; }
.hero__proof strong { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.hero__proof span { color: var(--ink-3); font-size: .92rem; }

/* Efecto de escaneo IA */
.scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(254, 102, 37, 0) 42%, rgba(254, 102, 37, .28) 49.5%, rgba(255, 255, 255, .85) 50%, rgba(254, 102, 37, .28) 50.5%, rgba(254, 102, 37, 0) 58%, transparent 100%); background-size: 100% 220%; background-repeat: no-repeat; background-position: 0 -120%; mix-blend-mode: screen; animation: scan 2.6s var(--ease) 1.1s 1 both; }
.scan--loop { animation: scan 3.4s var(--ease) infinite; animation-play-state: paused; }
.in-view .scan--loop, .is-on > .scan--loop { animation-play-state: running; }
@keyframes scan { 0% { background-position: 0 -120%; } 100% { background-position: 0 220%; } }

/* ---------- Para usted ---------- */
.for-you { padding: 0 0 clamp(8px, 2vw, 24px); }
.for-you .wrap { display: grid; gap: 16px; }
.note { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.note__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.note__text { font-family: var(--display); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; letter-spacing: -.01em; }
.note__sign { margin-top: 10px; font-size: .9rem; font-weight: 600; }
.note__sign span { color: var(--ink-3); font-weight: 400; }
.for-you__box { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 28px; padding: 18px 22px; border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); animation: float-in .5s var(--ease-out); }
.for-you__title { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #FFB892; }
.for-you__list { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html[data-profile="brand"] [data-for-profile="brand"], html[data-profile="agency"] [data-for-profile="agency"], html[data-profile="retailer"] [data-for-profile="retailer"] { display: grid; }
.for-you__list a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); text-decoration: none; font-size: .9rem; line-height: 1.3; transition: background .2s; }
.for-you__list a:hover { background: rgba(255, 255, 255, .12); }
.for-you__list a .ic { margin-left: auto; color: var(--orange); }
.for-you__n { font-family: var(--display); color: var(--orange); font-weight: 600; font-size: .8rem; }

/* ---------- Capítulos ---------- */
.chapters { display: flex; flex-direction: column; }
.chapter { order: var(--o, 50); position: relative; }
#problem { --o: 10; } #solution { --o: 20; } #action { --o: 30; } #traditional { --o: 40; } #impact { --o: 50; }
#calculator { --o: 60; } #differentiators { --o: 70; } #implementation { --o: 80; } #integration { --o: 90; }
/* Trilhas por perfil */
html[data-profile="agency"] #impact { --o: 22; }
html[data-profile="agency"] #calculator { --o: 24; }
html[data-profile="retailer"] #impact { --o: 32; }
html[data-profile="retailer"] #calculator { --o: 34; }
html[data-profile="retailer"] #traditional { --o: 95; }

.ch-divider { padding: clamp(56px, 8vw, 112px) 0; }
.ch-divider__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ch-divider__mark { width: 64px; height: 40px; color: var(--orange); }
.ch-divider__num { margin-top: 26px; font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--orange-ink); letter-spacing: -.01em; }
.ch-divider__title { margin-top: 10px; font-family: var(--display); font-size: clamp(2.6rem, 5.6vw, 5.25rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.ch-divider__lead { margin-top: 22px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--ink-2); line-height: 1.45; max-width: 34ch; text-wrap: pretty; }
.ch-divider__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4.6; background: var(--bg-2); box-shadow: var(--shadow-lg); }
.ch-divider__img img { width: 100%; height: 100%; object-fit: cover; }
.badge-featured { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 600; }
.block__head .badge-featured { margin: 0 0 16px; }

/* Bloques */
.block { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.block + .block { border-top: 1px solid var(--line); }
.block--tint { background: var(--bg-2); border-top-color: transparent !important; }
.block--tint + .block { border-top-color: transparent; }
.block__dots { position: absolute; top: 0; right: 0; width: min(300px, 32vw); color: var(--orange); opacity: .85; pointer-events: none; }
.block__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); position: relative; z-index: 1; }
.block__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.block__head--row > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; align-items: end; }
.split--media-right { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.split__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--bg-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__img--tall { aspect-ratio: 3 / 4; }
.split__body .block__head { margin-bottom: 32px; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--display); font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 500; line-height: .9; letter-spacing: -.055em; color: var(--orange); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 18px; font-size: 1.05rem; color: var(--ink-2); max-width: 30ch; }

.numbered-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.numbered-grid li { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 22px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.01em; }
.numbered-grid li:not(:nth-child(3n + 1)) { padding-left: 18px; border-left: 1px solid var(--line); }
.numbered-grid__n { font-size: .8rem; font-weight: 600; color: var(--orange-ink); letter-spacing: .04em; }
.numbered-grid li.is-last { color: var(--orange-ink); }

.mega { margin-top: 12px; font-family: var(--display); font-weight: 500; font-size: clamp(5rem, 13vw, 11rem); line-height: .85; letter-spacing: -.06em; color: var(--orange); }
.mega__label { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 32ch; }
.rule-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list p { color: var(--ink-2); margin-top: 6px; font-size: 1.02rem; }
.rule-list .h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.rule-list--compact li { padding: 18px 0; }
.rule-list--compact p { margin: 0; color: var(--ink); font-size: 1.05rem; }

/* Revelación ShelfWatch */
.reveal-slide { position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; overflow: hidden; background: #EEECEA; text-align: center; padding: 80px 0; }
.reveal-slide__bg { position: absolute; inset: 0; }
.reveal-slide__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.2); }
.reveal-slide__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(251, 250, 248, .78) 0%, rgba(251, 250, 248, .35) 60%, rgba(251, 250, 248, .1) 100%); }
.reveal-slide__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.reveal-slide__pre { font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--ink-2); max-width: 46ch; line-height: 1.45; text-wrap: balance; }
.reveal-slide__name { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-top: 30px; font-family: var(--display); font-weight: 600; font-size: clamp(3.5rem, 11vw, 10rem); line-height: .9; letter-spacing: -.055em; }
.reveal-slide__mark { width: clamp(70px, 10vw, 150px); height: auto; color: var(--orange); }
.reveal-slide__by { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 1.05rem; color: var(--ink-3); }
.reveal-slide__by img { height: 32px; width: auto; }

/* Quiénes somos */
.about__img { position: relative; }
.about__badge { position: absolute; left: 24px; bottom: 24px; right: 24px; max-width: 300px; display: flex; flex-direction: column; padding: 22px 26px; background: var(--bg); border-radius: 22px; box-shadow: var(--shadow-lg); }
.about__badge strong { font-family: var(--display); font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 500; line-height: .85; letter-spacing: -.05em; color: var(--orange); }
.about__badge span { margin-top: 8px; color: var(--ink-2); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat-grid > div { padding: 24px 20px 26px 0; border-top: 1px solid var(--line); }
.stat-grid > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-grid dt { font-family: var(--display); font-size: clamp(2.4rem, 4.2vw, 3.75rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.stat-grid dd { margin-top: 8px; color: var(--ink-2); }

/* Socios */
.partner-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: hidden; }
.partner-row li { display: grid; place-items: center; height: 120px; padding: 18px 26px; }
.partner-row li + li { border-left: 1px solid var(--line); }
.partner-row img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.partner-row img[alt="Google Cloud"] { max-height: 84px; }
.partner-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 16px; }
.quote { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px; border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); overflow: hidden; }
.quote__mark { width: 52px; height: 32px; color: var(--orange); }
.quote blockquote p { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; letter-spacing: -.01em; }
.quote figcaption { color: var(--on-dark-2); font-size: .92rem; }
.quote figcaption strong { color: #fff; }
.card { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.card__tag { margin-bottom: auto; padding-bottom: 18px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.card p:last-child { color: var(--ink-2); }

/* Marcas */
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid li { display: grid; place-items: center; height: clamp(96px, 11vw, 150px); padding: 20px clamp(16px, 2.4vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.logo-grid li:hover { background: var(--card); }
.logo-grid img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.logo-grid li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.logo-grid .logo-unilever { max-height: 76px; }
.logo-grid .logo-sigma, .logo-grid .logo-bacardi, .logo-grid .logo-asahi, .logo-grid .logo-kraft { max-height: 64px; }
.logo-grid .logo-haleon { max-height: 28px; }

/* Equipo */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); transition: transform .3s var(--ease), box-shadow .3s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.person__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.person__name { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.person__role { color: var(--orange-ink); font-size: .9rem; font-weight: 600; margin-top: 2px; }
.person__bio { color: var(--ink-3); font-size: .875rem; margin-top: 8px; line-height: 1.45; }
.person--latam { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.person--latam .person__role { color: #FFB892; }
.person--latam .person__bio { color: var(--on-dark-2); }

/* Conozca */
.check-list { display: grid; gap: 4px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 1.08rem; line-height: 1.45; }
.check-list li:last-child { border-bottom: 1px solid var(--line-2); }
.check-list__ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--orange); color: #fff; stroke-width: 2.4; flex: none; margin-top: 1px; }
.meet__img { display: grid; place-items: center; }
.meet__img img { width: min(100%, 520px); filter: drop-shadow(0 30px 40px rgba(26, 22, 21, .22)); }

/* Cómo funciona */
.how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.how__steps { display: grid; gap: 2px; }
.how__step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; width: 100%; padding: 18px 18px 20px 14px; border: 0; border-radius: 16px; background: transparent; text-align: left; color: var(--ink-3); transition: background .25s, color .25s; }
.how__step:hover { background: var(--bg-2); color: var(--ink-2); }
.how__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--display); font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.how__txt { display: flex; flex-direction: column; gap: 4px; }
.how__txt strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.how__txt > span { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; line-height: 1.45; }
.how__step[aria-selected="true"] { background: var(--card); color: var(--ink-2); box-shadow: var(--shadow); }
.how__step[aria-selected="true"] .how__n { background: var(--orange); border-color: var(--orange); color: #fff; }
.how__step[aria-selected="true"] .how__txt > span { max-height: 120px; opacity: 1; }
.how__bar { position: absolute; left: 74px; right: 18px; bottom: 10px; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; }
.how__bar span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 2px; }
.how__step[aria-selected="true"] .how__bar { opacity: 1; }
.how__step.is-timing .how__bar span { animation: grow var(--t, 5s) linear forwards; }
@keyframes grow { to { width: 100%; } }
.how__stage { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-lg); }
.how__panel { position: absolute; inset: 0; animation: fade .55s var(--ease) both; }
.how__panel img { width: 100%; height: 100%; object-fit: cover; }
.how__panel--contain { display: grid; place-items: center; background: linear-gradient(160deg, #FFE9DD, var(--bg-2)); }
.how__panel--contain img { object-fit: contain; height: 92%; width: auto; filter: drop-shadow(0 24px 30px rgba(26, 22, 21, .2)); }
@keyframes fade { from { opacity: 0; transform: scale(1.02); } }
.viewfinder { position: absolute; inset: 9%; pointer-events: none; }
.viewfinder i { position: absolute; width: 34px; height: 34px; border: 3px solid #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.viewfinder i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.viewfinder i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.viewfinder i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.viewfinder i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.viewfinder b { position: absolute; left: 50%; bottom: -4px; transform: translate(-50%, 100%); width: 58px; height: 58px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,255,255,.25); box-shadow: 0 0 0 4px rgba(254,102,37,.0); animation: shutter 2.4s var(--ease) infinite; }
@keyframes shutter { 0%, 70%, 100% { background: rgba(255,255,255,.25); } 78% { background: rgba(255,255,255,.95); } }
.is-on .viewfinder::after { content: ""; position: absolute; inset: -12%; background: #fff; opacity: 0; animation: flashshot 2.4s var(--ease) infinite; }
@keyframes flashshot { 0%, 74% { opacity: 0; } 78% { opacity: .55; } 90%, 100% { opacity: 0; } }
.sync { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0; padding: 30px; background: radial-gradient(circle at 50% 50%, #FFF4EE, var(--bg-2) 70%); }
.sync__node { display: grid; place-items: center; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 24px; background: var(--card); box-shadow: var(--shadow-lg); flex: none; position: relative; }
.sync__node .ic { width: 38%; height: 38%; color: var(--ink); }
.sync__node--cloud { width: clamp(96px, 13vw, 132px); height: clamp(96px, 13vw, 132px); border-radius: 32px; background: var(--ink); }
.sync__node--cloud .ic { color: var(--bg); width: 50%; height: 50%; }
.sync__mark { position: absolute; width: 28%; bottom: 18%; color: var(--orange); }
.sync__line { position: relative; flex: 1; max-width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.sync__line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: travel 1.8s linear infinite; }
.sync__line i:nth-child(2) { animation-delay: .6s; }
.sync__line i:nth-child(3) { animation-delay: 1.2s; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }

/* Canales */
.channel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channel { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-2); }
.channel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.channel:hover img { transform: scale(1.05); }
.channel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(26, 22, 21, .75)); }
.channel__label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }

/* Funcionalidades */
.feature-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 0; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
.feature-grid--3 .feature:not(:nth-child(3n + 1)), .feature-grid--2 .feature:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.feature p { color: var(--ink-2); line-height: 1.5; }
.feature__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-ink); }
.feature--row { flex-direction: row; gap: 18px; }
.feature--row > div { display: flex; flex-direction: column; gap: 6px; }
.feature--card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.features-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.features-layout__img { border-radius: var(--r-md); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.features-layout__img img { width: 100%; }

/* Imágenes ampliables */
.zoomable { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.zoomable img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.zoomable:hover img { transform: scale(1.02); }
.zoomable__ic { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s; }
.zoomable:hover .zoomable__ic, .zoomable:focus-visible .zoomable__ic { opacity: 1; transform: none; }
.reports__img { border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); }
.reports__img img { object-fit: contain; }

/* En acción */
.tick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tick-grid li { display: flex; gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-weight: 500; }
.tick-grid__ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--orange); color: #fff; stroke-width: 2.4; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: .92rem; }
.pill .ic { color: var(--orange); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.duo > * { min-width: 0; }
.duo--wide { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.panel { display: flex; flex-direction: column; gap: 14px; }
.panel__media { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.panel__media img, .space__img img, .channel img { position: absolute; inset: 0; }
.duo--wide .panel:last-child .panel__media { aspect-ratio: auto; height: 100%; }
.duo--wide .panel { min-height: 0; }
.panel figcaption { font-size: 1.05rem; color: var(--ink-2); }
.panel figcaption b { color: var(--ink); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.seg__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: .9rem; color: var(--ink-3); transition: background .2s, color .2s; }
.seg__btn[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.seg__dot { width: 10px; height: 10px; border-radius: 50%; }
.seg__dot--on { background: var(--orange); }
.seg__dot--off { background: var(--ink-3); }
.hz-panel { animation: fade .45s var(--ease) both; }
.hz-panel__desc { margin: -12px 0 22px; font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.hz-panel .panel__media { aspect-ratio: 1705 / 770; background: #111; }
.hz-panel .panel__media img { object-fit: contain; }

/* Canal tradicional */
.wide-img { border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.wide-img img { object-fit: contain; }
.num-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.num-row li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 0 0; font-size: 1.05rem; line-height: 1.45; }
.num-row li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.num-row__n { font-family: var(--display); font-size: 2rem; font-weight: 500; color: var(--orange); letter-spacing: -.03em; line-height: 1; }
.space-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.space { display: flex; flex-direction: column; gap: 10px; }
.space__img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; margin-bottom: 8px; background: var(--card); }
.space p { color: var(--ink-2); font-size: .95rem; }

/* Impacto (oscuro) */
.chapter--dark { background: var(--dark); color: var(--on-dark); }
.chapter--dark .ch-divider__lead, .chapter--dark .lead { color: var(--on-dark-2); }
.chapter--dark .ch-divider__num { color: #FFB892; }
.chapter--dark .kicker { color: #FFB892; }
.chapter--dark .block + .block { border-top-color: var(--dark-line); }
.chapter--dark .ch-divider__img { box-shadow: none; }
.impact { border-top: 1px solid var(--dark-line); }
.impact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.impact__pre { margin-top: 24px; font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--on-dark-2); }
.impact__big { font-family: var(--display); font-weight: 500; font-size: clamp(7rem, 22vw, 17rem); line-height: .82; letter-spacing: -.07em; color: var(--orange); margin-left: -.04em; font-variant-numeric: tabular-nums; }
.impact__label { margin-top: 20px; font-size: clamp(1.15rem, 1.8vw, 1.5rem); max-width: 26ch; }
.impact__stats li { display: flex; flex-direction: column; gap: 6px; padding: 24px 0; border-top: 1px solid var(--dark-line); }
.impact__stats li:last-child { border-bottom: 1px solid var(--dark-line); }
.impact__stats strong { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.impact__stats span { color: var(--on-dark-2); }
.benefits .split__img { aspect-ratio: 4 / 4.8; }
.icon-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--dark-line); }
.icon-grid li { display: flex; gap: 16px; align-items: center; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--dark-line); font-family: var(--display); font-size: 1.15rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.icon-grid li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--dark-line); }
.icon-grid__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(254, 102, 37, .14); color: var(--orange); flex: none; }

/* ---------- Calculadora ---------- */
.calc-block { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.calc > * { min-width: 0; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.calc__form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend, .field .label { font-size: .875rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field .req { color: var(--orange-ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 92px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(254, 102, 37, .16); background: var(--card); }
input.is-invalid, select.is-invalid { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
input[type="number"]::-webkit-inner-spin-button { opacity: .4; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; }
.input-affix { display: flex; align-items: stretch; }
.input-affix__pre { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-right: 0; border-radius: 12px 0 0 12px; background: var(--bg-2); font-size: .85rem; font-weight: 600; color: var(--ink-3); min-width: 56px; }
.input-affix input { border-radius: 0 12px 12px 0 !important; }
input[type="range"] { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orange) var(--fill, 50%), var(--line) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); box-shadow: var(--shadow); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); }
.calc__adv { border-top: 1px dashed var(--line-2); padding-top: 14px; }
.calc__adv summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink-3); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.calc__adv summary::-webkit-details-marker { display: none; }
.calc__adv summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .9rem; line-height: 1; }
.calc__adv[open] summary::before { content: "−"; }
.calc__adv[open] .field-row { margin-top: 14px; }
.scenario { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scenario__opt { position: relative; }
.scenario__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scenario__box { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); transition: border-color .2s, background .2s, box-shadow .2s; }
.scenario__pct { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.scenario__label { font-weight: 600; font-size: .88rem; }
.scenario__hint { font-size: .74rem; color: var(--ink-3); line-height: 1.3; margin-top: 2px; }
.scenario__opt input:checked + .scenario__box { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); }
.scenario__opt input:focus-visible + .scenario__box { outline: 2px solid var(--orange); outline-offset: 2px; }

.calc__out { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-lg); overflow: hidden; }
.calc__out::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 102, 37, .35), transparent 70%); pointer-events: none; }
.calc__res { position: relative; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--dark-line); }
.calc__res-label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.calc__big { margin-top: 8px; font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1; letter-spacing: -.045em; color: var(--orange); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc__mid { margin-top: 6px; font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc__mid--s { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.calc__sub { margin-top: 6px; font-size: .9rem; color: var(--on-dark-2); display: flex; flex-direction: column; gap: 2px; }
.calc__res--pair { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; }
.acc__row { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 8px; margin-top: 10px; font-size: .8rem; color: var(--on-dark-2); }
.acc__row b { font-family: var(--display); color: var(--on-dark); font-size: .9rem; }
.acc__bar { height: 6px; border-radius: 6px; background: var(--dark-line); overflow: hidden; }
.acc__bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--on-dark-2); transform-origin: 0 50%; }
.acc__row--ai .acc__bar i { background: var(--orange); }
.acc__row--ai b { color: var(--orange); }
.calc__actions { position: relative; display: grid; gap: 10px; margin-top: 4px; }
.calc__actions .btn--light { --b-bg: transparent; --b-fg: var(--on-dark); --b-bd: var(--dark-line); }
.calc__actions .btn--light:hover { --b-bd: var(--on-dark-2); }
.calc__hint { text-align: center; font-size: .8rem; color: var(--on-dark-2); }
.calc__disc { position: relative; margin-top: 18px; font-size: .75rem; color: #8F8681; line-height: 1.45; }
.calc__out .is-flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { opacity: .35; } 100% { opacity: 1; } }
html[data-profile="agency"] .calc__res--hours { order: -1; }
html[data-profile="agency"] .calc__res--hours .calc__mid { color: var(--orange); font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
html[data-profile="agency"] .calc__res--sales .calc__big { color: var(--on-dark); font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---------- Cronograma ---------- */
.gantt { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(14px, 2vw, 22px); overflow: hidden; }
.gantt__head, .gantt__row, .gantt__acc { display: grid; grid-template-columns: minmax(150px, .8fr) 1fr 1.6fr 1.3fr; gap: 0; }
.gantt__phase { display: flex; flex-direction: column; padding: 14px 18px; border-left: 1px solid var(--line); }
.gantt__phase strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.gantt__phase em { font-style: normal; color: var(--ink-3); font-size: .88rem; }
.gantt__phase--0 strong { color: var(--ink); } .gantt__phase--1 strong { color: var(--orange-ink); } .gantt__phase--2 strong { color: var(--orange); }
.gantt__row { border-top: 1px solid var(--line); }
.gantt__label { padding: 18px 16px 18px 6px; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; align-self: center; }
.gantt__cell { padding: 10px 8px; border-left: 1px solid var(--line); }
.gantt__cell--c0 { grid-column: 2; }
.gantt__cell--c1 { grid-column: 3; }
.gantt__cell--c2 { grid-column: 4; }
.gantt__bar { display: block; padding: 14px 16px; border-radius: 12px; font-size: .9rem; line-height: 1.45; color: var(--ink); background: var(--bg-2); border-left: 4px solid var(--ink); transform-origin: 0 50%; }
.gantt__cell--c1 .gantt__bar { background: #FFF1EA; border-left-color: var(--orange-ink); }
.gantt__cell--c2 .gantt__bar { background: var(--orange-soft); border-left-color: var(--orange); }
.in-view .gantt__bar { animation: bar-in .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * .12s + .2s); }
.gantt__row:nth-child(2) { --d: 0; } .gantt__row:nth-child(3) { --d: 1; } .gantt__row:nth-child(4) { --d: 2; } .gantt__row:nth-child(5) { --d: 3; }
@keyframes bar-in { from { opacity: 0; transform: scaleX(.6); } }
.gantt__acc { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px; }
.gantt__track { grid-column: 2 / 5; position: relative; height: 34px; margin: 0 8px; }
.gantt__track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--line) 0%, var(--orange-ink) 45%, var(--orange) 100%); }
.gantt__track i { position: absolute; top: 0; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.gantt__track i b { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.gantt__track .p0 { left: 26%; border-color: var(--ink-3); } .gantt__track .p1 { left: 58%; border-color: var(--orange-ink); } .gantt__track .p2 { left: 97%; }

/* ---------- Integración ---------- */
.flow { display: grid; grid-template-columns: 1fr minmax(80px, .45fr) 1fr minmax(80px, .45fr) 1fr; align-items: center; gap: 0; }
.flow__node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.flow__node p { color: var(--ink-3); font-size: .95rem; }
.flow__media { display: grid; place-items: center; width: 100%; max-width: 280px; aspect-ratio: 1 / 1; margin-bottom: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.flow__media img { width: 100%; height: 100%; object-fit: cover; }
.flow__media--phone { background: linear-gradient(160deg, #FFE9DD, var(--bg-2)); }
.flow__media--phone img { object-fit: contain; height: 88%; width: auto; }
.flow__media--core { position: relative; background: var(--ink); border-color: var(--ink); }
.flow__mark { width: 40%; color: var(--orange); position: absolute; bottom: 24%; }
.flow__cloud { width: 62%; height: 62%; color: var(--bg); stroke-width: 1.2; }
.flow__edge { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 2px; margin-bottom: 70px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.flow__edge::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--ink-3); }
.flow__pulse { position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(254, 102, 37, .18); animation: travel 2.2s linear infinite; }
.flow__edge-label { position: absolute; top: 14px; white-space: nowrap; font-size: .78rem; font-weight: 600; color: var(--ink-3); padding: 4px 10px; border-radius: 999px; background: var(--bg-2); }

/* ---------- Cuenta: plan y documentos ---------- */
.account-plan { background: var(--bg-2); }
.plan { position: relative; display: grid; gap: 10px; max-width: 980px; }
.plan::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line-2); }
.plan__step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 210px; gap: 18px; align-items: center; padding: 16px 18px 16px 0; }
.plan__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); font-family: var(--display); font-weight: 600; color: var(--ink-3); }
.plan__step.is-done .plan__dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan__step.is-current .plan__dot { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 6px rgba(254, 102, 37, .18); }
.plan__body { padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.plan__step.is-current .plan__body { border-color: var(--orange); box-shadow: var(--shadow); }
.plan__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-3); }
.plan__date { font-weight: 600; color: var(--ink-2); }
.plan__owner { padding: 2px 10px; border-radius: 999px; background: var(--bg-2); }
.plan__owner--client { background: var(--orange-soft); color: var(--orange-ink); }
.plan__owner--both { background: #EEE8FF; color: #4B3BA6; }
.plan__now { padding: 2px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 600; }
.plan__title { margin-top: 6px; font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.plan__step.is-done .plan__title { color: var(--ink-3); }
.plan__toggle { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: .85rem; font-weight: 600; transition: border-color .2s, background .2s; }
.plan__toggle:hover { border-color: var(--ink-3); }
.plan__check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.plan__toggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan__toggle[aria-pressed="true"] .plan__check { background: var(--orange); border-color: var(--orange); color: #fff; }
.plan__status { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ok); }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.doc__ic { position: relative; display: grid; place-items: center; width: 54px; height: 62px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-ink); flex: none; }
.doc__ic .ic { width: 30px; height: 30px; }
.doc__ic b { position: absolute; bottom: 6px; font-size: .6rem; letter-spacing: .06em; }
.doc__body { flex: 1; min-width: 0; }
.doc__body p { font-size: .82rem; color: var(--ink-3); margin-top: 2px; }

/* ---------- FAQ ---------- */
.split--faq { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; }
.split--faq .block__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.08rem, 1.4vw, 1.25rem); font-weight: 500; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(180deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__a { padding: 0 52px 24px 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; animation: fade .4s var(--ease) both; }

/* ---------- Demo / formulario ---------- */
.demo { background: var(--bg-2); }
.demo__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.demo__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.demo__after { display: grid; gap: 10px; margin-bottom: 28px; }
.demo__after li { display: flex; gap: 14px; align-items: baseline; font-size: 1rem; color: var(--ink-2); }
.demo__after span { font-family: var(--display); font-weight: 600; color: var(--orange-ink); font-size: .85rem; }
.host { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.host__img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.host__name { font-family: var(--display); font-weight: 600; }
.host__role { font-size: .88rem; color: var(--ink-3); }
.demo__card { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.steps { display: flex; gap: 8px; margin-bottom: 26px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-3); transition: border-color .3s, color .3s; }
.steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); font-size: .75rem; transition: background .3s, color .3s; }
.steps li.is-on, .steps li.is-done { border-top-color: var(--orange); color: var(--ink); }
.steps li.is-on span, .steps li.is-done span { background: var(--orange); color: #fff; }
.step { display: grid; gap: 18px; border: 0; padding: 0; margin: 0; min-width: 0; animation: fade .4s var(--ease) both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip-check span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font-size: .9rem; transition: border-color .2s, background .2s, color .2s; }
.chip-check input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-ink); font-weight: 600; }
.chip-check input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.other-input { margin-top: 8px; max-width: 320px; }
.kpi-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kpi-pick { position: relative; }
.kpi-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.kpi-pick span { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-size: .9rem; font-weight: 500; transition: border-color .2s, background .2s; }
.kpi-pick .ic { color: var(--ink-3); width: 20px; height: 20px; }
.kpi-pick input:checked + span { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); }
.kpi-pick input:checked + span .ic { color: var(--orange-ink); }
.kpi-pick input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.from-calc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #E9F5EE; color: var(--ok); font-size: .85rem; font-weight: 600; width: fit-content; }
.drop { display: grid; gap: 10px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--bg); transition: border-color .2s, background .2s; }
.drop.is-over { border-color: var(--orange); background: var(--orange-soft); }
.drop__btn { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .9rem; cursor: pointer; }
.drop__hint { font-size: .85rem; color: var(--ink-3); }
.drop__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.drop__list:empty { display: none; }
.drop__list li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.drop__list img { width: 100%; height: 100%; object-fit: cover; }
.drop__list button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(26, 22, 21, .8); color: #fff; }
.drop__list button .ic { width: 14px; height: 14px; }
.consent-check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.consent-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.consent-check a { color: var(--orange-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-nav [data-step-next], .form-nav [data-submit] { margin-left: auto; }
.form-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .8rem; color: var(--ink-3); }
.form-msg { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: #8E2A1F; font-size: .9rem; font-weight: 500; }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 10px 0; animation: fade .5s var(--ease) both; }
.success:focus { outline: none; }
.success__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; }
.success__ic .ic { width: 32px; height: 32px; stroke-width: 2.4; }
.success__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- Cierre ---------- */
.closing { position: relative; padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; color: var(--on-dark); background: var(--dark); border-top: 0 !important; }
.closing__bg { position: absolute; inset: 0; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.closing__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 22, 21, .96) 0%, rgba(26, 22, 21, .8) 45%, rgba(26, 22, 21, .35) 100%); }
.closing__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.closing__title { margin-top: 20px; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.closing__sub { margin-top: 20px; font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--orange); font-weight: 600; letter-spacing: -.02em; }
.contact-card { padding: 28px; border-radius: var(--r-lg); background: rgba(251, 250, 248, .97); color: var(--ink); box-shadow: var(--shadow-lg); }
.contact-card__who { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-card__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.contact-card__name { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.contact-card__role { font-size: .9rem; color: var(--ink-3); }
.contact-card__actions { display: grid; gap: 10px; }
.contact-card__actions .btn { justify-content: flex-start; white-space: normal; text-align: left; }
.contact-card__share { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; border: 0; background: none; font-weight: 600; color: var(--orange-ink); padding: 4px 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); background: var(--bg); }
.site-footer__in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.site-footer__brand p { margin-top: 10px; color: var(--ink-3); font-size: .92rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: .92rem; }
.site-footer__links a, .site-footer__links .link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
.site-footer__links a:hover, .site-footer__links .link-btn:hover { color: var(--ink); text-decoration: underline; }
.site-footer__links .link-btn { text-decoration: none; font-size: .92rem; }
.site-footer__fine { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-3); }
.site-footer__fine p:last-child { max-width: 70ch; }

/* ---------- Capas ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 14px; max-width: 400px; padding: 18px 20px; border-radius: 18px; background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.5; animation: float-in .5s var(--ease-out) both; }
.consent a { color: #FFB892; }
.consent__btns { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn--ghost { --b-fg: var(--on-dark); --b-bd: var(--dark-line); }
.modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: clamp(24px, 4vw, 36px); border: 0; border-radius: var(--r-lg); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.modal::backdrop { background: rgba(26, 22, 21, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.modal__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--orange-soft); color: var(--orange-ink); }
.modal__title { margin-top: 18px; font-family: var(--display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.modal__text { margin-top: 10px; color: var(--ink-2); }
.share-form { display: grid; gap: 18px; margin-top: 22px; }
.share-result { margin-top: 22px; display: grid; gap: 12px; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; font-size: .9rem !important; }
.share-result__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.modal--video { width: min(1000px, calc(100vw - 24px)); padding: 0; background: #000; }
.modal--video .modal__close-form { top: 10px; right: 10px; z-index: 2; }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: rgba(16, 13, 12, .94); display: none; place-items: center; }
.lightbox[open] { display: grid; animation: fade .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.modal__close--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: .9rem; box-shadow: var(--shadow-lg); animation: float-in .3s var(--ease-out); }

/* ---------- Modo presentación ---------- */
.pres-bar { position: fixed; left: 50%; bottom: 18px; z-index: 70; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(26, 22, 21, .9); color: var(--on-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transition: opacity .4s; }
.pres-bar .btn-icon { background: transparent; border-color: transparent; color: var(--on-dark); }
.pres-bar .btn-icon:hover { background: rgba(255, 255, 255, .1); }
.pres-bar__count { min-width: 64px; text-align: center; font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; font-size: .92rem; }
.pres-bar__sep { width: 1px; height: 22px; background: var(--dark-line); margin: 0 4px; }
.pres-bar__exit { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--on-dark); font-weight: 600; font-size: .88rem; }
.pres-bar__exit kbd { font-family: var(--body); font-size: .7rem; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.pres-bar.is-idle { opacity: .15; }
.pres-hint { position: fixed; left: 50%; top: 24px; z-index: 70; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: rgba(26, 22, 21, .88); color: var(--on-dark); font-size: .85rem; animation: float-in .4s var(--ease-out) both; }
html.is-presenting { scroll-snap-type: y proximity; scroll-padding-top: 0; }
html.is-presenting .site-header, html.is-presenting .consent, html.is-presenting .for-you, html.is-presenting .site-footer { display: none !important; }
html.is-presenting [data-slide] { min-height: 100vh; min-height: 100svh; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; }
html.is-presenting [data-slide] > .wrap { width: 100%; }
html.is-presenting .block + .block { border-top-color: transparent; }
html.is-presenting .hero__proof { margin-top: 32px; }
html.is-presenting .reveal-slide { min-height: 100svh; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal--img { transform: translateY(26px) scale(.985); }
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__line > span { transform: none; }
  .scan { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .site-nav__list a { padding: 8px 8px; font-size: .86rem; }
  .site-nav__list li[data-nav-for="faq"] { display: none; }
}
@media (max-width: 1140px) {
  .site-nav__list li[data-nav-for="traditional"] { display: none; }
}
@media (max-width: 1020px) {
  :root { --header-h: 62px; }
  .menu-toggle { display: inline-grid; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; box-shadow: var(--shadow-lg); }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__list li[data-nav-for] { display: block !important; }
  .site-nav__list a { padding: 12px 14px; font-size: 1.02rem; }
  .hero__grid, .ch-divider__grid, .split, .split--media-right, .split--even, .split--faq, .how, .calc, .demo__grid, .closing__in, .impact__grid, .features-layout { grid-template-columns: 1fr; }
  .hero__media { max-width: 640px; }
  .hero__img { aspect-ratio: 16 / 12; }
  .hero__float--a { left: 12px; }
  .hero__float--b { right: 12px; }
  .ch-divider__img { aspect-ratio: 16 / 10; }
  .split__img, .benefits .split__img { aspect-ratio: 16 / 11; }
  .split__img--tall { aspect-ratio: 4 / 4; }
  .how__stage { position: relative; top: 0; order: -1; }
  .calc__out, .demo__intro, .split--faq .block__head, .features-layout__img { position: static; }
  .features-layout__img { max-width: 520px; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .quote { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-grid, .space-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin: 0 auto; }
  .flow__edge { height: 64px; width: 2px; margin: 8px auto 22px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .flow__edge::after { right: auto; top: auto; bottom: -2px; left: -4px; border: 5px solid transparent; border-top-color: var(--ink-3); }
  .flow__pulse { left: -4px; animation-name: travel-y; }
  .flow__edge-label { top: 50%; left: 18px; transform: translateY(-50%); }
  .flow__media { max-width: 240px; }
  @keyframes travel-y { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 10px); opacity: 0; } }
}
@media (max-width: 760px) {
  body { font-size: .98rem; }
  .hide-sm { display: none !important; }
  .brand__by { display: none; }
  .lang-switch { padding: 0 11px; }
  .profile-picker__opts { grid-template-columns: 1fr; }
  .chip { flex-direction: row; align-items: baseline; gap: 8px; }
  .prepared { border-radius: 18px; }
  .hero__proof { grid-template-columns: 1fr; }
  .hero__proof li + li { padding-left: 0; border-left: 0; }
  .hero__proof li { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero__float--b { display: none; }
  .hero__float--a { bottom: 14px; left: 14px; padding: 10px 12px; }
  .hero__float-num { font-size: 1.5rem; }
  .for-you__box { grid-template-columns: 1fr; }
  .for-you__list { grid-template-columns: 1fr; }
  .stat-row, .num-row { grid-template-columns: 1fr; }
  .stat + .stat, .num-row li + li { padding-left: 0; border-left: 0; }
  .stat { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
  .num-row li { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .numbered-grid { grid-template-columns: 1fr 1fr; }
  .numbered-grid li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .numbered-grid li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .partner-row { grid-template-columns: 1fr 1fr; }
  .partner-row li:nth-child(3) { border-left: 0; }
  .partner-row li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .partner-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .person { flex-direction: row; align-items: flex-start; }
  .person__img { width: 60px; height: 60px; }
  .feature-grid--3, .feature-grid--2, .feature-grid--4 { grid-template-columns: 1fr; }
  .feature-grid--3 .feature:not(:nth-child(3n + 1)), .feature-grid--2 .feature:nth-child(even) { padding-left: 0; border-left: 0; }
  .feature { padding: 22px 0; }
  .feature--card { padding: 22px; }
  .tick-grid, .duo, .duo--wide { grid-template-columns: 1fr; }
  .duo--wide .panel:last-child .panel__media { aspect-ratio: 4 / 3; }
  .hz-panel .panel__media { aspect-ratio: 16 / 8; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-grid { grid-template-columns: 1fr; }
  .icon-grid li:nth-child(even) { padding-left: 0; border-left: 0; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .scenario { grid-template-columns: 1fr; }
  .scenario__box { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .scenario__hint { width: 100%; }
  .calc__res--pair { grid-template-columns: 1fr; }
  .kpi-picks { grid-template-columns: 1fr; }
  .drop__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { font-size: 0; gap: 0; }
  .steps li span { font-size: .75rem; }
  .gantt { padding: 12px; }
  .gantt__head { display: none; }
  .gantt__row { grid-template-columns: 1fr; padding: 8px 0; }
  .gantt__label { padding: 8px 4px 4px; }
  .gantt__cell { grid-column: 1 !important; border-left: 0; padding: 4px 0; }
  .gantt__acc { grid-template-columns: 1fr; }
  .gantt__acc .gantt__corner { display: none; }
  .gantt__track { grid-column: 1; margin: 0 20px 18px; }
  .plan__step { grid-template-columns: 40px 1fr; }
  .plan::before { left: 19px; }
  .plan__dot { width: 40px; height: 40px; }
  .plan__toggle, .plan__status { grid-column: 2; justify-self: start; }
  .faq__a { padding-right: 0; }
  .contact-card { padding: 22px; }
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .block__head--row { flex-direction: column; align-items: flex-start; }
  .channel__label { font-size: .98rem; left: 14px; right: 14px; bottom: 12px; }
  .seg { width: 100%; }
  .seg__btn { flex: 1; justify-content: center; padding: 10px 8px; font-size: .82rem; }
  .pres-bar__exit kbd { display: none; }
}

@media print {
  .site-header, .consent, .pres-bar, .toast, .for-you, .demo, .site-footer, dialog { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .block, .ch-divider { padding: 28px 0; break-inside: avoid; }
}

/* ---------- Páginas secundarias ---------- */
.site-header--simple { position: relative; border-bottom: 1px solid var(--line); }
.simple-main { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 48px 0; }
.simple-card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 720px; }
.simple-card--narrow { max-width: 480px; }
.simple-card__mark { width: 64px; height: 40px; color: var(--orange); }
.simple-card__code { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--orange-ink); }
.gate-form { display: grid; gap: 14px; width: 100%; margin-top: 8px; }
.prose { max-width: 760px; padding-top: 24px; padding-bottom: 48px; place-self: start center; }
.prose .h2 { margin: 18px 0 8px; }
.prose .h3 { margin: 30px 0 8px; }
.prose p { color: var(--ink-2); line-height: 1.65; }
