/* =========================================================
   DAXSO · Landing Campanas LED High Bay FORCE
   Mismo sistema visual de marca que la landing solar:
   rojo Daxso sólido, grafito, blanco. Escenas guiadas por scroll.
   ========================================================= */
:root {
  --red: #DA042C;
  --red-soft: #FDE8EC;
  --char: #1F1F21;
  --char-2: #2A2A2D;
  --night: #0E0E10;
  --graphite: #383838;
  --muted: #6B6B70;
  --gray: #F3F3F4;
  --line: #E4E4E7;
  --teal: #11BCAF;
  --wa: #25D366;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
  --header-h: 70px;
  --ff-head: "Poppins", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; color: var(--char); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main, .footer { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 700; }
.lt { font-weight: 300; }
h1 b, h2 b { font-weight: 700; }
.red { color: var(--red); }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.ico { width: 20px; height: 20px; }

.kicker { display: inline-flex; align-items: center; gap: .6em; font-family: var(--ff-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--light { color: #fff; }
.kicker--light::before { background: var(--red); }

.tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3em .7em; border-radius: 4px; }
.tag--red { background: var(--red); color: #fff; }
.tag--dark { background: var(--char); color: #fff; }
.tag--teal { background: var(--teal); color: #fff; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.6em; border-radius: 8px; font-family: var(--ff-head); font-weight: 600; font-size: .95rem; background: var(--char); color: #fff; border: 2px solid transparent; position: relative; overflow: hidden; isolation: isolate; white-space: nowrap; transition: transform .3s var(--ease), color .3s, border-color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--char); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); }
.btn--wa { background: var(--wa); }
.btn--wa::before { background: #1DA851; }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.7); }
.btn--outline::before { background: #fff; }
.btn--outline:hover { color: var(--char); border-color: #fff; }
.btn--outline-dark { background: transparent; color: var(--char); border-color: var(--char); }
.btn--outline-dark:hover { color: #fff; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost::before { background: var(--red); }
.btn--ghost:hover { color: #fff; border-color: var(--red); }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Topbar / Header ---------- */
.topbar { background: var(--night); color: #fff; font-size: .8rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 1.6rem; padding: .5rem 0; animation: marquee 36s linear infinite; }
.marquee__track i { width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,.3); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header__logo img { height: 24px; width: auto; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; font-weight: 500; font-size: .9rem; }
.nav a { position: relative; color: var(--graphite); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-current { color: var(--red); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--char); transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* =========================================================
   INTRO CINEMÁTICA
   Variables que escribe el JS: --p, --light, --glow, --cable,
   --rx, --ry, --rs (rig), --sideO, --sideY, --frontO, --frontRX
   ========================================================= */
.intro { position: relative; height: 220vh; background: var(--night); color: #fff; }
.intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.intro__bg {
  position: absolute; inset: -4%;
  background: url("https://daxso.pe/wp-content/uploads/2025/10/campana-high-bay-LED-CONTEXTO.jpg") center 30% / cover no-repeat;
  filter: brightness(calc(.1 + var(--light, 0) * .85)) saturate(calc(.2 + var(--light, 0) * .8));
  transform: scale(calc(1.12 - var(--light, 0) * .08));
}
.intro__stage::after { /* velo para legibilidad del texto */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,14,16,.88) 0%, rgba(14,14,16,.55) 38%, rgba(14,14,16,0) 65%);
}
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; z-index: 1; }
.has-frames .intro__canvas { display: block; }
.has-frames .rig, .has-frames .intro__bg { display: none; }
.intro__stage::after { z-index: 1; } /* velo por encima del video, debajo del texto */

.rig {
  position: absolute; z-index: 1; left: 66%; top: 50%; width: min(48vw, 640px); aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%) translate(var(--rx, 0px), var(--ry, 0px)) scale(var(--rs, 1));
  will-change: transform;
}
.rig__cable { position: absolute; left: 50%; bottom: 75%; width: 2px; height: 130vh; margin-left: -1px; background: #8a8a90; opacity: var(--cable, 1); }
.rig__side {
  position: absolute; left: 10%; top: 50%; width: 80%;
  transform: translateY(-50%) scaleY(var(--sideY, 1)); opacity: var(--sideO, 1);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)) brightness(calc(.55 + var(--light, 0) * .6));
}
.rig__front { position: absolute; inset: 0; opacity: var(--frontO, 0); transform: perspective(1200px) rotateX(var(--frontRX, 80deg)); transform-origin: 50% 30%; }
.rig__front img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.rig__glow {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0%, rgba(255,255,248,.95) 32%, rgba(255,252,235,.4) 55%, rgba(255,250,230,0) 70%);
  mix-blend-mode: screen; opacity: var(--glow, 0);
}
.rig__cone { /* resplandor alrededor de la campana encendida */
  position: absolute; left: 50%; top: 50%; width: 240%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(circle, rgba(255,255,240,.45) 0%, rgba(255,255,240,.12) 30%, rgba(255,255,240,0) 60%);
  opacity: var(--glow, 0); pointer-events: none;
}

.intro__copy { position: absolute; inset: 0; z-index: 2; }
.beat {
  position: absolute; left: 0; top: 50%; max-width: 520px; opacity: 0; pointer-events: none;
  transform: translateY(calc(-50% + 30px)); transition: opacity .35s ease, transform .5s var(--ease);
}
.beat.on { transition: opacity .6s var(--ease) .15s, transform .8s var(--ease) .15s; }
.beat.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.beat h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-bottom: 1rem; }
.beat h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.beat p { font-size: 1.08rem; color: rgba(255,255,255,.8); max-width: 26rem; }
.intro__stats { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: flex; gap: 2rem; }
.intro__stats b { display: block; font-family: var(--ff-head); font-size: 1.8rem; line-height: 1; }
.intro__stats span { font-size: .82rem; color: rgba(255,255,255,.65); }
.intro__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.intro__hint { position: absolute; z-index: 3; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); opacity: calc(1 - var(--p, 0) * 12); }
.intro__hint span { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; }
.intro__hint span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: hint 1.6s infinite; }
@keyframes hint { to { transform: translateY(12px); opacity: 0; } }
.intro__bar { position: absolute; z-index: 3; left: 0; bottom: 0; width: 100%; height: 3px; background: rgba(255,255,255,.1); }
.intro__bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Barra de modelos ---------- */
.modelbar {
  position: fixed; z-index: 90; left: 50%; bottom: 22px; display: flex; gap: 4px; padding: 5px;
  background: rgba(24,24,26,.92); backdrop-filter: blur(10px); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.modelbar.show { transform: translate(-50%, 0); opacity: 1; }
.modelbar a { display: flex; flex-direction: column; align-items: center; padding: .45rem 1.2rem; border-radius: 8px; color: rgba(255,255,255,.65); line-height: 1.15; transition: background-color .3s, color .3s; }
.modelbar b { font-family: var(--ff-head); font-size: .95rem; }
.modelbar span { font-size: .68rem; }
.modelbar a:hover { color: #fff; }
.modelbar a.is-active { background: var(--red); color: #fff; }

/* =========================================================
   CAPÍTULOS POR PRODUCTO
   Variables del JS por sección: --p (0–1), --e (entrada), --g (encendido)
   ========================================================= */
.chapter { position: relative; height: 170vh; background: var(--gray); }
.chapter--alt { background: var(--char); color: #fff; }
.chapter__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.chapter__grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 2.5rem; align-items: center; }
.chapter__copy { position: relative; }
.chapter__copy > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.chapter.in .chapter__copy > * { opacity: 1; transform: none; }
.chapter.in .chapter__copy > :nth-child(2) { transition-delay: .06s; }
.chapter.in .chapter__copy > :nth-child(3) { transition-delay: .12s; }
.chapter.in .chapter__copy > :nth-child(4) { transition-delay: .18s; }
.chapter.in .chapter__copy > :nth-child(5) { transition-delay: .24s; }
.chapter.in .chapter__copy > :nth-child(6) { transition-delay: .3s; }
.chapter__num {
  position: absolute; right: 0; top: -2.4rem; z-index: -0; font-family: var(--ff-head); font-weight: 800; font-size: 8rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(0,0,0,.12); pointer-events: none;
}
.chapter--alt .chapter__num { -webkit-text-stroke-color: rgba(255,255,255,.14); }
.chapter h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.chapter__lead { font-size: 1.05rem; color: var(--muted); max-width: 30rem; }
.chapter--alt .chapter__lead { color: rgba(255,255,255,.72); }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 1.4rem 0 1.6rem; border-top: 1px solid var(--line); }
.chapter--alt .specs, .chapter--alt .specs div { border-color: rgba(255,255,255,.14); }
.specs div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
.specs dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.chapter--alt .specs dt { color: rgba(255,255,255,.55); }
.specs dd { margin: 0; font-family: var(--ff-head); font-weight: 700; font-size: 1.35rem; }
.specs div:first-child dd { color: var(--red); }
.chapter__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }

.product { position: relative; aspect-ratio: 16 / 9; }
.product__disc {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--red);
  transform: translate(-50%, -50%) scale(calc(.3 + var(--e, 0) * .7)); opacity: var(--e, 0);
}
.product--wide { width: 88%; margin-left: 12%; }
.product--wide .product__disc { left: 58%; width: 58%; }
.product__disc::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed rgba(0,0,0,.18); animation: spin 40s linear infinite; }
.chapter--alt .product__disc::after { border-color: rgba(255,255,255,.25); }
@keyframes spin { to { transform: rotate(360deg); } }
.product__frame { /* --grow agranda la caja (no el texto de las etiquetas) para compensar el margen vacío de la foto */
  position: absolute; inset: calc(-1 * var(--grow, 0%));
  transform: translateY(calc((1 - var(--e, 0)) * 70px)) scale(calc(.8 + var(--e, 0) * .22)) rotate(calc((1 - var(--e, 0)) * -12deg));
  opacity: calc(.2 + var(--e, 0) * .8);
}
.product__frame > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 34px rgba(0,0,0,.35)); }
.product__glow {
  position: absolute; left: var(--gx); top: var(--gy); width: var(--gs); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.85) 0%, rgba(255,255,248,.55) 30%, rgba(255,252,235,.18) 55%, rgba(255,250,230,0) 70%);
  mix-blend-mode: screen; opacity: var(--g, 0); pointer-events: none;
}
.chapter--alt .product__glow { box-shadow: 0 0 160px 70px rgba(255,255,240, calc(var(--g, 0) * .22)); }

