/* =========================================================
   ECOM LAB — Landing (versión final)
   ========================================================= */

@font-face {
  font-family: "Funnel Display";
  src: url("../fonts/funnel-display.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v2.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060606;
  --bg-2: #0a0a0a;
  --surface: #0f0f0f;
  --surface-2: #151515;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --orange: #FF5A1F;
  --orange-d: #E04000;
  --orange-l: #FF8A50;
  --grad: linear-gradient(135deg, #FF8A50 0%, #FF5A1F 48%, #E04000 100%);
  --grad-btn: linear-gradient(180deg, #FF7C42 0%, #FF5A1F 52%, #F24C12 100%);
  --grad-text: linear-gradient(96deg, #FF9A62 0%, #FF6A2B 48%, #F2480C 100%);
  --glow: rgba(255, 90, 31, .35);
  --ink: #0a0a0a;

  --text: #fff;
  --text-2: rgba(255, 255, 255, .72);
  --text-3: rgba(255, 255, 255, .5);

  --f-display: "Funnel Display", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-num: "Archivo Black", "Funnel Display", "Inter", system-ui, sans-serif;

  --container: 1140px;
  --gutter: clamp(16px, 5vw, 32px);
  --radius: 22px;
  --radius-sm: 14px;
  --section-y: clamp(72px, 6.8vw, 96px);
  --header-space: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: var(--header-space);
}
html.has-mbar { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
main { display: block; overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255, 90, 31, .45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange-l);
  outline-offset: 3px;
  border-radius: 6px;
}
section[id] { scroll-margin-top: calc(24px - var(--section-y)); }
#marcas-reales { scroll-margin-top: calc(24px - var(--section-y) * .6); }
#faqs { scroll-margin-top: calc(24px - clamp(40px, 6vw, 80px)); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
section[tabindex="-1"]:focus { outline: none; }

.skip {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16.5px; border-radius: 16px; }
.btn--wide { min-width: min(100%, 360px); }
.btn__arrow { transition: transform .25s var(--ease); flex: none; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--grad-btn);
  color: var(--ink);
  border-color: rgba(255, 160, 120, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 10px 32px -10px rgba(255, 90, 31, .75), 0 0 0 1px rgba(224, 64, 0, .35);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 16px 40px -10px rgba(255, 90, 31, .9), 0 0 0 1px rgba(224, 64, 0, .45);
}
.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-2);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 138, 80, .55); }
.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 20px -8px rgba(255, 255, 255, .35);
}
.btn--light:hover { background: #FFE8DE; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 14px 0 auto 0;
  z-index: 50;
  padding-inline: 16px;
  pointer-events: none;
  transition: transform .35s var(--ease);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); }
.site-header__bar {
  pointer-events: auto;
  max-width: 1188px;
  height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 11px 0 26px;
  border-radius: 20px;
  background: rgba(16, 16, 16, .55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled .site-header__bar {
  background: rgba(12, 12, 12, .82);
  border-color: var(--line-2);
}
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; border-radius: 6px; }
.brand img { height: 26px; width: auto; }
.site-header__sep { width: 1px; height: 22px; background: var(--line-2); flex: none; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.site-header__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-left: auto;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease), background-color .25s var(--ease), opacity .25s var(--ease), visibility .25s;
}
.site-header__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-btn);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.site-header.is-past .site-header__cta {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 8px 26px -10px rgba(255, 90, 31, .8);
}
.site-header.is-past .site-header__cta::before { opacity: 1; }

