/* ==========================================================
   LTL Implantes — v2 (dark / futurista)
   Paleta: navy del logo + acero + glow azul
   ========================================================== */
:root {
  --bg: #050b14;
  --bg-2: #08121f;
  --surface: rgba(19, 50, 74, 0.28);
  --surface-2: rgba(19, 50, 74, 0.45);
  --line: rgba(122, 176, 220, 0.14);
  --line-2: rgba(122, 176, 220, 0.28);
  --text: #e8f1f8;
  --muted: #8fa6ba;
  --navy: #1f4a6b;
  --navy-2: #13324a;
  --steel: #3a7ca5;
  --glow: #5fb4ff;
  --glow-2: #a8d8ff;
  --wa: #25d366;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
main, .footer { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
::selection { background: var(--glow); color: var(--bg); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }

.grad {
  background: linear-gradient(100deg, var(--glow-2) 0%, var(--glow) 45%, var(--steel) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Fondo ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.55;
}
.bg-glow { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; }
.bg-glow-1 { width: min(900px, 120vw); height: 900px; top: -380px; right: 0; background: radial-gradient(closest-side, rgba(58, 124, 165, 0.32), transparent); }
.bg-glow-2 { width: min(800px, 110vw); height: 800px; top: 40%; left: 0; background: radial-gradient(closest-side, rgba(31, 74, 107, 0.38), transparent); }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 100;
  background: linear-gradient(90deg, var(--steel), var(--glow));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.btn svg { font-size: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #04101c;
  background: linear-gradient(135deg, var(--glow-2), var(--glow) 55%, #3d9be8);
  box-shadow: 0 8px 30px -8px rgba(95, 180, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover { box-shadow: 0 12px 40px -6px rgba(95, 180, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--glow); background: rgba(95, 180, 255, 0.08); }
.btn-glass { color: var(--text); background: rgba(95, 180, 255, 0.1); border-color: rgba(95, 180, 255, 0.35); }
.btn-glass:hover { background: rgba(95, 180, 255, 0.2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  transition: top 0.3s var(--ease);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 18, 31, 0.72);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled .header-inner { background: rgba(8, 18, 31, 0.94); border-color: var(--line-2); box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6); }
/* Logo blanco sin fondo */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; transition: opacity 0.2s, transform 0.3s var(--ease); }
.brand:hover { opacity: 0.85; }
.brand img { height: 38px; width: auto; }
.brand-lg img { height: 72px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.cta-short { display: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 70px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(95, 180, 255, 0.06);
  font: 500 13px/1 var(--font-mono); letter-spacing: 0.06em; color: var(--glow-2);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(95, 180, 255, 0); } }
.hero h1 { font-size: clamp(46px, 7vw, 104px); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; margin: 24px 0 22px; }
.hero-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: 0; margin: 46px 0 0; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-stats > div { flex: 1; padding-right: 18px; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font: 700 34px/1 var(--font-head); letter-spacing: -0.03em; }
.hero-stats dd { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }

/* HUD / visor */
.hud {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(95, 180, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(19, 50, 74, 0.45), rgba(8, 18, 31, 0.6));
  padding: 18px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hud-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--glow); opacity: 0.8; }
.hud-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 28px; }
.hud-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: 28px; }
.hud-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: 28px; }
.hud-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 28px; }
.hud-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); padding: 2px 6px 0; }
.viewer3d-stage { position: relative; height: clamp(300px, 38vw, 430px); cursor: grab; touch-action: pan-y; }
.viewer3d-stage:active { cursor: grabbing; }
#implantCanvas { width: 100%; height: 100%; display: block; }
.viewer3d-loader { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.hud-hint { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); opacity: 0.7; pointer-events: none; }
.hud-info {
  display: flex; gap: 16px; align-items: flex-end; justify-content: space-between;
  padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(5, 11, 20, 0.55);
}
.hud-title { font-size: 19px; font-weight: 700; }
.hud-desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.hud-specs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hud-specs li { font: 500 11px/1 var(--font-mono); padding: 6px 9px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--glow-2); background: rgba(95, 180, 255, 0.06); }
.v3d-tabs { display: flex; gap: 6px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.v3d-tabs::-webkit-scrollbar { display: none; }
.v3d-tab {
  flex-shrink: 0; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: 500 13px/1 var(--font-body); transition: all 0.25s var(--ease);
}
.v3d-tab:hover { color: var(--text); border-color: var(--line-2); }
.v3d-tab.is-active { color: #04101c; background: var(--glow); border-color: var(--glow); box-shadow: 0 0 20px -4px var(--glow); }

/* ---------- Marquee ---------- */
.marquee { margin-top: clamp(20px, 4vw, 50px); border-block: 1px solid var(--line); background: rgba(8, 18, 31, 0.6); overflow: hidden; padding: 20px 0; }
.marquee-track { will-change: transform; display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 600 clamp(18px, 2vw, 24px)/1 var(--font-head); color: var(--muted); white-space: nowrap; letter-spacing: -0.01em; }
.marquee i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--glow); box-shadow: 0 0 10px var(--glow); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(88px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.eyebrow { display: inline-block; font-size: 13px; color: var(--glow); margin-bottom: 18px; }
.section h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.035em; }
.section-head p, .quality-copy p, .contact-info > p { color: var(--muted); font-size: 17.5px; margin-top: 20px; max-width: 600px; }

/* Bento de productos */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 22px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  isolation: isolate;
}
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 4; }
.tile img {
  position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; z-index: -2;
  filter: grayscale(0.4) brightness(0.55) contrast(1.1);
  transition: scale 0.9s var(--ease), filter 0.6s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.1) 0%, rgba(5, 11, 20, 0.92) 85%),
              linear-gradient(135deg, rgba(31, 74, 107, 0.5), transparent 60%);
}
.tile::after { /* spotlight que sigue al mouse */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 180, 255, 0.16), transparent 50%);
}
.tile:hover::after { opacity: 1; }
.tile:hover img { scale: 1.06; filter: grayscale(0) brightness(0.65) contrast(1.1); }
.tile:hover { border-color: var(--line-2); }
.tile-body { position: absolute; inset: auto 0 0 0; padding: 24px; z-index: 2; }
.tile-tag { font-size: 11px; color: var(--glow); }
.tile h3 { font-size: 22px; font-weight: 700; margin: 8px 0 6px; }
.tile-xl h3 { font-size: clamp(26px, 2.8vw, 36px); }
.tile p { font-size: 14.5px; color: #b4c6d6; max-width: 420px; }
.tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--glow-2); }
.tile-link svg { transition: transform 0.3s var(--ease); }
.tile-link:hover svg { transform: translate(2px, -2px); }

