/* ============================================================
   THE 99 — We bring the 99. You bring the 1.
   Manual de marca v1.0: negro / off white / rojo 99 / gris.
   Titulares Anton (web de Impact), cuerpo Inter, copy corto Plex Mono.
   Móvil primero.
   ============================================================ */



:root {
  --black: #080808;
  --black-2: #121211;
  --off: #F4F1EA;
  --red: #FF3B1F;
  --gray: #9A9A9A;

  --on-black: #F4F1EA;
  --on-black-soft: rgba(244, 241, 234, 0.68);
  --on-black-faint: rgba(244, 241, 234, 0.14);
  --on-red: #080808;
  --on-red-soft: rgba(8, 8, 8, 0.74);
  --on-off: #080808;
  --on-off-soft: rgba(8, 8, 8, 0.66);

  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 5vw, 64px);
  --maxw: 1320px;
  --section-y: clamp(72px, 11vw, 150px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --halo: 0 1px 2px rgba(8, 8, 8, 0.7), 0 2px 18px rgba(8, 8, 8, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--black);
  color: var(--on-black);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--red); color: var(--black); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía de marca ---------- */
.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}
.h2 { font-size: clamp(2.6rem, 8.4vw, 6.4rem); }
.h3 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 0.98; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 60ch; }
.red { color: var(--red); }

.sec { padding-block: var(--section-y); position: relative; }
.sec--off { background: var(--off); color: var(--on-off); }
.sec--red { background: var(--red); color: var(--on-red); }
.sec--black2 { background: var(--black-2); }

.sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 72px); }
.sec__head .label { color: var(--on-black-soft); }
.sec--off .sec__head .label, .sec--off .muted { color: var(--on-off-soft); }
.sec--red .sec__head .label, .sec--red .muted { color: var(--on-red-soft); }
.muted { color: var(--on-black-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid currentColor;
  transition: transform 0.1s ease-out, background-color 0.25s var(--ease), color 0.25s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--black); }
.btn--black { background: var(--black); border-color: var(--black); color: var(--off); }
.btn--off { background: var(--off); border-color: var(--off); color: var(--black); }
.btn--line { background: transparent; border-color: var(--off); color: var(--off); }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) {
  .btn--red:hover { background: var(--off); border-color: var(--off); }
  .btn--black:hover { background: transparent; color: var(--black); }
  .btn--off:hover { background: var(--red); border-color: var(--red); }
  .btn--line:hover { background: var(--off); color: var(--black); }
}

/* ---------- Trazos a mano (máximo dos por pieza) ---------- */
.stroke { position: absolute; pointer-events: none; overflow: visible; }
.stroke path {
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
  transition: stroke-dashoffset 1.3s var(--ease) 0.2s;
}
.is-in .stroke path, .stroke.is-in path { stroke-dashoffset: 0; }

/* ---------- Revelado al hacer scroll ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }
.no-js .rv { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav.is-solid { background: rgba(8, 8, 8, 0.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--off);
  text-shadow: var(--halo);
}
.nav__links { display: none; gap: 30px; list-style: none; }
.nav__links a {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-black-soft);
  text-shadow: var(--halo);
  padding: 10px 2px;
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--off); }
.nav__cta { min-height: 42px; padding: 8px 16px; font-size: 0.74rem; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__menu {
  width: 44px; height: 44px;
  display: grid; place-items: center;
}
.nav__menu span, .nav__menu span::before, .nav__menu span::after {
  display: block; width: 22px; height: 2px; background: var(--off); position: relative;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav__menu span::before, .nav__menu span::after { content: ""; position: absolute; left: 0; }
.nav__menu span::before { top: -7px; } .nav__menu span::after { top: 7px; }
.menu-open .nav__menu span { background: transparent; }
.menu-open .nav__menu span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__menu span::after { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: var(--black);
  padding: 96px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.menu-open .drawer { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
.drawer ul { list-style: none; display: grid; gap: 4px; }
.drawer a.display { font-size: clamp(3rem, 15vw, 5rem); text-decoration: none; display: block; padding: 4px 0; }
.drawer a.display:active { color: var(--red); }
.drawer__foot { display: grid; gap: 12px; }

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__menu { display: none; }
}

/* ============================================================
   HERO · SCROLL FILM
   ============================================================ */
.film { position: relative; height: 420vh; height: 420svh; background: var(--black); }
@media (orientation: landscape) { .film { height: 560vh; } }
.film__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--black) url("../assets/film/poster-m.webp") center / cover no-repeat;
}
@media (orientation: landscape) { .film__stage { background-image: url("../assets/film/poster-d.webp"); } }
#film {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: pan-y; -webkit-user-drag: none; user-select: none;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.film-ready #film { opacity: 1; }
.film__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ov {
  position: absolute; inset: 0;
  display: flex;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
  text-shadow: var(--halo);
}
.ov.on { opacity: 1; visibility: visible; transition: opacity 0.8s var(--ease); }
.ov .ov__in { transform: translateY(24px); transition: transform 1s var(--ease); }
.ov.on .ov__in { transform: none; }

/* Hero: arriba (sobre la zona oscura del techo) */
.ov--hero { align-items: flex-start; justify-content: center; text-align: center; padding-top: clamp(92px, 13svh, 140px); }
.ov--hero .label { color: var(--on-black-soft); }
.hero__title { font-size: clamp(3.1rem, 15vw, 6.4rem); margin-top: 12px; }
.hero__title .red { display: block; }

/* Etiquetas de los fundadores sobre el video */
.tag { position: absolute; display: grid; gap: 2px; text-align: left; max-width: 42%; }
.tag__name { font-family: var(--display); font-size: clamp(1.3rem, 5.6vw, 2rem); line-height: 1; text-transform: uppercase; }
.tag__role { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-black-soft); }
.tag::before { content: ""; width: 26px; height: 3px; background: var(--off); margin-bottom: 6px; }
.tag--d::before { background: var(--red); }
/* Celular: banda oscura entre el piso y las personas (medida por píxeles) */
.tag--n { left: 6%; bottom: 36%; }
.tag--d { right: 6%; bottom: 36%; text-align: right; justify-items: end; }

