/* ============================================================
   VAYU — estilos
   Todos los colores son variables: tema oscuro por defecto,
   tema claro en html[data-theme="light"].
   ============================================================ */
:root {
  --celeste: #ABD3DC;
  --celeste-2: #7FBDCB;
  --bg: #07090D;
  --bg-2: #0C1016;
  --surface: rgba(171, 211, 220, .05);
  --surface-2: rgba(171, 211, 220, .09);
  --line: rgba(171, 211, 220, .16);
  --text: #EEF4F6;
  --muted: #92A2AA;
  --accent: var(--celeste);
  --accent-ink: #07090D;
  --wa: #25D366;
  --wa-ink: #04210F;
  --aura-1: #ABD3DC;
  --aura-2: #FF7A3D;
  --aura-3: #7B5CFF;
  --aura-4: #FF3D7F;
  --aura-5: #3DB2FF;
  --aura-opacity: .55;
  --card: #0E131A;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --radius: 22px;
  --max: 1240px;
  --font-display: "Sora", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F3F6F6;
  --bg-2: #E8EFF1;
  --surface: rgba(10, 30, 40, .04);
  --surface-2: rgba(10, 30, 40, .07);
  --line: rgba(10, 40, 50, .14);
  --text: #0A1217;
  --muted: #55666E;
  --accent: #2E7C8E;
  --accent-ink: #FFFFFF;
  --aura-opacity: .38;
  --card: #FFFFFF;
  --shadow: 0 30px 70px -35px rgba(20, 50, 60, .45);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background .4s, color .4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* ---------- Grano (como las imágenes de inspiración) ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="light"] body::after { opacity: .05; }

/* ---------- Auras de fondo (se mueven solas) ---------- */
.auras { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.auras i {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  opacity: var(--aura-opacity); will-change: transform;
  animation: deriva 26s ease-in-out infinite alternate;
}
.auras i:nth-child(1) { background: radial-gradient(circle, var(--aura-1), transparent 65%); top: -25vmax; left: -15vmax; }
.auras i:nth-child(2) { background: radial-gradient(circle, var(--aura-3), transparent 65%); top: 10vh; right: -25vmax; animation-duration: 32s; animation-delay: -8s; }
.auras i:nth-child(3) { background: radial-gradient(circle, var(--aura-2), transparent 65%); bottom: -35vmax; left: 15vw; opacity: calc(var(--aura-opacity) * .6); animation-duration: 38s; animation-delay: -14s; }
@keyframes deriva {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 6vh) scale(1.12); }
  100% { transform: translate(-6vw, 10vh) scale(.94); }
}

/* ---------- Cabecera ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.top.solid { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; height: 38px; color: var(--celeste); }
html[data-theme="light"] .logo { color: var(--text); }
.logo svg { height: 100%; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text); transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .top-actions { margin-left: auto; }
}
/* celulares angostos: el botón de WhatsApp de la cabecera queda solo con el ícono para que entre el menú */
@media (max-width: 420px) { .top .btn-wa span { display: none; } .top .btn-wa { padding: 0 12px; } }
.drawer {
  position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 97%, transparent);
  display: flex; flex-direction: column; padding: 90px 24px 32px; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a { font-family: var(--font-display); font-size: 30px; font-weight: 300; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer .close { position: absolute; top: 16px; right: 16px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--celeste) 70%, transparent); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 40px -12px rgba(37, 211, 102, .7); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Héroe: túnel de equipos ---------- */