/* Productos — paneles expandibles */
.xp { display: flex; gap: 12px; height: clamp(500px, 66vh, 660px); }
.xp-panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; cursor: pointer;
  border-radius: 26px; border: 1px solid var(--line); background: var(--bg-2);
  transition: flex-grow 0.85s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.xp-panel.is-active { flex-grow: 5.2; border-color: rgba(95, 180, 255, 0.55); box-shadow: 0 40px 90px -40px rgba(95, 180, 255, 0.45); }
.xp-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: grayscale(0.85) brightness(0.42) contrast(1.15); scale: 1.12;
  transition: filter 0.8s var(--ease), scale 1.4s var(--ease);
}
.xp-panel.is-active img { filter: grayscale(0.1) brightness(0.62) contrast(1.1); scale: 1; }
.xp-panel::before { /* sombreado para legibilidad + tinte de marca */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.15) 0%, rgba(5, 11, 20, 0.25) 40%, rgba(5, 11, 20, 0.95) 100%),
              linear-gradient(135deg, rgba(31, 74, 107, 0.55), transparent 60%);
}
.xp-panel::after { /* línea de escaneo en el panel activo */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 1; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--glow-2), transparent); box-shadow: 0 0 18px var(--glow);
  transform: translate3d(0, -10px, 0); will-change: transform;
}
.xp-panel.is-active::after { opacity: 0.8; animation: xpScan 3.6s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
@keyframes xpScan { to { transform: translate3d(0, 700px, 0); } }
.xp-num {
  position: absolute; top: 20px; left: 22px; font-size: 13px; color: var(--glow); letter-spacing: 0.1em;
  transition: font-size 0.6s var(--ease), color 0.4s;
}
.xp-panel.is-active .xp-num { font-size: clamp(56px, 6vw, 92px); font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(168, 216, 255, 0.55); letter-spacing: -0.04em; }
.xp-vtitle {
  position: absolute; left: 50%; bottom: 30px; translate: -50% 0; writing-mode: vertical-rl; rotate: 180deg;
  font: 700 20px/1 var(--font-head); letter-spacing: 0.02em; white-space: nowrap; color: var(--text);
  transition: opacity 0.4s;
}
.xp-panel.is-active .xp-vtitle { opacity: 0; }
.xp-body {
  position: absolute; left: 0; bottom: 0; width: min(560px, 62vw); padding: clamp(24px, 3vw, 40px);
  opacity: 0; transform: translate3d(0, 24px, 0); pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
}
.xp-panel.is-active .xp-body { opacity: 1; transform: none; pointer-events: auto; transition: opacity 0.7s 0.3s, transform 0.8s 0.3s var(--ease); }
.xp-tag { font-size: 11.5px; color: var(--glow); text-transform: uppercase; }
.xp-body h3 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.035em; margin: 12px 0 12px; }
.xp-body p { color: #c3d3e0; font-size: 16px; max-width: 460px; }
.xp-chips { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.xp-chips li { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 11, 20, 0.55); color: var(--glow-2); }
.xp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.xp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(95, 180, 255, 0.12); opacity: 0; transition: opacity 0.3s; }
.xp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--steel), var(--glow)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--glow); }
.xp-panel.is-active .xp-bar { opacity: 1; }
.xp-panel:not(.is-active):hover { border-color: var(--line-2); }
.xp-panel:not(.is-active):hover img { filter: grayscale(0.5) brightness(0.55) contrast(1.15); }
.xp-panel:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