.cue {
  position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cue .label { font-size: 0.62rem; color: var(--on-black-soft); }
.cue__line { width: 2px; height: 46px; background: var(--on-black-faint); position: relative; overflow: hidden; }
.cue__line::after {
  content: ""; position: absolute; inset: 0; background: var(--red);
  transform: translateY(-100%); animation: cueDrop 1.8s var(--ease) infinite;
}
@keyframes cueDrop { to { transform: translateY(100%); } }

/* Acto 1 (humo): arriba en celular (techo oscuro; el piso refleja luz),
   al centro-izquierda en computadora */
.ov--a1 { align-items: flex-start; justify-content: center; text-align: center; padding-top: 55svh; }
.ov--a1 .ov__in { max-width: 30ch; }
.a1__title { font-size: clamp(2rem, 9vw, 5rem); }
@media (orientation: portrait) { .a1__text { display: none; } }
.a1__title span { display: block; }
.a1__text { margin-top: 14px; font-size: 1rem; color: var(--on-black-soft); }

/* Acto 2: la ecuación */
.ov--a2 { align-items: center; justify-content: center; text-align: center; }
.eq { font-size: clamp(3.6rem, 19vw, 11rem); line-height: 0.9; }
.eq b { font-weight: 400; color: var(--red); }

/* Final: sobre el logo en celular, debajo del logo en computadora */
.ov--final { align-items: flex-start; justify-content: center; text-align: center; padding-top: clamp(84px, 11svh, 120px); }
.final__title { font-size: clamp(1.9rem, 8vw, 3.4rem); }
.final__ctas { display: flex; gap: 10px; justify-content: center; margin-top: 20px; pointer-events: auto; flex-wrap: wrap; }
.ov--final.on .final__ctas { pointer-events: auto; }

@media (orientation: landscape) {
  .ov--hero { padding-top: clamp(84px, 12vh, 130px); }
  .hero__title { font-size: clamp(3rem, 7.4vw, 7.6rem); }
  .hero__title .red { display: inline; }
  .tag--n { left: 18%; bottom: 14%; }
  .tag--d { right: 17%; bottom: 14%; }
  .ov--a1 { align-items: center; justify-content: flex-start; text-align: left; padding-top: 0; }
  .ov--a1 .ov__in { max-width: 40vw; }
  .ov--final { align-items: flex-end; padding-top: 0; padding-bottom: clamp(40px, 9vh, 96px); }
}

.filmbar {
  position: fixed; left: 0; bottom: 0; width: 100%; height: 2px; z-index: 60;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: opacity 0.8s var(--ease); pointer-events: none;
}
.filmbar.done { opacity: 0; }

/* Sin film (reduced motion / sin canvas): hero estático */
.no-film .film { height: auto; }
.no-film .film__stage { position: relative; height: 100svh; }
.no-film #film, .no-film .filmbar, .no-film .ov--a1, .no-film .ov--a2, .no-film .ov--final, .no-film .cue { display: none; }
.no-film .ov--hero { opacity: 1; visibility: visible; }
.no-film .ov--hero .ov__in { transform: none; }

/* ============================================================
   02 · LA IDEA (off white)
   ============================================================ */
.idea__title { max-width: 14ch; }
.idea__grid { display: grid; gap: 40px; }
.equation { display: grid; gap: 28px; margin-top: clamp(44px, 7vw, 90px); }
.eqi { display: grid; gap: 14px; align-items: start; border-top: 2px solid var(--black); padding-top: 18px; }
.eqi__n { font-family: var(--display); font-size: clamp(5rem, 24vw, 8.5rem); line-height: 0.8; position: relative; justify-self: start; }
.eqi__op { font-family: var(--display); color: var(--red); }
.eqi p { max-width: 30ch; color: var(--on-off-soft); padding-top: 4px; }
.eqi strong { display: block; color: var(--on-off); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.eqi--99 .stroke { left: -14%; top: -22%; width: 128%; height: 140%; }
@media (min-width: 900px) {
  .idea__grid { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .equation { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

/* ============================================================
   03 · LOS FUNDADORES — negro (Nicolás) | rojo (Dipiero)
   ============================================================ */
/* Una pantalla, dos lados. Celular: Dipiero arriba, Nicolás abajo (mitad y
   mitad). Tablet y computadora: Nicolás izquierda, Dipiero derecha. */
.duo { height: 100vh; height: 100svh; min-height: 520px; max-height: 1100px; }
.duo__grid { display: grid; grid-template-rows: 1fr 1fr; height: 100%; }
.tile2--d { order: -1; }
@media (min-width: 700px), (orientation: landscape) {
  .duo__grid { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .tile2--d { order: 0; }
}
.tile2 {
  position: relative; overflow: hidden; isolation: isolate; display: block; width: 100%; height: 100%;
  text-align: left; cursor: pointer; padding: 0;
}
.tile2--n { background: var(--black); color: var(--on-black); }
.tile2--d { background: var(--red); color: var(--on-red); }
.tile2 img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: grayscale(1) contrast(1.15);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.tile2::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tile2--n::after { background: linear-gradient(to top, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0) 55%), linear-gradient(to bottom, rgba(8, 8, 8, 0.75), rgba(8, 8, 8, 0) 32%); }
.tile2--d::after { background: linear-gradient(to top, rgba(255, 59, 31, 0.95), rgba(255, 59, 31, 0) 55%), linear-gradient(to bottom, rgba(255, 59, 31, 0.85), rgba(255, 59, 31, 0) 32%); }
.tile2__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 10px; padding: 16px var(--gutter); }
@media (min-width: 700px) and (max-width: 1099px) { .tile2__top span:last-child { display: none; } }
@media (max-width: 699px) and (orientation: portrait) { .tile2--d .tile2__top span:last-child { display: none; } }
.tile2--n .tile2__top { color: var(--on-black-soft); }
.tile2--d .tile2__top { color: var(--on-red-soft); }
.tile2__bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 var(--gutter) clamp(16px, 3svh, 32px); }
.tile2__name { font-size: clamp(3rem, min(15vw, 11svh), 8.5rem); line-height: 0.85; }
.tile2__cta {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 2px solid currentColor; transition: background-color 0.25s, color 0.25s;
}
.tile2__cta svg { width: 16px; height: 16px; }
.tile2:active img { transform: scale(1.02); }
@media (hover: hover) {
  .tile2:hover img { transform: scale(1.04); filter: grayscale(0.2) contrast(1.05); }
  .tile2--n:hover .tile2__cta { background: var(--off); color: var(--black); }
  .tile2--d:hover .tile2__cta { background: var(--black); color: var(--off); }
}
@media (min-width: 700px), (orientation: landscape) {
  .tile2__name { font-size: clamp(3.4rem, min(10vw, 16svh), 9rem); }
  .tile2__bottom { flex-direction: column; align-items: flex-start; }
}

/* Pop-up del perfil a pantalla completa */
.fm { position: fixed; inset: 0; z-index: 85; overflow: hidden; opacity: 0; transform: scale(0.94); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.fm.is-on { opacity: 1; transform: none; }
.fm--n { background: var(--black); color: var(--on-black); }
.fm--d { background: var(--red); color: var(--on-red); }
.fm__media { position: absolute; inset: -5%; }
.fm__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(1) blur(0px); transform: scale(1);
  transition: filter 0.8s var(--ease), transform 1s var(--ease);
}
.fm.is-on .fm__media img { filter: grayscale(1) contrast(1.1) brightness(0.6) blur(10px); transform: scale(1.08); }
.fm__shade { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); }
.fm--n .fm__shade { background: rgba(8, 8, 8, 0.6); }
.fm--d .fm__shade { background: rgba(255, 59, 31, 0.7); }
.fm.is-on .fm__shade { opacity: 1; }
.fm__close {
  position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 2;
  width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid currentColor;
}
.fm__close svg { width: 24px; height: 24px; }
.fm__close:active { transform: scale(0.94); }
.fm__body {
  position: absolute; inset: 0; z-index: 1; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  padding: 84px var(--gutter) max(28px, env(safe-area-inset-bottom));
  max-width: 900px;
}
.fm__side { margin-top: auto; opacity: 0.75; margin-bottom: 8px; }
.fm__name { font-size: clamp(3.6rem, 17vw, 9rem); line-height: 0.86; }
.fm__content { margin-top: 14px; }
.fm__body > *, .fm__content > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.fm.is-on .fm__body > *, .fm.is-on .fm__content > * { opacity: 1; transform: none; }
.fm.is-on .fm__side { opacity: 0.75; }
.fm.is-on .fm__name { transition-delay: 0.1s; }
.fm.is-on .fm__content { transition-delay: 0.16s; }
.fm.is-on .fm__content > :nth-child(2) { transition-delay: 0.22s; }
.fm.is-on .fm__content > :nth-child(3) { transition-delay: 0.28s; }
.fm.is-on .fm__content > :nth-child(4) { transition-delay: 0.34s; }
.fm__role { margin-bottom: 10px; }
.fm__text { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; max-width: 52ch; }
.fm--n .fm__role, .fm--n .fm__text { color: var(--on-black-soft); }
.fm--d .fm__role, .fm--d .fm__text { color: var(--on-red-soft); }
.fm .stats { margin: 22px 0 24px; }
.fm .stat__v { font-size: clamp(1.6rem, 5.5vw, 2.6rem); }
.fm .stat__l { font-size: 0.8rem; }
/* Bloques extra del perfil */
.fm__grid { display: grid; gap: 28px; margin: 6px 0 28px; }
.fm__block { border-top: 2px solid currentColor; padding-top: 14px; }
.fm__h { margin-bottom: 12px; }
.fm__path { list-style: none; display: grid; gap: 12px; counter-reset: p; }
.fm__path li { position: relative; padding-left: 26px; display: grid; gap: 2px; }
.fm__path li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; background: currentColor; }
.fm__path li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: -14px; width: 2px; background: currentColor; opacity: 0.35; }
.fm__path b { font-weight: 700; }
.fm__path span, .fm__list li { font-size: 0.92rem; line-height: 1.5; }
.fm--d .fm__path span, .fm--d .fm__list li { color: var(--on-red-soft); }
.fm--d .fm__list b { color: var(--on-red); }
.fm__list { list-style: none; display: grid; gap: 10px; }
.fm__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fm__tags span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; padding: 6px 10px; border: 1px solid currentColor; }
.fm__awards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm__awards div { display: grid; gap: 4px; }
.fm__awards b { font-size: clamp(3rem, 9vw, 4.6rem); line-height: 0.9; font-weight: 400; }
.fm__awards span { font-size: 0.88rem; line-height: 1.4; }
.fm--d .fm__awards span { color: var(--on-red-soft); }
.fm__quote { font-family: var(--display); font-size: clamp(1.5rem, 4.4vw, 2.4rem); line-height: 1.05; text-transform: uppercase; max-width: 26ch; margin-bottom: 22px; }
@media (min-width: 900px) {
  .fm__body { max-width: 1180px; }
  .fm__grid { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { border-top: 2px solid currentColor; padding-top: 10px; }
.stat__v { font-family: var(--display); line-height: 1; }
.stat__l { line-height: 1.4; margin-top: 6px; }
.fm--n .stat__l { color: var(--on-black-soft); }
.fm--d .stat__l { color: var(--on-red-soft); }
.stats--4 { grid-template-columns: repeat(2, 1fr); gap: 12px 14px; }
@media (min-width: 1000px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .fm__body { padding-left: clamp(40px, 7vw, 120px); padding-bottom: clamp(40px, 8svh, 90px); } }
@media (prefers-reduced-motion: reduce) {
  .fm, .fm__media img, .fm__shade, .fm__body > *, .fm__content > * { transition: none; }
}

/* ============================================================
   MARCAS (cinta de logos)
   ============================================================ */
.brands { padding-block: clamp(44px, 6vw, 72px); border-block: 1px solid var(--on-black-faint); overflow: hidden; }
.brands__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 26px; flex-wrap: wrap; }
.brands__head .label { color: var(--on-black-soft); }
.marquee { display: flex; width: max-content; gap: 12px; animation: marquee 70s linear infinite; will-change: transform; }
.brands.is-off .marquee { animation-play-state: paused; }
.marquee--rev { animation-direction: reverse; margin-top: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo { position: relative; flex: none; width: 140px; height: 80px; overflow: hidden; background: var(--off); }
.logo img {
  position: absolute; inset: 10px 14px; width: calc(100% - 28px); height: calc(100% - 20px);
  object-fit: contain; object-position: center;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.logo img.is-ld { opacity: 1; }
@media (min-width: 768px) { .logo { width: 168px; height: 92px; } .logo img { inset: 12px 18px; width: calc(100% - 36px); height: calc(100% - 24px); } }
/* ============================================================
   LADO ROJO · PUBLICIDAD (Dipiero)
   ============================================================ */
.pub__head { display: grid; gap: 22px; }
.who {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.who::before { content: ""; width: 12px; height: 12px; background: currentColor; }
.who--d::before { background: var(--red); }
.sec--red .who--d::before { background: var(--black); }

.glance { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.92rem; }
.glance-wrap { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; }
.glance th { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; padding: 10px 14px 10px 0; color: var(--on-red-soft); white-space: nowrap; border-bottom: 2px solid var(--black); }
.glance td { padding: 14px 14px 14px 0; border-bottom: 1px solid rgba(8, 8, 8, 0.22); white-space: nowrap; }
.glance td:first-child { font-weight: 700; }
.glance td.num { font-family: var(--display); font-size: 1.35rem; }
/* Móvil: cada negocio como fila apilada, el costo bien visible */
@media (max-width: 699px) {
  .glance-wrap { overflow: visible; margin: 0; padding: 0; }
  .glance thead { display: none; }
  .glance tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid rgba(8, 8, 8, 0.22); }
  .glance td { padding: 0; border: 0; white-space: normal; }
  .glance td:nth-child(1) { grid-column: 1; }
  .glance td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 0.82rem; color: var(--on-red-soft); }
  .glance td:nth-child(3) { grid-column: 1; grid-row: 3; font-size: 0.82rem; color: var(--on-red-soft); }
  .glance td.num { grid-column: 2; grid-row: 1 / span 2; font-size: 1.9rem; text-align: right; line-height: 1; }
  .glance td:nth-child(5) { grid-column: 2; grid-row: 3; text-align: right; font-size: 0.82rem; font-weight: 600; }
  .glance td.num::after { content: "por conversación"; display: block; font-family: var(--body); font-size: 0.68rem; color: var(--on-red-soft); margin-top: 2px; }
}

.method { display: grid; gap: 0; margin-top: clamp(40px, 6vw, 70px); counter-reset: m; }
.method__i { border-top: 2px solid currentColor; padding: 16px 0 22px; display: grid; grid-template-columns: 52px 1fr; gap: 6px 12px; }
.method__i::before { counter-increment: m; content: "0" counter(m); font-family: var(--display); font-size: 1.9rem; line-height: 1; grid-row: span 2; }
.method__i h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; }
.method__i p { font-size: 0.95rem; }
.sec--red .method__i p { color: var(--on-red-soft); }
.sec--black2 .method__i p, .sec .method--b .method__i p { color: var(--on-black-soft); }
.method__note { margin-top: 18px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (min-width: 900px) {
  .method { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .method__i { grid-template-columns: 1fr; }
  .method__i::before { grid-row: auto; margin-bottom: 10px; }
}

/* Tarjetas de casos */
.cases { background: var(--black); padding-block: var(--section-y); }
.cases__bar { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 28px) / 3); } }
.rail__nav { display: flex; gap: 8px; }
.rail__btn { width: 48px; height: 48px; border: 2px solid var(--on-black-faint); display: grid; place-items: center; transition: border-color 0.2s, background-color 0.2s; }
.rail__btn:hover { border-color: var(--off); }
.rail__btn:active { transform: scale(0.95); }
.rail__btn svg { width: 20px; height: 20px; }

