/* ============ TOCHE — mobile first ============ */
:root {
  --bg: #0e0e0e; --bg2: #161616; --bg3: #1d1d1d; --paper: #f4f1ec; --ink: #121212;
  --or: #ff5a1f; --or2: #ff8a4c; --muted: #8d8d8d; --line: rgba(255,255,255,.09);
  --display: "Anton", Impact, sans-serif; --sans: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", monospace;
  --pad: 1.25rem; --r: 18px; --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { background: var(--bg); color: #ececec; font-family: var(--sans); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--or); color: #000; }
.mono { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.eyebrow { color: var(--or); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 22px; height: 2px; background: currentColor; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 11vw, 5.5rem); line-height: .92; text-transform: uppercase; letter-spacing: .005em; }
h2 em { font-style: normal; color: var(--or); }
section { padding: 4.5rem var(--pad); position: relative; }
.app { position: relative; z-index: 2; }

.grain { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- SPLASH & BARRA DE PROGRESO ---------- */
.splash {
  position: fixed; inset: 0; z-index: 120; background: #0b0b0b;
  display: grid; place-items: center; padding: 2rem;
  transition: opacity .65s var(--ease), visibility .65s;
}
.splash.out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { width: min(290px, 82vw); display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; }
.splash-brand { display: flex; align-items: center; justify-content: center; margin-bottom: .15rem; }
.splash-brand img { width: 172px; height: auto; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(249,118,17,.18)); }
.splash-motto { color: var(--muted); font-size: .64rem; }
.splash-bar { width: 100%; height: 3px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; margin-top: .25rem; }
.splash-bar span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--or), var(--or2)); transform-origin: left; transform: scaleX(0); }
.splash-count { color: var(--or); font-size: .72rem; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2.5px; z-index: 70; pointer-events: none; background: rgba(255,255,255,.05); }
.progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--or), var(--or2)); transform-origin: left; transform: scaleX(0); }