/* ---------- Pills / eyebrows ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.2;
}
.pill__chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad-btn);
  color: var(--ink);
  font-weight: 650;
  font-size: 13px;
  box-shadow: 0 4px 14px -4px rgba(255, 90, 31, .7);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 110, 50, .3);
  background: linear-gradient(180deg, rgba(255, 90, 31, .12), rgba(255, 90, 31, .04));
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}
.eyebrow__icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.eyebrow__icon svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eyebrow__icon svg .fill { fill: #fff; stroke: none; }

/* ---------- Section heads ---------- */
.section { position: relative; padding-block: var(--section-y); }
.head {
  max-width: 860px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.head--left { margin-left: 0; text-align: left; }
.h2 {
  margin: 20px 0 14px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: .04em;
}
/* En los H2 la frase destacada baja entera a la línea siguiente si no entra (nunca "el | sistema"). */
.h2 .grad { display: inline-block; }
.lead {
  max-width: 640px;
  margin-inline: auto;
  font-size: clamp(1rem, .94rem + .3vw, 1.1875rem);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.head .lead { max-width: 720px; text-wrap: balance; }
.head--left .lead { margin-left: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(108px, 8.6vw, 128px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(1200px, 100%);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 32% at 50% 4%, rgba(255, 90, 31, .18), transparent 72%),
    radial-gradient(26% 24% at 6% 0%, rgba(255, 138, 80, .20), transparent 72%),
    radial-gradient(26% 22% at 96% 14%, rgba(255, 90, 31, .07), transparent 70%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 18%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 18%, #000 0%, transparent 78%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  left: -8%; top: -12%;
  width: 46%; height: 56%;
  background: linear-gradient(140deg, rgba(255, 138, 80, .2), rgba(255, 90, 31, 0) 58%);
  filter: blur(48px);
  transform: rotate(-8deg);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title {
  max-width: 1040px;
  margin: 22px 0 16px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 1.05rem + 4.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.026em;
  text-wrap: balance;
}
.nw { white-space: nowrap; }
.hero__lead {
  max-width: 600px;
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

/* VSL */
.vsl {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  margin-top: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, .025),
    0 0 0 7px rgba(255, 255, 255, .04),
    0 40px 100px -40px rgba(255, 90, 31, .55),
    0 0 80px -30px rgba(255, 90, 31, .35);
}
.vsl > video,
.vsl > wistia-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.vsl__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 0 0 0 clamp(18px, 8%, 80px);
  border: 0;
  background: #0b0b0b;
  cursor: pointer;
}
.vsl__cover:focus-visible { outline: none; }
.vsl__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}
.vsl__cover:focus-visible::after { box-shadow: inset 0 0 0 3px var(--orange-l), inset 0 0 0 5px rgba(6, 6, 6, .7); }
.vsl__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.vsl__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(34% 58% at 13% 50%, rgba(255, 90, 31, .16), rgba(255, 90, 31, 0) 72%),
    linear-gradient(to top, rgba(6, 6, 6, .32), rgba(6, 6, 6, 0) 34%);
}
.vsl__play {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(68px, 9vw, 92px);
  height: clamp(68px, 9vw, 92px);
  border-radius: 50%;
  background: var(--grad-btn);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 10px rgba(255, 90, 31, .18), 0 20px 50px -10px rgba(255, 90, 31, .8);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vsl__play svg { width: 40%; height: 40%; margin-left: 6%; }
.vsl__play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 138, 80, .7);
  animation: pulse 2.4s var(--ease) infinite;
}
.vsl__label {
  position: relative;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(6, 6, 6, .62);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.vsl__play, .vsl__label { z-index: 1; }
.vsl__cover:hover .vsl__play { transform: scale(1.06); }
.vsl__cover:hover .vsl__poster { transform: scale(1.015); }
.vsl__msg {
  position: absolute;
  left: 50%; bottom: 16px;
  z-index: 3;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(6, 6, 6, .8);
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--text-2);
  text-align: center;
}
.vsl.has-msg .vsl__label { visibility: hidden; }
@keyframes pulse {
  0% { transform: scale(.92); opacity: .9; }
  70%, 100% { transform: scale(1.28); opacity: 0; }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 44px);
}