.case {
  background: var(--black-2); border: 1px solid var(--on-black-faint);
  padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 100%;
}
.case__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.case__rubro { color: var(--on-black-soft); }
.case__name { font-family: var(--display); font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.case__headline { font-weight: 600; line-height: 1.4; }
.case__sum { font-size: 0.92rem; color: var(--on-black-soft); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.kpi { border-top: 2px solid var(--red); padding-top: 8px; }
.kpi__v { font-family: var(--display); font-size: clamp(1.45rem, 5.4vw, 1.9rem); line-height: 1; color: var(--off); }
.kpi__l { font-size: 0.74rem; line-height: 1.35; color: var(--on-black-soft); margin-top: 4px; }
.case__proof { align-self: flex-start; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; color: var(--off); }

/* Caso ancla: Mi Mejor Ola en fases */
.anchor { margin-top: clamp(48px, 7vw, 88px); border: 1px solid var(--on-black-faint); }
.anchor__head { padding: 24px; display: grid; gap: 10px; border-bottom: 1px solid var(--on-black-faint); }
.anchor__tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--on-black-faint); }
.anchor__tabs::-webkit-scrollbar { display: none; }
.anchor__tab {
  flex: none; padding: 14px 18px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-black-soft); border-bottom: 3px solid transparent; min-height: 48px;
}
.anchor__tab[aria-selected="true"] { color: var(--off); border-bottom-color: var(--red); }
.anchor__panel { padding: 24px; display: grid; gap: 18px; }
.anchor__panel[hidden] { display: none; }
.anchor__panel .kpis { margin-top: 0; }
.anchor__note { font-weight: 600; }
@media (min-width: 900px) {
  .anchor__panel { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .anchor__panel .anchor__shot { grid-row: span 3; grid-column: 2; }
}
.anchor__shot { border: 1px solid var(--on-black-faint); background: var(--black-2); cursor: zoom-in; }
.anchor__shot img { width: 100%; }

.disclaimer { margin-top: 26px; font-size: 0.8rem; color: var(--on-black-soft); max-width: 70ch; }

/* ============================================================
   LADO NEGRO · ORGÁNICO (Nicolás)
   ============================================================ */
.org__cases { display: grid; gap: 0; margin-top: 8px; }
.oc { border-top: 2px solid var(--on-black-faint); padding: 26px 0; display: grid; gap: 14px; }
.oc__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.oc__name { font-family: var(--display); font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1; text-transform: uppercase; }
.oc__desc { color: var(--on-black-soft); max-width: 56ch; }
.oc__nums { display: flex; gap: clamp(18px, 4vw, 48px); flex-wrap: wrap; }
.oc__num b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 10vw, 4.4rem); line-height: 0.95; color: var(--red); }
.oc__num span { font-size: 0.82rem; color: var(--on-black-soft); }
.oc__punch { font-weight: 600; }
.oc__link { justify-self: start; }
@media (min-width: 900px) {
  .oc { grid-template-columns: 1fr 1.2fr; gap: 20px 48px; align-items: start; }
  .oc__top, .oc__desc, .oc__punch, .oc__link { grid-column: 1; }
  .oc__nums { grid-column: 2; grid-row: 1 / span 4; justify-content: flex-end; }
}
.russia { display: grid; gap: 22px; margin-top: clamp(48px, 7vw, 90px); padding: clamp(24px, 4vw, 44px); background: var(--off); color: var(--on-off); }
.russia p { color: var(--on-off-soft); max-width: 62ch; }
@media (min-width: 900px) { .russia { grid-template-columns: 1fr 1.3fr; align-items: center; } }

/* ============================================================
   TRABAJO · muro de videos
   ============================================================ */
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 22px; padding: 2px var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 8px 14px; border: 1px solid var(--on-black-faint);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-black-soft); border-radius: 999px; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip[aria-pressed="true"] { background: var(--off); color: var(--black); border-color: var(--off); }
.chip small { opacity: 0.6; margin-left: 4px; }
.wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .wall { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 1100px) { .wall { grid-template-columns: repeat(5, 1fr); } }
.tile {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--black-2);
  cursor: pointer; text-align: left; width: 100%;
}
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile video { opacity: 0; transition: opacity 0.4s var(--ease); }
.tile.is-playing video { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 8, 0.82), transparent 42%); pointer-events: none; }
.tile__meta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: grid; gap: 2px; }
.tile__client { font-family: var(--display); font-size: 1.15rem; line-height: 1.05; text-transform: uppercase; }
.tile__dur { font-family: var(--mono); font-size: 0.66rem; color: var(--on-black-soft); }
.tile__play {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px;
  display: grid; place-items: center; background: var(--red); color: var(--black);
}
.tile__play svg { width: 14px; height: 14px; }
.tile:active { transform: scale(0.98); }
.wall__more { display: flex; justify-content: center; margin-top: 28px; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testi { display: grid; gap: 28px; }
.testi__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.testi__step { display: grid; gap: 10px; }
.testi__step .label { color: var(--on-off-soft); }
.vcard { position: relative; aspect-ratio: 9 / 16; background: var(--black); overflow: hidden; width: 100%; cursor: pointer; }
.vcard img { width: 100%; height: 100%; object-fit: cover; }
.vcard__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
  display: grid; place-items: center; background: var(--red); color: var(--black);
  transition: transform 0.2s var(--ease);
}
.vcard:active .vcard__play { transform: translate(-50%, -50%) scale(0.92); }
.vcard__play svg { width: 22px; height: 22px; margin-left: 3px; }
.vcard__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; color: var(--off); background: linear-gradient(to top, rgba(8, 8, 8, 0.85), transparent); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; }
.testi__others { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) {
  .testi { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 48px; }
  .testi__pair, .testi__others { gap: 16px; }
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.svc { display: grid; gap: 0; }
.svc__i { border-top: 2px solid var(--on-black-faint); padding: 24px 0; display: grid; gap: 10px; }
.svc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc__k { font-family: var(--display); font-size: clamp(2.6rem, 9vw, 4.6rem); line-height: 0.95; text-transform: uppercase; }
.svc__lead { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; white-space: nowrap; }
.svc__lead--d { background: var(--red); color: var(--black); }
.svc__lead--n { background: var(--off); color: var(--black); }
.svc__lead--x { border: 1px solid var(--on-black-faint); color: var(--on-black-soft); }
.svc__i ul { list-style: none; display: grid; gap: 6px; color: var(--on-black-soft); }
.svc__i li { padding-left: 18px; position: relative; }
.svc__i li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--red); }
@media (min-width: 900px) {
  .svc { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}

/* Webs demo */
.webs { margin-top: clamp(56px, 8vw, 100px); }
.webs__tabs, .webs__views { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.webs__tabs::-webkit-scrollbar, .webs__views::-webkit-scrollbar { display: none; }
.webs__views { margin-top: 10px; }
.webs__stage { display: grid; gap: 22px; margin-top: 20px; }
.screen { background: var(--black-2); border: 1px solid var(--on-black-faint); display: grid; place-items: center; padding: 12px; min-height: 240px; }
.screen video { max-height: 70svh; width: auto; max-width: 100%; }
.screen--mobile video { max-height: 64svh; }
.webs__info ul { list-style: none; display: grid; gap: 6px; color: var(--on-black-soft); margin-top: 12px; }
.webs__info li { padding-left: 18px; position: relative; }
.webs__info li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--red); }
.webs__note { font-size: 0.8rem; color: var(--on-black-soft); margin-top: 12px; }
@media (min-width: 900px) { .webs__stage { grid-template-columns: 1.6fr 1fr; align-items: start; } }

