/* Landings por dolor de StockCel. Colores y letra de la marca, iguales a la v4. */
:root {
  --ground: #111114;
  --step: #1c1c22;
  --step-2: #26262e;
  --ink: #fafafc;
  --soft: #b7b7c4;
  --accent: #f4d44e;
  --accent-ink: #17150a;
  --paper: #f5f5f8;
  --paper-ink: #16161b;
  --m: clamp(20px, 3.4vw, 48px);
  --gap: clamp(112px, 15vw, 200px);
  --t-sm: 15px;
  --t-body: 18px;
  --t-lead: clamp(20px, 1.6vw, 24px);
  --t-head: clamp(30px, 3.2vw, 44px);
  --t-display: clamp(52px, 8.4vw, 132px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--t-body); line-height: 1.5; font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--m); top: 12px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; }

/* Botones: rectos, una sola forma en toda la página */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 0;
  font: 600 17px/1 Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-main:hover { background: #ffe36a; }
.btn-alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-alt:hover { background: var(--ink); color: var(--ground); }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--accent); }

/* Barra de arriba */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 28px var(--m);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { display: flex; gap: 28px; align-items: center; font-size: var(--t-sm); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--accent); }

/* Arranque: el dolor dicho grande */
.hero {
  min-height: min(100svh, 900px); display: grid; align-content: end;
  padding: 120px var(--m) clamp(40px, 7vh, 72px);
}
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.hero h1 {
  grid-column: 1 / -1; font-size: var(--t-display); font-weight: 600;
  letter-spacing: -.045em; line-height: .95; max-width: 15ch; margin-bottom: clamp(32px, 5vh, 56px);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; }
.hero-sub { grid-column: 1 / 7; font-size: var(--t-lead); line-height: 1.4; color: var(--ink); max-width: 34ch; }
.hero-act { grid-column: 8 / -1; justify-self: end; display: grid; gap: 12px; justify-items: end; }
.hero-act small { font-size: var(--t-sm); color: var(--soft); }

/* Comparación grande */
.compare { padding-top: var(--gap); }
.compare-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 0 var(--m); }
.compare-head h2 { grid-column: 1 / 6; font-size: var(--t-head); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.compare-head p { grid-column: 7 / -1; font-size: var(--t-body); max-width: 52ch; }
.specimens { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10vh; }
.specimen { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: clamp(240px, 26vw, 380px); padding: 36px var(--m) 28px; }
.specimen + .specimen { background: var(--step); }
.specimen p { font-size: var(--t-body); color: var(--soft); }
.specimen strong {
  display: block; font-weight: 600; letter-spacing: -.055em; line-height: .9; white-space: nowrap;
  font-size: min(20vw, calc(66vw / var(--len, 6)));
}
.specimen + .specimen strong { color: var(--accent); }
.specimen-note { padding: 14px var(--m) 0; font-size: var(--t-sm); color: var(--soft); }

/* Lo que se puede tocar */
.try { margin: clamp(56px, 8vw, 96px) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; }
.try h3 { grid-column: 1 / 5; font-size: var(--t-lead); font-weight: 600; line-height: 1.25; }
.try-box { grid-column: 5 / -1; background: var(--step); padding: clamp(20px, 3vw, 36px); border-radius: 8px; }
.try label { display: grid; gap: 8px; font-size: var(--t-sm); color: var(--soft); }
.try input {
  width: 100%; min-height: 52px; padding: 0 16px; border: 2px solid var(--step-2); border-radius: 8px;
  background: var(--ground); color: var(--ink); font: 600 20px/1 Inter, system-ui, sans-serif;
}
.try input:focus { outline: none; border-color: var(--accent); }
.try-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.try-out { margin-top: 24px; font-size: var(--t-lead); }
.try-out b { display: block; font-size: var(--t-head); letter-spacing: -.03em; color: var(--accent); line-height: 1.1; margin-top: 4px; }
.try-foot { margin-top: 14px; font-size: var(--t-sm); color: var(--soft); }
.rows { margin-top: 18px; display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 16px; background: var(--ground); border-radius: 8px; }
.row b { font-weight: 600; }
.row span { color: var(--soft); font-size: var(--t-sm); }
.row .state { justify-self: end; color: var(--ink); }
.row .state.off { color: var(--accent); }
.row .hist { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--soft); }
.rows .empty { color: var(--soft); font-size: var(--t-sm); padding: 8px 2px; }