.hero { position: relative; min-height: 100svh; padding-top: 108px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.hero-text { text-align: center; position: relative; z-index: 3; padding: 0 16px; }
.kicker { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.hero h1 {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; line-height: 1.02;
  font-size: clamp(44px, 8.4vw, 112px); margin-top: 14px;
}
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--celeste) 10%, #fff 45%, var(--celeste) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: brillo 6s linear infinite; }
html[data-theme="light"] .hero h1 em { background-image: linear-gradient(100deg, #2E7C8E 10%, #7FBDCB 45%, #2E7C8E 80%); }
@keyframes brillo { to { background-position: -200% 0; } }
.rotator { margin-top: 14px; font-size: clamp(17px, 2.2vw, 22px); color: var(--muted); height: 1.5em; overflow: hidden; }
.rotator span { display: inline-block; color: var(--text); min-width: 9ch; text-align: left; }
.rotator b { display: block; font-weight: 500; transition: transform .6s cubic-bezier(.7, 0, .2, 1), opacity .6s; }
.rotator .out { transform: translateY(-110%); opacity: 0; }
.rotator .in { animation: sube .6s cubic-bezier(.7, 0, .2, 1); }
@keyframes sube { from { transform: translateY(110%); opacity: 0; } }

.tunnel { position: relative; width: 100%; height: clamp(300px, 46vh, 460px); margin-top: 8px; perspective: 900px; perspective-origin: 50% 50%; z-index: 2; }
.tunnel-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.tcard {
  position: absolute; left: 0; top: 0; width: 240px; height: 300px; margin: -150px 0 0 -120px;
  border-radius: 18px; overflow: hidden; backface-visibility: hidden;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); will-change: transform, opacity;
}
.tcard .aura-bg { position: absolute; inset: 0; }
.tcard img { position: absolute; left: 6%; right: 6%; top: 14%; width: 88%; height: 58%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.tcard .tc-info { position: absolute; left: 14px; right: 14px; bottom: 12px; }
.tcard .tc-brand { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tcard .tc-name { font-family: var(--font-display); font-size: 15px; line-height: 1.25; margin-top: 2px; }
.tcard .tc-price { font-size: 13px; color: var(--accent); margin-top: 4px; font-weight: 600; }
.tcard .tc-big { position: absolute; left: 14px; right: 14px; top: 24%; font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1.05; opacity: .9; }
.hero-cta { position: relative; z-index: 3; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding: 10px 16px 0; }
.hero-meta { position: relative; z-index: 3; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 22px 0 36px; font-size: 14px; color: var(--muted); padding: 0 16px; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--celeste); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 10px var(--celeste); }
@media (max-width: 640px) {
  .hero { padding-top: 96px; }
  .tcard { width: 168px; height: 214px; margin: -107px 0 0 -84px; border-radius: 14px; }
  .tcard .tc-name { font-size: 13px; }
  .tcard .tc-big { font-size: 22px; }
  .tunnel { height: 300px; perspective: 600px; }
  .hero-cta .btn { width: 100%; }
}

/* Fondo "aura" de cada tarjeta (sin foto o detrás de la foto) */
.aura-bg {
  background:
    radial-gradient(60% 55% at var(--ax, 30%) var(--ay, 70%), color-mix(in srgb, var(--c1) 80%, transparent), transparent 70%),
    radial-gradient(55% 50% at calc(100% - var(--ax, 30%)) calc(100% - var(--ay, 70%)), color-mix(in srgb, var(--c2) 70%, transparent), transparent 70%),
    var(--card);
  opacity: .9;
}
html[data-theme="light"] .aura-bg { opacity: .55; }

/* ---------- Marquesina de marcas ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; position: relative; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: corre 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 300; font-size: 22px; color: var(--muted); white-space: nowrap; letter-spacing: .04em; }
.marquee span b { color: var(--text); font-weight: 600; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 120px 0; position: relative; }
@media (max-width: 640px) { .section { padding: 80px 0; } }
.eyebrow { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin-top: 12px; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 620px; margin-top: 16px; }

/* Destacado */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.feature.rev { grid-template-columns: 1fr 1.15fr; }
.feature.rev .feature-media { order: 2; }
.feature-media { position: relative; aspect-ratio: 1.15; display: grid; place-items: center; }
.feature-media .glow { position: absolute; inset: -4%; border-radius: 50%; opacity: .75; animation: respira 7s ease-in-out infinite; }
@keyframes respira { 50% { transform: scale(1.08); opacity: .9; } }
.feature-media img { position: relative; width: 92%; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); animation: flota 8s ease-in-out infinite; }
.feature-media .ph { position: relative; font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 5vw, 64px); text-align: center; line-height: 1.05; }
@keyframes flota { 50% { transform: translateY(-14px) rotate(-.6deg); } }
.feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; margin-top: 12px; letter-spacing: -.01em; }
.feature .desc { color: var(--muted); margin-top: 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 26px; }
.specs div { background: color-mix(in srgb, var(--bg) 86%, transparent); padding: 16px 18px; }
.specs b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.specs small { color: var(--muted); font-size: 13px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 400; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.badge.ob { color: var(--aura-2); border-color: color-mix(in srgb, var(--aura-2) 40%, transparent); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 900px) {
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 24px; }
  .feature.rev .feature-media { order: 0; }
}

/* Mundos (categorías) */
.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.world {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line);
  background: var(--card); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.world:hover { transform: translateY(-8px); }
.world .aura-bg { position: absolute; inset: 0; transition: transform 1.2s; }
.world:hover .aura-bg { transform: scale(1.25) rotate(8deg); }
.world img { position: absolute; top: 8%; left: 8%; width: 84%; height: 50%; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .5)); transition: transform .6s; }
.world:hover img { transform: translateY(-6px) scale(1.04); }
.world > * { position: relative; }
.world h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.world p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.world .count { margin-top: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 1000px) { .worlds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .worlds { grid-template-columns: 1fr; } .world { min-height: 300px; } }