/* ============================================================
   PROCESO + FAQ
   ============================================================ */
.steps { list-style: none; display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; padding: 20px 0; border-top: 2px solid var(--black); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 2.4rem; line-height: 1; grid-row: span 2; color: var(--red); }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--on-off-soft); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: 8px; }
}
.faq { display: grid; margin-top: clamp(48px, 7vw, 90px); }
.faq details { border-top: 1px solid rgba(8, 8, 8, 0.2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.8rem; color: var(--red); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--on-off-soft); max-width: 64ch; }

/* ============================================================
   CONTACTO
   ============================================================ */
.talk { display: grid; }
.talk__head { padding: var(--section-y) var(--gutter) 40px; text-align: center; }
.talk__head > .label { margin-bottom: 18px; }
.talk__title { font-size: clamp(4rem, 20vw, 13rem); }
.talk__title .stroke-wrap { position: relative; display: inline-block; }
.talk__title .stroke { left: -8%; top: -10%; width: 116%; height: 125%; }
.talk__sub { margin: 18px auto 0; max-width: 46ch; color: var(--on-black-soft); }
.talk__note { margin-top: 14px; color: var(--red); }

/* Agenda: previa + Calendly */
.book { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter) var(--section-y); }
.book__steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
.book__steps li { border-top: 3px solid var(--on-black-faint); padding-top: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-black-soft); transition: border-color 0.3s, color 0.3s; }
.book__steps li.is-on { border-color: var(--red); color: var(--off); }
.book__steps span { color: var(--red); margin-right: 6px; }
.book__form { display: grid; gap: 26px; }
.book__need { border: 0; }
.book__q { font-family: var(--display); font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1; text-transform: uppercase; margin-bottom: 14px; }
.book__q small { display: block; font-family: var(--body); font-size: 0.85rem; text-transform: none; color: var(--on-black-soft); margin-top: 6px; }
.need { display: flex; flex-wrap: wrap; gap: 8px; }
.need label { position: relative; cursor: pointer; }
.need input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.need span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--on-black-faint); border-radius: 999px; font-size: 0.92rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.need input:checked + span { background: var(--red); border-color: var(--red); color: var(--black); font-weight: 600; }
.need input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.need label:active span { transform: scale(0.97); }
.book__grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-black-soft); }
.field small { text-transform: none; letter-spacing: 0; opacity: 0.8; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--off); background: var(--black-2);
  border: 1px solid var(--on-black-faint); border-radius: 0; padding: 14px; min-height: 52px;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--off); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.book__err { font-style: normal; font-size: 0.82rem; color: var(--red); }
.book__go { justify-self: start; width: 100%; }
.book__legal { font-size: 0.78rem; color: var(--on-black-soft); }
.book__cal { display: grid; gap: 14px; }
.book__recap { border-left: 3px solid var(--red); padding: 4px 0 4px 14px; }
.book__frame { background: var(--black-2); border: 1px solid var(--on-black-faint); }
.book__frame iframe { display: block; width: 100%; height: 1050px; border: 0; }
.book__back { justify-self: start; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-black-soft); padding: 12px 0; }
.book__done { display: grid; gap: 14px; padding: 30px 0; outline: none; }
@media (min-width: 700px) {
  .book__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .book__go { width: auto; }
  .book__frame iframe { height: 760px; }
}
/* ============================================================
   FOOTER
   ============================================================ */
.foot { padding: clamp(56px, 8vw, 96px) var(--gutter) calc(96px + env(safe-area-inset-bottom)); background: var(--black); border-top: 1px solid var(--on-black-faint); }
.foot__big { font-family: var(--display); font-size: clamp(5rem, 30vw, 22rem); line-height: 0.8; text-transform: uppercase; letter-spacing: -0.01em; }
.foot__grid { display: grid; gap: 28px; margin-top: 40px; }
.foot__grid h3 { margin-bottom: 10px; color: var(--on-black-soft); }
.foot__grid ul { list-style: none; display: grid; gap: 6px; }
.foot__grid a { text-decoration: none; color: var(--on-black-soft); padding: 4px 0; display: inline-block; }
.foot__grid a:hover { color: var(--off); }
.foot__copy { margin-top: 40px; font-size: 0.78rem; color: var(--on-black-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 2fr repeat(4, 1fr); } }

/* ============================================================
   BOTÓN FLOTANTE · AGENDAR
   ============================================================ */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  height: 56px; padding: 0 20px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--black);
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); text-decoration: none;
  transform: translateY(140%); transition: transform 0.45s var(--ease);
}
.fab.is-on { transform: none; }
.fab:active { transform: scale(0.96); }
.fab svg { width: 22px; height: 22px; }

/* ============================================================
   LIGHTBOX (video / captura)
   ============================================================ */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(8, 8, 8, 0.96); display: none; }