/* Etiquetas con línea (callouts) */
.callout { position: absolute; top: var(--y); width: var(--w); height: 0; z-index: 3; }
.callout--r { left: var(--x); }
.callout--l { right: calc(100% - var(--x)); }
.callout::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--char); transform: scaleX(0); transition: transform .6s var(--ease); }
.chapter--alt .callout::before { background: #fff; }
.callout--r::before { transform-origin: left; }
.callout--l::before { transform-origin: right; }
.callout i { position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(218,4,44,.25); transform: translate(-50%, -50%) scale(0); transition: transform .4s var(--ease); }
.callout--r i { left: 0; }
.callout--l i { left: 100%; }
.callout span {
  position: absolute; top: 0; white-space: nowrap; background: #fff; color: var(--char); padding: .45em .85em; border-radius: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: .86rem; line-height: 1.2; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-50%) translateX(0); transition: opacity .4s var(--ease) .35s, transform .5s var(--ease) .35s;
}
.callout span small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: .72rem; color: var(--muted); }
.callout--r span { left: 100%; margin-left: 8px; }
.callout--l span { right: 100%; margin-right: 8px; }
.callout.on::before { transform: scaleX(1); }
.callout.on i { transform: translate(-50%, -50%) scale(1); }
.callout.on span { opacity: 1; }