/* Fila de equipos con desplazamiento */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 24px 20px; margin: 0 -24px; scrollbar-width: none; scroll-padding-inline: 24px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 640px) { .rail { padding: 32px 16px 16px; margin: 0 -16px; grid-auto-columns: 78%; scroll-padding-inline: 16px; } }

/* Tarjeta de producto (catálogo y filas) */
.pcard {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .35s, border-color .35s, box-shadow .35s;
}
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--celeste) 45%, transparent); box-shadow: var(--shadow); }
.pcard .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard .media .aura-bg { position: absolute; inset: 0; }
.pcard .media img { position: absolute; inset: 10% 8%; width: 84%; height: 80%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .4)); transition: transform .5s; }
.pcard:hover .media img { transform: scale(1.05); }
.pcard .media .ph { position: absolute; left: 18px; right: 18px; bottom: 16px; font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 1.05; }
.pcard .media .badge { position: absolute; top: 14px; left: 14px; background: color-mix(in srgb, var(--bg) 78%, transparent); }
.pcard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .brand { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.25; }
.pcard ul { list-style: none; font-size: 14px; color: var(--muted); display: grid; gap: 2px; margin-top: 4px; }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.pcard .p { font-family: var(--font-display); font-size: 24px; }
.pcard .code { font-size: 12px; color: var(--muted); }
.wa-mini { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); flex: none; transition: transform .2s; }
.wa-mini:hover { transform: scale(1.08); }
.wa-mini svg { width: 22px; height: 22px; }