.lb.is-open { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); gap: 12px; }
.lb__title { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__close, .lb__nav { width: 48px; height: 48px; display: grid; place-items: center; flex: none; }
.lb__close svg, .lb__nav svg { width: 24px; height: 24px; }
.lb__body { display: grid; place-items: center; min-height: 0; padding: 0 8px; touch-action: pan-y; }
.lb__body { overflow: hidden; }
.lb__body video, .lb__body img { display: block; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; background: #000; }
.lb--single .lb__foot { visibility: hidden; height: 12px; padding: 0; }
.lb__foot { display: flex; justify-content: center; gap: 20px; padding: 8px 0 max(12px, env(safe-area-inset-bottom)); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .marquee--rev { display: none; }
  .cue__line::after { animation: none; }
  .stroke path { transition: none; stroke-dashoffset: 0; }
  .ov, .ov .ov__in { transition: none !important; }
}

/* Portafolio por marca */
.chip--d[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--black); }
.chip--n[aria-pressed="true"] { background: var(--off); border-color: var(--off); color: var(--black); }
.tile__count {
  position: absolute; top: 10px; left: 10px; z-index: 1; padding: 5px 8px;
  font-family: var(--mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(8, 8, 8, 0.72); color: var(--off);
}
.tile__owner { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; padding: 3px 6px; justify-self: start; }
.tile--d .tile__owner { background: var(--red); color: var(--black); }
.tile--n .tile__owner { background: var(--off); color: var(--black); }
.tile video { z-index: 0; }
.tile img { z-index: 0; }
.tile::after { z-index: 0; }
.tile__meta, .tile__count { z-index: 1; }

/* Webs: laptop + teléfono a la vez */
.devices { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; padding-bottom: 8px; }
.dev { position: relative; }
.dev__screen { position: relative; overflow: hidden; background: #000; }
.dev__screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dev--laptop .dev__screen { aspect-ratio: 16 / 10; border: 10px solid #1d1d1c; border-bottom-width: 14px; border-radius: 10px 10px 0 0; }
.dev--laptop::after { content: ""; display: block; height: 12px; margin: 0 -5%; background: linear-gradient(#3a3a38, #232322); border-radius: 0 0 12px 12px; }
.dev--phone { position: absolute; right: 2%; bottom: -6%; width: 30%; max-width: 230px; }
.dev--phone .dev__screen { aspect-ratio: 9 / 19.5; border: 7px solid #1d1d1c; border-radius: 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }
.dev__label { position: absolute; left: 0; top: calc(100% + 18px); color: var(--on-black-soft); font-size: 0.66rem; }
.dev--phone .dev__label { left: auto; right: 0; top: calc(100% + 8px); }
.webs__stage { margin-top: 28px; gap: 56px; }
@media (min-width: 900px) {
  .webs__stage { grid-template-columns: 1.7fr 1fr; align-items: center; }
  .dev--phone { width: 26%; bottom: -8%; right: -4%; }
}

/* Visor: fila de miniaturas con los demás videos de la marca */
.lb__foot { align-items: center; gap: 6px; padding-inline: 6px; }
.lb__strip { flex: 1; min-width: 0; max-width: 980px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.lb__strip::-webkit-scrollbar { display: none; }
.lb__thumb { position: relative; flex: none; width: 56px; aspect-ratio: 9 / 16; overflow: hidden; background: var(--black-2); opacity: 0.55; outline: 2px solid transparent; outline-offset: -2px; transition: opacity 0.2s, outline-color 0.2s; scroll-snap-align: center; }
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb span { position: absolute; left: 4px; bottom: 3px; font-family: var(--mono); font-size: 0.62rem; font-weight: 600; color: var(--off); text-shadow: 0 1px 3px #000; }
.lb__thumb.is-on { opacity: 1; outline-color: var(--red); }
@media (hover: hover) { .lb__thumb:hover { opacity: 1; } }
@media (min-width: 900px) { .lb__thumb { width: 64px; } }
.lb:not(.lb--single) .lb__body video, .lb:not(.lb--single) .lb__body img { max-height: calc(100vh - 230px); max-height: calc(100svh - 230px); }

/* Visor como pop-up: tarjeta centrada, página detrás oscurecida y desenfocada */
.lb { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); background: none; }
.lb.is-open { display: grid; grid-template-rows: none; grid-template-columns: none; }
.lb__scrim { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: lbFade 0.25s var(--ease); }
.lb__panel {
  position: relative; z-index: 1; width: min(100%, 560px); max-height: 100%;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  background: var(--black-2); border: 1px solid var(--on-black-faint); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: lbIn 0.35s var(--ease);
}
.lb--wide .lb__panel { width: min(100%, 1100px); }
@keyframes lbFade { from { opacity: 0; } }
@keyframes lbIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.lb .lb__bar { padding: 10px 8px 8px 16px; align-items: flex-start; }
.lb__head { min-width: 0; display: grid; gap: 4px; padding-top: 4px; }
.lb .lb__title { font-family: var(--display); font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1; text-transform: uppercase; white-space: normal; overflow: visible; }
.lb__sub { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-black-soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lb__owner { padding: 2px 6px; color: var(--black); }
.lb__owner--d { background: var(--red); }
.lb__owner--n { background: var(--off); }
.lb .lb__body { padding: 0 12px; }
.lb .lb__body video, .lb .lb__body img { max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); }
.lb:not(.lb--single) .lb__body video, .lb:not(.lb--single) .lb__body img { max-height: calc(100vh - 230px); max-height: calc(100svh - 230px); }
.lb .lb__foot { padding: 8px 4px 10px; }
@media (prefers-reduced-motion: reduce) { .lb__scrim, .lb__panel { animation: none; } }

/* ============================================================
   v2 · THE 99 como una sola empresa: sistema, servicios y precios
   ============================================================ */

/* Hero: subtítulo y botones (sobre zonas oscuras del video) */
.hero__sub { margin: 14px auto 0; max-width: 34ch; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.45; color: var(--off); }
.hero__ctas {
  position: absolute; left: 0; right: 0; bottom: max(24px, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 var(--gutter); pointer-events: auto;
}
.ov--hero.on .hero__ctas { pointer-events: auto; }
.ov--hero:not(.on) .hero__ctas { pointer-events: none; }
.hero__ctas .btn { min-height: 50px; }
.a1__title span { display: block; }
@media (orientation: portrait) and (max-width: 420px) { .hero__ctas .btn { flex: 1 1 100%; } }

/* Secciones intro (título sin contenido debajo) */
.sec--intro { padding-bottom: clamp(32px, 5vw, 56px); }

/* 02 · Propuesta */
.valor__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .valor__grid { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 56px; } }
.pillars { list-style: none; display: grid; margin-top: clamp(44px, 7vw, 88px); border-top: 2px solid var(--black); }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; padding: 20px 0; border-bottom: 1px solid rgba(8, 8, 8, 0.16); }
.pillar__n { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--red); padding-top: 8px; grid-row: span 2; }
.pillar__k { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 0.95; }
.pillar p { color: var(--on-off-soft); max-width: 40ch; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(4, 1fr); border-bottom: 0; }
  .pillar { grid-template-columns: 1fr; padding: 22px 22px 26px 0; border-bottom: 0; border-right: 1px solid rgba(8, 8, 8, 0.16); }
  .pillar + .pillar { padding-left: 22px; }
  .pillar:last-child { border-right: 0; }
  .pillar__n { grid-row: auto; padding-top: 0; }
}
.pillars__note { margin-top: 26px; font-weight: 600; }

/* 03 · Sistema */
.flow { list-style: none; display: grid; gap: 0; counter-reset: f; margin-bottom: clamp(40px, 6vw, 64px); position: relative; }
.flow li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; padding: 12px 0; }
.flow li span { grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.72rem; font-weight: 600; background: var(--black-2); border: 1px solid var(--on-black-faint); color: var(--off); position: relative; z-index: 1; }
.flow li:last-child span { background: var(--red); border-color: var(--red); color: var(--black); }
.flow li b { font-weight: 700; }
.flow li em { font-style: normal; font-size: 0.88rem; color: var(--on-black-soft); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 44px; bottom: -12px; width: 2px; background: linear-gradient(var(--red), rgba(255, 59, 31, 0.15)); transform-origin: top; transform: scaleY(0); transition: transform 0.6s var(--ease); }
.flow.is-in li::after { transform: scaleY(1); }
.flow.is-in li:nth-child(2)::after { transition-delay: 0.12s; } .flow.is-in li:nth-child(3)::after { transition-delay: 0.24s; }
.flow.is-in li:nth-child(4)::after { transition-delay: 0.36s; } .flow.is-in li:nth-child(5)::after { transition-delay: 0.48s; }
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .flow li { grid-template-columns: 1fr; gap: 10px; padding: 0; }
  .flow li span { grid-row: auto; }
  .flow li:not(:last-child)::after { left: 40px; right: -14px; top: 15px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--red), rgba(255, 59, 31, 0.15)); transform: scaleX(0); transform-origin: left; }
  .flow.is-in li::after { transform: scaleX(1); }
}

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; font-size: 0.8rem; color: var(--on-black-soft); }
.st { display: inline-flex; align-items: center; gap: 8px; }
.st::before { content: ""; width: 10px; height: 10px; flex: none; }
.st--on::before { background: var(--red); }
.st--dev::before { border: 2px solid var(--red); }
.st--next::before { border: 2px dashed var(--gray); }
i.st { font-style: normal; }
.parts { display: grid; gap: 0; border-top: 1px solid var(--on-black-faint); }
.part { padding: 24px 0; border-bottom: 1px solid var(--on-black-faint); display: grid; gap: 10px; }
.part__k { color: var(--red); }
.part__t { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 0.95; }
.part__list { list-style: none; display: grid; gap: 8px; }
.part__list li { display: flex; align-items: center; gap: 10px; color: var(--on-black-soft); }
@media (min-width: 700px) { .parts { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1100px) { .parts { grid-template-columns: repeat(4, 1fr); } }
.parts__note { margin-top: 16px; font-size: 0.82rem; color: var(--on-black-soft); max-width: 70ch; }
#sistema .webs { margin-top: clamp(64px, 9vw, 110px); }
.cta-row { display: flex; justify-content: center; margin-top: clamp(56px, 8vw, 90px); }

/* 04 · Servicios: composición editorial, no una grilla de tarjetas iguales */
.group-t { margin: clamp(48px, 7vw, 80px) 0 14px; color: var(--on-black-soft); }
.offer { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 34px) 0; border-top: 1px solid var(--on-black-faint); }
.offer__tag { color: var(--red); }
.offer__t { font-size: clamp(2rem, 6vw, 3rem); line-height: 0.95; }
.offer__text { color: var(--on-black-soft); max-width: 58ch; }
.offer__fine { font-size: 0.8rem; color: var(--on-black-soft); max-width: 60ch; }
.offer__list { list-style: none; display: grid; gap: 7px; }
.offer__list li { padding-left: 18px; position: relative; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--red); }
.offer__list--cols { grid-template-columns: 1fr; }
@media (min-width: 560px) { .offer__list--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.offer .btn { justify-self: start; margin-top: 6px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price b { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 9vw, 4.4rem); line-height: 0.9; color: var(--off); }
.price small { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-black-soft); }
.price > small:first-child { flex-basis: 100%; }
.price--q b { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.offer--hero { border: 1px solid var(--on-black-faint); padding: clamp(22px, 4vw, 48px); background: var(--black); }
.offer--hero .offer__price { display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--on-black-faint); padding-top: 22px; }
.offer--hero .price b { font-size: clamp(3.6rem, 12vw, 6.2rem); color: var(--red); }
@media (min-width: 900px) {
  .offer--hero { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .offer--hero .offer__price { border-top: 0; padding-top: 0; border-left: 1px solid var(--on-black-faint); padding-left: 40px; }
}
.offers-2 { display: grid; }
@media (min-width: 900px) { .offers-2 { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.offer--accent { position: relative; }
.offer--accent .price b { color: var(--red); }
.versions { display: flex; gap: 6px; flex-wrap: wrap; }
.versions span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--on-black-faint); }
.versions .versions__main { background: var(--off); color: var(--black); border-color: var(--off); }
.offer--strip { margin-top: clamp(32px, 5vw, 56px); }
.offer--strip .offer__price { display: grid; gap: 12px; }
@media (min-width: 900px) { .offer--strip { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; } }

/* 05 · Planes */
.plans { display: grid; gap: 14px; }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; } }
.plan { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3vw, 30px); background: var(--black-2); border: 1px solid var(--on-black-faint); }
.plan--feat { border-color: var(--red); box-shadow: inset 0 3px 0 var(--red); }
.plan__n { color: var(--red); }
.plan__t { font-size: clamp(1.9rem, 5vw, 2.4rem); line-height: 0.95; }
.plan__for { color: var(--on-black-soft); font-size: 0.95rem; }
.plan__price b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.plan__price b.tbd { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--off); }
.plan__price small { margin-left: 8px; font-family: var(--mono); font-size: 0.7rem; color: var(--on-black-soft); text-transform: uppercase; }
.plan__rows { list-style: none; display: grid; border-top: 1px solid var(--on-black-faint); }
.plan__rows li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--on-black-faint); font-size: 0.88rem; }
.plan__rows span { color: var(--on-black-soft); }
.plan__rows b { text-align: right; font-weight: 600; }
.plan__rows b.tbd { font-weight: 400; color: var(--gray); font-style: italic; }
.plan .btn { margin-top: 6px; }
.plans__note { margin-top: 16px; font-size: 0.82rem; color: var(--on-black-soft); max-width: 70ch; }
.custom { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 2px solid var(--off); }
@media (min-width: 900px) { .custom { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }

/* 06 · Growth Partner */
.partner { display: grid; gap: 40px; }
@media (min-width: 900px) { .partner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.partner__box { border-top: 2px solid var(--black); padding-top: 18px; }
.partner__box .label { color: var(--on-red-soft); }
.partner__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 14px 0 22px; font-weight: 600; }
.partner__list li { padding-left: 16px; position: relative; }
.partner__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--black); }
.partner__fine { font-size: 0.88rem; color: var(--on-red-soft); }
.partner__fine b { color: var(--black); }
#partner .btn--black { justify-self: start; }

/* 07 · Proceso */
.steps__note { margin-top: 18px; font-size: 0.85rem; color: var(--on-off-soft); max-width: 70ch; }