/* Cinta de tiendas */
.stores {
  --card: clamp(168px, 17.5vw, 256px);
  --gap: clamp(14px, 1.6vw, 22px);
  --lift: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(56px, 7vw, 92px);
  padding-block: 8px calc(var(--lift) + 14px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.stores__track {
  display: flex;
  width: max-content;
  animation: marquee-half 110s linear infinite;
}
.stores:hover .stores__track,
.stores:focus-within .stores__track { animation-play-state: paused; }
.stores__set { display: flex; gap: var(--gap); padding-right: var(--gap); }
.store {
  flex: none;
  width: var(--card);
  padding: 5px;
  border-radius: 24px;
  background: linear-gradient(180deg, #1d1d1d, #0e0e0e);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .4s var(--ease);
}
.store:nth-child(even) { transform: translateY(var(--lift)); }
.store:hover { border-color: rgba(255, 138, 80, .45); }
.store img {
  width: 100%;
  aspect-ratio: 508 / 940;
  border-radius: 19px;
  object-fit: cover;
  background: #141414;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-100% / 3), 0, 0); }
}
@keyframes marquee-half {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Cinta naranja ---------- */
.ribbon {
  position: relative;
  margin-top: clamp(48px, 6vw, 72px);
  overflow: hidden;
  background: linear-gradient(90deg, #E04000 0%, #FF5A1F 45%, #FF8A50 100%);
  color: var(--ink);
  box-shadow: 0 0 60px -10px rgba(255, 90, 31, .45);
}
.ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .06));
  pointer-events: none;
}
.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__set { display: flex; }
.ribbon__set li {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 17px 30px 17px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ribbon__set li::after { content: ""; }
/* ::before solo se usa con movimiento reducido (separador entre ítems del mismo renglón). */
.ribbon__set li::after,
.ribbon__set li::before {
  width: 16px; height: 16px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Cards base ---------- */
.card-surface,
.problem, .testi, .step, .result, .faq {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .012)), var(--surface);
  border: 1px solid var(--line);
}
.problem, .step, .result {
  transition: border-color .35s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) {
  .problem:hover, .step:hover, .result:hover {
    translate: 0 -3px;
    border-color: rgba(255, 110, 50, .34);
    box-shadow: 0 22px 50px -28px rgba(255, 90, 31, .55);
  }
}

/* ---------- Problema ---------- */
.section--problem::before {
  content: "";
  position: absolute;
  right: -10%; top: 10%;
  width: 50%; height: 70%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .10), transparent);
  pointer-events: none;
}
.problems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.problem {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 28px 28px 24px;
  border-radius: 20px;
  overflow: hidden;
}
.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(255, 90, 31, .16), transparent 70%);
  pointer-events: none;
}
.problem::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(110deg, transparent 35%, #000 100%);
  opacity: .55;
  pointer-events: none;
}
.problem > * { position: relative; z-index: 1; }
.problem__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 24px -8px rgba(255, 90, 31, .7);
}
.problem__icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.problem__title {
  margin: 2px 0 6px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -.012em;
}
.problem__text { font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* ---------- Rails (carruseles) ---------- */
.rail {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: 6px; border-radius: 24px; }
.rail-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.rail-nav[hidden] { display: none; }
.rail-nav__btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.rail-nav__btn:hover:not(:disabled) { background: rgba(255, 90, 31, .14); border-color: rgba(255, 110, 50, .5); }
.rail-nav__btn:disabled { opacity: .35; cursor: default; }

/* ---------- Marcas reales (testimonios en video) ---------- */
.section--brands { padding-top: calc(var(--section-y) * .6); }
.rail--testis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.testi {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 24px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.testi::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  z-index: -1;
  background: radial-gradient(90% 70% at 70% 105%, rgba(255, 90, 31, .22), transparent 70%);
  pointer-events: none;
}
.testi__media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 15px;
  overflow: hidden;
  background:
    radial-gradient(60% 40% at 50% 45%, rgba(255, 90, 31, .12), transparent 70%),
    #050505;
  border: 1px solid rgba(255, 255, 255, .06);
}
.testi__tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  max-width: calc(100% - 24px);
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 6, 6, .6);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.testi__player {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.testi__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #050505;
  cursor: pointer;
}
.testi__cover[hidden] { display: none; }
.testi__cover:focus-visible { outline: none; }
.testi__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(6, 6, 6, .55), rgba(6, 6, 6, 0) 38%);
  pointer-events: none;
}
.testi__cover:focus-visible::after { box-shadow: inset 0 0 0 3px var(--orange-l); }
.testi__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.testi__play {
  position: absolute;
  left: 50%; bottom: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-left: -27px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 7px rgba(255, 90, 31, .2), 0 14px 34px -10px rgba(255, 90, 31, .85);
  transition: transform .3s var(--ease);
}
.testi__play svg { margin-left: 3px; }
.testi__cover:hover .testi__play { transform: scale(1.07); }
.testi__cover:hover img { transform: scale(1.02); }
.testi__player:empty::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
}
.testi__player:empty::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  margin: -9px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent rgba(255, 255, 255, .8);
}
.testi__player wistia-player {
  display: block;
  width: 100%;
  height: 100%;
}
.testi__player wistia-player:not(:defined) {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.testi__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 12px 0;
  container-type: inline-size;
}
/* Cifra en Archivo Black naranja. Escala con el ancho de la tarjeta (todas miden lo mismo),
   así "0 a 1.200 millones" entra en una línea de 320 a 1920 px. */
