/* ============================================================
   m3c Development — tech-noir Los Santos
   Cian eléctrico sobre negro azulado, glow, circuitos.
   ============================================================ */

:root {
  --bg: #04070c;
  --bg-2: #070d16;
  --bg-3: #0a1422;
  --panel: rgba(13, 24, 38, 0.62);
  --line: rgba(0, 200, 255, 0.14);
  --line-strong: rgba(0, 200, 255, 0.35);
  --cyan: #00c8ff;
  --cyan-soft: #5fdcff;
  --cyan-dim: #0a82a8;
  --text: #e8f4fa;
  --text-dim: #93a8b8;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Chakra Petch', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: 0 0 24px rgba(0, 200, 255, 0.35), 0 0 64px rgba(0, 200, 255, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 200, 255, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan-dim), var(--cyan));
  border-radius: 5px;
}

/* ---------- Atmósfera de fondo ---------- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 140, 200, 0.16), transparent 60%),
    linear-gradient(180deg, #04070c 0%, #060b14 45%, #081120 100%);
}

/* Imagen GTA opcional (assets/bg/hero.jpg) — muy suave */
.atmo-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 2s ease;
  filter: saturate(0.6) brightness(0.5);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.4) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.4) 60%, transparent);
}
.atmo-image.loaded { opacity: 0.28; }

.atmo-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  left: 50%;
  top: -420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 200, 255, 0.13) 0%, transparent 60%);
  animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.atmo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
}

#particles { position: absolute; inset: 0; }

.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38vh;
  min-height: 220px;
}
.skyline-back {
  fill: #091525;
  opacity: 0.8;
  height: 44vh;
  filter: blur(1px);
}
.skyline-front { fill: #050b14; }
.skyline-front .palms { fill: #060d18; }

.atmo-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    rgba(0, 0, 0, 0.12) 3px 4px
  );
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Cursor glow ---------- */

.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 4px;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, #00b4e6, #0090d4);
  color: #021018;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  background: linear-gradient(135deg, #18d0ff, #00a8f0);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan-soft);
  border: 1px solid var(--line-strong);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-ghost:hover {
  background: rgba(0, 200, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.15);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 34px; font-size: 14px; }
.btn-sm { padding: 10px 18px; font-size: 11px; }

/* ---------- Navegación ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 14px clamp(20px, 5vw, 56px);
  transition: background 0.45s, backdrop-filter 0.45s, border-color 0.45s, padding 0.45s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 8, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.nav-logo { height: 44px; filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.4)); }
.nav-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.02em;
}
.nav-name em { font-style: normal; color: var(--cyan); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.lang-toggle {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-soft);
  background: rgba(0, 200, 255, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.lang-toggle:hover {
  background: rgba(0, 200, 255, 0.14);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.2);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 24px 80px;
}

.hero-inner { max-width: 880px; }

.hero-logo-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 32px rgba(0, 200, 255, 0.45));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-logo-ring {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 50%;
  border-top-color: var(--cyan);
  animation: spin 9s linear infinite;
}
.hero-logo-ring.ring-2 {
  inset: -30px;
  border-color: rgba(0, 200, 255, 0.1);
  border-bottom-color: rgba(0, 200, 255, 0.55);
  animation: spin 14s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.45em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 0 14px rgba(0, 200, 255, 0.6);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero-title .line { display: block; }
.accent {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(0, 200, 255, 0.5);
}

/* Glitch sutil en "FiveM" */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}
.glitch::before { color: #ff3b6b; animation: glitchA 6s infinite steps(1); }
.glitch::after { color: #4dffd2; animation: glitchB 6s infinite steps(1); }
@keyframes glitchA {
  0%, 92%, 100% { opacity: 0; transform: none; }
  93% { opacity: 0.7; transform: translate(-3px, 1px); }
  94.5% { opacity: 0; }
  96% { opacity: 0.55; transform: translate(2px, -1px); }
  97% { opacity: 0; }
}
@keyframes glitchB {
  0%, 92.5%, 100% { opacity: 0; transform: none; }
  93.5% { opacity: 0.7; transform: translate(3px, -1px); }
  95% { opacity: 0; }
  96.5% { opacity: 0.55; transform: translate(-2px, 1px); }
  97.5% { opacity: 0; }
}

.hero-sub {
  max-width: 560px;
  margin: 22px auto 36px;
  color: var(--text-dim);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 56px;
}
.hstat { display: flex; align-items: baseline; gap: 2px; }
.hstat-num, .hstat-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
}
.hstat-pct { color: var(--cyan); }
.hstat-label {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hstat-sep { width: 1px; height: 30px; background: var(--line-strong); }

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.hero-scroll-hint span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--cyan);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 200, 255, 0.025);
  padding: 13px 0;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(0, 200, 255, 0.55);
}
.marquee-track i { color: rgba(0, 200, 255, 0.3); font-style: normal; font-size: 9px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */

.section {
  position: relative;
  z-index: 1;
  padding: 110px clamp(20px, 6vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
}
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, transparent, rgba(0, 140, 200, 0.04) 25%, rgba(0, 140, 200, 0.04) 75%, transparent);
}
.section-alt > * { max-width: 1280px; margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  color: #fff;
}
.section-sub {
  color: var(--text-dim);
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 15px;
}
.section-cta { text-align: center; margin-top: 52px; }