/* 09 · Equipo: un mismo tratamiento para ambos */
.tile2--d, .tile2--n { background: var(--black); color: var(--on-black); }
.tile2--d::after, .tile2--n::after { background: linear-gradient(to top, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0) 55%), linear-gradient(to bottom, rgba(8, 8, 8, 0.75), rgba(8, 8, 8, 0) 32%); }
.tile2--d .tile2__top, .tile2--n .tile2__top { color: var(--on-black-soft); }
.tile2__top span:first-child { color: var(--red); }
.tile2__name { font-size: clamp(2.6rem, min(11vw, 9svh), 6rem); }
.tile2--d:hover .tile2__cta, .tile2--n:hover .tile2__cta { background: var(--off); color: var(--black); }
.duo__grid { gap: 2px; background: var(--black); }
@media (max-width: 699px) and (orientation: portrait) { .tile2--d .tile2__top span:last-child { display: inline; } .tile2__top { flex-direction: column; gap: 4px; } }

/* 10 · Contacto */
.talk__title--long { font-size: clamp(2.8rem, 9vw, 7rem); line-height: 0.92; max-width: 16ch; margin-inline: auto; }
.field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--off); background: var(--black-2);
  border: 1px solid var(--on-black-faint); border-radius: 0; padding: 14px 40px 14px 14px; min-height: 52px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23F4F1EA' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select:focus { outline: none; border-color: var(--off); }
.field select[aria-invalid="true"] { border-color: var(--red); }
.field textarea[aria-invalid="true"] { border-color: var(--red); }
.book__err--form { font-size: 0.9rem; }
.book__legal a { color: var(--off); }
.book__send { display: grid; gap: 18px; outline: none; }
.book__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.book__steps li span { margin-right: 6px; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }
.foot__copy a { color: inherit; }

/* Visor: etiqueta de rubro neutra */
.lb__owner { background: var(--off); color: var(--black); }
.tile__owner { background: rgba(8, 8, 8, 0.72); color: var(--off); }

/* Acceso al portafolio (principal) y subpágina */
.folio-cta__in { display: grid; gap: 24px; }
@media (min-width: 900px) { .folio-cta__in { grid-template-columns: 1fr auto; align-items: end; gap: 48px; } }
.folio-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.page-folio .folio-head { padding-top: clamp(110px, 16vw, 170px); }
.crumb { color: var(--on-black-soft); text-decoration: none; }
.crumb:hover { color: var(--off); }
.nav__links a[aria-current="page"] { color: var(--off); box-shadow: inset 0 -2px 0 var(--red); }

/* ============================================================
   v3 · Páginas: principal (sistema), servicios, casos, portafolio
   ============================================================ */
.page-sub .sub-head, .page-folio .folio-head { padding-top: clamp(110px, 16vw, 170px); }
.sub-head { padding-bottom: clamp(32px, 5vw, 56px); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.brands__link { color: var(--off); text-decoration: none; }
.brands__link:hover { color: var(--red); }

/* Pilares sobre fondo oscuro */
.pillars--dark { border-top-color: var(--off); }
.pillars--dark .pillar { border-color: var(--on-black-faint); }
.pillars--dark .pillar p { color: var(--on-black-soft); }
.sys { margin-top: clamp(64px, 9vw, 110px); }
.sys__head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }

/* Cinta de videos: lenta, sin cortes, abre el portafolio */
.reel-sec { padding-bottom: 0; }
.reel { overflow: hidden; padding: clamp(28px, 4vw, 44px) 0 var(--section-y); }
.reel--tight { padding-bottom: 0; padding-top: clamp(28px, 4vw, 40px); }
.reel__track { display: flex; gap: 10px; width: max-content; animation: marquee 600s linear infinite; will-change: transform; }
.reel.is-off .reel__track { animation-play-state: paused; }
.reel__i { position: relative; flex: none; width: 150px; aspect-ratio: 9 / 16; overflow: hidden; background: var(--black); display: block; color: var(--off); text-decoration: none; }
.reel__i img, .reel__i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__i video { opacity: 0; transition: opacity 0.5s var(--ease); }
.reel__i.is-playing video { opacity: 1; }
.reel__i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 8, 0.75), transparent 40%); }
.reel__n { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; font-family: var(--display); font-size: 0.95rem; line-height: 1.05; text-transform: uppercase; }
.reel__i:hover { outline: 2px solid var(--red); outline-offset: -2px; }
@media (min-width: 768px) { .reel__i { width: 190px; } .reel__n { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .reel { overflow-x: auto; } .reel__track { animation: none; } }

/* Vitrina de 6 videos destacados */
.show { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .show { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1200px) { .show { grid-template-columns: repeat(6, 1fr); } }
.show__i { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--black); cursor: pointer; width: 100%; text-align: left; }
.show__i img, .show__i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show__i video { opacity: 0; transition: opacity 0.6s var(--ease); }
.show__i.is-playing video { opacity: 1; }
.show__i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 8, 0.8), transparent 42%); pointer-events: none; }
.show__meta { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: grid; gap: 2px; }
.show__n { font-family: var(--display); font-size: clamp(1.1rem, 4vw, 1.5rem); line-height: 1; text-transform: uppercase; }
.show__c { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-black-soft); }
.show__i .tile__play { z-index: 1; }
.show__i:active { transform: scale(0.98); }

/* Muestra de casos en la principal */
.cases-sample { display: grid; gap: 36px; }
@media (min-width: 1000px) { .cases-sample { grid-template-columns: 1.5fr 1fr; gap: 56px; } }
.cs__t { color: var(--red); margin-bottom: 10px; }
.glance--dark th { color: var(--on-black-soft); border-bottom-color: var(--off); }
.glance--dark td { border-bottom-color: var(--on-black-faint); }
.glance--dark td.num { color: var(--red); }
@media (max-width: 699px) {
  .glance--dark tr { border-bottom-color: var(--on-black-faint); }
  .glance--dark td:nth-child(2) { color: var(--on-black-soft); }
  .glance--dark td.num { grid-column: 2; grid-row: 1 / span 2; }
  .glance--dark td:nth-child(4) { grid-column: 2; grid-row: 3; text-align: right; font-size: 0.82rem; font-weight: 600; }
  .glance--dark td.num::after { color: var(--on-black-soft); }
}
.org-mini { display: grid; gap: 0; border-top: 1px solid var(--on-black-faint); }
.om { padding: 16px 0; border-bottom: 1px solid var(--on-black-faint); }
.om__n { font-weight: 700; }
.om__v { margin-top: 4px; color: var(--on-black-soft); }
.om__v b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--off); }

/* Formulario: elecciones obligatorias, presupuesto explicado, contador */
.budget { border: 0; display: grid; gap: 12px; }
.budget__why { display: grid; gap: 10px; padding: 18px; background: var(--black-2); border-left: 3px solid var(--red); font-size: 0.92rem; color: var(--on-black-soft); }
.budget__why b { color: var(--off); }
.book__hint { font-size: 0.82rem; color: var(--on-black-soft); }
.book__hint b { color: var(--red); }
.book__hint.is-ok b { color: var(--off); }
.book__next { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--on-black-faint); }
.book__next-t { font-size: 1.05rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.book__form .field--wide { display: grid; gap: 6px; }

/* Videos: sin menú de guardar al mantener presionado (iPhone) */
video { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.show--home { margin-top: clamp(28px, 4vw, 44px); }

/* Vitrina: invita a abrir el portafolio de su rubro */
.show__go { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin-top: 4px; }
.show__meta .show__c { order: -1; }

/* Pop-up: portafolio de una categoría */
.cm { position: fixed; inset: 0; z-index: 78; display: grid; place-items: center; padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); opacity: 0; transition: opacity 0.25s var(--ease); }
.cm.is-on { opacity: 1; }
.cm__scrim { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cm__panel { position: relative; width: min(100%, 1180px); height: min(100%, 900px); min-height: 0; overflow: hidden; display: grid; grid-template-rows: auto auto minmax(0, 1fr); background: var(--black-2); border: 1px solid var(--on-black-faint); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); transform: translateY(14px); transition: transform 0.35s var(--ease); }
.cm.is-on .cm__panel { transform: none; }
.cm__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 8px 6px 18px; }
.cm__k { color: var(--red); }
.cm__t { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 0.95; }
.cm__chips { margin: 0; padding: 4px 18px 12px; flex-wrap: nowrap; }
.cm__body { min-height: 0; overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain; padding: 0 18px 18px; -webkit-overflow-scrolling: touch; }
.cm__wall { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .cm__wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cm__wall { grid-template-columns: repeat(5, 1fr); } }
.cm__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .cm, .cm__panel { transition: none; } }