.testi__figure {
  width: fit-content;
  max-width: 100%;
  font-family: var(--f-num);
  font-weight: 400;
  font-size: 1.375rem;
  font-size: clamp(1rem, 9.6cqi, 1.625rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  white-space: nowrap;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (font-size: 1cqi) {
  .testi__figure { white-space: normal; }
}
.testi__text {
  margin-top: 10px;
  text-wrap: pretty;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--text-2);
}
.testi__name {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi__name::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

/* ---------- Método ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: clamp(150px, 14.8vw, 212px) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 12px 28px 12px 12px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 100% 0%, rgba(255, 90, 31, .13), transparent 70%);
}
.step__media {
  position: relative;
  aspect-ratio: 704 / 1080;
  border-radius: 15px;
  overflow: hidden;
  background: #151515;
}
.step__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.17);
}
.step__body { align-self: start; padding-block: 26px 16px; }
.step__chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 110, 50, .45);
  background: rgba(255, 90, 31, .1);
  color: var(--orange-l);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.step__title {
  margin: 14px 0 8px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.step__text { font-size: 14.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 48px); }

/* ---------- Resultados ---------- */
.rail--results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.result {
  display: grid;
  grid-template-columns: clamp(180px, 18vw, 250px) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 12px 28px 12px 12px;
  border-radius: var(--radius);
}
.result__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 840 / 1048;
  border-radius: 10% / 8%;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.result__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.result__media:hover img { transform: scale(1.03); }
.result__media:focus-visible { outline-offset: 3px; }
.result__zoom {
  position: absolute;
  right: 10px; bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(6, 6, 6, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.result__zoom svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.result__body { align-self: start; padding-block: 24px 14px; }

/* Ampliación de capturas. El botón de cerrar va por fuera del marco (arriba a la derecha) para no
   tapar la captura: en angosto queda encima del marco; desde 760 px, a su derecha. */
.zoom {
  --zb: 54px;
  width: min(640px, calc(100vw - 32px), calc((100vh - 34px - var(--zb)) * 840 / 1048));
  width: min(640px, calc(100vw - 32px), calc((100dvh - 34px - var(--zb)) * 840 / 1048));
  max-width: none;
  max-height: calc(100dvh - 16px);
  padding: var(--zb) 0 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.zoom::backdrop { background: rgba(4, 4, 4, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.zoom__frame {
  max-height: calc(100dvh - 32px - var(--zb));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: #fff;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9);
}
.zoom__img { width: 100%; height: auto; }
.zoom__close {
  position: absolute;
  top: 0; right: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(22, 22, 22, .92);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.zoom__close:hover { background: rgba(255, 90, 31, .22); border-color: rgba(255, 138, 80, .6); }
@media (min-width: 760px) {
  .zoom { padding-top: 0; width: min(640px, calc(100vw - 140px), calc((100dvh - 32px) * 840 / 1048)); }
  .zoom__frame { max-height: calc(100dvh - 32px); }
  .zoom__close { right: -54px; }
}
.stars { width: 104px; }
.stars svg { width: 104px; height: 21px; fill: var(--orange); }
.result__quote p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .86);
  text-wrap: pretty;
}
.num {
  font-weight: 600;
  color: var(--orange-l);
  white-space: nowrap;
}
.result__name {
  margin-top: 16px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}

/* ---------- Agendar (Calendly) ---------- */
.section--book::before {
  content: "";
  position: absolute;
  left: 50%; top: 32%;
  width: min(1100px, 100%); height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 90, 31, .12), transparent);
  pointer-events: none;
}
.cal {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -50px rgba(255, 90, 31, .5), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.cal .calendly-inline-widget { position: relative; z-index: 1; min-width: 0; }
.calendly-inline-widget, .calendly-inline-widget iframe { color-scheme: light; }
/* Un solo indicador: el velo tapa el iframe (y los puntos de carga de Calendly) hasta que el
   calendario está listo, y recién ahí se desvanece. */
.cal .calendly-spinner { display: none !important; }
.cal__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #0b0b0b;
  font-size: 14.5px;
  color: var(--text-3);
  transition: opacity .45s var(--ease), visibility 0s linear 0s;
}
.cal.is-ready .cal__loading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
/* El spinner y el texto se van en el acto; solo el fondo se desvanece (sin cruce de indicadores). */
.cal.is-ready .cal__loading > * { visibility: hidden; }
.cal.is-failed .cal__spinner { display: none; }
.cal.is-failed .cal__status { max-width: 30ch; text-align: center; color: var(--text-2); }
.cal__spinner {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .12);
  border-top-color: var(--orange);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cal__fallback { margin-top: 8px; text-align: center; font-size: 14.5px; }
.cal__fallback a {
  display: inline-block;
  padding: 12px 8px;
  color: var(--orange-l);
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 80, .45);
  text-underline-offset: 3px;
}
.cal__fallback a:hover { text-decoration-color: currentColor; }

/* ---------- FAQs ---------- */
.section--faq { padding-top: clamp(40px, 6vw, 80px); }
.faq { border-radius: var(--radius); overflow: hidden; }
.faq__item { transition: background-color .3s var(--ease); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item.is-open { background: linear-gradient(180deg, rgba(255, 90, 31, .06), rgba(255, 90, 31, 0)); }
.faq__h { font: inherit; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 24px 28px;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #fff;
  cursor: pointer;
}
.faq__q:focus-visible { outline-offset: -3px; border-radius: 16px; }
.faq__icon {
  position: relative;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 1.6px;
  margin: -.8px 0 0 -6.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q:hover .faq__icon { border-color: rgba(255, 110, 50, .5); }
.is-open .faq__icon { background: var(--grad); border-color: transparent; color: var(--ink); }
.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s;
}
.is-open .faq__a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .4s var(--ease), visibility 0s linear 0s;
}
html:not(.js) .faq__a { grid-template-rows: 1fr; visibility: visible; }
html:not(.js) .faq__icon { display: none; }
.faq__inner { overflow: hidden; min-height: 0; }
.faq__inner p {
  max-width: none;
  padding: 0 80px 26px 28px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ---------- CTA final ---------- */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0 clamp(220px, 22vw, 300px);
  text-align: center;
}
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__title {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.75rem);
  line-height: 1.04;
}
.final__lead { max-width: 560px; margin-bottom: 34px; }
.final__note { margin-top: 16px; font-size: 14px; color: var(--text-3); text-wrap: balance; }
.final__arc {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(190px, 22vw, 290px);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 55%, transparent 100%);
}
.final__arc::before {
  content: "";
  position: absolute;
  left: 50%; top: 58%;
  width: min(1100px, 120vw); height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 90, 31, .5), rgba(255, 90, 31, .12) 55%, transparent);
  filter: blur(10px);
}
.final__arc span {
  position: absolute;
  left: 50%;
  top: 46%;
  width: max(1500px, 210vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 0%, #1b0c05 0%, #070707 14%, var(--bg) 30%);
  box-shadow:
    0 0 0 1px rgba(255, 170, 130, .9),
    0 -1px 10px 1px rgba(255, 138, 80, .9),
    0 -10px 40px rgba(255, 90, 31, .65),
    0 -30px 120px rgba(255, 90, 31, .4),
    inset 0 3px 22px rgba(255, 138, 80, .45);
}

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 0 0 36px; background: var(--bg); }
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.brand--footer img { height: 32px; width: auto; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--orange); border-color: transparent; color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.site-footer__copy {
  padding-top: 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-3);
  text-wrap: balance;
}