/* ---------- FONDO DE VIDEO EN CANVAS (.page-bg) ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: var(--bg) url("../img/hero-poster.jpg") 66% center / cover no-repeat;
}
.page-bg canvas {
  width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity .65s ease;
  will-change: transform; transform-origin: 68% 58%;
}
.page-bg canvas.ready { opacity: 1; }
.bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.76) 0%, rgba(10,10,10,.22) 20%, rgba(10,10,10,.08) 46%, rgba(10,10,10,.78) 78%, var(--bg) 100%),
    radial-gradient(110% 60% at 0% 100%, rgba(255,90,31,.2), transparent 62%);
}
.bg-tint {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(14,14,14,.86) 0%, rgba(14,14,14,.96) 100%);
}

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: .8rem var(--pad); transition: transform .35s var(--ease), background .35s var(--ease), padding .35s var(--ease); }
.nav.solid { background: rgba(14,14,14,.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px); padding-block: .55rem; border-bottom: 1px solid var(--line); }
.nav.nav-hide { transform: translateY(-105%); }
.brand { display: inline-flex; align-items: center; z-index: 2; }
.brand img { height: 42px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0,0,0,.6)); transition: height .35s var(--ease), transform .25s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.nav.solid .brand img { height: 36px; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: .5rem; z-index: 2; }
.cart-btn { display: flex; align-items: center; gap: .45rem; height: 42px; padding: 0 .85rem; border-radius: 99px; background: rgba(14,14,14,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); font-weight: 700; font-size: .85rem; transition: .2s; }
.cart-btn:hover { border-color: var(--or); }
.cart-label { display: none; }
.cart-count { background: var(--or); color: #000; border-radius: 99px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.15); } }
.burger { width: 42px; height: 42px; border-radius: 50%; background: var(--or); display: grid; place-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #000; transition: .3s var(--ease); }
.burger.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 6rem var(--pad) 2rem; display: flex; flex-direction: column; gap: .2rem;
  clip-path: circle(0 at calc(100% - 2.6rem) 2.2rem); transition: clip-path .6s var(--ease); }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 2.6rem) 2.2rem); }
.mobile-menu a { font-family: var(--display); font-size: 3.2rem; text-transform: uppercase; line-height: 1.15; border-bottom: 1px solid var(--line); padding: .5rem 0; display: flex; align-items: baseline; gap: 1rem; }
.mobile-menu a small { color: var(--or); }
.mobile-menu p { margin-top: auto; }

/* ---------- HERO STICKY (3 ESCENAS + SECUENCIA DE VIDEO) ---------- */
.hero { position: relative; padding: 0; height: 225vh; }
.hero-sticky {
  position: sticky; top: 0; width: 100%;
  height: 100vh; height: 100svh; overflow: hidden;
}
.hero-sticky::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .38;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(0deg, #000, transparent 58%);
  -webkit-mask-image: linear-gradient(0deg, #000, transparent 58%);
}
.scene {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  padding: 4.8rem var(--pad) 4.8rem;
  opacity: calc(var(--in, 1) * (1 - var(--out, 0)));
  transform: translate3d(0, calc((1 - var(--in, 1)) * 42px - var(--out, 0) * 48px), 0);
  will-change: transform, opacity;
  pointer-events: none;
}
.scene a, .scene button { pointer-events: auto; }
.scene-1 { justify-content: flex-end; }
.scene-2, .scene-3 { --in: 0; visibility: hidden; align-items: center; justify-content: center; text-align: center; }

.fx [data-hero] { opacity: 0; transform: translateY(20px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--hd, 0ms); }
.fx body.loaded [data-hero] { opacity: 1; transform: none; }

.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem .4rem .65rem;
  border-radius: 99px; font-size: .72rem; font-weight: 600;
  background: rgba(14,14,14,.68); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: .9rem;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 0 rgba(255,90,31,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }

.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.65rem, 12vw, 6.2rem); line-height: .94; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 8px 28px rgba(0,0,0,.55); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .03em; }
.hero-title .line span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero-title .line:nth-child(2) span { transition-delay: .1s; }
.loaded .hero-title .line span { transform: none; }
.hero-title em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--or), var(--or2)); -webkit-background-clip: text; background-clip: text; }