/* Quiénes somos: presentación como equipo */
.about { display: grid; gap: 32px; margin-top: clamp(32px, 5vw, 56px); }
.about__text { display: grid; gap: 14px; max-width: 64ch; color: var(--on-black-soft); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.65; }
.about__text b { color: var(--off); }
.about__facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; }
.about__facts li { border-top: 2px solid var(--red); padding-top: 10px; display: grid; gap: 4px; }
.about__facts b { font-weight: 400; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1; }
.about__facts span { font-size: 0.85rem; color: var(--on-black-soft); }
.about__hint { margin-top: clamp(32px, 5vw, 48px); color: var(--red); }
@media (min-width: 960px) { .about { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
/* ============================================================
   EMBUDO DE CONVERSIÓN (oct. 2026): landing agenda.html, formulario,
   agenda, consentimiento de medición
   ============================================================ */
/* Formulario: 3 pasos, casilla de privacidad, información de la reunión */
.book__steps--3 { grid-template-columns: repeat(3, 1fr); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.92rem; color: var(--on-black-soft); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.check a { color: var(--off); }
.book__err--form { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--red); }
.book__retry-alt { justify-self: start; font: inherit; color: var(--off); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; min-height: 44px; }
.budget__why a { color: var(--off); }
.book__meet { list-style: none; display: grid; gap: 6px; margin-top: 8px; font-size: 0.92rem; color: var(--on-black-soft); }
.book__meet li { padding-left: 18px; position: relative; }
.book__meet li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 2px; background: var(--red); }
.book__meet b { color: var(--off); font-weight: 600; }
.book__agenda-q { margin-top: 6px; font-size: 0.92rem; color: var(--on-black-soft); }
.book__agenda-q summary { cursor: pointer; color: var(--off); font-weight: 600; padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.book__agenda-q ol { padding-left: 20px; display: grid; gap: 4px; }
.book__fallback { display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--on-black-faint); }
.book__fb-msg { color: var(--off); }
.book__fb-msg a { color: var(--red); }
.book__done { padding: 10px 0 0; }
.lb__cta { color: var(--red); text-decoration: none; font-weight: 600; padding: 6px 0; }
.lb__cta:hover { text-decoration: underline; }

/* Landing para anuncios */
.nav--lp { background: rgba(8, 8, 8, 0.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav__plain { color: var(--on-black-soft); text-decoration: none; padding: 12px 6px; display: none; }
.nav__plain:hover { color: var(--off); }
@media (min-width: 560px) { .nav__plain { display: inline-block; } }
.lp-hero { padding: clamp(104px, 15vw, 170px) 0 clamp(48px, 7vw, 90px); background: var(--black); }
.lp-hero__in { display: grid; gap: 18px; justify-items: start; }
.lp-hero__t { font-size: clamp(2.6rem, 9vw, 6rem); line-height: 0.95; max-width: 15ch; }
.lp-hero__sub { color: var(--on-black-soft); }
.lp-hero__pts { list-style: none; display: grid; gap: 8px; }
.lp-hero__pts li { padding-left: 28px; position: relative; }
.lp-hero__pts li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.lp-price { padding: 12px 16px; border-left: 3px solid var(--red); background: var(--black-2); color: var(--on-black-soft); max-width: 62ch; }
.lp-price b { color: var(--off); }
.lp-hero__ctas { position: static; justify-content: flex-start; margin-top: 6px; padding: 0; }
.lp-hero__by { margin-top: 8px; }
.steps--3 li { border-top-color: var(--black); }
@media (min-width: 900px) { .steps.steps--3 { grid-template-columns: repeat(3, 1fr); } }
.faq--dark { margin-top: 0; }
.faq--dark details { border-top-color: var(--on-black-faint); }
.faq--dark details p { color: var(--on-black-soft); }
.faq--dark a { color: var(--off); }
.foot--lp { padding-top: 32px; }
.foot--lp .foot__copy { margin-top: 0; }

/* Aviso de consentimiento (solo aparece si hay un Meta Pixel configurado) */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; display: grid; gap: 12px; max-width: 560px; margin-inline: auto; padding: 16px; background: var(--black-2); border: 1px solid var(--on-black-faint); color: var(--on-black-soft); font-size: 0.88rem; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.consent a { color: var(--off); }
.consent__btns { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn { min-height: 44px; padding: 8px 16px; font-size: 0.72rem; }

/* Redes de THE 99 en el pie de las páginas internas */
.foot__social { margin-top: 28px; font-size: 0.85rem; color: var(--on-black-soft); }
.foot__social a { color: var(--on-black-soft); text-decoration: none; padding: 6px 0; display: inline-block; }
.foot__social a:hover { color: var(--off); }

/* Casilla opcional de medición publicitaria (Meta) */
.check--opt { font-size: 0.85rem; margin-top: -6px; }
.check--opt b { color: var(--off); }

/* ============================================================
   MEET THE SYSTEM · la propuesta diferencial (bloque protagonista)
   ============================================================ */
.mts { position: relative; margin-block: clamp(56px, 8vw, 110px); padding-block: clamp(64px, 9vw, 130px); overflow: hidden;
  background: radial-gradient(70% 55% at 85% 0%, rgba(255, 59, 31, 0.22), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(255, 59, 31, 0.1), transparent 70%), var(--black-2);
  border-block: 1px solid rgba(255, 59, 31, 0.45); }
.mts::before { content: "SYSTEM"; position: absolute; right: -0.04em; bottom: -0.18em; font-family: var(--display); font-size: clamp(8rem, 30vw, 26rem); line-height: 1; color: rgba(244, 241, 234, 0.03); pointer-events: none; }
.mts .wrap { position: relative; }
.mts__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.mts__k { display: inline-flex; align-items: center; gap: 10px; color: var(--red); }
.mts__k i { width: 10px; height: 10px; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 31, 0.25); animation: mtsPulse 2s ease-in-out infinite; }
@keyframes mtsPulse { 50% { box-shadow: 0 0 0 9px rgba(255, 59, 31, 0); } }
.mts__t { font-size: clamp(4rem, 17vw, 13rem); line-height: 0.85; }
.mts__intro { display: grid; gap: 14px; max-width: 70ch; }
.mts__lead { font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.35; font-weight: 600; }
.mts__lead b { color: var(--red); font-weight: 700; }
@media (min-width: 1000px) { .mts__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; } .mts__head .mts__k { grid-column: 1 / -1; } }

/* Antes / después */
.vs { display: grid; gap: 2px; margin-bottom: clamp(48px, 7vw, 88px); background: var(--on-black-faint); border: 1px solid var(--on-black-faint); }
.vs__col { padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.vs__col ul { list-style: none; display: grid; gap: 12px; }
.vs__col li { position: relative; padding-left: 30px; line-height: 1.45; }
.vs__col li::before { position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; font: 700 0.8rem var(--body); }
.vs__col--before { background: var(--black); color: var(--on-black-soft); }
.vs__col--before .label { color: var(--gray); }
.vs__col--before li::before { content: "✕"; color: var(--gray); }
.vs__col--after { background: var(--red); color: var(--black); }
.vs__col--after .label { color: var(--on-red-soft); }
.vs__col--after li { font-weight: 600; }
.vs__col--after li::before { content: "✓"; background: var(--black); color: var(--red); }
@media (min-width: 800px) { .vs { grid-template-columns: 1fr 1fr; } }

.mts__sub, .res__sub { margin-bottom: 18px; color: var(--on-black-soft); }
.flow--mts li b { font-size: 1.05rem; }
.flow--mts li em { font-size: 0.86rem; line-height: 1.45; }
@media (min-width: 1000px) { .flow--mts li span { width: 40px; height: 40px; } .flow--mts li:not(:last-child)::after { top: 19px; left: 48px; } }

.gains { list-style: none; display: grid; gap: 12px; margin-top: clamp(20px, 3vw, 32px); }
.gains li { display: grid; gap: 6px; padding: 20px; background: var(--black); border: 1px solid var(--on-black-faint); border-top: 3px solid var(--red); }
.gains b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
.gains span { font-size: 0.9rem; color: var(--on-black-soft); }
@media (min-width: 700px) { .gains { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .gains { grid-template-columns: repeat(4, 1fr); } }
/* El sistema explicado fácil: 4 piezas encadenadas */
.easy { list-style: none; display: grid; gap: 14px; counter-reset: e; }
.easy__i { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 22px 22px; background: var(--black); border: 1px solid var(--on-black-faint); }
.easy__n { position: absolute; top: -1px; right: -1px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--red); color: var(--black); font-family: var(--display); font-size: 1.4rem; }
.easy__ic { width: 52px; height: 52px; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.easy__t { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 0.95; text-transform: uppercase; }
.easy__i p { color: var(--on-black-soft); line-height: 1.5; }
.easy__i em { font-style: normal; color: var(--off); font-weight: 600; }
.easy__like { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--on-black-faint); font-size: 0.92rem; }
.easy__like b { color: var(--red); }
/* Flechas entre piezas: hacia abajo en celular, hacia la derecha en computadora */
.easy__i:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -15px; width: 14px; height: 14px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateX(-50%); z-index: 1; }
@media (min-width: 700px) { .easy { grid-template-columns: 1fr 1fr; } .easy__i:not(:last-child)::after { display: none; } }
@media (min-width: 1100px) {
  .easy { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .easy__i:not(:last-child)::after { display: block; left: auto; right: -19px; top: 50%; bottom: auto; transform: translateY(-50%); clip-path: polygon(0 0, 100% 50%, 0 100%); }
}
.easy__loop { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px 20px; border: 2px solid var(--red); background: rgba(255, 59, 31, 0.08); font-size: 1rem; line-height: 1.5; }
.easy__loop svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: loopSpin 6s linear infinite; }
@keyframes loopSpin { to { transform: rotate(360deg); } }
.easy__loop b { color: var(--red); }

/* Ejemplo cotidiano */
.story { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 44px); background: var(--off); color: var(--black); display: grid; gap: 16px; }
.story__k { color: var(--red); }
.story__t { font-size: clamp(2.2rem, 6vw, 4rem); }
.story__steps { list-style: none; display: grid; gap: 10px; counter-reset: s; }
.story__steps li { counter-increment: s; position: relative; padding-left: 44px; min-height: 30px; font-size: 1.02rem; line-height: 1.45; }
.story__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; background: var(--black); color: var(--off); font-family: var(--display); font-size: 1rem; }
.story__steps b { color: var(--red); }
.story__end { font-size: 1.05rem; padding-top: 14px; border-top: 2px solid var(--black); }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.4fr; column-gap: 48px; align-items: start; } .story__k, .story__t { grid-column: 1; } .story__steps { grid-column: 2; grid-row: 1 / span 3; } .story__end { grid-column: 1 / -1; } }