/* ---------- Barra fija de CTA (mobile) ---------- */
.mbar { display: none; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .35s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.problems .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.problems .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.problems .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 60px;
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.notfound .hero__bg { height: 100%; }
.notfound__code {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, #FF9A62, #E04000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound .h2 { margin-top: 10px; }
.notfound .lead { margin-bottom: 30px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .rail--testis {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 4px;
  }
  /* Foco visible entero: el carrusel va de borde a borde, así que el indicador se dibuja como
     borde propio (dentro de la pantalla). Las tarjetas se recortan en el borde interno del
     scroll y nunca lo tapan. El borde transparente y el relleno se compensan con márgenes. */
  .rail--testis {
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 6px calc(var(--gutter) - 2px);
    margin-block: -8px -4px;
    scroll-padding-inline: calc(var(--gutter) - 2px);
  }
  .rail--testis:focus-visible { outline: none; border-color: var(--orange-l); border-radius: 16px; }
  .testi { flex: 0 0 clamp(250px, 34vw, 300px); scroll-snap-align: start; }
  .rail--testis:not(.is-dragging) { cursor: grab; }
}
/* 14: en dos columnas angostas la foto acompaña el alto del texto (hasta 1279 px: entre 1200 y
   1279 el texto ya es más alto que la foto en su proporción natural). */
@media (max-width: 1279px) {
  .step { align-items: stretch; }
  .step__media { aspect-ratio: auto; height: 100%; min-height: 216px; }
}
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail.is-settling { scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }

@media (max-width: 999px) {
  .site-nav, .site-header__sep { display: none; }
  .steps { grid-template-columns: 1fr; }
  /* Una columna: la foto acompaña el alto del texto en vez de imponer el suyo. */
  .step { grid-template-columns: 184px minmax(0, 1fr); }
  .step__body { align-self: center; padding-block: 16px; }
  .rail--results { grid-template-columns: 1fr; }
  .result { grid-template-columns: 180px minmax(0, 1fr); }
  .result__body { align-self: center; padding-block: 14px; }
}

@media (max-width: 719px) {
  :root { --header-space: 78px; }
  .site-header { inset-block-start: 10px; padding-inline: 10px; }
  .site-header__bar { height: 60px; padding: 0 7px 0 16px; border-radius: 18px; gap: 12px; }
  .brand img { height: 22px; }
  .site-header__cta { --h: 44px; padding: 0 15px; font-size: 14px; border-radius: 12px; }
  .has-mbar .site-header__cta { opacity: 0; visibility: hidden; transform: translateY(-4px); }

  .mbar {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 8, 8, .84);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid var(--line);
    box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, .9);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .mbar.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .mbar .btn { width: 100%; --h: 52px; font-size: 16px; border-radius: 14px; }

  .pill { gap: 9px; padding-right: 13px; font-size: 13px; }
  .pill__chip { padding: 5px 10px; font-size: 12px; }
  .hero__title { margin: 22px 0 16px; font-size: clamp(1.95rem, 1.1rem + 4.2vw, 2.4rem); line-height: 1.07; letter-spacing: -.024em; }
  .vsl { border-radius: 16px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .03), 0 30px 70px -30px rgba(255, 90, 31, .6); }
  .vsl__cover { gap: 10px; padding-left: 6%; }
  .vsl__play { width: 54px; height: 54px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 7px rgba(255, 90, 31, .18), 0 14px 34px -10px rgba(255, 90, 31, .8); }
  .vsl__play::after { inset: -7px; }
  .vsl__label { font-size: 12.5px; padding: 6px 12px; }
  .vsl__msg { bottom: 10px; padding: 7px 12px; font-size: 12.5px; line-height: 1.4; text-wrap: balance; }
  .hero__ctas { flex-direction: column; align-self: stretch; gap: 12px; }
  .hero__ctas .btn { width: 100%; }
  .btn--lg { --h: 56px; font-size: 16px; }
  .btn--wide { width: 100%; }

  .ribbon__set li { font-size: 13px; padding-block: 14px; gap: 22px; padding-right: 22px; }
  .ribbon__set li::after, .ribbon__set li::before { width: 13px; height: 13px; }

  .problems { grid-template-columns: 1fr; gap: 12px; }
  .problem { padding: 22px 20px 22px 18px; gap: 16px; }
  .problem__icon { width: 44px; height: 44px; border-radius: 13px; }
  .problem__icon img { width: 24px; height: 24px; }
  .problem__title { font-size: 1.2rem; }

  .testi { flex-basis: 78%; }

  .steps { gap: 12px; }
  .step { grid-template-columns: 1fr; gap: 0; padding: 10px 10px 8px; }
  .step__media { aspect-ratio: 16 / 9; height: auto; min-height: 0; border-radius: 14px; }
  .step__media img { transform: none; object-position: 50% 40%; }
  .step__body { align-self: start; padding: 20px 12px 16px; }
  .step__title { font-size: 1.3rem; margin-top: 12px; }

  .rail--results {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    /* Foco visible entero (mismo criterio que el carrusel de testimonios). */
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 6px calc(var(--gutter) - 2px);
    margin-block: -8px;
    scroll-padding-inline: calc(var(--gutter) - 2px);
  }
  .rail--results:focus-visible { outline: none; border-color: var(--orange-l); border-radius: 16px; }
  /* Las tarjetas se estiran al alto de la más alta: las filas quedan arriba para que estrellas y
     texto arranquen a la misma altura en todas. */
  .result {
    flex: 0 0 84%;
    scroll-snap-align: start;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    align-content: start;
    gap: 0;
    padding: 10px 10px 8px;
  }
  .result__media { aspect-ratio: 4 / 3; border-radius: 10% / 13.4%; }
  .result__media img { object-position: 50% 0; }
  .result__media--mid img { object-position: 50% 45%; }
  /* Marc Igna: el corte cae en blancos (arriba, sobre "Elegí hasta 2 datos…"; abajo, entre
     Facturación y Ticket promedio), sin renglones cortados y con la cifra de Facturación. */
  .result__media--upper img { object-position: 50% 22.6%; }
  .result__body { align-self: start; padding: 18px 12px 16px; }
  .result__quote p { font-size: 15px; }

  .cal { border-radius: 18px; }

  .faq__q { padding: 20px 16px 20px 20px; gap: 14px; }
  .faq__icon { width: 34px; height: 34px; }
  .faq__inner p { padding: 0 20px 22px; font-size: 15px; }

  .site-footer__top { flex-direction: column; gap: 22px; }
}