@media (max-width: 860px) {
  .xp { flex-direction: column; height: auto; gap: 10px; }
  .xp-panel { flex: none; height: 78px; transition: height 0.75s var(--ease), border-color 0.4s; }
  .xp-panel.is-active { height: 470px; }
  .xp-vtitle { writing-mode: horizontal-tb; rotate: none; left: 72px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 19px; }
  .xp-num { top: 50%; translate: 0 -50%; left: 22px; }
  .xp-panel.is-active .xp-num { top: 20px; translate: none; font-size: 64px; }
  .xp-body { width: 100%; }
  .xp-body h3 { font-size: 30px; }
  .xp-body p { font-size: 15px; }
  @keyframes xpScan { to { transform: translate3d(0, 480px, 0); } }
}

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 37px; left: 40px; right: 40px; height: 1px;
  background: linear-gradient(90deg, var(--glow), var(--line-2) 60%, transparent);
}
.step { position: relative; padding: 0 8px 0 0; }
.step-num {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--glow); font-size: 18px;
  box-shadow: inset 0 0 24px rgba(95, 180, 255, 0.12), 0 0 0 6px var(--bg);
  position: relative; margin-bottom: 26px;
}
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Hero 2.0: visor sin marco ---------- */
.hud-free { background: none; border: 0; box-shadow: none; padding: 0; }
.hud-free .viewer3d-stage { height: clamp(380px, 44vw, 600px); }
.hud-free .hud-corner { width: 26px; height: 26px; border-color: rgba(95, 180, 255, 0.55); border-radius: 0 !important; }
.hud-free .hud-corner.tl, .hud-free .hud-corner.tr { top: 34px; }
.hud-free .hud-corner.bl, .hud-free .hud-corner.br { bottom: auto; top: calc(34px + clamp(380px, 44vw, 600px) - 26px); }
.hud-free .hud-corner.tl, .hud-free .hud-corner.bl { left: 4%; }
.hud-free .hud-corner.tr, .hud-free .hud-corner.br { right: 4%; }
.hud-free .hud-top { padding: 0 4% 10px; }
.live { font-style: normal; margin-left: 10px; color: #7dffb0; display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #3dff8f; box-shadow: 0 0 8px #3dff8f; animation: blink 1.4s steps(1) infinite; }

.stage-fx { position: absolute; left: 0; right: 0; top: 34px; height: clamp(380px, 44vw, 600px); pointer-events: none; z-index: -1; }
.fx-glow { position: absolute; inset: 10% 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(95, 180, 255, 0.2), rgba(58, 124, 165, 0.07) 55%, transparent); animation: glowBreath 5s ease-in-out infinite; }
@keyframes glowBreath { 50% { transform: scale(1.08); opacity: 0.75; } }
.fx-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; will-change: transform; }
.fx-ring-1 {
  width: 78%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(95, 180, 255, 0.85) 72%, transparent 74% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 7s linear infinite;
}
.fx-ring-2 { width: 62%; aspect-ratio: 1; translate: -50% -50%; border: 1px dashed rgba(95, 180, 255, 0.25); animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.fx-floor { position: absolute; left: -10%; right: -10%; bottom: -6%; height: 46%; perspective: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 100%); }
.fx-floor span {
  position: absolute; left: 0; right: 0; top: 0; height: 200%; transform-origin: 50% 0;
  background-image: linear-gradient(rgba(95, 180, 255, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 180, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px; transform: rotateX(68deg) translate3d(0, 0, 0); animation: floorMove 2.4s linear infinite; will-change: transform;
}
@keyframes floorMove { to { transform: rotateX(68deg) translate3d(0, 48px, 0); } }

.callout { position: absolute; display: flex; align-items: center; gap: 10px; pointer-events: none; z-index: 2; transition: opacity 0.4s; }
.callout span { font-size: 11px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(5, 11, 20, 0.82); color: var(--glow-2); white-space: nowrap; }
.callout i { position: relative; width: 70px; height: 1px; background: linear-gradient(90deg, var(--glow), rgba(95, 180, 255, 0.2)); }
.callout i::before { content: ""; position: absolute; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.2), 0 0 12px var(--glow); }
.callout-a { top: calc(34px + 18%); right: 2%; flex-direction: row-reverse; }
.callout-a i { background: linear-gradient(270deg, var(--glow), rgba(95, 180, 255, 0.2)); }
.callout-a i::before { left: -4px; }
.callout-b { top: calc(34px + 62%); left: 2%; }
.callout-b i::before { right: -4px; }
.callout.swap span { animation: calloutIn 0.6s var(--ease) both; }
@keyframes calloutIn { from { opacity: 0; transform: translate3d(0, 8px, 0); } }

.hud-free .hud-info {
  position: relative; z-index: 3; margin: -40px 4% 0; background: rgba(8, 18, 31, 0.86); border-color: var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.hud-free .v3d-tabs { justify-content: center; margin: 14px 4% 0; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: linear-gradient(180deg, transparent, var(--glow)); animation: cue 1.8s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(200%); } }
.hero .wi.grad { display: inline-block; }

/* Banda de texto deslizante */
.slide-band { overflow: hidden; padding: clamp(70px, 10vw, 140px) 0; display: grid; gap: 8px; }
.slide-row { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); width: max-content; will-change: transform; }
.slide-row span {
  font: 800 clamp(54px, 10vw, 150px)/1 var(--font-head); letter-spacing: -0.05em; white-space: nowrap; color: var(--text);
}
.slide-row span.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(95, 180, 255, 0.55); }
.slide-row i { width: clamp(14px, 1.6vw, 22px); height: clamp(14px, 1.6vw, 22px); border-radius: 50%; background: var(--glow); box-shadow: 0 0 24px var(--glow); flex-shrink: 0; }

/* Proceso — scroll horizontal */
.hscroll { position: relative; padding: clamp(40px, 6vw, 70px) 0; }
.hscroll-pin { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; gap: 8px; padding: 90px 0 30px; overflow-x: auto; scrollbar-width: none; }
.hscroll-pin::-webkit-scrollbar { display: none; }
.motion-on .hscroll-pin { overflow: hidden; }
.hscroll-head .section-head { margin-bottom: 36px; }
.hscroll-track {
  list-style: none; margin: 0; display: flex; gap: 20px; width: max-content; will-change: transform;
  padding: 0 max(16px, calc((100vw - 1200px) / 2));
}
.pcard {
  position: relative; overflow: hidden; width: clamp(280px, 30vw, 400px); min-height: 300px;
  padding: 28px; border-radius: 26px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(31, 74, 107, 0.55), rgba(8, 18, 31, 0.75));
  display: flex; flex-direction: column;
}
.pcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 60px; }
.pcard-num { font-size: 13px; color: var(--glow); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.pcard-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--glow); background: rgba(95, 180, 255, 0.1); border: 1px solid var(--line-2); }
.pcard h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; position: relative; }
.pcard p { color: #b4c6d6; font-size: 15px; position: relative; }
.pcard-big {
  position: absolute; right: -10px; top: 40px; font: 800 180px/1 var(--font-head); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(95, 180, 255, 0.16); pointer-events: none;
}
.pcard-cta { justify-content: center; gap: 22px; border-color: rgba(95, 180, 255, 0.5); background: radial-gradient(circle at 30% 0%, rgba(95, 180, 255, 0.28), transparent 70%), var(--surface-2); }
.pcard-cta .btn { align-self: flex-start; }
.hscroll-bar { height: 2px; margin-top: 34px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hscroll-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--steel), var(--glow)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--glow); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.marquee.js-driven .marquee-track { animation: none; }

/* Separadores entre secciones */
.divider { position: relative; padding: clamp(10px, 2vw, 24px) 0; }
.divider-inner { display: flex; align-items: center; gap: 18px; }
.divider-inner span { flex-shrink: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.divider-inner span:first-child { color: var(--glow); }
.divider-inner i {
  position: relative; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 15%, rgba(95, 180, 255, 0.55) 50%, var(--line-2) 85%, transparent);
}
.divider-inner i::after { /* rombo central: gira y late */
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--bg); border: 1px solid var(--glow-2); box-shadow: 0 0 14px rgba(95, 180, 255, 0.8), inset 0 0 6px rgba(95, 180, 255, 0.6);
  animation: gemSpin 6s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