/* Por qué es innovador */
.why { margin-block: clamp(48px, 7vw, 88px) 18px; display: grid; gap: 22px; }
.why__head { display: grid; gap: 14px; max-width: 72ch; }
.why__t { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 0.95; }
.why__t--sm { font-size: clamp(2rem, 5vw, 3.4rem); margin-top: clamp(40px, 6vw, 72px); }
.why__list { list-style: none; display: grid; gap: 2px; background: var(--on-black-faint); border: 1px solid var(--on-black-faint); }
.why__list li { display: grid; gap: 6px; padding: 20px; background: var(--black-2); }
.why__list b { font-size: 1.05rem; color: var(--off); }
.why__list b::before { content: "★ "; color: var(--red); }
.why__list span { color: var(--on-black-soft); font-size: 0.92rem; }
@media (min-width: 700px) { .why__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why__list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .gains:has(li:nth-child(6)) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 699px) {
  .gains:has(li:nth-child(6)) { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gains:has(li:nth-child(6)) li { padding: 14px 12px; }
  .gains:has(li:nth-child(6)) b { font-size: 1.15rem; }
  .gains:has(li:nth-child(6)) span { font-size: 0.82rem; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { .easy__loop svg { animation: none; } }

.mts__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 5vw, 56px); }
.part__why { font-weight: 600; color: var(--off); line-height: 1.4; }

/* Demostración interactiva */
.webs__steps { display: grid; gap: 14px; margin-bottom: 10px; }
@media (min-width: 900px) { .webs__steps { grid-template-columns: auto 1fr; gap: 32px; } }
.webs__step { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--off); }
.webs__step span { width: 22px; height: 22px; display: grid; place-items: center; background: var(--red); color: var(--black); font-weight: 600; }
.webs__steps .chips { margin: 0; }
.webs__fine { font-size: 0.8rem; color: var(--on-black-soft); margin-bottom: 18px; }

/* ============================================================
   RESULTADOS MEDIDOS · sección especial en rojo
   ============================================================ */
.res { background: var(--red); color: var(--black); overflow: hidden; }
.res::before { content: "99"; position: absolute; right: -0.06em; top: -0.12em; font-family: var(--display); font-size: clamp(14rem, 45vw, 40rem); line-height: 0.8; color: rgba(8, 8, 8, 0.07); pointer-events: none; }
.res .wrap { position: relative; }
.res__head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.res__k { color: var(--on-red-soft); }
.res__t { font-size: clamp(3.6rem, 14vw, 11rem); line-height: 0.85; }
.res__t span { color: var(--off); }
.res__lead { font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; max-width: 60ch; }
.res__big { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(8, 8, 8, 0.85); border: 2px solid var(--black); margin-bottom: clamp(44px, 6vw, 72px); }
.res__big li { background: var(--black); color: var(--off); padding: clamp(18px, 2.6vw, 30px); display: grid; gap: 6px; align-content: start; }
.res__big b { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 0.9; color: var(--red); }
.res__big span { font-weight: 600; line-height: 1.3; }
.res__big small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-black-soft); line-height: 1.5; }
@media (min-width: 1000px) { .res__big { grid-template-columns: repeat(4, 1fr); } }
.res .res__sub { color: var(--on-red-soft); }
.res__chain { list-style: none; display: grid; gap: 0; margin-bottom: clamp(44px, 6vw, 72px); border-top: 2px solid var(--black); }
.res__chain li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid rgba(8, 8, 8, 0.25); }
.res__n { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.res__chain b { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 0.95; text-transform: uppercase; }
.res__chain p { color: var(--on-red-soft); max-width: 48ch; }
@media (min-width: 900px) { .res__chain { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } .res__chain li { border-bottom: 0; padding-top: 22px; } }
.res__panel { background: var(--black); color: var(--off); padding: clamp(20px, 3.5vw, 44px); }
.res__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.btn--line-dark { background: transparent; border-color: var(--black); color: var(--black); }
@media (hover: hover) { .btn--line-dark:hover { background: var(--black); color: var(--off); } }
.res .res__fine { color: var(--on-red-soft); margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .mts__k i { animation: none; } }

/* ============================================================
   WHATSAPP FLOTANTE · esquina inferior izquierda (la derecha es "Agendar")
   ============================================================ */
.wa { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 41; display: grid; justify-items: start; gap: 10px; font-family: var(--body); }
body:has(.consent:not([hidden])) .wa, html.menu-open .wa, body:has(.lb.is-open) .wa, body:has(.cm.is-on) .wa, body:has(.fm.is-on) .wa { display: none; }
.wa__btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); transition: transform 0.2s var(--ease); }
.wa__btn svg { width: 32px; height: 32px; }
.wa__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waRing 2.6s ease-out infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.wa.is-open .wa__btn::before { animation: none; opacity: 0; }
.wa__btn:active { transform: scale(0.94); }
@media (hover: hover) { .wa__btn:hover { transform: scale(1.06); } }
.wa__hint { background: var(--off); color: var(--black); padding: 10px 14px; font-size: 0.88rem; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); cursor: pointer; position: relative; animation: waIn 0.35s var(--ease); }
.wa__hint::after { content: ""; position: absolute; left: 22px; bottom: -6px; width: 12px; height: 12px; background: var(--off); transform: rotate(45deg); }
.wa__hint b { color: #128C4A; }
.wa__panel { width: min(340px, calc(100vw - 32px)); background: var(--black-2); color: var(--off); border: 1px solid var(--on-black-faint); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); overflow: hidden; animation: waIn 0.25s var(--ease); }
@keyframes waIn { from { opacity: 0; transform: translateY(10px); } }
.wa__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075E54; color: #fff; }
.wa__head > div { flex: 1; min-width: 0; display: grid; }
.wa__head b { font-size: 0.98rem; }
.wa__head small { font-size: 0.76rem; opacity: 0.9; display: flex; align-items: center; gap: 6px; }
.wa__dot { width: 8px; height: 8px; border-radius: 50%; background: #5cff9a; }
.wa__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--red); font-family: var(--display); font-size: 1.05rem; flex: none; }
.wa__x { width: 34px; height: 34px; color: #fff; font-size: 1rem; opacity: 0.85; }
.wa__body { padding: 16px; display: grid; gap: 12px; background: radial-gradient(80% 60% at 100% 0%, rgba(37, 211, 102, 0.07), transparent 70%), var(--black-2); }
.wa__msg { background: var(--off); color: var(--black); padding: 10px 12px; font-size: 0.9rem; line-height: 1.45; border-radius: 0 12px 12px 12px; justify-self: start; max-width: 92%; }
.wa__opts { display: grid; gap: 6px; }
.wa__opts button { text-align: left; padding: 11px 14px; border: 1px solid rgba(37, 211, 102, 0.45); color: var(--off); font-size: 0.88rem; font-weight: 600; transition: background-color 0.2s, border-color 0.2s; }
.wa__opts button:hover, .wa__opts button:focus-visible { background: rgba(37, 211, 102, 0.12); border-color: #25D366; }
.wa__form { display: flex; gap: 6px; }
.wa__form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--off); background: var(--black); border: 1px solid var(--on-black-faint); padding: 10px 12px; }
.wa__form input:focus { outline: none; border-color: #25D366; }
.wa__form button { width: 44px; flex: none; display: grid; place-items: center; background: #25D366; color: #062b12; }
.wa__form button svg { width: 20px; height: 20px; }
.wa__hours { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-black-soft); }
@media (prefers-reduced-motion: reduce) { .wa__btn::before { animation: none; } .wa__panel, .wa__hint { animation: none; } }

/* ============================================================
   CELULAR · ajustes de lectura y longitud
   - Portada animada más corta (menos scroll para llegar al contenido)
   - Vitrina de videos: texto legible sobre cualquier video
   - "Sistema" y "Planes": carrusel deslizable en vez de una columna larga
   - Pie de página en dos columnas
   ============================================================ */
@media (orientation: portrait) { .film { height: 330vh; height: 330svh; } }

@media (max-width: 699px) {
  .show__i::after { background: linear-gradient(to top, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.6) 32%, transparent 58%); }
  .show__meta { left: 10px; right: 10px; bottom: 10px; }
  .show__gc { display: none; }

  /* Carrusel deslizable: la siguiente tarjeta asoma para invitar a deslizar */
  .parts, .plans {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; border-top: 0;
  }
  .parts::-webkit-scrollbar, .plans::-webkit-scrollbar { display: none; }
  .parts.is-drag, .plans.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
  /* Carrusel centrado: la tarjeta elegida al medio y grande; las vecinas asoman a los costados, más pequeñas */
  .parts, .plans { grid-auto-columns: 74vw; gap: 0; padding-inline: 13vw; scroll-padding-inline: 0; }   /* 13 + 74 + 13 = 100vw: la tarjeta queda al centro */
  .parts > .car-i, .plans > .car-i { scroll-snap-align: center; transform: scale(0.88); opacity: 0.45; transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); transition-delay: 0s; }
  .parts > .car-i.is-cur, .plans > .car-i.is-cur { transform: none; opacity: 1; }
  .parts, .plans { cursor: grab; }
  .car { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 18px; }
  .car__b { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--off); color: var(--off); font-size: 1.6rem; line-height: 1; }
  .car__b:disabled { opacity: 0.25; cursor: default; }
  .car__dots { display: flex; gap: 8px; }
  .car__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--on-black-faint); padding: 0; }
  .car__dots button.is-on { background: var(--red); width: 26px; border-radius: 5px; }
  .part, .plan { scroll-snap-align: start; }
  .part { padding: 20px 18px; border: 1px solid var(--on-black-faint); background: var(--black-2); align-content: start; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-black-soft); }
  .swipe-hint::after { content: ""; width: 28px; height: 2px; background: var(--red); animation: swipeHint 1.6s var(--ease) infinite; }
  @keyframes swipeHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

  /* Pie de página: enlaces en dos columnas */
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-top: 28px; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .foot__grid a { padding: 6px 0; }
  .foot__big { font-size: 34vw; }
  .foot__copy { display: grid; gap: 10px; line-height: 1.9; }

  /* Equipo: etiquetas superiores legibles sobre la foto */
  .tile2--d::after, .tile2--n::after { background: linear-gradient(to top, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0) 55%), linear-gradient(to bottom, rgba(8, 8, 8, 0.85), rgba(8, 8, 8, 0) 40%); }
}
@media (min-width: 700px) { .swipe-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .swipe-hint::after { animation: none; } }