@media (max-width: 380px) {
  .site-header__cta { padding: 0 12px; font-size: 13.5px; }
  .brand img { height: 20px; }
  .pill { gap: 7px; padding: 4px 12px 4px 4px; font-size: 12.25px; letter-spacing: -.01em; }
  .pill__chip { padding: 5px 9px; font-size: 12px; }
  .pill > span:last-child { text-wrap: balance; }
  .vsl__cover { padding-left: 5%; }
  .vsl__label { font-size: 12px; padding: 5px 10px; }
  .h2 { font-size: 1.8rem; }
  .final__title { font-size: 1.95rem; }
}
@media (max-width: 345px) {
  .hero__title { font-size: 1.8rem; }
  .pill { gap: 8px; padding-right: 14px; font-size: 12px; border-radius: 20px; text-align: left; }
  .pill__chip { padding: 5px 9px; font-size: 12px; }
  .vsl__cover { padding-left: 4%; gap: 8px; }
  .vsl__play { width: 50px; height: 50px; }
  .vsl__label { padding-inline: 9px; }
}
/* Píldora del hero: donde no entra en un renglón, el corte va fijo antes de "confían…". Así la
   caja mide lo que su texto (un corte automático la estira a todo el ancho con un hueco a la
   derecha) y queda centrada. */