.hero-sub { max-width: 420px; margin: .85rem 0 1.25rem; color: #dcdcdc; font-size: .95rem; line-height: 1.5; text-shadow: 0 2px 14px rgba(0,0,0,.75); }
.hero-cta { display: grid; gap: .6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; border-radius: 99px; transition: .25s var(--ease); }
.btn-primary { background: var(--or); color: #000; box-shadow: 0 10px 30px -10px rgba(255,90,31,.75); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-primary span { transition: .25s; } .btn-primary:hover span { transform: translateX(4px); }
.btn-ghost { background: rgba(14,14,14,.52); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--or); color: var(--or); }
.btn.full { width: 100%; }
.btn.disabled { opacity: .35; pointer-events: none; }

.hero-feats { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .75rem; color: #cfcfcf; }
.hero-feats li { display: flex; align-items: center; gap: .38rem; }
.hero-feats b { color: var(--or); font-weight: 400; }

.hero-card { display: none; }
.hero-badge {
  position: absolute; z-index: 2; right: var(--pad); top: 4.8rem; width: 80px; height: 80px;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(14,14,14,.68) 0%, rgba(14,14,14,.2) 68%, transparent 74%);
  border-radius: 50%;
}
.hero-badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; fill: #fff; font: 700 14px var(--mono); letter-spacing: 2.5px; }
.hero-badge strong { font-family: var(--display); font-size: 1.55rem; color: var(--or); font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Escena 2: Manifiesto palabra por palabra */
.scene-2-inner {
  max-width: 900px; padding: 1.4rem 1rem; border-radius: 26px;
  background: radial-gradient(closest-side, rgba(10,10,10,.68) 0%, rgba(10,10,10,.32) 68%, transparent 100%);
}
.hero-quote {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.1rem, 8.2vw, 4.9rem); line-height: 1.02; letter-spacing: .012em;
  color: #fff; text-shadow: 0 10px 34px rgba(0,0,0,.85);
}
.hero-quote .w { display: inline-block; will-change: transform, opacity; }
.hero-quote .w.em { color: var(--or); }

/* Escena 3: Cifras de respaldo */
.scene-3-inner { width: min(980px, 100%); }
.hero-stats-grid { display: grid; grid-template-columns: 1fr; gap: .7rem; margin-top: .5rem; }
.h-stat {
  background: rgba(14,14,14,.74); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; padding: 1.15rem 1.1rem; text-align: center;
  box-shadow: 0 20px 45px -24px rgba(0,0,0,.85);
}
.h-stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 8vw, 4.2rem); line-height: .96; color: var(--or); margin-bottom: .3rem; }
.h-stat span { display: block; color: #e2e2e2; font-size: .66rem; letter-spacing: .11em; }

/* Pie del Hero (indicadores de escena + barra de scrub del video) */
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: .95rem; z-index: 5;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .55rem 1rem;
}
.scene-dots { display: flex; align-items: center; gap: .4rem; }
.scene-dots button {
  width: 9px; height: 9px; border-radius: 99px;
  background: rgba(255,255,255,.32); border: 1px solid rgba(0,0,0,.25);
  transition: width .35s var(--ease), background .3s;
}
.scene-dots button.on { width: 28px; background: var(--or); }
.hero-scroll-link { display: inline-flex; align-items: center; gap: .38rem; color: rgba(255,255,255,.82); font-size: .64rem; transition: color .2s; }
.hero-scroll-link:hover { color: var(--or); }
.hero-scroll-link svg { color: var(--or); animation: bounceY 1.8s ease-in-out infinite; }
@keyframes bounceY { 50% { transform: translateY(3px); } }
.video-scrub { grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.16); border-radius: 99px; overflow: hidden; }
.video-scrub span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--or), var(--or2)); transform-origin: left; transform: scaleX(0); }