/* Por qué Vayu */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.why div { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.why b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--accent); }
.why h4 { font-size: 17px; margin-top: 10px; }
.why p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* Visítanos */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.visit .map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.visit .map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4) contrast(1.05); }
html:not([data-theme="light"]) .visit .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.visit dl { margin-top: 26px; display: grid; gap: 16px; }
.visit dt { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.visit dd { font-size: 18px; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* Pie */
.foot-site { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; font-size: 15px; color: var(--muted); }
.foot-site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-site h5 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; font-weight: 600; }
.foot-site a:hover { color: var(--text); }
.foot-site .cols div { display: grid; gap: 8px; align-content: start; }
.foot-site .logo { height: 46px; margin-bottom: 10px; }
.foot-site .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 800px) { .foot-site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-site .cols { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: var(--wa-ink);
  box-shadow: 0 14px 40px -10px rgba(37, 211, 102, .8); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Catálogo ---------- */
.page-head { padding: 140px 0 30px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.tab { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; transition: all .2s; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tab small { opacity: .7; margin-left: 4px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 15px; }
.toolbar select, .toolbar input {
  height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: 0 16px; font: inherit; font-size: 15px;
}
.toolbar input { min-width: 240px; }
@media (max-width: 560px) { .toolbar input, .toolbar select { width: 100%; min-width: 0; } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 30px 0 60px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; grid-column: 1 / -1; }

/* Detalle (ventana) */
.sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(3, 5, 8, .78); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-box { width: 100%; max-width: 920px; max-height: 92svh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(20px); transition: transform .3s; }
.sheet.open .sheet-box { transform: none; }
.sheet-box .media { position: relative; min-height: 320px; }
.sheet-box .media .aura-bg { position: absolute; inset: 0; }
.sheet-box .media img { position: absolute; inset: 12% 8%; width: 84%; height: 76%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.sheet-box .media .ph { position: absolute; left: 24px; right: 24px; bottom: 24px; font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1.05; }
.sheet-box .info { padding: 30px; }
.sheet-box h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; margin-top: 8px; }
.sheet-box table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.sheet-box th { text-align: left; color: var(--muted); font-weight: 400; padding: 9px 12px 9px 0; vertical-align: top; width: 38%; border-bottom: 1px solid var(--line); }
.sheet-box td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.sheet-box .x { position: sticky; top: 0; float: right; margin: 14px 14px 0 0; background: var(--bg-2); }
@media (max-width: 760px) { .sheet-box { grid-template-columns: 1fr; } .sheet-box .media { min-height: 240px; } .sheet-box .info { padding: 22px; } }

/* ---------- Animaciones al hacer scroll ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1); }
.rv.vis { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

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

/* Botones que envuelven tarjetas */
.pcard .media { display: block; width: 100%; text-align: left; }
.pcard h3 button { font: inherit; text-align: left; line-height: inherit; }
.tcard { padding: 0; text-align: left; cursor: pointer; touch-action: pan-y; }
.tunnel { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.tunnel:active { cursor: grabbing; }

/* ---------- Página de cada equipo ---------- */
.pdp { padding-top: 104px; }
.crumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumb a:hover { color: var(--text); }
.pdp-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; margin-top: 22px; align-items: start; }
.gal { position: sticky; top: 92px; }
.gv { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.gv .aura-bg { position: absolute; inset: 0; }
.gv img { position: absolute; inset: 8% 7%; width: 86%; height: 84%; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .5)); transition: opacity .15s; }
.gv img.fade { opacity: 0; }
.gv .ph { position: absolute; left: 28px; right: 28px; bottom: 26px; font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); }
.gnav svg { width: 20px; height: 20px; }
.gnav.prev { left: 12px; } .gnav.next { right: 12px; }
.gcount { position: absolute; right: 14px; bottom: 12px; font-size: 12px; color: var(--muted); background: color-mix(in srgb, var(--bg) 70%, transparent); padding: 4px 10px; border-radius: 999px; }
.gthumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gt { flex: none; width: 82px; height: 64px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); padding: 6px; opacity: .6; transition: opacity .2s, border-color .2s; }
.gt img { width: 100%; height: 100%; object-fit: contain; }
.gt.on, .gt:hover { opacity: 1; border-color: var(--accent); }
.gref { font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.panel h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin-top: 14px; letter-spacing: -.01em; }
.panel .code { font-size: 13px; color: var(--muted); margin-top: 8px; }
.panel .specs { margin-top: 22px; }
.panel .price-row { margin-top: 22px; }
.perks { display: grid; gap: 12px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.perks div { display: flex; gap: 12px; align-items: flex-start; }
.perks svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.ideal { margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.ideal b { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; font-weight: 600; }
.acc { margin-top: 90px; max-width: 920px; }
.acc .h2 { margin-bottom: 24px; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-size: 20px; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 26px; color: var(--muted); transition: transform .25s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .rows { padding-bottom: 18px; }
.acc .row { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.acc .row span { color: var(--muted); }
.rel { margin-top: 90px; }
.rel .grid { margin-top: 18px; }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 26px; }
  .gal { position: static; }
  .acc .row { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Video de fondo ---------- */
.bgvideo { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: #07090D center / cover no-repeat; --baja: 1; }
.bgvideo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s linear; }
.bgvideo video.on { opacity: 1; }
.bgvideo::after { content: ""; position: absolute; inset: 0; }
/* oscuro: aire */
.bgvideo.dark { opacity: .32; }
.bgvideo.dark.portada { opacity: calc(1 - var(--baja) * .65); }
.bgvideo.dark::after { background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(7, 9, 13, .75)); }
/* claro: cielo de estrellas con velo claro para que se lean los textos oscuros */
.bgvideo.light { display: none; background-color: #F3F6F6; }
.bgvideo.light::after { background: rgba(243, 246, 246, .86); }
.bgvideo.light.portada::after { background: linear-gradient(180deg, rgba(243, 246, 246, calc(.42 + var(--baja) * .4)), rgba(243, 246, 246, calc(.62 + var(--baja) * .25))); }
html[data-theme="light"] .bgvideo.dark { display: none; }
html[data-theme="light"] .bgvideo.light { display: block; }
.con-video .auras { opacity: .35; }
html[data-theme="light"] .con-video .auras { opacity: .5; }
html:not([data-theme="light"]) .con-video .hero-text, html:not([data-theme="light"]) .con-video .hero-meta { text-shadow: 0 2px 18px rgba(7, 9, 13, .85), 0 1px 3px rgba(7, 9, 13, .6); }
html:not([data-theme="light"]) .con-video .rotator { color: #C9D3D8; }
.specs div:last-child:nth-child(odd) { grid-column: span 2; }

/* Texto sobre el video (modo oscuro): más claro y legible */
.con-video { --muted: #C2CDD2; }
html[data-theme="light"] .con-video { --muted: #33444C; }
html:not([data-theme="light"]) .con-video .hero h1 em { text-shadow: none; filter: drop-shadow(0 2px 14px rgba(7, 9, 13, .7)); }
html:not([data-theme="light"]) .hero h1 em { background-image: linear-gradient(100deg, #ABD3DC 10%, #FFFFFF 45%, #ABD3DC 80%); }
html:not([data-theme="light"]) .con-video .tab { color: #D5DEE2; border-color: rgba(171, 211, 220, .3); }
.con-video .tab.on { color: var(--accent-ink); }
html[data-theme="light"] .con-video .kicker, html[data-theme="light"] .con-video .nav a { color: #2B3B43; }
html[data-theme="light"] .con-video .nav a.on, html[data-theme="light"] .con-video .nav a:hover { color: #0A1217; }