@media (max-width: 355px) {
  .pill--hero { text-align: left; }
  .pill__l2 { display: block; }
}
/* 30: a 346–380 px el título queda en 5 renglones como a 320/390 */
@media (min-width: 346px) and (max-width: 380px) {
  .hero__title { font-size: 1.9rem; }
}
/* 25/53: en pantallas de menos de 360 px el calendario va de borde a borde, con un poco de aire
   a los costados para que "Time zone" no quede pegado al borde (Calendly es fluido: la columna
   del sábado entra entera hasta con 280 px de iframe). */
@media (max-width: 359px) {
  .cal { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; padding-inline: 10px; }
}
/* 10/69: monitores 1080p con barras (961 a 1010 px de alto) — el VSL (y su play) entra entero
   en el primer pantallazo, ya con su ancho máximo (920 px). */
@media (min-width: 1000px) and (max-height: 1010px) {
  .hero { padding-top: clamp(100px, 7.6vw, 112px); }
  .hero__title { margin: 18px 0 12px; font-size: clamp(2.6rem, 1rem + 2.9vw, 3.25rem); }
  .vsl { margin-top: 24px; max-width: min(920px, max(640px, calc((100vh - 440px) * 16 / 9))); }
}
/* Laptops (hasta 960 px de alto: 1280×650, 1366×657, 1366×768, MacBook Air 1440×789 y
   1470×835…): título más compacto, en dos renglones, para que el play y la etiqueta "Mirá el
   video (9 min)" se vean siempre y el VSL sea tan grande como entre (entero desde ~700 px de
   alto). Crece con la altura sin retroceder: llega a 920 px de ancho a los ~870 px de alto, y de
   961 a 1010 la regla anterior también da 920. */