/* ---------- TICKER ---------- */
.ticker { background: var(--or); color: #000; overflow: hidden; padding: .75rem 0; transform: rotate(-2deg) scale(1.05); margin: -1.4rem 0 0; position: relative; z-index: 3; }
.ticker-track { display: flex; gap: 1.4rem; width: max-content; animation: marquee 28s linear infinite; font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
.ticker i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- STORY ---------- */
.story { display: grid; gap: 3rem; padding-top: 6rem; background: rgba(14,14,14,.92); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.story-img { position: relative; margin-right: .8rem; z-index: 1; }
.story-img img { border-radius: var(--r); width: 100%; }
.story-img::before { content: ""; position: absolute; inset: .8rem -.8rem -.8rem .8rem; border: 2px solid var(--or); border-radius: var(--r); z-index: -1; }
.story-text h2 { font-size: clamp(2.4rem, 10vw, 4.2rem); }
.story-text p { color: #b9b9b9; margin-top: 1rem; max-width: 520px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 2rem; }
.stats div { background: var(--bg3); border: 1px solid var(--line); border-radius: 14px; padding: 1rem .8rem; }
.stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 7vw, 2.4rem); color: var(--or); line-height: 1; }
.stats span { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- CATALOG ---------- */
.catalog { background: var(--paper); color: var(--ink); border-radius: 28px 28px 0 0; }
.catalog .eyebrow { color: var(--or); }
.section-head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.filters { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) .3rem; scroll-snap-type: x mandatory; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; padding: .65rem 1.15rem; border: 1.5px solid rgba(0,0,0,.15); border-radius: 99px; font-weight: 700; font-size: .85rem; transition: .2s; background: #fff; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; perspective: 1200px; }
.card { background: #fff; cursor: pointer; position: relative; display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto 1fr auto; border-radius: var(--r); overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 30px -18px rgba(0,0,0,.25);
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .2s, box-shadow .3s, opacity .6s; }
.card:active { transform: scale(.98); }
.card.hide { display: none; }
.card-top { grid-column: 2; display: flex; justify-content: space-between; padding: 1rem 1rem 0; color: var(--muted); font-size: .62rem; }
.card-top span:last-child { color: var(--or); }
.card-img { grid-row: 1 / 4; grid-column: 1; background: radial-gradient(circle at 50% 60%, #fff 0%, #ecebe7 100%); display: grid; place-items: center; padding: .8rem; }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card-body { grid-column: 2; padding: .3rem 1rem .6rem; }
.card-body .mono { font-size: .62rem; }
.card-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; text-transform: uppercase; line-height: 1.05; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.pills li { font-size: .62rem; font-weight: 700; background: var(--paper); padding: .2rem .5rem; border-radius: 99px; }
.pills li:nth-child(3) { display: none; }
.card-cta { grid-column: 2; padding: .7rem 1rem; font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; color: var(--or); transition: .25s; }

/* ---------- TECH ---------- */
.tech { background: var(--bg2); }
.tech-head { margin-bottom: 2rem; }
.anatomy { display: grid; gap: 2rem; }
.anatomy-img { position: relative; border-radius: var(--r); overflow: hidden; }
.hotspot { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--or); color: #000; font-weight: 800; font-size: .85rem; transform: translate(-50%, -50%); transition: .3s var(--ease); }
.hotspot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--or); animation: pulse 2s infinite; }
.hotspot.on { background: #fff; transform: translate(-50%, -50%) scale(1.15); }
@keyframes pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.features { list-style: none; display: grid; gap: .6rem; }
.features li { display: flex; gap: 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: .3s var(--ease); background: transparent; }
.features li.on { background: var(--bg3); border-color: rgba(255,90,31,.5); }
.features li > span { color: var(--or); padding-top: .3rem; }
.features h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .02em; }
.features p { color: #a9a9a9; font-size: .92rem; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin .4s; }
.features li.on p { max-height: 140px; margin-top: .35rem; }

/* ---------- BANNER ---------- */
.banner { display: grid; gap: 2.5rem; background: var(--bg); }
.banner-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--r); }
.banner-text h2 { font-size: clamp(2.4rem, 10vw, 4.2rem); }
.banner-text p { color: #b9b9b9; margin-top: 1.1rem; max-width: 500px; }
.uses { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.uses span { border: 1px solid rgba(255,90,31,.6); color: var(--or); padding: .45rem .85rem; border-radius: 99px; font-size: .62rem; }

/* ---------- CONTACT ---------- */
.contact { background: #0a0a0a; overflow: hidden; padding-top: 5.5rem; }
.stripes { position: absolute; top: 0; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--or) 0 18px, #111 18px 36px); }
.contact .big { font-size: clamp(3rem, 14vw, 8.5rem); margin-bottom: 2.2rem; }
.contact-grid { display: grid; gap: .6rem; }
.contact-card { background: var(--bg3); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; transition: .3s var(--ease); position: relative; }
.contact-card::after { content: "↗"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--or); transition: .3s; }
.contact-card span { color: var(--or); }
.contact-card strong { font-size: 1.05rem; word-break: break-word; padding-right: 2rem; }
.contact-card:hover { background: var(--or); color: #000; } .contact-card:hover span, .contact-card:hover::after { color: #000; }
.footer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 1.8rem var(--pad) 2.2rem; color: #5d5d5d; border-top: 1px solid var(--line); background: #0a0a0a; font-size: .62rem; }
.footer-brand { display: inline-flex; align-items: center; }
.footer-brand img { height: 38px; width: auto; object-fit: contain; opacity: .92; transition: opacity .2s, transform .25s var(--ease); }
.footer-brand:hover img { opacity: 1; transform: translateY(-1px); }

/* ---------- MODAL (bottom sheet on mobile) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; pointer-events: none; opacity: 0; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.modal-panel { position: relative; background: var(--paper); color: var(--ink); width: 100%; max-height: 92svh; overflow: auto; overscroll-behavior: contain;
  border-radius: 24px 24px 0 0; display: grid; transform: translateY(100%); transition: transform .45s var(--ease); }
.modal-panel::before { content: ""; position: sticky; top: 8px; display: block; width: 44px; height: 5px; border-radius: 9px; background: rgba(0,0,0,.2); margin: 8px auto -13px; z-index: 3; grid-column: 1 / -1; }
.modal.open .modal-panel { transform: none; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; z-index: 4; }
.modal-media { background: radial-gradient(circle at 50% 55%, #fff, #ebe9e4); padding: 2rem 1.2rem 1rem; display: flex; flex-direction: column; gap: .8rem; }
.modal-media > img { width: 100%; aspect-ratio: 4/3; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: flex; gap: .45rem; justify-content: center; }
.thumbs:empty { display: none; }
.thumbs button { width: 58px; height: 46px; border: 2px solid transparent; background: #fff; border-radius: 10px; overflow: hidden; }
.thumbs button.on { border-color: var(--or); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.modal-info { padding: 1.5rem var(--pad) calc(1.5rem + env(safe-area-inset-bottom)); }
.modal-info .eyebrow { margin-bottom: .5rem; }
.modal-info h3 { font-family: var(--display); font-weight: 400; font-size: 2.6rem; text-transform: uppercase; line-height: 1; margin-bottom: 1rem; }
dl { background: #fff; border-radius: 14px; padding: .3rem 1rem; }
dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #eee; font-size: .9rem; }
dl div:last-child { border: 0; }
dt { color: #777; } dd { font-weight: 700; text-align: right; }
.label { margin: 1.4rem 0 .6rem; color: #555; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.sizes button { border: 1.5px solid #d8d5cf; background: #fff; height: 44px; border-radius: 10px; font-weight: 700; font-size: .85rem; transition: .15s; }
.sizes button.on { background: var(--ink); color: var(--or); border-color: var(--ink); }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qty { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0; }
.qty button { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid #d8d5cf; font-weight: 800; font-size: 1.2rem; }
.qty span:not(.mono) { font-weight: 800; min-width: 22px; text-align: center; font-size: 1.1rem; }

/* ---------- DRAWER ---------- */
.drawer { position: fixed; inset: 0; background: var(--bg2); z-index: 90; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { padding: 1.3rem var(--pad); border-bottom: 1px solid var(--line); position: relative; }
.drawer-head h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; }
.drawer-head .modal-close { top: 1.2rem; background: #2a2a2a; }
.cart-list { list-style: none; flex: 1; overflow: auto; padding: .6rem var(--pad); }
.cart-list li { display: flex; align-items: center; gap: .9rem; padding: .7rem; margin-bottom: .5rem; background: var(--bg3); border-radius: 14px; }
.cart-list img { width: 64px; height: 54px; object-fit: contain; background: #fff; border-radius: 10px; }
.cart-list li div { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.cart-list li button { width: 34px; height: 34px; border-radius: 50%; color: #888; } .cart-list li button:hover { color: var(--or); }
.cart-list .empty { justify-content: center; text-align: center; color: var(--muted); background: none; padding-top: 3rem; }
.drawer-foot { padding: 1.2rem var(--pad) calc(1.2rem + env(safe-area-inset-bottom)); display: grid; gap: .6rem; border-top: 1px solid var(--line); font-size: .85rem; }

.toast { position: fixed; bottom: calc(1.2rem + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 200%); background: var(--ink); color: #fff; border: 1px solid var(--or); border-radius: 99px; font-weight: 600; font-size: .88rem; padding: .8rem 1.3rem; z-index: 99; transition: .4s var(--ease); width: max-content; max-width: 90vw; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }

/* ============ ≥ 600px ============ */
@media (min-width: 600px) {
  :root { --pad: 2rem; }
  .hero-cta { display: flex; flex-wrap: wrap; }
  .hero-title { font-size: clamp(3.3rem, 8.8vw, 6.2rem); }
  .hero-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .cart-label { display: inline; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto; }
  .card-top, .card-body, .card-cta, .card-img { grid-column: 1; grid-row: auto; }
  .card-top { padding: 1.1rem 1.2rem 0; font-size: .68rem; }
  .card-img { background: none; padding: 1rem 1.5rem; }
  .card-img img { aspect-ratio: 4/3; }
  .card-body { padding: 0 1.2rem 1rem; }
  .card-body h3 { font-size: 2rem; }
  .pills li:nth-child(3) { display: block; }
  .card-cta { border-top: 1px solid #f0eeea; padding: 1rem 1.2rem; color: var(--ink); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats div { padding: 1.3rem 1.1rem; }
  .footer { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .sizes { grid-template-columns: repeat(6, 1fr); }
  .drawer { left: auto; width: 440px; border-left: 1px solid var(--line); box-shadow: -30px 0 60px rgba(0,0,0,.6); }
}

@media (min-width: 768px) {
  .hero { height: 265vh; }
}

/* ============ ≥ 960px ============ */
@media (min-width: 960px) {
  :root { --pad: clamp(2.5rem, 5vw, 5rem); }
  section { padding: 7.5rem var(--pad); }
  section.hero { padding: 0; }
  .nav { padding-block: 1.05rem; }
  .brand img { height: 48px; }
  .nav.solid .brand img { height: 40px; }
  .nav-links { display: flex; gap: 2.2rem; font-size: .9rem; font-weight: 500; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-links a { position: relative; opacity: .85; transition: .2s; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
  .nav-links a:hover { opacity: 1; }
  .nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--or); transition: .3s var(--ease); }
  .nav-links a:hover::after { width: 100%; }
  .burger, .mobile-menu { display: none; }

  .bg-veil {
    background:
      linear-gradient(180deg, rgba(10,10,10,.74) 0%, rgba(10,10,10,.18) 18%, transparent 36%),
      radial-gradient(55% 65% at 0% 100%, rgba(255,90,31,.2), transparent 60%),
      linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.78) 34%, rgba(10,10,10,.18) 58%, rgba(10,10,10,.06) 82%),
      linear-gradient(0deg, var(--bg) 0%, rgba(14,14,14,.55) 14%, transparent 30%);
  }
  .scene { padding: 6rem var(--pad) 5.5rem; }
  .scene-1 { justify-content: center; }
  .hero-content { max-width: 560px; }
  .hero-title { font-size: clamp(4rem, 6.2vw, 6.4rem); }
  .hero-sub { font-size: 1.08rem; max-width: 460px; margin: 1rem 0 1.5rem; }
  .hero-feats { margin-top: 1.4rem; padding-top: 1.05rem; font-size: .8rem; }

  .hero-card {
    position: absolute; z-index: 3; right: var(--pad); bottom: 4.5rem;
    display: flex; align-items: center; gap: 1rem; padding: .7rem 1.2rem .7rem .7rem; border-radius: 20px;
    background: rgba(16,16,16,.76); border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -20px #000; transition: border-color .3s;
  }
  .fx body.loaded .hero-card { animation: bob 5s ease-in-out 1s infinite; }
  .hero-card:hover { border-color: var(--or); }
  .hero-card img { width: 86px; height: 70px; object-fit: contain; background: #fff; border-radius: 14px; padding: .3rem; }
  .hero-card div { display: flex; flex-direction: column; line-height: 1.25; }
  .hero-card span { color: var(--or); font-size: .62rem; }
  .hero-card strong { font-family: var(--display); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; }
  .hero-card small { color: #aaa; font-size: .75rem; }
  .hero-card i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--or); color: #000; display: grid; place-items: center; margin-left: .5rem; font-weight: 800; }

  .hero-badge { top: 6rem; bottom: auto; width: 118px; height: 118px; }
  .hero-badge strong { font-size: 2.35rem; }

  .scene-2-inner { padding: 2rem 2.5rem; }
  .h-stat { padding: 2rem 1.5rem; border-radius: 22px; }
  .hero-foot { bottom: 1.35rem; }

  .ticker { padding: 1rem 0; } .ticker-track { font-size: 1.7rem; gap: 2rem; }
  .story { grid-template-columns: 1.1fr 1fr; gap: 6rem; align-items: center; padding-top: 9rem; }
  .story-img::before { inset: 1.3rem -1.3rem -1.3rem 1.3rem; }
  .catalog { border-radius: 40px 40px 0 0; }
  .section-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 3rem; }
  .filters { margin: 0; padding: 0; overflow: visible; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .card:hover { box-shadow: 0 40px 60px -30px rgba(0,0,0,.4); }
  .card:hover .card-img img { transform: scale(1.08) rotate(-4deg) translateY(-6px); }
  .card:hover .card-cta { background: var(--ink); color: var(--or); }
  .anatomy { grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; }
  .hotspot { width: 40px; height: 40px; }
  .banner { grid-template-columns: 1fr 1.15fr; gap: 6rem; align-items: center; }
  .banner-img { aspect-ratio: auto; max-height: 82vh; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-card { padding: 2rem 1.6rem; min-height: 160px; justify-content: flex-end; }
  .contact-card::after { top: 1.4rem; transform: none; }
  /* modal centered */
  .modal { align-items: center; justify-content: center; padding: 2rem; }
  .modal-panel { width: min(1000px, 100%); max-height: 90vh; grid-template-columns: 1.1fr 1fr; border-radius: 28px; transform: translateY(30px) scale(.97); }
  .modal-panel::before { display: none; }
  .modal-media { padding: 3rem 2rem; justify-content: center; }
  .modal-info { padding: 2.6rem 2.4rem; }
  .modal-info h3 { font-size: 3.2rem; }
}
@media (min-width: 1400px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .splash, .scene-2, .scene-3, .scene-dots, .video-scrub { display: none !important; }
  .hero { height: auto !important; min-height: 100svh; }
  .hero-sticky { position: relative; height: auto; min-height: 100svh; }
  .scene-1 { position: relative; min-height: 100svh; opacity: 1 !important; transform: none !important; }
  .reveal, .fx [data-hero] { opacity: 1 !important; transform: none !important; }
  .hero-title .line span { transform: none !important; }
}
.card-img img, .modal-media > img { border-radius: 12px; }

/* ============ NORMATIVA, MATRIZ TÉCNICA & NOM-113 ============ */
.hide { display: none !important; }
.card-img { position: relative; }
.card-ficha-pill {
  position: absolute; bottom: .55rem; left: .55rem; z-index: 2;
  background: rgba(18,18,18,.88); color: #fff; padding: .3rem .6rem;
  border-radius: 99px; font-size: .58rem; font-weight: 700;
  border: 1px solid rgba(255,90,31,.6); backdrop-filter: blur(6px);
  transition: .2s var(--ease);
}
.card-ficha-pill:hover { background: var(--or); color: #000; transform: scale(1.05); }

.fichas-sec { background: #121212; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fichas-head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.nom-banner {
  background: linear-gradient(135deg, rgba(255,90,31,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(255,90,31,.35); border-radius: var(--r);
  padding: 1.2rem; display: flex; gap: 1rem; align-items: center;
}
.nom-badge {
  flex: none; background: var(--or); color: #000; font-family: var(--display);
  font-size: 1.35rem; padding: .6rem .85rem; border-radius: 12px; line-height: 1;
  text-align: center; letter-spacing: .03em;
}
.nom-banner strong { display: block; font-size: .98rem; color: #fff; margin-bottom: .25rem; }
.nom-banner p { font-size: .85rem; color: #b5b5b5; line-height: 1.45; }

.lab-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 2.5rem; }
.lab-card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem; display: flex; flex-direction: column; gap: .25rem;
}
.lab-card span { color: var(--or); font-size: .62rem; }
.lab-card strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.05; color: #fff; }
.lab-card small { font-size: .76rem; color: #9e9e9e; line-height: 1.35; }

/* Matriz Comparativa Mobile-First */
.spec-matrix-wrap {
  background: var(--bg3); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.matrix-head {
  padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center;
  background: rgba(255,255,255,.02);
}
.matrix-head h3 { color: var(--or); font-size: .75rem; font-weight: 700; }
.matrix-header { display: none; }
.spec-matrix { display: grid; }
.matrix-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .2s;
}
.matrix-row:last-child { border-bottom: 0; }
.matrix-row:hover { background: rgba(255,90,31,.06); }
.m-col-model {
  grid-column: 1 / -1; display: flex; align-items: center; gap: .85rem; margin-bottom: .25rem;
}
.m-col-model img {
  width: 58px; height: 46px; object-fit: contain; background: #fff; border-radius: 10px; padding: .2rem; flex: none;
}
.m-col-model strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.m-col { font-size: .82rem; color: #ddd; }
.m-col::before {
  content: attr(data-label); display: block; font-family: var(--mono);
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem;
}
.mono-val { font-family: var(--mono); font-size: .75rem; color: var(--or2); }
.m-col-act { grid-column: 1 / -1; margin-top: .2rem; }
.btn-sm {
  height: 36px; padding: 0 .95rem; border-radius: 10px; font-size: .74rem; font-weight: 700;
  background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); transition: .2s; width: 100%;
}
.btn-sm.primary { background: var(--or); color: #000; border-color: var(--or); }
.btn-sm.primary:hover { background: #fff; border-color: #fff; color: #000; }

/* Modal Tabs, Safety Badges & Observaciones */
.safety-badges {
  display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: .3rem;
}
.safety-badges span {
  font-size: .68rem; font-weight: 700; background: #fff; color: var(--ink);
  border: 1px solid rgba(0,0,0,.1); padding: .3rem .65rem; border-radius: 99px;
}
.modal-tabs { display: flex; gap: .35rem; background: #e5e1da; padding: .28rem; border-radius: 12px; margin-bottom: .75rem; }
.m-tab {
  flex: 1; padding: .5rem .6rem; border-radius: 9px; font-size: .76rem; font-weight: 700;
  color: #555; transition: .2s; text-align: center;
}
.m-tab.on { background: var(--ink); color: #fff; }
.m-obs { list-style: none; margin-top: .75rem; display: grid; gap: .35rem; background: #fff; border-radius: 12px; padding: .7rem .95rem; }
.m-obs:empty { display: none; }
.m-obs li { display: flex; gap: .5rem; font-size: .82rem; color: #444; line-height: 1.4; }
.m-obs li span { color: var(--or); font-weight: 800; }

@media (min-width: 720px) {
  .lab-metrics { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .fichas-head { grid-template-columns: 1fr 1.1fr; align-items: end; margin-bottom: 2.5rem; }
  .matrix-header {
    display: grid; grid-template-columns: 1.5fr 1.2fr 1.2fr 1fr .9fr .65fr auto;
    gap: 1rem; padding: .85rem 1.4rem; border-bottom: 1px solid var(--line);
    color: var(--muted); font-size: .64rem; background: rgba(0,0,0,.25);
  }
  .matrix-row {
    grid-template-columns: 1.5fr 1.2fr 1.2fr 1fr .9fr .65fr auto;
    gap: 1rem; align-items: center; padding: .85rem 1.4rem;
  }
  .m-col-model { grid-column: auto; margin-bottom: 0; }
  .m-col::before { display: none; }
  .m-col-act { grid-column: auto; margin-top: 0; }
  .btn-sm { width: auto; white-space: nowrap; }
}