/* Cómo funciona: lo que cargás y lo que te devuelve */
.how { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.how h2 { grid-column: 4 / -1; font-size: var(--t-head); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 56px; }
.how ol { grid-column: 4 / 11; list-style: none; margin: 0; padding: 0; display: grid; gap: 88px; }
.how li > p:first-child { font-size: 21px; font-weight: 600; line-height: 1.3; }
.call { margin-top: 16px; background: var(--step); border-radius: 8px; padding: 18px 20px; font-size: var(--t-body); }
.call span { color: var(--soft); }
.resp { margin: 20px 0 0 56px; border-radius: 8px; overflow: hidden; background: #000; }
.resp figcaption { padding: 10px 0 0; font-size: var(--t-sm); color: var(--soft); background: var(--ground); }
.how li:last-child .resp { margin-left: 56px; width: calc(100% + 40%); max-width: 1000px; }

/* Testimonio */
.voice { margin-top: var(--gap); display: grid; grid-template-columns: 5fr 7fr; min-height: 66svh; }
.voice-who { background: var(--ink); color: var(--paper-ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: end; padding: 32px var(--m); }
.voice-who:not(:has(.voice-photo)) { grid-template-columns: 1fr; }
.voice-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; align-self: stretch; height: 100%; }
.voice-name { display: grid; gap: 28px; min-width: 0; }
.voice-logos p { font-size: var(--t-sm); color: #4a4a55; margin-bottom: 10px; }
.voice-logos div { display: grid; grid-template-columns: repeat(3, 56px); gap: 10px; }
.voice-logos img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.voice-who b { display: block; font-size: 20px; font-weight: 600; }
.voice-who span { font-size: 16px; color: #4a4a55; }
.voice-quote { background: var(--accent); color: var(--accent-ink); padding: 48px var(--m); }
.voice-quote blockquote p { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.18; font-weight: 500; letter-spacing: -.02em; max-width: 26ch; text-indent: -.4em; }

/* Lo que ves en tu inicio, con interruptores */
.switches { margin-top: var(--gap); }
.switches h2 { padding: 0 var(--m); font-size: var(--t-head); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 40px; max-width: 22ch; }
.band {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  min-height: 18vh; padding: 24px var(--m); cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.bands .band:nth-child(odd) { background: var(--ground); }
.bands .band:nth-child(even) { background: #15151a; }
.band .say { font-size: clamp(24px, 3.2vw, 50px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; color: var(--soft); }
.band .then { max-height: 0; overflow: hidden; opacity: 0; font-size: 17px; font-weight: 400; letter-spacing: 0; color: inherit; transition: max-height .35s var(--ease), opacity .35s var(--ease), margin .35s var(--ease); }
.band[aria-checked="true"] .say { color: inherit; }
.band[aria-checked="true"] .then { max-height: 6em; opacity: 1; margin-top: 10px; }
.band[aria-checked="true"][data-c="1"] { background: var(--accent); color: var(--accent-ink); }
.band[aria-checked="true"][data-c="2"] { background: var(--paper); color: var(--paper-ink); }
.band[aria-checked="true"][data-c="3"] { background: var(--step-2); color: var(--ink); }
.band[aria-checked="true"][data-c="4"] { background: #2f2a12; color: var(--ink); }
.toggle { width: 2.2em; height: 1.2em; font-size: clamp(30px, 3.2vw, 48px); border-radius: 1em; background: var(--step-2); position: relative; flex: none; transition: background-color .25s var(--ease); }
.toggle::after { content: ""; position: absolute; top: .12em; left: .12em; width: .96em; height: .96em; border-radius: 50%; background: var(--soft); transition: transform .25s var(--ease), background-color .25s var(--ease); }
.band[aria-checked="true"] .toggle { background: var(--paper-ink); }
.band[aria-checked="true"] .toggle::after { transform: translateX(1em); background: var(--accent); }
.band[aria-checked="true"][data-c="3"] .toggle, .band[aria-checked="true"][data-c="4"] .toggle { background: var(--accent); }
.band[aria-checked="true"][data-c="3"] .toggle::after, .band[aria-checked="true"][data-c="4"] .toggle::after { background: var(--paper-ink); }
.switches-note { padding: 16px var(--m) 0; font-size: var(--t-sm); color: var(--soft); }

/* Preguntas como texto corrido */
.faq { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq h2 { grid-column: 1 / 4; font-size: clamp(28px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.faq-text { grid-column: 5 / -1; columns: 2; column-gap: 56px; }
.faq-text p { break-inside: avoid; margin-bottom: 22px; font-size: 17px; line-height: 1.55; }
.faq-text p b { font-weight: 600; }

/* Cierre: la pregunta arriba y abajo */
.close {
  margin-top: var(--gap); min-height: 100svh; background: #0a0a0c;
  display: grid; grid-template-rows: auto 1fr auto; text-align: center; padding: 32px var(--m) 24px;
}
.close .q span { display: block; white-space: nowrap; }
.close .q { font-size: clamp(64px, 10.5vw, 168px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.close-mid { align-self: center; display: grid; justify-items: center; gap: 18px; }
.close-btns { display: flex; align-items: center; gap: 28px; }
.close-btns .or { color: var(--soft); font-size: 18px; }
.close-mid p { font-size: 16px; color: var(--soft); max-width: 46ch; }

/* Pie */
.foot { background: var(--paper); color: var(--paper-ink); min-height: min(86svh, 820px); display: grid; grid-template-rows: auto 1fr auto; padding: 40px var(--m) 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-cols li:first-child { font-weight: 600; }
.foot-cols li { color: #4a4a55; }
.foot-cols li:first-child { color: var(--paper-ink); }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot svg { width: 100%; height: auto; display: block; }
.foot svg text { fill: var(--paper-ink); font: 700 100px Inter, system-ui, sans-serif; letter-spacing: -6px; }
.foot-legal { font-size: 13px; color: #4a4a55; margin-top: 16px; }

/* Barra fija de registro */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--m); background: var(--step); color: var(--ink);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky.on { transform: none; }
.sticky p { font-size: var(--t-sm); color: var(--soft); }
.sticky p b { color: var(--ink); font-weight: 600; display: block; font-size: 16px; }

/* Movimiento: solo si hay script y la persona no pidió menos movimiento */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.js .hero h1 .line:nth-child(2) > span { transition-delay: .11s; }
.js .hero.go h1 .line > span { transform: none; }
.js .hero .after { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) .55s, transform .6s var(--ease) .55s; }
.js .hero.go .after { opacity: 1; transform: none; }
.resp img { transition: transform 1.2s var(--ease); transform: scale(1.04); }
.resp.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .hero .after, .js .hero h1 .line > span, .resp img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .band, .band .then, .toggle, .toggle::after, .sticky { transition: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .hero { min-height: 64svh; }
  .close { min-height: 64svh; }
  .foot { min-height: 0; }
  .foot-cols + div { min-height: 14svh; }
  .voice-quote blockquote p { font-size: 24px; max-width: 30ch; }
  .voice-who { grid-template-columns: 1fr; }
  .voice-photo { aspect-ratio: 4 / 3; height: auto; max-width: 260px; }
}

/* Celular */
@media (max-width: 760px) {
  :root { --gap: 104px; }
  .top { padding: 18px var(--m); }
  .top nav .hide-sm { display: none; }
  .hero { min-height: 86svh; padding-bottom: 36px; }
  .hero h1 { font-size: 10.4vw; max-width: none; margin-bottom: 22px; }
  .hero-sub, .hero-act { grid-column: 1 / -1; }
  .hero-sub { font-size: 18px; }
  .hero-act { justify-self: stretch; justify-items: stretch; margin-top: 24px; }
  .hero-act .btn { width: 100%; }
  .hero-act small { text-align: center; }
  .compare-head h2, .compare-head p { grid-column: 1 / -1; }
  .compare-head p { margin-top: 16px; }
  .specimens { grid-template-columns: 1fr; margin-top: 40px; }
  .specimen { min-height: 30svh; padding: 28px var(--m) 44px; }
  .specimen + .specimen { padding-top: 44px; }
  .specimen strong { font-size: min(40vw, calc(128vw / var(--len, 6))); }
  .try { grid-template-columns: 1fr; }
  .try h3, .try-box { grid-column: 1 / -1; }
  .try-fields { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .how h2, .how ol { grid-column: 1 / -1; }
  .how ol { gap: 64px; }
  .resp, .how li:last-child .resp { margin-left: 0; width: auto; }
  .how li:last-child .resp { margin-right: calc(var(--m) * -1); }
  .voice { grid-template-columns: 1fr; min-height: 0; }
  .voice-quote { order: -1; padding: 28px 28px 72px; }
  .voice-quote blockquote p { font-size: 22px; text-indent: -.3em; }
  .voice-who { padding: 24px var(--m); min-height: 96px; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .voice-photo { max-width: none; aspect-ratio: 3 / 4; }
  .voice-logos div { grid-template-columns: repeat(3, 44px); gap: 8px; }
  .voice-logos img { width: 44px; height: 44px; }
  .band { min-height: 132px; }
  .band .say { font-size: 22px; }
  .toggle { font-size: 28px; }
  .faq { grid-template-columns: 1fr; }
  .faq h2, .faq-text { grid-column: 1 / -1; }
  .faq h2 { font-size: 26px; margin-bottom: 24px; }
  .faq-text { columns: 1; }
  .close { min-height: 92svh; }
  .close .q { font-size: 12.4vw; }
  .close-btns { flex-direction: column; gap: 12px; width: 100%; }
  .close-btns .btn { width: 100%; }
  .foot { min-height: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .foot-cols + div { min-height: 18svh; }
  .sticky p { display: none; }
  .sticky .btn { width: 100%; }
}
