/* =========================================================
   BOZZ PRO — estilos
   ========================================================= */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #060608;
  --bg-2: #0b0a10;
  --text: #f4f4f6;
  --muted: rgba(244, 244, 246, .55);
  --dim: rgba(244, 244, 246, .32);
  --line: rgba(255, 255, 255, .07);
  --card: rgba(16, 14, 22, .72);
  --red: #e5173f;
  --red-hi: #ff3358;
  --red-glow: rgba(229, 23, 63, .55);
  --violet: #6b2bd9;
  --blue: #2a5cff;
  --gutter: clamp(16px, 6vw, 96px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
em { font-style: normal; }

.wrap { padding-inline: var(--gutter); position: relative; z-index: 2; }
.red { color: var(--red); }

/* ---------- tipografía ---------- */
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(30px, 3.3vw, 52px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin-bottom: 18px;
}
.h2 em, .split em { color: var(--red); }
.body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 410px;
}
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 16px;
  font-size: 10px;
  color: var(--muted);
}
.specs li + li::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
}
.split .w { display: inline-block; will-change: opacity; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn--red {
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  box-shadow: 0 0 22px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--red:hover { transform: translateY(-1px); box-shadow: 0 0 34px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--dark { background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.btn--dark:hover { background: rgba(255, 255, 255, .12); }
.btn--link { padding-inline: 6px; font-weight: 600; }
.btn--lg { font-size: 13px; padding: 14px 26px; }
.play {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.play svg { width: 8px; fill: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.actions--center { justify-content: center; }

/* ---------- placeholders / media ---------- */
.media { position: absolute; inset: 0; overflow: hidden; }
.vid, .media .img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.vid.is-ready, .media .img.is-ready { opacity: 1; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 58px;
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  background: linear-gradient(180deg, rgba(36, 12, 32, .82), rgba(14, 10, 22, .72));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(229, 23, 63, .13);
}
.nav__logo { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .3em; }
.nav__logo svg { width: 15px; fill: #fff; }
.nav__links { display: flex; gap: 6px; margin-left: clamp(24px, 6vw, 110px); }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, .68);
  padding: 7px 13px;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.caret {
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3.5px solid currentColor;
  transition: transform .25s;
}
.nav__item:hover .nav__link,
.nav__item.open .nav__link { background: rgba(255, 255, 255, .09); color: #fff; }
.nav__item:hover .caret,
.nav__item.open .caret { transform: rotate(180deg); }
.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 180px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(16, 12, 22, .96);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.nav__drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover .nav__drop,
.nav__item.open .nav__drop { opacity: 1; transform: none; pointer-events: auto; }
.nav__drop a { display: block; font-size: 12.5px; padding: 9px 12px; border-radius: 8px; color: rgba(255, 255, 255, .75); }
.nav__drop a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav__cta {
  margin-left: auto;
  display: flex; gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.pill { font-size: 10.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.pill--ghost { color: rgba(255, 255, 255, .85); }
.pill--ghost:hover { background: rgba(255, 255, 255, .07); }
.pill--red {
  font-weight: 700;
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  box-shadow: 0 0 18px var(--red-glow);
}

/* ---------- rail de progreso ---------- */
.rail { position: fixed; right: 22px; top: 50%; z-index: 40; transform: translateY(-50%); }
.rail__dots { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.rail__dots li {
  width: 3px; height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: height .4s var(--ease), background .3s;
}
.rail__dots li.is-active { height: 20px; background: var(--red); box-shadow: 0 0 8px var(--red-glow); }
.rail__dots li::before { content: ""; display: block; margin: -6px -8px; height: calc(100% + 12px); }
.rail__next {
  position: fixed; right: 12px; bottom: 100px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  transition: opacity .3s, transform .3s;
}
.rail__next svg { width: 14px; fill: none; stroke: var(--red); stroke-width: 2; }
.rail__next:hover { transform: translateY(2px); }
.rail.is-end .rail__next { opacity: 0; pointer-events: none; }

/* ---------- botón flotante de WhatsApp ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
}
.wa__btn {
  position: relative;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  box-shadow: 0 0 26px var(--red-glow), 0 10px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--red);
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa__btn svg { width: 28px; fill: #fff; }
.wa__label {
  font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(16, 12, 22, .9);
  border: 1px solid rgba(229, 23, 63, .35);
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateX(8px);
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa:hover .wa__btn { transform: scale(1.07); box-shadow: 0 0 38px var(--red-glow), 0 10px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { opacity: 1; transform: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   1 · HERO
   ========================================================= */
.hero { position: relative; height: 480vh; }
.hero__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #050506;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* sombra lateral para leer el texto; se apaga mientras está desarmado (--shade la mueve JS) */
.hero__pin::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6, 6, 8, .8) 26%, transparent 55%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
  opacity: var(--shade, 1);
  pointer-events: none;
}
.hero__content, .hero__end {
  position: absolute; inset: 0 auto 0 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(58px + 4vh);
}
.hero__end { opacity: 0; visibility: hidden; }
.hero__title.hero__title--end { display: block; }

/* etiquetas del desarme */
.callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.callouts__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callouts__lines line {
  stroke: rgba(255, 255, 255, .45); stroke-width: 1;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .7s var(--ease);
}
.callouts__lines circle { fill: var(--red); opacity: 0; transition: opacity .4s; filter: drop-shadow(0 0 4px var(--red)); }
.co {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: baseline; gap: 8px;
  padding-bottom: 7px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  transform: translate(0, -100%);
  opacity: 0;
  transition: opacity .5s, translate .6s var(--ease);
  translate: 0 8px;
}
.co.is-left { transform: translate(-100%, -100%); }
.co.is-below { transform: translate(0, 0); padding: 7px 0 0; }
.co.is-left.is-below { transform: translate(-100%, 0); }
.co b { color: var(--red); font-weight: 700; }
.co span { color: rgba(255, 255, 255, .85); }
.callouts.is-on .co { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 70ms + .2s); }
.callouts.is-on line { stroke-dashoffset: 0; transition-delay: calc(var(--i) * 70ms); }
.callouts.is-on circle { opacity: 1; }
.js [data-intro] { opacity: 0; transform: translateY(24px); }
.hero__title {
  display: flex;
  align-items: center;
  gap: .22em;
  font-size: clamp(46px, 5.6vw, 92px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  margin-bottom: 18px;
}
.badge {
  font-size: .36em;
  letter-spacing: .02em;
  padding: .26em .42em .22em;
  border-radius: .3em;
  background: linear-gradient(180deg, var(--red-hi), #c90e33);
  box-shadow: 0 0 34px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.hero__sub {
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 550;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 16px;
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  transform: translateX(-50%);
  font-size: 8px; letter-spacing: .35em; color: var(--dim);
}

/* =========================================================
   2 · REVEAL
   ========================================================= */
.reveal { position: relative; height: 320vh; }
.reveal__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
}
.reveal__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reveal__pin::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 6, 8, .9) 0%, rgba(6, 6, 8, .4) 35%, transparent 55%);
}
.reveal__content { opacity: 0; }

/* =========================================================
   3 · IMMERSION
   ========================================================= */
.immersion {
  position: relative;
  padding: 18vh 0 16vh;
  overflow: hidden;
}
.immersion::after {
  content: ""; position: absolute; inset: auto 0 0; height: 45%;
  background: radial-gradient(60% 80% at 50% 110%, rgba(42, 70, 255, .28), transparent 70%);
  pointer-events: none;
}
.stats { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: 28px; }
.stats b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.stats span { display: block; margin-top: 4px; font-size: 9.5px; line-height: 1.4; color: var(--muted); }
.gallery { margin-top: 9vh; display: grid; gap: 14px; position: relative; z-index: 2; }
.gallery__row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.gallery__row[data-dir="1"] { margin-left: -40vw; }
.cap {
  position: relative;
  flex: none;
  height: clamp(110px, 11vw, 160px);
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #2b2440, #0e0d14);
  border: 1px solid var(--line);
}
.cap--w { width: clamp(240px, 24vw, 360px); }
.cap--m { width: clamp(170px, 16vw, 240px); }
.cap--dot {
  width: clamp(110px, 11vw, 160px);
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .04);
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.cap.g1 { background: radial-gradient(80% 120% at 30% 40%, #7a3bd6, #1a1030 70%); }
.cap.g2 { background: radial-gradient(80% 120% at 70% 50%, #b57a5c, #1e1410 70%); }
.cap.g3 { background: radial-gradient(80% 120% at 40% 60%, #3a6bff, #0b1230 70%); }
.cap.g4 { background: linear-gradient(120deg, #5d6470, #15171c); }
.cap img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.cap img.is-ready { opacity: 1; }

/* =========================================================
   4 · UPGRADES
   ========================================================= */
.upgrades { position: relative; padding-bottom: 14vh; overflow: hidden; }
.upgrades__media {
  height: 115vh;
  bottom: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent);
  mask-image: linear-gradient(180deg, #000 65%, transparent);
}
.upgrades__media .vid { left: 22%; width: 86%; height: 88%; object-position: 50% 40%; }
.upgrades__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 18%, rgba(6, 6, 8, .4) 34%, transparent 50%);
}
.upgrades__intro {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 20vh;
}
.ph-wave { position: absolute; inset: 0; background: #07060c; }
.ph-wave i { position: absolute; border-radius: 50%; filter: blur(60px); }
.ph-wave i:nth-child(1) {
  width: 120vw; height: 60vh; left: -10vw; top: 12vh;
  background: linear-gradient(90deg, #3a1468, #7a2fb8 40%, #2a4cff 85%);
  transform: rotate(-6deg);
  opacity: .75;
  animation: wave-drift 12s ease-in-out infinite alternate;
}
.ph-wave i:nth-child(2) {
  width: 50vw; height: 30vh; right: -5vw; top: 18vh;
  background: #3b6bff; opacity: .55;
  animation: wave-drift 9s ease-in-out infinite alternate-reverse;
}
.ph-wave i:nth-child(3) {
  width: 110vw; height: 50vh; left: -5vw; top: 48vh;
  background: #07060c;
  filter: blur(40px);
}
@keyframes wave-drift { to { transform: translate3d(4vw, 2vh, 0) rotate(-2deg); } }

.bento {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -24vh;
}
.card {
  position: relative;
  border-radius: 16px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.card--title h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 10px; }
.card--title p { font-size: 9.5px; line-height: 1.5; color: var(--muted); max-width: 190px; }
.card--stats {
  grid-column: span 3;
  display: flex; align-items: center; justify-content: space-around;
}
.card--stats > div { display: flex; align-items: center; gap: 8px; }
.card--stats b { font-size: clamp(28px, 2.7vw, 40px); font-weight: 550; letter-spacing: -.04em; }
.card--stats small { font-size: 8.5px; line-height: 1.25; color: var(--muted); }
.sep { width: 1px; height: 30px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .3), transparent); }
.card--mini { display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding-block: 16px; }
.card--mini h4 { font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
.card--mini h4 small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card .foot { position: absolute; right: 14px; bottom: 10px; font-size: 7.5px; color: var(--dim); }
.viz--rings {
  width: 76px; height: 76px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .4) 0 1px, transparent 1.5px 5px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  animation: rings 3.5s ease-in-out infinite;
}
@keyframes rings { 50% { transform: scale(.88); opacity: .6; } }
.viz--orb {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #6fd0ff, #1d6bff 40%, rgba(29, 60, 255, 0) 70%);
  filter: blur(3px);
  animation: orb 4s ease-in-out infinite;
}
@keyframes orb { 50% { transform: scale(1.12); filter: blur(6px); } }
.viz--battery {
  position: relative;
  width: 48px; height: 24px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 6px;
  padding: 2px;
}
.viz--battery::after { content: ""; position: absolute; right: -6px; top: 6px; width: 3px; height: 8px; border-radius: 0 2px 2px 0; background: rgba(255, 255, 255, .85); }
.viz--battery i {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #ff4d6a, #ffcf4d, #57f08a, #4dc9ff);
  animation: charge 3s var(--ease) infinite;
}
.viz--gauge { width: 82px; }
.viz--gauge svg { width: 100%; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 4; stroke-linecap: round; }
.gauge__zone { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 4px var(--red-glow)); }
.gauge__ticks { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; stroke-linecap: round; }
.viz--gauge text { font-size: 7px; font-weight: 700; fill: var(--red); }
.gauge__needle { stroke: #fff; stroke-width: 2; stroke-linecap: round; transform-origin: 30px 34px; transform: rotate(-78deg); animation: needle 3.2s var(--ease) infinite; }
.viz--gauge circle { fill: #fff; }
@keyframes needle {
  0%, 100% { transform: rotate(-78deg); }
  30% { transform: rotate(-58deg); }
  55% { transform: rotate(-82deg); }
  70% { transform: rotate(-74deg); }
}
.viz--feather { width: 50px; height: 50px; margin-bottom: 8px; animation: float 4.5s ease-in-out infinite; }
.viz--feather svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 10px rgba(229, 23, 63, .45)); }
.feather__vane { fill: url(#featherG); opacity: .9; }
.feather__shaft { fill: none; stroke: #0e0d14; stroke-width: 1.6; stroke-linecap: round; }
@keyframes float {
  0%, 100% { transform: translateY(3px) rotate(-6deg); }
  50% { transform: translateY(-5px) rotate(4deg); }
}
@keyframes charge { 0% { width: 15%; } 70%, 100% { width: 100%; } }

/* =========================================================
   5 · TOUCH GESTURES
   ========================================================= */
.gestures { position: relative; height: 420vh; }
.gestures__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) 1.18fr;
  align-items: center;
  gap: 5vw;
  padding-top: 58px;
}
.gestures::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 30% 40%, rgba(120, 20, 60, .18), transparent 70%);
}
.glist { margin-top: 22px; display: grid; gap: 4px; max-width: 400px; }
.gitem {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr 22px;
  align-items: start;
  padding: 12px 16px 14px;
  border-radius: 12px;
  opacity: .5;
  transition: opacity .4s, background .4s;
}
.gitem.is-active { opacity: 1; background: rgba(255, 255, 255, .04); }
.gnum { font-size: 8.5px; color: var(--muted); padding-top: 3px; transition: color .3s; }
.gitem h4 { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px; }
.gitem p { font-size: 10.5px; line-height: 1.45; color: var(--muted); max-width: 260px; }
.gico { width: 14px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; margin-top: 2px; transition: stroke .3s; }
.gitem.is-active .gnum { color: var(--red); }
.gitem.is-active .gico { stroke: var(--red); }
.gbar {
  position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  opacity: 0;
}
.gitem.is-active .gbar { opacity: 1; }
.gestures__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0e;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.gvid { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.gvid.is-on { opacity: 1; }
.chip {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px var(--red); }
.gprog { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 6px; }
.gprog i { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.gprog i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* placeholder: auricular */
.ph-cup { position: absolute; inset: 0; background: radial-gradient(70% 90% at 60% 50%, #1c1c20, #08080a); }
.ph-cup::before {
  content: "";
  position: absolute;
  height: 118%; aspect-ratio: 1;
  left: 34%; top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, #6a6a70, #36363b 38%, #1b1b1f 66%),
    #222;
  box-shadow:
    inset 0 0 0 12px #2a2a2e,
    inset 0 0 0 15px #9a9aa2,
    inset 0 0 0 18px #3a3a40,
    -30px 30px 80px rgba(0, 0, 0, .7);
}
.ph-cup--bone::before {
  background: radial-gradient(circle at 42% 38%, #f3ede2, #cfc6b6 45%, #8f877a 75%);
  box-shadow: inset 0 0 0 14px #c9c0b0, inset 0 0 0 18px #a8a8ae, -30px 30px 80px rgba(0, 0, 0, .7);
}
.ph-cup__dot {
  position: absolute;
  left: 66%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .15), 0 0 30px rgba(255, 255, 255, .5);
  animation: tap 2s ease-in-out infinite;
}
@keyframes tap { 0%, 30%, 60%, 100% { transform: scale(1); } 15%, 45% { transform: scale(.6); } }
.ph-cup--swipe .ph-cup__dot { animation: swipe 2.6s ease-in-out infinite; }
@keyframes swipe { 0%, 100% { transform: translateY(70px); } 50% { transform: translateY(-70px); } }
.ph-cup--hold .ph-cup__dot { animation: hold 2.8s ease-in-out infinite; }
@keyframes hold { 0%, 100% { transform: scale(1); opacity: .9; } 40%, 70% { transform: scale(6); opacity: .25; } }

/* =========================================================
   6 · WORKS WITH
   ========================================================= */
.works {
  position: relative;
  padding: 16vh 0 22vh;
  overflow: hidden;
  background: radial-gradient(70% 55% at 50% 100%, rgba(98, 36, 190, .4), transparent 70%);
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { font-size: 9px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.marquee { position: relative; z-index: 2; margin-top: 8vh; display: grid; gap: 14px; }
.marquee__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 52s; }
.marquee__track span {
  flex: none;
  display: grid; place-items: center;
  min-width: 64px; height: 64px;
  padding-inline: 34px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.marquee__track span.ico { padding-inline: 0; width: 64px; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.particles { position: absolute; inset: auto 0 0; width: 100%; height: 55%; pointer-events: none; }

/* =========================================================
   7 · TWO DEVICES
   ========================================================= */
.devices { position: relative; min-height: 100vh; padding: 17vh 0 12vh; overflow: hidden; }
.devices__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, .85) 0%, rgba(6, 6, 8, .35) 45%, rgba(6, 6, 8, .2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%);
}
.ph-room { position: absolute; inset: 0; background: linear-gradient(180deg, #1a1f27, #0c0e12); }
.ph-room__win {
  position: absolute; left: 28%; right: 0; top: 0; height: 72%;
  background:
    repeating-linear-gradient(90deg, transparent 0 18%, rgba(10, 12, 16, .9) 18% 18.6%),
    repeating-linear-gradient(95deg, transparent 0 22px, rgba(20, 24, 30, .55) 22px 25px),
    linear-gradient(180deg, #4a5564, #2b323c 70%, #1a1e25);
  opacity: .7;
}
.ph-room__lamp {
  position: absolute; z-index: 1; left: 66%; top: 18%;
  width: 26vw; height: 26vw; margin: -13vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 120, .45), transparent 60%);
}
.ph-room__lamp::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 70px; height: 34px; margin: -30px -35px;
  border-radius: 70px 70px 6px 6px;
  background: #121214;
}
.ph-room__sofa {
  position: absolute; left: 38%; right: 8%; bottom: 14%; height: 18%;
  border-radius: 18px;
  background: linear-gradient(180deg, #6b5e4c, #3a3227);
  opacity: .6;
}
.devices__content { position: relative; }
.screens {
  position: relative;
  display: flex; align-items: flex-end; gap: clamp(20px, 6vw, 110px);
  margin-top: 6vh;
}
.player {
  width: min(520px, 100%);
  padding: 14px;
  border-radius: 14px;
  background: rgba(12, 10, 14, .82);
  border: 1px solid rgba(229, 23, 63, .45);
  box-shadow: 0 0 40px rgba(229, 23, 63, .16);
  backdrop-filter: blur(10px);
}
.player__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.player__top small { font-size: 8px; color: var(--dim); }
.chip--sm { position: static; font-size: 7px; padding: 4px 8px; }
.player__track { display: flex; gap: 12px; align-items: center; }
.art { flex: none; width: 46px; height: 46px; border-radius: 8px; background: linear-gradient(135deg, #ff3e7a, #6a3bff 55%, #ff9d3e); }
.player__track > div { flex: 1; }
.player__track b { display: block; font-size: 12px; font-weight: 600; }
.player__track small { display: block; font-size: 8.5px; color: var(--muted); }
.bar { display: block; height: 2px; margin-top: 7px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.bar i { display: block; height: 100%; width: 36%; border-radius: inherit; background: var(--red); animation: progress 30s linear infinite; }
@keyframes progress { to { width: 100%; } }
.eq { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 36px; }
.eq i {
  flex: 1; height: 30%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #ff4d73, #a0123a);
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite alternate;
  transition: opacity .5s;
}
.eq i:nth-child(odd) { animation-duration: .8s; }
.eq i:nth-child(3n) { animation-duration: 1.4s; }
.eq i:nth-child(4n+1) { animation-delay: -.4s; }
.eq i:nth-child(5n+2) { animation-delay: -.7s; }
@keyframes eq { from { height: 12%; } to { height: 70%; } }
.phone {
  flex: none;
  width: 172px; height: 300px;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px;
  border-radius: 28px;
  background: rgba(16, 16, 20, .92);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  text-align: center;
}
.phone .chip--sm { align-self: flex-start; }
.avatar {
  width: 56px; height: 56px; margin: 46px 0 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f0b98a, #b06a3c 70%);
}
.phone b { font-size: 12px; font-weight: 600; }
.phone small { font-size: 8px; color: var(--muted); }
.phone__btns { display: flex; gap: 16px; margin-top: 18px; }
.phone__btns i { width: 28px; height: 28px; border-radius: 50%; }
.decline { background: #ff3b3b; }
.accept { background: #34d058; }
/* estado: llamada entrante — la música se pausa */
.screens.is-call .eq i { animation-play-state: paused; opacity: .35; }
.screens.is-call .chip--sm em::after { content: " · En pausa"; }
.screens.is-call .avatar { animation: ring 1.2s ease-out infinite; }
.screens.is-call .accept { animation: ring-btn 1.2s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(240, 185, 138, .5); } 100% { box-shadow: 0 0 0 22px rgba(240, 185, 138, 0); } }
@keyframes ring-btn { 0% { box-shadow: 0 0 0 0 rgba(52, 208, 88, .6); } 100% { box-shadow: 0 0 0 12px rgba(52, 208, 88, 0); } }

/* =========================================================
   8 · CTA
   ========================================================= */
.cta {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: 18vh;
  overflow: hidden;
  text-align: center;
}
.cta__glow {
  position: absolute; inset: 0;
  background: radial-gradient(48% 42% at 50% 52%, rgba(229, 23, 63, .3), rgba(120, 8, 40, .12) 50%, transparent 75%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 2; flex: 1; padding-inline: var(--gutter); }
.cta__product {
  display: none; position: relative; height: 34vh; max-width: 90vw;
  aspect-ratio: 16 / 9; margin: 0 auto 1vh;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.cta__product.has-img { display: block; }
.cta__product img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  opacity: 0; transform: scale(.96);
  transition: opacity .6s, transform .8s var(--ease);
}
.cta__product img.is-on.is-ready { opacity: 1; transform: none; }
.cta__title {
  font-size: clamp(44px, 6.2vw, 96px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .98;
  margin-bottom: 22px;
}
.cta__title em { color: var(--red); }
.cta__title .w { display: inline-block; }
.cta__body { max-width: 520px; margin: 0 auto; font-size: 15px; line-height: 1.55; color: var(--muted); }
.price { margin-top: 30px; font-size: 34px; font-weight: 650; letter-spacing: -.03em; }
.price__note { font-size: 11px; color: var(--muted); }
.swatches { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.swatches button {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  outline: 2px solid transparent; outline-offset: 3px;
  transition: outline-color .3s, transform .3s;
}
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-checked="true"] { outline-color: var(--red); }
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 12vh; padding-block: 22px;
  font-size: 10px; color: var(--dim);
  border-top: 1px solid var(--line);
}
.footer nav { display: flex; gap: 18px; }
.footer a:hover { color: var(--text); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav__links, .pill--ghost, .rail { display: none; }
  .hero__pin::after { background: linear-gradient(0deg, var(--bg) 12%, rgba(6, 6, 8, .6) 42%, transparent 60%); }
  .hero__content, .hero__end { right: 0; justify-content: flex-end; padding-bottom: 11vh; }
  /* en móvil las etiquetas pasan a ser una lista bajo el producto */
  .callouts__lines { display: none; }
  .callouts {
    inset: 56% 0 auto; padding-inline: var(--gutter);
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
  }
  .co, .co.is-below { position: static; transform: none !important; font-size: 9.5px; white-space: normal; padding: 0; }
  /* teléfono en horizontal: la lista va en una columna a la derecha del producto (clase puesta en main.js) */
  .hero__pin.is-compact .callouts { inset: 0 0 0 64%; grid-template-columns: 1fr; align-content: center; gap: 8px; }
  /* teléfono en horizontal: el pin no puede ser más alto que la pantalla o se corta el producto */
  .hero__pin.is-compact { min-height: 0; }
  .hero__pin.is-compact :is(.hero__content, .hero__end) { padding-bottom: 5vh; }
  .hero__pin.is-compact :is(.hero__content, .hero__end) .body { display: none; }
  .reveal__pin { align-items: flex-end; padding-bottom: 10vh; }
  .reveal__pin::after { background: linear-gradient(0deg, rgba(6, 6, 8, .95) 10%, transparent 55%); }
  .bento { grid-template-columns: repeat(2, 1fr); margin-top: -12vh; }
  .upgrades__media .vid { left: 0; width: 100%; height: 70%; }
  .upgrades__media::after { background: linear-gradient(0deg, var(--bg) 25%, transparent 60%); }
  .card--title, .card--stats { grid-column: span 2; }
  .card--stats { flex-wrap: wrap; gap: 14px; justify-content: space-between; }
  .sep { display: none; }
  .upgrades { padding-bottom: 0; }
  /* arriba (no centrado): centrado dejaba un hueco grande al entrar desde las tarjetas */
  .gestures__pin { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: 76px; }
  .gestures__media { order: -1; aspect-ratio: 16 / 9; }
  .gestures__text .body, .gestures__text .eyebrow { display: none; }
  .gitem { padding-block: 9px; }
  .gitem p { display: none; }
  .gitem.is-active p { display: block; }
  .screens { flex-direction: column; align-items: stretch; }
  .screens { gap: 16px; }
  .wa { right: 16px; bottom: 16px; }
  .wa__btn { width: 52px; height: 52px; }
  .phone { align-self: center; height: 240px; }
  .avatar { margin-top: 24px; }
  .footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal__content { opacity: 1; }
}