/* ---------- Productos ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 200, 255, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 200, 255, 0.08);
}
.product-card:hover::before { opacity: 1; }

.product-media {
  height: 180px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 200, 255, 0.16), transparent 55%),
    linear-gradient(150deg, #0b1726, #060c16);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-media .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: rgba(0, 200, 255, 0.18);
  letter-spacing: 0.05em;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Carrusel de medios del producto */
.carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
}
.car-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.car-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.car-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
.car-slide iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.car-video { cursor: pointer; }
.car-video img { filter: brightness(0.75); }
.car-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.car-play svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s var(--ease);
}
.car-video:hover .car-play svg { transform: scale(1.14); }

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: rgba(4, 10, 16, 0.65);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(4px);
  padding-bottom: 3px;
}
.car-prev { left: 10px; }
.car-next { right: 10px; }
.product-card:hover .car-btn { opacity: 1; }
.car-btn:hover {
  background: rgba(0, 200, 255, 0.25);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.35);
}

.car-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
}
.car-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}
.car-dots button.active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scale(1.3);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  background: rgba(4, 10, 16, 0.8);
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
}
.product-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 9px;
}
.product-desc {
  font-size: 14px;
  color: var(--text-dim);
  flex: 1;
  margin-bottom: 18px;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0, 200, 255, 0.4);
}
.product-buy {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #021018;
  background: var(--cyan);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 3px;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-buy:hover { box-shadow: 0 0 18px rgba(0, 200, 255, 0.55); transform: translateY(-1px); }

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-doc {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: transparent;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.product-doc:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.3);
  transform: translateY(-1px);
}

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 40px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

/* ---------- Features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature {
  position: relative;
  padding: 30px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.feature::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.feature:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  margin-bottom: 18px;
  background: rgba(0, 200, 255, 0.06);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.feature p { font-size: 14px; color: var(--text-dim); }
.feature-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(0, 200, 255, 0.25);
  font-weight: 700;
}

/* ---------- Vídeos ---------- */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.video-card {
  display: block;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: saturate(0.9);
}
.video-card:hover .video-thumb img { transform: scale(1.05); filter: saturate(1.1); }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 10, 0.35);
  transition: background 0.3s;
}
.video-card:hover .video-play { background: rgba(2, 6, 10, 0.1); }
.video-play svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s var(--ease);
}
.video-card:hover .video-play svg { transform: scale(1.12); }
.video-title {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-date { padding: 0 18px 16px; font-size: 12px; color: var(--text-dim); }

.videos-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--text-dim);
}
.videos-fallback a { color: var(--cyan); }

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 40px auto 110px;
  padding: 70px clamp(24px, 6vw, 80px);
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 160, 220, 0.12), rgba(8, 18, 30, 0.7));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.cta-inner { position: relative; z-index: 2; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner p { color: var(--text-dim); margin-bottom: 30px; }

.cta-circuit {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(0, 200, 255, 0.18) 2px, transparent 3px),
    radial-gradient(circle at 92% 80%, rgba(0, 200, 255, 0.18) 2px, transparent 3px),
    linear-gradient(90deg, transparent 7.9%, rgba(0, 200, 255, 0.1) 8%, rgba(0, 200, 255, 0.1) 8.15%, transparent 8.25%),
    linear-gradient(0deg, transparent 19.9%, rgba(0, 200, 255, 0.08) 20%, rgba(0, 200, 255, 0.08) 20.2%, transparent 20.3%);
  opacity: 0.7;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(3, 6, 10, 0.85);
  backdrop-filter: blur(10px);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px clamp(20px, 6vw, 72px);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.footer-logo { height: 52px; opacity: 0.9; }
.footer-brand p {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}
.footer-brand span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-dim);
}
.footer-links { display: flex; gap: 26px; }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
}
.footer-links a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 200, 255, 0.5); }
.footer-note { width: 100%; font-size: 12px; color: #5a6c7c; }

/* ---------- Animaciones de entrada ---------- */

.reveal-load {
  opacity: 0;
  transform: translateY(26px);
  animation: revealUp 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-load { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 64px;
    right: 0;
    flex-direction: column;
    background: rgba(5, 9, 15, 0.97);
    border: 1px solid var(--line);
    border-right: none;
    padding: 26px 40px;
    gap: 20px;
    transform: translateX(110%);
    transition: transform 0.4s var(--ease);
    border-radius: 8px 0 0 8px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hstat-label { margin-left: 6px; font-size: 10px; }
}