@media (min-width: 1000px) and (max-height: 960px) {
  .hero { padding-top: 96px; }
  .hero__title { margin: 14px 0 10px; font-size: clamp(2.3rem, .6rem + 2.7vw, 2.75rem); }
  .vsl { margin-top: 18px; max-width: min(920px, max(640px, calc((100vh - 350px) * 16 / 9))); }
}
@media (min-width: 1000px) and (max-height: 780px) {
  .vsl__cover { gap: 14px; }
  .vsl__play { width: 76px; height: 76px; }
}
/* Ventanas de escritorio de 720 a 999 px de ancho (media pantalla, ventanas no maximizadas)
   hasta 980 px de alto: el mismo criterio, para que el play y la etiqueta entren en el primer
   pantallazo y el VSL quede entero (con el título de 50–60 px recién entra desde ~980 px). No
   aplica a celulares acostados (menos de 500 px de alto: tienen su propia regla, abajo) ni a
   tablets en vertical (más altas). */
@media (min-width: 720px) and (max-width: 999px) and (min-height: 501px) and (max-height: 980px) {
  .hero { padding-top: 96px; }
  .hero__title { margin: 14px 0 10px; font-size: 2.3rem; }
  .vsl { margin-top: 18px; max-width: min(920px, max(480px, calc((100vh - 380px) * 16 / 9))); }
}
/* 26/28: celular en horizontal — header no fijo y VSL que entra entero en la altura. Solo en
   pantallas táctiles: una ventana de escritorio baja no es un celular acostado. */
@media (orientation: landscape) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  :root { --header-space: 12px; }
  .site-header { position: absolute; }
  .vsl { max-width: min(920px, calc((100vh - 48px) * 16 / 9)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .stores__track, .ribbon__track { animation: none !important; }
  /* Cinta estática: renglones centrados por su texto; el ✦ va en el hueco entre ítems y no suma
     al ancho, y el primero de cada renglón no lo lleva (main.js marca .is-row-start). */
  .ribbon__track { width: 100%; }
  .ribbon__set[aria-hidden="true"] { display: none; }
  .ribbon__set { --rgap: 60px; flex-wrap: wrap; justify-content: center; column-gap: var(--rgap); width: 100%; padding: 6px var(--gutter); }
  .ribbon__set li { position: relative; padding: 10px 0; }
  .ribbon__set li::after { content: none; }
  .ribbon__set li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(var(--rgap) / -2);
    transform: translate(-50%, -50%);
  }
  .ribbon__set li.is-row-start::before { content: none; }
  .stores { overflow-x: auto; scrollbar-width: none; }
  .stores__track { margin-inline: auto; padding-inline: var(--gutter); }
  .stores__set[aria-hidden="true"], .store[aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .vsl__play::after { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 719px) {
  .ribbon__set { --rgap: 44px; padding-block: 4px; }
  .ribbon__set li { padding: 10px 0; }
}