.legend { display: none; }

/* ---------- Secciones generales ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.section__head .kicker { justify-content: center; }
.note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.4rem; }

/* Comparador */
.compare__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ccard { position: relative; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ccard--top { border: 2px solid var(--red); }
.ccard .tag { align-self: flex-start; }
.ccard img { width: 100%; height: 170px; object-fit: contain; margin: .6rem 0; transition: transform .5s var(--ease); }
.ccard:hover img { transform: scale(1.06); }
.ccard h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.bar { height: 8px; border-radius: 8px; background: var(--gray); overflow: hidden; margin-bottom: 1rem; }
.bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.ccard.is-visible .bar i { transform: scaleX(var(--v)); }
.ccard ul { list-style: none; padding: 0; margin: 0 0 1.2rem; flex: 1; }
.ccard li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ccard li span { color: var(--muted); }
.ccard li b { text-align: right; font-weight: 600; }

/* Calculadora */
.calc { background: var(--char); color: #fff; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.calc__lead { color: rgba(255,255,255,.7); }
.range { display: block; margin: 1.4rem 0; font-weight: 600; }
.range b { font-family: var(--ff-head); font-size: 1.3rem; color: #fff; }
.range input { width: 100%; margin-top: .7rem; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(var(--red), var(--red)) 0 / var(--fill, 20%) 100% no-repeat, rgba(255,255,255,.18); }
.range input::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--red); cursor: grab; }
.range input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--red); cursor: grab; }
.q { font-weight: 600; margin: 1.2rem 0 .6rem; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { padding: .6em 1.1em; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.25); font-weight: 500; font-size: .92rem; transition: .25s var(--ease); }
.opt:hover { border-color: #fff; }
.opt.is-active { background: var(--red); border-color: var(--red); }
.calc__result { background: #fff; color: var(--char); border-radius: var(--radius); padding: 1.25rem 1.4rem 1.4rem; border-top: 4px solid var(--red); }
.calc__label { font-family: var(--ff-head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.calc__main { display: flex; align-items: center; gap: .8rem; margin: .2rem 0; }
.calc__qty { font-family: var(--ff-head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--red); }
.calc__main span { display: block; color: var(--muted); font-size: .9rem; }
.calc__main strong { font-family: var(--ff-head); font-size: 1.3rem; }
.calc__result img { width: 100%; height: 150px; object-fit: contain; margin: .4rem 0 .8rem; }
.calc__result.swap img, .calc__result.swap .calc__main { animation: swap .45s var(--ease); }
@keyframes swap { 40% { opacity: 0; transform: translateY(8px); } }
.calc__meta { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.calc__meta li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.calc__meta li + li { padding-left: 1rem; border-left: 1px solid var(--line); }
.calc__meta span { display: block; font-size: .75rem; color: var(--muted); }
.calc__meta b { font-family: var(--ff-head); font-size: 1.1rem; }
.calc__why { margin: .1rem 0 0; font-size: .82rem; color: var(--muted); }
.calc__result.is-big .calc__qty, .calc__result.is-big .calc__main span { display: none; }
.calc__result.is-big .calc__optsT { display: none; }
.calc__optsT { margin: .6rem 0 .35rem; font-size: .76rem; color: var(--muted); }
.calc__opts { list-style: none; padding: 0; margin: 0 0 .3rem; display: grid; gap: .3rem; }
.calc__opts[hidden] { display: none; }
.calc__opts li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .38rem .8rem; border: 1.5px solid var(--line); border-radius: 8px; }
.calc__opts li b { display: block; font-family: var(--ff-head); font-size: .95rem; }
.calc__opts small { display: block; font-size: .74rem; color: var(--muted); }
.calc__optq { text-align: right; font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.calc__optq small { font-family: "Inter", system-ui, sans-serif; font-weight: 400; }
.calc__opts li.is-on { border-color: var(--red); background: #FFF5F7; }
.calc__opts li.is-on .calc__optq { color: var(--red); }
.calc__opts em { position: absolute; top: -.6rem; right: .7rem; padding: .05rem .45rem; border-radius: 4px; background: var(--red); color: #fff; font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.calc__result img { height: 110px; }

/* Aplicaciones */
.apps { position: relative; overflow: hidden; color: #fff; padding: clamp(4rem, 10vw, 7rem) 0; background: var(--night); }
.apps__bg { position: absolute; inset: -15% 0; background: url("https://daxso.pe/wp-content/uploads/2025/10/campana-high-bay-LED-CONTEXTO.jpg") center / cover; opacity: .35; transform: translateY(var(--par, 0px)); }
.apps__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.apps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.apps__list li { padding: 1rem 1.2rem; border-left: 3px solid var(--red); background: rgba(14,14,16,.7); font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; border-radius: 0 8px 8px 0; }

/* Beneficios */
.benefits { background: var(--gray); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.benefit { padding: 1.6rem; border-radius: var(--radius); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.benefit > svg { width: 48px; height: 48px; padding: 11px; border-radius: 10px; color: var(--red); background: var(--red-soft); margin-bottom: 1rem; transition: .3s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit:hover > svg { background: var(--red); color: #fff; transform: rotate(-6deg); }
.benefit h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.benefit p { color: var(--muted); margin: 0; font-size: .92rem; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.accordion { background: var(--gray); border-radius: var(--radius); padding: .4rem 1.4rem; }
.accordion details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.accordion details:last-child { border-bottom: 0; }
.accordion summary { list-style: none; cursor: pointer; font-weight: 600; font-family: var(--ff-head); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: #fff; font-size: 1.1rem; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.accordion p { color: var(--muted); margin: .7rem 0 0; }

/* Cierre */
.closing { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6rem) 0; color: #fff; background: var(--red); }
.closing__deco { position: absolute; inset: 0; pointer-events: none; }
.deco-arc { position: absolute; right: -200px; bottom: -320px; width: 640px; height: 640px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); }
.deco-dots { position: absolute; left: 3%; top: 10%; width: 90px; height: 50px; background-image: radial-gradient(circle, rgba(255,255,255,.55) 1.6px, transparent 2px); background-size: 18px 18px; }
.closing__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.closing h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.closing p { color: rgba(255,255,255,.88); font-size: 1.05rem; }
.closing__list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; font-weight: 600; }
.closing__list li { display: flex; align-items: center; gap: .5em; }
.closing__list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; color: var(--red); }
.qform { background: #fff; color: var(--char); padding: 2rem; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); display: grid; gap: .9rem; }
.qform h3 { font-size: 1.35rem; margin: 0; }
.qform label { display: grid; gap: .3rem; font-size: .84rem; font-weight: 600; color: var(--graphite); }
.qform input, .qform select { font: inherit; padding: .8em 1em; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; width: 100%; transition: border-color .25s, box-shadow .25s; }
.qform input:focus, .qform select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,4,44,.15); }
.qform .is-invalid { border-color: var(--red); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.qform__row { display: grid; grid-template-columns: 2fr 1fr; gap: .8rem; }
.qform__row--even { grid-template-columns: 1fr 1fr; }
.qform__note { color: var(--muted); text-align: center; }

/* Footer */
.footer { background: var(--night); color: rgba(255,255,255,.7); padding: 3.5rem 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__logo { height: 24px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer h4 { color: #fff; font-size: 1rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .82rem; }

/* WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); animation: waPulse 2.4s infinite; }
.wa-float svg { width: 32px; height: 32px; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.mobile-cta { display: none; }

.img--fix { filter: brightness(1.1) contrast(1.04); }
/* ---------- Productos recomendados (carrusel) ---------- */
.recos { background: #fff; overflow: hidden; }
.recos__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.recos__head h2 { margin: 0; }
.recos__nav { display: flex; gap: .5rem; }
.recos__btn { width: 46px; height: 46px; border-radius: 8px; border: 1.5px solid var(--char); display: grid; place-items: center; transition: background-color .25s, color .25s, border-color .25s, opacity .25s; }
.recos__btn svg { width: 20px; height: 20px; }
.recos__btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.recos__btn:disabled { opacity: .3; pointer-events: none; }
.recos__track {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 18px; cursor: grab; outline: none;
}
.recos__track::-webkit-scrollbar { display: none; }
.recos__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.recos__track.is-drag * { pointer-events: none; }
.rcard {
  flex: 0 0 calc((100% - 3 * 1.2rem) / 4); scroll-snap-align: start; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.rcard__img { position: relative; height: 190px; background: var(--gray); overflow: hidden; }
.rcard__img img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; mix-blend-mode: multiply; scale: var(--z, 1); transition: transform .5s var(--ease); }
.rcard:hover .rcard__img img { transform: scale(1.07); }
.rcard__img .tag { position: absolute; left: 12px; top: 12px; z-index: 1; }
.rcard__body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.rcard h3 { font-size: 1rem; margin: 0 0 .25rem; }
.rcard p { font-size: .85rem; color: var(--muted); margin: 0 0 .9rem; flex: 1; }
.rcard__cta { display: inline-flex; align-items: center; gap: .4em; font-family: var(--ff-head); font-weight: 600; font-size: .88rem; color: var(--red); }
.rcard__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.rcard:hover .rcard__cta svg { transform: translateX(5px); }
.recos__bar { position: relative; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.recos__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w, 25%); background: var(--red); border-radius: 3px; transform: translateX(var(--x, 0%)); transition: transform .2s linear; }
@media (max-width: 1024px) { .rcard { flex-basis: calc((100% - 2 * 1.2rem) / 2.6); } }
@media (max-width: 680px) {
  .recos__head { align-items: flex-start; }
  .recos__nav { display: none; }
  .recos__track { gap: .8rem; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .rcard { flex-basis: 72%; }
  .rcard__img { height: 160px; }
}

/* Reveal */
.reveal { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal[data-anim="up"] { transform: translateY(40px); }
.reveal[data-anim="left"] { transform: translateX(-50px); }
.reveal[data-anim="right"] { transform: translateX(50px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: .5rem 16px 1.2rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .burger { display: block; }
  .header .btn--sm span { display: none; }
  .header .btn--sm { margin-left: auto; padding: .6em; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Intro: producto arriba, textos abajo */
  .intro__stage::after { background: linear-gradient(0deg, rgba(14,14,16,.92) 0%, rgba(14,14,16,.6) 42%, rgba(14,14,16,0) 70%); }
  .rig { left: 50%; top: 34%; width: 92vw; }
  .beat { top: auto; bottom: 100px; max-width: none; transform: translateY(30px); }
  .beat--1 { bottom: 150px; } /* al cargar, el header aún ocupa la parte superior */
  .beat.on { transform: none; }
  .beat h1 { font-size: 2.3rem; }
  .beat h2 { font-size: 1.9rem; }
  .beat p { font-size: .95rem; }
  .intro__stats { gap: 1.2rem; margin: 1rem 0 1.2rem; }
  .intro__stats b { font-size: 1.4rem; }
  .intro__hint { bottom: 18px; }

  /* Capítulos: producto arriba, ficha abajo */
  .chapter { height: 160vh; }
  .chapter__stage { align-items: flex-start; padding-top: 1.2rem; }
  .chapter__grid { grid-template-columns: 1fr; gap: .4rem; }
  .product, .product--wide { order: -1; width: 100%; max-width: 520px; margin: 0 auto; }
  .chapter__num { font-size: 4.6rem; top: -1.4rem; right: 0; left: auto; }
  .chapter h2 { font-size: 1.9rem; margin-bottom: .3rem; }
  .chapter .kicker { margin-bottom: .4rem; font-size: .7rem; }
  .chapter__lead { font-size: .9rem; margin-bottom: .4rem; }
  .specs { margin: .6rem 0 .9rem; }
  .specs div { padding: .45rem 0; }
  .specs dd { font-size: 1.05rem; }
  .specs dt { font-size: .66rem; }
  .chapter__ctas .btn { flex: 1 1 auto; padding: .75em 1em; font-size: .88rem; }
  /* Producto más grande y etiquetas como puntos numerados + leyenda */
  .product { aspect-ratio: 16 / 10; }
  .product__frame { inset: calc(-1 * var(--grow-m, var(--grow, 0%))); }
  .callout::before, .callout span { display: none; }
  .callout i { width: 22px; height: 22px; border-width: 2px; display: grid; place-items: center; }
  .callout i::after { content: attr(data-n); }
  .callout[data-n="1"] i::after { content: "1"; } .callout[data-n="2"] i::after { content: "2"; } .callout[data-n="3"] i::after { content: "3"; }
  .callout i::after { font: 700 .7rem/1 var(--ff-head); color: #fff; font-style: normal; }
  .legend { display: flex; flex-wrap: wrap; gap: .35rem .9rem; list-style: none; padding: 0; margin: 0 0 .7rem; font-size: .78rem; font-weight: 600; }
  .legend li { display: flex; align-items: center; gap: .35rem; opacity: .35; transition: opacity .4s; }
  .legend li.on { opacity: 1; }
  .legend b { width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 .62rem/1 var(--ff-head); }

  .compare__grid, .calc__grid, .apps__inner, .faq__grid, .closing__grid { grid-template-columns: 1fr; }
  /* Barra de modelos arriba, compacta y en una línea; baja si el header está visible */
  .modelbar { bottom: auto; top: 8px; transform: translate(-50%, -160%); transition: transform .45s var(--ease), opacity .3s, top .4s var(--ease); }
  .modelbar.show { transform: translate(-50%, 0); }
  .modelbar.under-header { top: calc(var(--header-h) + 8px); }
  .modelbar a { flex-direction: row; align-items: baseline; gap: .35em; white-space: nowrap; padding: .5rem .8rem; }
  .modelbar b { font-size: .9rem; }
  .modelbar span { font-size: .66rem; opacity: .8; }
  .chapter__stage { padding-top: 3.6rem; }
}
@media (max-width: 600px) {
  :root { --header-h: 62px; }
  .btn { white-space: normal; text-align: center; }
  .intro__ctas .btn { flex: 1 1 auto; }
  .benefits__grid, .apps__list { grid-template-columns: 1fr 1fr; }
  .benefit { padding: 1.1rem; }
  .apps__list li { font-size: .9rem; padding: .8rem; }
  .calc__qty { font-size: 3.4rem; }
  .footer__grid, .closing__list { grid-template-columns: 1fr; }
  .wa-float { bottom: 84px; right: 16px; width: 54px; height: 54px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 2fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px -14px rgba(0,0,0,.35); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .footer { padding-bottom: 80px; }
}

/* Sin animaciones: todo visible y sin secciones fijadas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .intro, .chapter { height: auto; }
  .intro__stage, .chapter__stage { position: relative; min-height: 100vh; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Barra inferior móvil: una sola línea y sin WhatsApp duplicado ---------- */
@media (max-width: 600px) {
  .mobile-cta { grid-template-columns: auto 1fr; align-items: center; }
  .mobile-cta .btn { white-space: nowrap; font-size: .92rem; padding: .8em 1.1em; }
  .mobile-cta .btn--outline-dark { padding-inline: 1.3em; }
  .wa-float { transition: opacity .3s, transform .3s var(--ease); }
  body.cta-on .wa-float { opacity: 0; transform: scale(.6); pointer-events: none; }
}

/* ---------- Capítulos en celular: todo entra en una pantalla, sea cual sea su altura ---------- */
@media (max-width: 900px) {
  .product, .product--wide { aspect-ratio: auto; height: min(34svh, 60vw); }
}
@media (max-width: 900px) and (max-height: 860px) {
  .chapter__stage { padding-top: 3.3rem; }
  .chapter__lead { display: none; }
  .chapter h2 { font-size: 1.7rem; }
  .specs { margin: .4rem 0 .7rem; }
  .specs div { padding: .35rem 0; }
  .specs dd { font-size: 1rem; }
  .legend { margin-bottom: .4rem; }
}
@media (max-width: 900px) and (max-height: 680px) {
  .product, .product--wide { height: 29svh; }
  .chapter .kicker { display: none; }
  .chapter h2 { font-size: 1.5rem; }
  .chapter__num { font-size: 3.6rem; }
  .legend { font-size: .72rem; gap: .25rem .7rem; }
  .chapter__ctas .btn { padding: .65em .8em; font-size: .84rem; }
}

/* ---------- Botón de acción al final de secciones informativas ---------- */
.section__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2.2rem; }
.section__cta--left { justify-content: flex-start; margin-top: 1.6rem; }
@media (max-width: 600px) {
  .section__cta { flex-wrap: nowrap; gap: .5rem; }
  .section__cta .btn { flex: 1 1 auto; padding: .75em .8em; font-size: .82rem; white-space: nowrap; }
  .section__cta .ico { width: 16px; height: 16px; }
}

/* ---------- Portada: nombre del producto como título principal ---------- */
.p-title { font-size: clamp(2.5rem, 5.4vw, 4.4rem) !important; margin-bottom: .7rem !important; line-height: 1.05; }
.p-title .lt { font-weight: 300; }
.p-title b { font-weight: 800; white-space: nowrap; }
.beat--1, .beat--4 { max-width: 680px; }
.hero__copy > .p-title { max-width: 680px; }
.watt {
  display: inline-block; vertical-align: middle; margin-left: .12em; transform: translateY(-.08em);
  font-style: normal; font-family: var(--ff-head); font-weight: 700; font-size: .38em; letter-spacing: .02em;
  padding: .32em .7em; border-radius: 8px; background: var(--red); color: #fff; white-space: nowrap;
}
p.p-claim.p-claim { font-family: var(--ff-head); font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.25; margin: 0 0 1rem; color: #fff; }
.p-claim .lt { font-weight: 300; }
.p-claim b { font-weight: 700; color: var(--red); }
.p-chips { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.p-chips li { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 6px; font-family: var(--ff-head); font-weight: 600; font-size: .85rem; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.p-chips svg { width: 16px; height: 16px; color: var(--red); }
.p-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 680px) {
  .p-title { font-size: 2.1rem !important; margin-bottom: .4rem !important; }
  .watt { font-size: .46em; }
  p.p-claim.p-claim { font-size: 1.05rem; margin-bottom: .7rem; }
  .p-chips { margin-bottom: .9rem; gap: .35rem; }
  .p-chips li { font-size: .72rem; padding: .32em .55em; }
  .p-ctas { flex-wrap: nowrap; gap: .5rem; }
  .p-ctas .btn { flex: 1 1 auto; padding: .8em .7em; font-size: .84rem; white-space: nowrap; }
  .p-ctas .ico { width: 16px; height: 16px; }
}

/* ---------- Videos verticales (reels) ---------- */
.reels { background: var(--char); color: #fff; overflow: hidden; }
.reels .section__head p { color: rgba(255,255,255,.7); }
.reels__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 270px; gap: 1.2rem; justify-content: center;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px;
}
.reels__track::-webkit-scrollbar { display: none; }
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer;
  scroll-snap-align: center; box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.reel:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -24px rgba(218,4,44,.45); }
.reel__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.85) 100%); }
.reel__dur { position: absolute; z-index: 2; right: 12px; top: 12px; font: 600 .75rem/1 var(--ff-head); padding: .4em .6em; border-radius: 6px; background: rgba(0,0,0,.55); }
.reel__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(218,4,44,.6); animation: reelPulse 2.2s infinite; transition: transform .3s var(--ease);
}
.reel__play svg { width: 26px; height: 26px; margin-left: 3px; }
.reel:hover .reel__play { transform: translate(-50%, -50%) scale(1.1); }
@keyframes reelPulse { 70% { box-shadow: 0 0 0 18px rgba(218,4,44,0); } 100% { box-shadow: 0 0 0 0 rgba(218,4,44,0); } }
.reel__info { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; }
.reel__info h3 { font-size: 1.05rem; margin: .45rem 0 0; color: #fff; }
/* Variante destacada (un solo video junto al texto) */
.reels__feature { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: center; }
.reels__feature .reel { width: 100%; }
.reels__feature p { color: rgba(255,255,255,.75); }
.reels__feature .section__cta { justify-content: flex-start; }

/* Visor */
.reel-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(8,8,10,.86); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.reel-modal.open { opacity: 1; }
.reel-modal[hidden] { display: none; }
.reel-modal__box { position: relative; width: min(420px, 100%); max-height: 100%; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .35s var(--ease); }
.reel-modal.open .reel-modal__box { transform: none; }
.reel-modal video { width: 100%; aspect-ratio: 9 / 16; max-height: calc(100svh - 140px); background: #000; display: block; }
.reel-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 1rem; background: var(--char); color: #fff; }
.reel-modal__title { flex: 1; min-width: 0; font-family: var(--ff-head); font-size: .88rem; line-height: 1.25; }
.reel-modal__cta { flex: none; padding: .7em .9em; font-size: .82rem; white-space: nowrap; }
.reel-modal__close { position: absolute; z-index: 2; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; }
.reel-modal__close svg { width: 20px; height: 20px; }
body.reel-lock { overflow: hidden; }

@media (max-width: 900px) {
  .reels__feature { grid-template-columns: 1fr; gap: 1.6rem; }
  .reels__feature .reel { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .reels__track { justify-content: start; grid-auto-columns: 68%; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; gap: .8rem; }
  .reel__play { width: 56px; height: 56px; }
  .reel-modal__bar { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- Testimonios (clientes) ---------- */
.testimonials { overflow: hidden; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 1rem; }
.section__head--row .kicker { justify-content: flex-start; }
.tslider__track { display: flex; gap: 1.2rem; transition: transform .7s var(--ease); }
.tcard { margin: 0; flex: 0 0 calc((100% - 2.4rem) / 3); padding: 1.8rem; border-radius: var(--radius); background: var(--gray); display: flex; flex-direction: column; position: relative; }
.tcard::before { content: "“"; position: absolute; right: 20px; top: 0; font: 700 5rem/1 var(--ff-head); color: var(--red); opacity: .15; }
.stars { color: #F5A524; letter-spacing: .12em; }
.tcard blockquote { margin: .8rem 0 1.4rem; font-size: .98rem; flex: 1; }
.tcard figcaption { display: flex; gap: .8rem; align-items: center; }
.tcard small { display: block; color: var(--muted); }
.avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--ff-head); background: var(--red); color: #fff; }
.tslider__nav { display: flex; gap: .5rem; }
.tslider__nav button { width: 44px; height: 44px; border-radius: 8px; border: 1.5px solid var(--char); background: transparent; color: var(--char); display: grid; place-items: center; cursor: pointer; transition: .25s; }
.tslider__nav button svg { width: 18px; height: 18px; }
.tslider__nav button:first-child svg { transform: rotate(180deg); }
.tslider__nav button:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 1024px) { .tcard { flex-basis: calc((100% - 1.2rem) / 2); } }
@media (max-width: 680px) { .tcard { flex-basis: 100%; } .section__head--row { flex-direction: column; align-items: flex-start; } }

/* =========================================================
   ALMACÉN: las campanas se encienden según la altura del techo
   ========================================================= */
.whouse { position: relative; height: 320vh; background: var(--night); color: #fff; }
.whouse__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.whouse__grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.whouse__copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .6rem; }
.whouse__lead { color: rgba(255,255,255,.7); margin: 0 0 1.4rem; }
.whouse__steps { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .5rem; }
.whouse__steps button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: rgba(255,255,255,.55); font: inherit; text-align: left; cursor: pointer; transition: border-color .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.whouse__steps b { font-family: var(--ff-head); font-size: 1.05rem; color: #fff; opacity: .65; transition: opacity .35s; }
.whouse__steps span { font-size: .85rem; }
.whouse__steps button:hover { border-color: rgba(255,255,255,.4); }
.whouse__steps button.is-active { border-color: var(--red); background: rgba(218,4,44,.14); color: #fff; }
.whouse__steps button.is-active b { opacity: 1; }
.whouse__detail { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.whouse:not([data-stage="-1"]) .whouse__detail { opacity: 1; transform: none; }
.whouse__detail p { margin: 0 0 1rem; color: rgba(255,255,255,.75); }
.whouse__detail strong { font-family: var(--ff-head); font-size: 1.6rem; color: #fff; }
.whouse__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.whouse__view { position: relative; }
.whouse__view svg { width: 100%; height: auto; max-height: 78vh; display: block; }
.whouse__hint { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); white-space: nowrap; transition: opacity .4s; pointer-events: none; }
.whouse:not([data-stage="-1"]) .whouse__hint { opacity: 0; }
/* Dibujo */
.wh-out { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 2.5; stroke-linejoin: round; }
.wh-floor { fill: #161618; }
.wh-rack { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; }
.wh-person { fill: rgba(255,255,255,.28); }
.wh-amb { fill: #fff; opacity: 0; transition: opacity .7s var(--ease); }
.whouse[data-stage="0"] .wh-amb { opacity: .025; }
.whouse[data-stage="1"] .wh-amb { opacity: .04; }
.whouse[data-stage="2"] .wh-amb { opacity: .055; }
.wh-ruler { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.wh-num { fill: rgba(255,255,255,.55); font: 600 17px "Poppins", sans-serif; }
.wh-band { fill: var(--red); opacity: 0; transition: opacity .5s var(--ease); }
.wh-band.on { opacity: 1; }
.wh-zone { fill: var(--red); opacity: 0; transition: opacity .5s var(--ease); }
.wh-zone.on { opacity: .07; }
.wh-cable { stroke: rgba(255,255,255,.22); stroke-width: 1.5; }
.wh-body { fill: #46464b; transition: fill .5s; }
.wh-lens { fill: #5c5c62; transition: fill .5s; }
.wh-beam, .wh-pool, .wh-glow { opacity: 0; transition: opacity .7s var(--ease); mix-blend-mode: screen; }
.wh-tag { fill: rgba(255,255,255,.35); font: 600 16px "Poppins", sans-serif; transition: fill .5s; }
.wh-row.on .wh-body { fill: #5a5a60; }
.wh-row.on .wh-lens { fill: #fffbea; }
.wh-row.on .wh-beam, .wh-row.on .wh-glow { opacity: 1; }
.wh-row.on .wh-pool { opacity: .9; }
.wh-row.on .wh-tag { fill: #fff; }
@media (max-width: 900px) {
  .whouse { height: 300vh; }
  .whouse__stage { align-items: start; padding-top: calc(var(--header-h) + .4rem); }
  .whouse__grid { grid-template-columns: 1fr; gap: .6rem; }
  .whouse__view { order: -1; }
  .whouse__view svg { max-height: 40vh; margin-inline: auto; }
  .whouse__lead { display: none; }
  .whouse__copy h2 { font-size: 1.7rem; margin-bottom: .7rem; }
  .whouse__steps { grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-bottom: .9rem; }
  .whouse__steps button { flex-direction: column; align-items: flex-start; gap: .1rem; padding: .55rem .6rem; }
  .whouse__steps b { font-size: .86rem; }
  .whouse__steps span { font-size: .7rem; line-height: 1.3; }
  .whouse__detail strong { font-size: 1.3rem; }
  .whouse__ctas .btn { flex: 1; padding: .8em 1em; font-size: .88rem; }
  .wh-num { font-size: 26px; }
  .wh-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .whouse { height: auto; }
  .whouse__stage { position: relative; height: auto; padding: 4.5rem 0; }
}

/* =========================================================
   CALCULADORA: almacén en diagonal (sigue el resultado)
   ========================================================= */
.calc__head { max-width: 720px; margin: 0 0 .9rem; }
.calc__layout { display: grid; grid-template-columns: minmax(320px, 430px) 1fr; gap: 2.2rem; align-items: start; }
.calc__side { display: grid; gap: 1rem; grid-column: 1; grid-row: 1; }
.calc__side .range { margin: .6rem 0; }
.calc__side .range input { margin-top: .45rem; }
/* El almacén queda fijo a la derecha mientras se mueven los controles, para no subir y bajar */
.calc__ware { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 14px); border-radius: var(--radius); background: #171719; overflow: hidden; }
.calc__ware svg { width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 40px); display: block; }
.calc__wareTag { position: absolute; top: 14px; right: 14px; padding: .45rem .8rem; border-radius: 8px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.16); font: 600 .9rem var(--ff-head); color: #fff; }
/* "Tipo de espacio" sobre el plano, para que todo quede en una pantalla */
.calc__wareOpts { position: absolute; top: 14px; left: 14px; padding: .55rem .7rem .65rem; border-radius: 10px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.calc__wareOpts .q { margin: 0 0 .4rem; font-size: .72rem; }
.calc__wareOpts .opts { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.calc__wareOpts .opt { padding: .4em .7em; font-size: .8rem; text-align: center; }
.calc__wareHint { position: absolute; left: 14px; bottom: 10px; font-size: .72rem; color: rgba(255,255,255,.45); }
.calc__result img { display: none; }
.wr-floor { fill: #303036; }
.wr-wall-l { fill: #232327; }
.wr-wall-r { fill: #2a2a2f; }
.wr-edge { fill: none; stroke: rgba(255,255,255,.32); stroke-width: 1.5; stroke-linejoin: round; }
.wr-edge--front { stroke-dasharray: 6 7; opacity: .55; }
.wr-rack-top { fill: #45454b; }
.wr-rack-l { fill: #34343a; }
.wr-rack-r { fill: #3c3c42; }
.wr-ruler { stroke: rgba(255,255,255,.4); stroke-width: 1.5; }
.wr-num { fill: rgba(255,255,255,.75); font: 600 18px "Poppins", sans-serif; }
.wr-person { fill: rgba(255,255,255,.32); }
.wr-cable { stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.wr-body { fill: #4a4a50; }
.wr-lens { fill: #5a5a60; transition: fill .5s; }
.wr-pool { fill: url(#wrPool); mix-blend-mode: screen; }
.wr-cone { fill: url(#wrCone); mix-blend-mode: screen; }
.wr-glow { fill: url(#wrGlow); mix-blend-mode: screen; }
.wr-amb { fill: #fff; }
.wr-on { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.calc__ware.lit .wr-on { opacity: var(--k, 1); }
.calc__ware.lit .wr-lens, .calc__ware.lit .wr-glow { opacity: 1; }
.calc__ware.lit .wr-amb { opacity: .06; }
.calc__ware.lit .wr-lens { fill: #fffbea; }
@media (max-width: 900px) {
  .calc__layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .calc__ware { grid-column: 1; grid-row: 1; }
  .calc__side { grid-column: 1; grid-row: 2; }
  /* En celular el dibujo se queda pegado arriba y los controles pasan por debajo */
  .calc__ware { top: calc(var(--header-h) + 6px); z-index: 5; box-shadow: 0 16px 30px -18px rgba(0,0,0,.8); }
  .calc__ware svg { max-height: 30vh; }
  .calc__wareOpts { position: static; padding: .4rem .7rem .6rem; border: 0; border-radius: 0; background: none; backdrop-filter: none; }
  .calc__wareOpts .q { display: none; }
  .calc__wareOpts .opts { grid-template-columns: repeat(4, 1fr); gap: .3rem; }
  .calc__wareOpts .opt { padding: .4em .3em; font-size: .7rem; line-height: 1.2; }
  .calc__wareTag { top: 8px; right: 8px; font-size: .75rem; padding: .35rem .6rem; }
  .calc__wareHint { display: none; }
  .wr-num { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .wr-on { transition: none; } }