@keyframes gemSpin {
  0% { transform: rotate(45deg) scale(1); }
  40% { transform: rotate(225deg) scale(1.35); }
  55%, 100% { transform: rotate(225deg) scale(1); }
}
.spark { /* destello de energía que viaja desde el rombo hacia el borde */
  position: absolute; top: -1px; width: 50%; height: 3px; pointer-events: none; will-change: transform, opacity;
  opacity: 0; animation: 3.4s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.spark-r { left: 50%; background: linear-gradient(90deg, transparent 0%, rgba(168, 216, 255, 0.95) 9%, rgba(95, 180, 255, 0.35) 14%, transparent 22%); animation-name: sparkR; }
.spark-l { right: 50%; background: linear-gradient(270deg, transparent 0%, rgba(168, 216, 255, 0.95) 9%, rgba(95, 180, 255, 0.35) 14%, transparent 22%); animation-name: sparkL; }
@keyframes sparkR { 0%, 12% { transform: translate3d(-10%, 0, 0); opacity: 0; } 18% { opacity: 1; } 80% { opacity: 0.9; } 100% { transform: translate3d(85%, 0, 0); opacity: 0; } }
@keyframes sparkL { 0%, 12% { transform: translate3d(10%, 0, 0); opacity: 0; } 18% { opacity: 1; } 80% { opacity: 0.9; } 100% { transform: translate3d(-85%, 0, 0); opacity: 0; } }
.divider:nth-of-type(even) .spark, .divider:nth-of-type(even) i::after { animation-delay: -1.7s; }
.divider-inner span:first-child::after { content: "_"; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.divider-inner i::before { /* halo que respira */
  content: ""; position: absolute; left: 30%; right: 30%; top: -10px; height: 21px;
  background: radial-gradient(closest-side, rgba(95, 180, 255, 0.22), transparent);
  animation: haloBreath 3.4s ease-in-out infinite;
}
@keyframes haloBreath { 0%, 100% { opacity: 0.45; transform: scaleX(0.7); } 40% { opacity: 1; transform: scaleX(1); } }

/* Calidad */
.quality-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.quality-copy .btn { margin-top: 32px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(8, 18, 31, 0.4));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.feature:hover { border-color: var(--line-2); transform: translateY(-4px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  color: var(--glow); background: rgba(95, 180, 255, 0.08); border: 1px solid var(--line-2); margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Para quién */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.aud {
  display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.aud-featured {
  border-color: rgba(95, 180, 255, 0.5);
  background: radial-gradient(circle at 50% 0%, rgba(95, 180, 255, 0.2), transparent 70%), var(--surface-2);
  box-shadow: 0 30px 80px -30px rgba(95, 180, 255, 0.35);
}
.aud-kicker { font-size: 11.5px; color: var(--glow); }
.aud h3 { font-size: 23px; font-weight: 700; margin: 12px 0 20px; }
.aud ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.aud li { position: relative; padding-left: 26px; color: #c3d3e0; font-size: 15px; }
.aud li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px;
  border-left: 2px solid var(--glow); border-bottom: 2px solid var(--glow); transform: rotate(-45deg);
}
.aud .tile-link, .aud .btn { margin-top: auto; align-self: flex-start; }

/* Contacto */
.contact-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px;
  padding: clamp(28px, 5vw, 56px); border-radius: 32px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 0% 0%, rgba(95, 180, 255, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(19, 50, 74, 0.5), rgba(8, 18, 31, 0.7));
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8);
}
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: #c3d3e0; }
.contact-list svg { font-size: 20px; color: var(--glow); }
.contact-list a:hover { color: var(--glow-2); }
.contact-form { display: grid; gap: 14px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font: 500 11.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: rgba(5, 11, 20, 0.6); color: var(--text);
  font: 400 16px/1.4 var(--font-body); transition: border-color 0.2s, box-shadow 0.2s;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.15); }
.field .invalid { border-color: #ff7a7a; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 11, 20, 0.6); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all 0.25s var(--ease); }
.seg input:checked + span { background: var(--glow); color: #04101c; box-shadow: 0 0 18px -4px var(--glow); }
.seg input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { font-size: 14px; color: var(--glow-2); min-height: 1.4em; }

/* Footer */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 72px 0 0; background: linear-gradient(180deg, transparent, rgba(8, 18, 31, 0.9)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 300px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.footer-col h4 { font-size: 11.5px; font-weight: 500; text-transform: uppercase; color: var(--glow); margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-mark {
  position: relative; width: min(980px, 88vw); aspect-ratio: 906 / 486; margin: clamp(40px, 7vw, 90px) auto 0;
  -webkit-mask: url("logo-ltl-white.png") center / contain no-repeat; mask: url("logo-ltl-white.png") center / contain no-repeat;
  background: linear-gradient(180deg, rgba(168, 216, 255, 0.34) 0%, rgba(95, 180, 255, 0.16) 55%, rgba(95, 180, 255, 0.02) 100%);
  overflow: hidden; user-select: none;
}
.footer-mark-shine {
  position: absolute; inset: 0; will-change: transform;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.75) 50%, transparent 62%);
  transform: translate3d(-100%, 0, 0); animation: markShine 6s cubic-bezier(0.6, 0, 0.3, 1) infinite 1s;
}
@keyframes markShine { 0% { transform: translate3d(-100%, 0, 0); } 45%, 100% { transform: translate3d(100%, 0, 0); } }

/* WhatsApp */
.wa-fab {
  position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #2fe377, #1ebe5a); color: #fff; font-size: 30px;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease);
}
.wa-fab::before { /* pulso suave para llamar la atención */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: waPulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-fab svg { stroke: none; position: relative; width: 31px; height: 31px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15)); }

/* AR modal */
.ar-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.ar-modal[hidden] { display: none; }
.ar-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 12, 0.75); backdrop-filter: blur(6px); }
.ar-modal-panel { position: relative; width: min(720px, 100%); max-height: 90vh; overflow: auto; border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 22px; }
.ar-modal-title { font-size: 20px; margin-bottom: 14px; padding-right: 40px; }
.ar-modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 18px; display: grid; place-items: center; cursor: pointer; }
.ar-modal-msg { color: var(--muted); padding: 30px 0; text-align: center; }
.ar-iframe { width: 100%; height: 420px; border: 0; border-radius: 16px; background: #dfe7ee; }
.ar-modal-foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.ar-qr { border-radius: 10px; background: #fff; }
html.ar-modal-open { overflow: hidden; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
.hero-grid > *, .quality-grid > *, .contact-card > * { min-width: 0; }

@media (max-width: 1024px) {
  .hero-grid, .quality-grid, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .tile-wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .audience { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 12px;
    border-radius: 22px; border: 1px solid var(--line-2); background: rgba(8, 18, 31, 0.98);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: all 0.3s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 16px; color: var(--text); }
  .header-inner { position: relative; }
  .brand { margin-right: auto; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .hud-free .viewer3d-stage, .stage-fx { height: 340px; }
  .hud-free .hud-corner.bl, .hud-free .hud-corner.br { top: calc(34px + 340px - 26px); }
  .callout i { width: 34px; }
  .callout span { font-size: 10px; padding: 5px 8px; }
  .callout-a { top: calc(34px + 10%); }
  .callout-b { top: calc(34px + 70%); }
  .scroll-cue { display: none; }
  .hud-free .hud-info { margin: -30px 0 0; }
  .hud-free .v3d-tabs { justify-content: flex-start; margin: 12px 0 0; }
  .divider-inner { gap: 12px; }
  .divider-inner span:last-child { display: none; }
  .header { top: 10px; }
  .btn { white-space: normal; text-align: center; }
  .hero { padding: 116px 0 50px; min-height: 0; }
  .hero-stats dt { font-size: 26px; }
  .hero-stats dd { font-size: 12px; }
  .hero-stats > div { padding-right: 10px; }
  .hero-stats > div + div { padding-left: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hud { padding: 12px; border-radius: 22px; }
  .hud-info { flex-direction: column; align-items: stretch; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile-xl, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-xl { grid-row: span 1; }
  .steps { grid-template-columns: 1fr; }
  .features, .form-row { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 32px; }
  .pcard { width: 82vw; min-height: 280px; }
  .wa-fab { width: 54px; height: 54px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .wa-fab svg { width: 29px; height: 29px; }
}

/* ==========================================================
   v2.1 — Experiencia premium
   ========================================================== */

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #0d2338, var(--bg) 70%);
  clip-path: inset(0 0 0 0);
  animation: preFallback 0.6s 7s forwards; /* red de seguridad si el JS falla */
}
@keyframes preFallback { to { opacity: 0; visibility: hidden; } }
.preloader-inner { display: grid; justify-items: center; gap: 22px; width: min(320px, 80vw); }
.preloader-logo { width: 210px; animation: preGlow 1.4s ease-in-out infinite alternate; }
@keyframes preGlow { from { opacity: 0.55; } to { opacity: 1; } }
.preloader-bar { width: 100%; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--steel), var(--glow)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--glow); }
.preloader-meta { display: flex; justify-content: space-between; width: 100%; font-size: 11px; color: var(--muted); }

/* Grano */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label, .has-cursor .viewer3d-stage { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity 0.3s; will-change: transform; }
.cursor.on .cursor-dot, .cursor.on .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--glow-2); }
.cursor-ring { width: 0; height: 0; }
.cursor-ring::before {
  content: ""; position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%;
  border: 1px solid rgba(95, 180, 255, 0.55); transform: scale(0.42);
  transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s;
}
.cursor.is-link .cursor-ring::before { transform: scale(0.68); background-color: rgba(95, 180, 255, 0.1); border-color: var(--glow); }
.cursor.is-label .cursor-ring::before { transform: scale(1); background-color: rgba(95, 180, 255, 0.92); border-color: transparent; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-style: normal; font-size: 10.5px; font-weight: 500; color: #04101c; opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.cursor.is-label .cursor-label { opacity: 1; }

/* Hero: red de partículas + título partido */
.hero { isolation: isolate; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55; mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 40%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 40%, transparent 80%); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .wi { display: inline-block; will-change: transform; }
.split .wi.grad { padding-right: 0.04em; }

/* Botón lista de cotización (header) */
.cart-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 19px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.cart-btn:hover { border-color: var(--glow); background: rgba(95, 180, 255, 0.1); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font: 600 11px/1 var(--font-body); background: var(--line-2); color: var(--text);
  transition: background 0.3s, color 0.3s;
}
.cart-count.has { background: var(--glow); color: #04101c; box-shadow: 0 0 12px var(--glow); }
.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25); } }
.header-inner { gap: 14px; }
.nav { margin-right: 6px; }

/* Explorador anatómico */
.anat { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: stretch; }
.anat-stage {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-2); padding: 28px 20px 52px;
  background:
    radial-gradient(circle at 50% 45%, rgba(95, 180, 255, 0.16), transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(95, 180, 255, 0.05) 23px 24px),
    linear-gradient(180deg, rgba(19, 50, 74, 0.4), rgba(8, 18, 31, 0.7));
  display: grid; place-items: center;
}
.anat-body { width: 100%; max-width: 300px; height: auto; max-height: 600px; overflow: visible; }
.anat-scan {
  position: absolute; left: 0; right: 0; height: 90px; top: 0; pointer-events: none; will-change: transform;
  background: linear-gradient(180deg, transparent, rgba(95, 180, 255, 0.16) 80%, rgba(168, 216, 255, 0.6) 100%);
  border-bottom: 1px solid var(--glow-2); animation: scan 4.5s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes scan { from { transform: translate3d(0, -100%, 0); } to { transform: translate3d(0, 760px, 0); } }
.hs { cursor: pointer; outline: none; }
.hs-dot { fill: var(--glow); stroke: #fff; stroke-width: 2; transition: fill 0.3s; }
.hs-ring { fill: rgba(95, 180, 255, 0.15); stroke: var(--glow); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: hsPulse 2.2s ease-out infinite; }
@keyframes hsPulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hs:hover .hs-dot, .hs:focus-visible .hs-dot { fill: #fff; }
.hs.is-active .hs-dot { fill: #fff; r: 9px; }
.hs.is-active .hs-ring { fill: rgba(168, 216, 255, 0.35); animation-duration: 1.2s; }
.anat-legend { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.anat-panel {
  position: relative; border-radius: 28px; border: 1px solid var(--line-2); padding: clamp(24px, 3vw, 36px);
  background: radial-gradient(400px circle at var(--mx, 80%) var(--my, 0%), rgba(95, 180, 255, 0.14), transparent 60%), linear-gradient(180deg, rgba(19, 50, 74, 0.55), rgba(8, 18, 31, 0.75));
  display: flex; flex-direction: column;
}
.anat-panel.swap > *:not(.anat-panel-top) { animation: swapIn 0.6s var(--ease) both; }
.anat-panel.swap > :nth-child(3) { animation-delay: 0.04s; }
.anat-panel.swap > :nth-child(4) { animation-delay: 0.08s; }
.anat-panel.swap > :nth-child(5) { animation-delay: 0.12s; }
@keyframes swapIn { from { opacity: 0; transform: translate3d(24px, 0, 0); } }
.anat-panel-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--glow); margin-bottom: 20px; }
.anat-panel h3 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.anat-sub { font: 500 13px/1.4 var(--font-mono); color: var(--glow-2); margin-top: 8px; }
.anat-desc { color: var(--muted); margin-top: 14px; font-size: 15.5px; }
.anat-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 8px; }
.anat-list li { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(5, 11, 20, 0.5); transition: border-color 0.2s; }
.anat-list li:hover { border-color: var(--line-2); }
.anat-list li > div { flex: 1; min-width: 0; }
.anat-list b { display: block; font-size: 15px; font-weight: 600; }
.anat-list small { font-size: 11px; color: var(--muted); }
.anat-ico, .pcat-ico, .drawer-ico { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 20px; color: var(--glow); background: rgba(95, 180, 255, 0.08); border: 1px solid var(--line-2); }
.anat-add {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--glow-2);
  font: 600 18px/1 var(--font-body); cursor: pointer; transition: all 0.25s var(--ease);
}
.anat-add:hover { border-color: var(--glow); background: rgba(95, 180, 255, 0.12); }
.anat-add.in-cart, .pcat.in-cart .pcat-add { background: var(--glow); border-color: var(--glow); color: #04101c; }
.when-on { display: none; }
.in-cart .when-on, .in-cart.anat-add .when-on { display: inline; }
.in-cart .when-off, .in-cart.anat-add .when-off { display: none; }
.anat-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.anat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.anat-chips span { font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--muted); }

/* Catálogo — consola */
.cat-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 32px; align-items: start; }
.cat-side {
  position: sticky; top: 104px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: 26px; min-width: 0;
  border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(19, 50, 74, 0.55), rgba(8, 18, 31, 0.8));
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.cat-side-top { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--glow); }
.cat-side-label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin: 4px 0 -6px; }
.cat-search {
  display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 50px; border-radius: 16px;
  border: 1px solid var(--line-2); background: rgba(5, 11, 20, 0.7); transition: border-color 0.2s, box-shadow 0.2s;
}
.cat-search:focus-within { border-color: var(--glow); box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.14); }
.cat-search svg { font-size: 18px; color: var(--glow); }
.cat-search input { flex: 1; width: 0; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: 400 16px var(--font-body); }
.cat-search input::placeholder { color: #5d7488; }
.cat-search kbd { font-size: 11px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.cat-filters { display: grid; gap: 4px; }
.cat-filters button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid transparent; background: transparent; color: var(--muted); text-align: left;
  font: 500 14.5px/1 var(--font-body); cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cat-filters button em { font-style: normal; font-size: 11px; padding: 3px 7px; border-radius: 6px; background: rgba(95, 180, 255, 0.08); color: var(--glow-2); }
.cat-filters button:hover { color: var(--text); background: rgba(95, 180, 255, 0.06); }
.cat-filters button.is-active { color: var(--text); background: rgba(95, 180, 255, 0.14); border-color: rgba(95, 180, 255, 0.45); box-shadow: inset 3px 0 0 var(--glow); }
.cat-filters button.is-active em { background: var(--glow); color: #04101c; }
.cat-filters .cat-region { justify-content: center; border: 1px dashed var(--glow); color: var(--glow-2); }
.cat-filters .cat-region[hidden] { display: none; }
.cat-mini { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(5, 11, 20, 0.55); }
.cat-mini span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.cat-mini b { font: 700 17px/1.3 var(--font-head); }
.cat-mini b span { display: inline; font: inherit; color: var(--glow-2); letter-spacing: 0; text-transform: none; }
.cat-help { display: grid; gap: 4px; padding: 14px; border-radius: 16px; border: 1px dashed rgba(37, 211, 102, 0.45); font-size: 13.5px; color: var(--muted); transition: background 0.2s; }
.cat-help b { color: #5ee08f; font-weight: 600; }
.cat-help:hover { background: rgba(37, 211, 102, 0.06); }

.cat-main { min-width: 0; }
.cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-count { font-size: 12px; color: var(--muted); margin: 0; }
.cat-count b { color: var(--text); font-size: 15px; font-weight: 500; }
.cat-legend { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.cat-legend .mdot + .mdot, .cat-legend .mdot { margin-left: 8px; }
.mdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.mdot.ti { background: #5fb4ff; box-shadow: 0 0 8px #5fb4ff; }
.mdot.ss { background: #c9d6e0; box-shadow: 0 0 8px rgba(201, 214, 224, 0.6); }
.mdot.pk { background: #ffc46b; box-shadow: 0 0 8px rgba(255, 196, 107, 0.6); }
.mdot.ot { background: #7f97ab; }
.pcat-mat .mdot + .mdot { margin-left: -2px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; perspective: 1200px; }
.pcat {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, box-shadow 0.3s;
}
.pcat[hidden] { display: none; }
.pcat::before { /* borde de luz que sigue al mouse */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 216, 255, 0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pcat:hover::before { opacity: 1; }
.pcat:hover { box-shadow: 0 24px 60px -30px rgba(95, 180, 255, 0.55); }
.pcat.in-cart { border-color: rgba(95, 180, 255, 0.65); }
.pcat.pop { animation: pcatPop 0.55s var(--ease) both; }
@keyframes pcatPop { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.97); } }
.pcat-visual {
  position: relative; height: 150px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(95, 180, 255, 0.2), transparent 60%),
    linear-gradient(rgba(95, 180, 255, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(95, 180, 255, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    rgba(5, 11, 20, 0.55);
  border-bottom: 1px solid var(--line);
}
.pcat-code { position: absolute; top: 12px; left: 14px; font-size: 11px; color: var(--muted); }
.pcat-tag { position: absolute; top: 12px; right: 14px; font-size: 10px; color: var(--glow); text-transform: uppercase; }
.pcat-visual .pcat-ico {
  width: 76px; height: 76px; border-radius: 22px; font-size: 40px; color: var(--glow-2);
  display: grid; place-items: center; background: rgba(95, 180, 255, 0.08); border: 1px solid var(--line-2);
  box-shadow: 0 0 40px -6px rgba(95, 180, 255, 0.45), inset 0 0 20px rgba(95, 180, 255, 0.12);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.pcat-visual .pcat-ico svg { stroke-width: 1.4; }
.pcat:hover .pcat-ico { transform: translate3d(0, -4px, 0) scale(1.06); box-shadow: 0 0 60px -4px rgba(95, 180, 255, 0.7), inset 0 0 24px rgba(95, 180, 255, 0.2); }
.pcat:hover .pcat-ico svg > * { stroke-dasharray: 1; animation: drawIco 1.1s var(--ease) both; }
@keyframes drawIco { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pcat-check {
  position: absolute; bottom: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #04101c; background: var(--glow); box-shadow: 0 0 14px var(--glow);
  transform: scale(0); transition: transform 0.4s var(--ease);
}
.pcat.in-cart .pcat-check { transform: scale(1); }
.pcat-info { padding: 18px 18px 0; display: grid; gap: 6px; }
.pcat-info h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.pcat-spec { font-size: 13.5px; color: var(--muted); }
.pcat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.pcat-mat { font-size: 10.5px; color: #9fb4c6; }
.pcat-zonas { display: flex; gap: 4px; }
.pcat-zonas span { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--muted); }
.pcat-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: auto; padding: 16px 18px 18px; }
.pcat-add, .pcat-3d {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(95, 180, 255, 0.06);
  color: var(--glow-2); font: 600 12.5px/1 var(--font-body); cursor: pointer; transition: all 0.25s var(--ease);
}
.pcat-3d { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; background: transparent; color: var(--muted); }
.pcat-3d svg { font-size: 14px; }
.pcat-add:hover, .pcat-3d:hover { border-color: var(--glow); background: rgba(95, 180, 255, 0.15); color: var(--glow-2); }
.pcat.in-cart .pcat-add { background: var(--glow); border-color: var(--glow); color: #04101c; }
.cat-empty { display: grid; justify-items: center; gap: 14px; padding: 60px 20px; border-radius: 22px; border: 1px dashed var(--line-2); color: var(--muted); text-align: center; }
.cat-empty[hidden] { display: none; }
.cat-empty > svg { font-size: 40px; color: var(--glow); }
.cat-more { display: flex; justify-content: center; margin-top: 26px; }
.cat-more .btn[hidden] { display: none; }

@media (max-width: 1024px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-filters { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 -22px; padding: 0 22px; }
  .cat-filters::-webkit-scrollbar { display: none; }
  .cat-filters button { flex-shrink: 0; border-color: var(--line); border-radius: 999px; padding: 10px 14px; }
  .cat-filters button.is-active { box-shadow: none; }
}
@media (max-width: 640px) {
  .cat-side { padding: 18px; }
  .cat-filters { margin: 0 -18px; padding: 0 18px; }
  .cat-legend { display: none; }
  .pcat-visual { height: 130px; }
}

/* Materiales */
.mat {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 100% 0%, rgba(95, 180, 255, 0.14), transparent 50%), linear-gradient(180deg, rgba(19, 50, 74, 0.45), rgba(8, 18, 31, 0.7));
}
.mat-copy p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.mat-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 11, 20, 0.6); }
.mat-toggle button { padding: 11px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 600 14px var(--font-body); cursor: pointer; transition: all 0.3s var(--ease); }
.mat-toggle button.is-active { background: var(--glow); color: #04101c; box-shadow: 0 0 20px -4px var(--glow); }
.mat-copy .mat-note { min-height: 4.5em; font-size: 15px; color: #c3d3e0; }
.mat-bars { display: grid; gap: 22px; }
.mat-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 9px; font-size: 14.5px; }
.mat-label b { font-size: 14px; font-weight: 500; color: var(--glow-2); }
.mat-track { position: relative; height: 10px; border-radius: 99px; background: rgba(95, 180, 255, 0.08); border: 1px solid var(--line); }
.mat-track span { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transition: transform 0.9s var(--ease), background 0.5s; background: linear-gradient(90deg, var(--steel), var(--glow)); box-shadow: 0 0 14px rgba(95, 180, 255, 0.5); }
.mat-bars[data-mat="ss"] .mat-track span { background: linear-gradient(90deg, #6f8292, #c9d6e0); box-shadow: 0 0 14px rgba(201, 214, 224, 0.4); }
.mat-bone { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #ffd479; box-shadow: 0 0 8px #ffd479; border-radius: 2px; }
.mat-foot { font-size: 11px; color: var(--muted); }

/* Testimonios */
.tst {
  position: relative; padding: clamp(28px, 5vw, 60px); border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 0% 100%, rgba(95, 180, 255, 0.14), transparent 55%), linear-gradient(180deg, rgba(19, 50, 74, 0.5), rgba(8, 18, 31, 0.75));
}
.tst-stage { display: grid; }
.tst-card {
  grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: 28px;
  opacity: 0; transform: translate3d(60px, 0, 0); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.tst-card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tst-card.out-left { opacity: 0; transform: translate3d(-60px, 0, 0); }
.tst-card.out-right { opacity: 0; transform: translate3d(60px, 0, 0); }
.tst-demo { align-self: flex-start; font-size: 10.5px; padding: 6px 10px; border-radius: 999px; border: 1px dashed #ffd479; color: #ffd479; text-transform: uppercase; }
.tst-quote { width: 52px; height: 40px; fill: var(--glow); stroke: none; filter: drop-shadow(0 0 16px rgba(95, 180, 255, 0.5)); }
.tst blockquote { margin: 0; font: 600 clamp(22px, 2.6vw, 34px)/1.35 var(--font-head); letter-spacing: -0.02em; max-width: 920px; }
.tst figcaption { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.tst-avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: grid; place-items: center; font-size: 17px; color: #04101c; background: linear-gradient(135deg, var(--glow-2), var(--glow));
  box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.15);
}
.tst figcaption b { display: block; font: 700 17px/1.3 var(--font-head); }
.tst figcaption small { color: var(--muted); font-size: 14px; }
.tst-tag { margin-left: auto; font-size: 11px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--glow-2); background: rgba(95, 180, 255, 0.06); }
.tst-bar { height: 2px; margin-top: 32px; border-radius: 2px; background: var(--line); overflow: hidden; }
.tst-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--steel), var(--glow)); transform-origin: 0 50%; transform: scaleX(0); }
.tst-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.tst.single .tst-bar, .tst.single .tst-nav { display: none; }
.tst-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text);
  font-size: 18px; display: grid; place-items: center; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.tst-arrow:hover { border-color: var(--glow); background: rgba(95, 180, 255, 0.1); }
.tst-dots { display: flex; gap: 8px; }
.tst-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--line-2); cursor: pointer; transition: width 0.4s var(--ease), background 0.3s; }
.tst-dots button.is-active { width: 28px; background: var(--glow); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
.faq-cta { margin-top: 28px; }
.faq { display: grid; gap: 14px; }
.faq details { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font: 600 17px/1.35 var(--font-head); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), background 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: var(--glow); }
.faq summary i::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); background: rgba(95, 180, 255, 0.12); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; animation: faqIn 0.5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* Lista adjunta en el formulario */
.form-cart { border-radius: 16px; border: 1px dashed rgba(95, 180, 255, 0.5); background: rgba(95, 180, 255, 0.05); padding: 14px 16px; }
.form-cart[hidden] { display: none; }
.form-cart-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--glow); text-transform: uppercase; }
.form-cart-head button { background: none; border: 0; color: var(--glow-2); font: inherit; cursor: pointer; text-decoration: underline; }
.form-cart ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: #c3d3e0; display: grid; gap: 4px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 12, 0.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s; }
.drawer-panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100% - 24px));
  display: flex; flex-direction: column; border-radius: 26px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0b1a2b, #060e19); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.8);
  transform: translateX(110%); transition: transform 0.45s var(--ease);
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
html.drawer-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer-kicker { font-size: 11px; color: var(--glow); }
.drawer-head h3 { font-size: 24px; margin-top: 6px; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: grid; place-items: center; font-size: 18px; cursor: pointer; }
.drawer-list { list-style: none; margin: 0; padding: 14px 16px; overflow-y: auto; flex: 1; display: grid; gap: 8px; align-content: start; overscroll-behavior: contain; }
.drawer-list:empty { display: none; }
.drawer-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(19, 50, 74, 0.25); animation: swapIn 0.4s var(--ease); }
.drawer-info { flex: 1; min-width: 0; }
.drawer-info b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.drawer-info small { font-size: 10.5px; color: var(--muted); }
.qty { display: flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); }
.qty button { width: 30px; height: 30px; border: 0; background: none; color: var(--glow-2); font-size: 16px; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.drawer-rm { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; color: var(--muted); font-size: 15px; display: grid; place-items: center; cursor: pointer; }
.drawer-rm:hover { color: #ff8a8a; }
.drawer-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); padding: 30px; text-align: center; }
.drawer-empty[hidden] { display: none; }
.drawer-empty > svg { font-size: 44px; color: var(--line-2); }
.drawer-foot { display: grid; gap: 10px; padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.drawer-foot.is-disabled .btn-primary { opacity: 0.4; pointer-events: none; }
.drawer-clear { background: none; border: 0; color: var(--muted); font-size: 11.5px; cursor: pointer; justify-self: center; padding: 6px; }
.drawer-clear:hover { color: #ff8a8a; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 400; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(95, 180, 255, 0.5); background: rgba(8, 18, 31, 0.92); backdrop-filter: blur(12px);
  font-size: 14px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 30px -10px var(--glow);
  transform: translate(-50%, 140%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.3s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast svg { font-size: 18px; color: var(--glow); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Barra CTA mobile */

@media (max-width: 1024px) {
  .anat, .mat, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .anat-body { max-height: 480px; }
}
@media (max-width: 640px) {
  /* Header mobile: logo | lista | cotizar | menú */
  .header-inner { gap: 8px; padding: 8px 8px 8px 16px; }
  .cart-btn { width: 40px; height: 40px; font-size: 17px; }
  .header-cta { padding: 10px 14px; font-size: 13.5px; gap: 6px; }
  .header-cta svg, .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav-toggle { width: 40px; height: 40px; }
  .toast { bottom: 84px; }
  .anat-stage { padding: 20px 10px 46px; }
  .anat-list li { padding: 10px; gap: 10px; }
  .anat-ico { width: 34px; height: 34px; font-size: 17px; }
  .mat-toggle { display: grid; width: 100%; }
  .mat-toggle button { padding: 11px 8px; font-size: 13px; }
  .tst-tag { margin-left: 0; }
  .tst figcaption { gap: 12px; }
  .faq summary { padding: 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 18px; }
  .grain { display: none; }
}

@media (min-width: 1025px) {
  /* En desktop la red queda solo detrás del texto: el visor respira */
  .hero-net { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 55%); }
}
