:root{
  --bgA:#05040b;
  --bgB:#061833;
  --bgC:#0b0722;

  --text:#ffffff;
  --cyan:#18d7ff;
  --pink:#ff3bd4;

  --max:1100px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
a{ color:inherit; text-decoration:none; }
img, video{ max-width:100%; height:auto; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;

  background:
    radial-gradient(900px 520px at 20% 15%, rgba(24,215,255,.18), transparent 58%),
    radial-gradient(900px 520px at 82% 18%, rgba(255,59,212,.12), transparent 60%),
    radial-gradient(900px 520px at 55% 85%, rgba(77,100,255,.14), transparent 60%),
    linear-gradient(140deg, var(--bgB), var(--bgA) 45%, var(--bgC));
}

/* VIDEO FONDO ARRIBA */
.heroVideoWrap{
  position:fixed;
  top:0; left:0; right:0;
  height:520px;
  z-index:-3;
  overflow:hidden;
  pointer-events:none;
}
.heroVideo{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}
.heroVideoTint{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 20% 30%, rgba(24,215,255,.18), transparent 62%),
    radial-gradient(900px 420px at 80% 25%, rgba(255,59,212,.12), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.68));
}
.heroVideoFade{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:170px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(5,4,11,1));
}

/* ruido suave */
body:before{
  content:"";
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  opacity:.10;
  pointer-events:none;
  mix-blend-mode:overlay;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 14px 34px;
  position:relative;
  z-index:1;
}

/* HEADER */
.header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:14px 0 0;
}

.brandHeader{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
}

.brandFrame{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;

  padding:10px 16px;
  border-radius:34px;

  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,13,24,.38);
  backdrop-filter: blur(12px);

  box-shadow:
    0 0 0 4px rgba(24,215,255,.07),
    0 18px 60px rgba(0,0,0,.40);

  max-width: 100%;
}

.brandImg{
  height:220px;
  width:auto;
  max-width:40vw;
  display:block;
  object-fit:contain;
  user-select:none;

  filter:
    drop-shadow(0 0 18px rgba(255,59,212,.26))
    drop-shadow(0 0 30px rgba(24,215,255,.18));

  transform: translateZ(0) scale(1);
  transition: transform .18s ease, filter .18s ease;
}
.brandImg:hover{
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 22px rgba(255,59,212,.34))
    drop-shadow(0 0 36px rgba(24,215,255,.22));
}

/* LOGO central (x1.5 en desktop, controlado en móvil por media query) */
.logoWrap{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:6px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 0 0 4px rgba(24,215,255,.05),
    0 20px 55px rgba(0,0,0,.34);
}

.logo{
  width:225px;
  height:225px;
  border-radius:999px;
  display:block;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 0 25px rgba(24,215,255,.28),
    0 0 60px rgba(255,59,212,.20);
  transform: translateZ(0) scale(1);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  cursor:pointer;
}
.logo:hover{
  transform: scale(1.05);
  box-shadow:
    0 0 0 10px rgba(24,215,255,.11),
    0 0 28px rgba(24,215,255,.32),
    0 0 64px rgba(255,59,212,.18);
  filter: saturate(1.06) contrast(1.03);
}

/* NAV */
.navbar{ width:100%; padding:10px 0 2px; }
.navShell{
  width:100%;
  display:flex;
  justify-content:center;
  padding:0 14px;
}

.navPanel{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:9px 10px;
  border-radius:999px;

  background: rgba(10,13,24,.40);
  backdrop-filter: blur(14px);
  border:1px solid rgba(255,255,255,.10);

  box-shadow:
    0 0 0 4px rgba(24,215,255,.10),
    0 18px 62px rgba(0,0,0,.45);

  max-width:100%;
}

/* borde neón */
.navPanel::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:999px;
  padding:2px;
  background: linear-gradient(90deg, rgba(24,215,255,.75), rgba(255,59,212,.60));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity:.92;
  pointer-events:none;
}

.navPro{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.navItem{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:10px 14px;
  border-radius:999px;

  font-weight:1100;
  font-size:0.94rem;
  letter-spacing:.02em;

  color:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.03);

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.navItem svg{
  width:18px;
  height:18px;
  opacity:.96;
  filter: drop-shadow(0 0 12px rgba(24,215,255,.18));
}
.navItem:hover{
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(24,215,255,.55);
  background: rgba(24,215,255,.08);
  box-shadow:
    0 0 0 5px rgba(24,215,255,.10),
    0 14px 46px rgba(0,0,0,.46);
}

/* subrayado neon */
.navUnderline{
  position:absolute;
  left:16px;
  right:16px;
  bottom:6px;
  height:3px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(24,215,255,1), rgba(255,59,212,.95));
  opacity:0;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  box-shadow:
    0 0 14px rgba(24,215,255,.22),
    0 0 22px rgba(255,59,212,.14);
}
.navItem:hover .navUnderline{ opacity:.7; transform: translateY(0); }
.navItem.active .navUnderline{ opacity:1; transform: translateY(0); }

.navItem.active{
  border-color: rgba(24,215,255,.75);
  background:
    radial-gradient(260px 110px at 50% 0%, rgba(24,215,255,.18), transparent 62%),
    linear-gradient(90deg, rgba(24,215,255,.12), rgba(255,59,212,.10));
  color: var(--cyan);
}

.navCTA{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:10px 14px;
  border-radius:999px;

  font-weight:1150;
  font-size:0.92rem;

  border:1px solid rgba(24,215,255,.60);
  background:
    radial-gradient(320px 110px at 0% 50%, rgba(24,215,255,.22), transparent 65%),
    linear-gradient(90deg, rgba(24,215,255,.14), rgba(255,59,212,.10));

  box-shadow:
    0 0 0 5px rgba(24,215,255,.10),
    0 16px 55px rgba(0,0,0,.36);

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}
.navCTA svg{ width:18px; height:18px; }
.navCTA:hover{
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(24,215,255,.90);
  filter: saturate(1.06);
}

/* HOME */
.productsHero{
  max-width: 880px;
  margin: 16px auto 0;
  padding: 18px 18px 16px;

  border-radius: 22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(520px 200px at 15% 35%, rgba(24,215,255,.14), transparent 60%),
    radial-gradient(520px 200px at 85% 35%, rgba(255,59,212,.10), transparent 65%),
    rgba(10,13,24,.66);

  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 7px rgba(24,215,255,.08),
    0 24px 85px rgba(0,0,0,.45);
}

.productsHeroTitle{
  text-align:center;
  font-weight:1100;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size: 1.05rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 10px;
}

.neonLine{
  width: min(520px, 92%);
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,215,255,1), rgba(255,59,212,.9));
  box-shadow:
    0 0 18px rgba(24,215,255,.22),
    0 0 28px rgba(255,59,212,.14);
  opacity: .95;
}

.productsSectionTitle{
  text-align:center;
  font-weight:1200;
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.productsSectionSub{
  text-align:center;
  color:rgba(255,255,255,.76);
  font-size:.92rem;
  line-height:1.45;
  margin-bottom: 14px;
}

.homeGrid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.homeTile{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  transform: translateZ(0) scale(1);
  transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,.38);
  position:relative;
}
.homeTile:hover{
  transform: scale(1.04);
  border-color: rgba(24,215,255,.30);
  box-shadow:
    0 0 0 6px rgba(24,215,255,.08),
    0 18px 55px rgba(0,0,0,.55);
}
.homeImg{ width:100%; aspect-ratio: 1/1; background:#0d1022; }
.homeImg img{
  width:100%; height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transform: scale(1.00);
  transition: transform .22s ease, filter .22s ease;
}
.homeTile:hover .homeImg img{ transform: scale(1.06); }

.tileBadge{
  position:absolute;
  top:10px;
  left:10px;
  z-index:3;
  padding:7px 10px;
  border-radius:999px;
  font-weight:1100;
  font-size:.72rem;
  letter-spacing:.10em;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(220px 60px at 15% 50%, rgba(24,215,255,.22), transparent 65%),
    linear-gradient(90deg, rgba(24,215,255,.18), rgba(255,59,212,.14));
  color: rgba(255,255,255,.92);
  box-shadow:
    0 0 0 6px rgba(24,215,255,.07),
    0 12px 38px rgba(0,0,0,.45);
}

/* PAGES / GRID / MODAL */
.cardBlock{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background: rgba(10,13,24,.72);
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
  padding:16px;
  overflow:hidden;
}

.pageTitle{
  text-align:center;
  font-weight:1200;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size: 1.65rem;
  margin-top: 14px;
  margin-bottom: 14px;
  text-shadow:
    0 0 16px rgba(24,215,255,.18),
    0 0 26px rgba(255,59,212,.10);
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media(min-width:760px){
  .grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.popCard{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  transform: translateZ(0) scale(1);
  transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease;
}
.popCard:hover{
  transform: scale(1.03);
  border-color: rgba(24,215,255,.30);
  box-shadow: 0 0 0 6px rgba(24,215,255,.08), 0 12px 40px rgba(0,0,0,.50);
}

.pImgBtn{
  width:100%;
  aspect-ratio: 1 / 1;
  border:0;
  cursor:pointer;
  background:#11162a;
  background-size:cover;
  background-position:center;
}

.prodTag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.86);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  font-weight:1100;
  font-size:.78rem;
  letter-spacing:.10em;
  text-transform:uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.55);
}

/* MODAL */
.modalBack{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:999;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(16px);
}
.modalBack.show{ display:flex; }

.modal{
  width: min(980px, 100%);
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,13,24,.80);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;
}

.mHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(420px 120px at 15% 50%, rgba(24,215,255,.16), transparent 60%),
    radial-gradient(420px 120px at 85% 50%, rgba(255,59,212,.10), transparent 65%),
    rgba(255,255,255,.02);
}
.mTitle{ font-weight:950; color:rgba(255,255,255,.92); }
.mClose{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  font-size:22px;
  cursor:pointer;
}
.mBody{ padding:12px; }
.mBody video{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:#000;
}

/* FOOTER */
footer{
  text-align:center;
  margin-top:22px;
  display:grid;
  gap:10px;
}
.footerBrand{
  font-weight:1100;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: rgba(255,255,255,.86);
  text-shadow: 0 0 14px rgba(24,215,255,.14);
  font-size:.86rem;
}
.disclaimer{
  max-width: 980px;
  margin:0 auto;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.72);
  font-size:.80rem;
  line-height:1.45;
  box-shadow: 0 14px 45px rgba(0,0,0,.30);
}
.disclaimer b{ color: rgba(255,255,255,.84); }

/* =========================
   RESPONSIVE (MÓVIL REAL)
   ========================= */

/* 1) Móvil: reduce vídeo y quita “peso” */
@media(max-width:820px){
  .heroVideoWrap{ height: 360px; }
}

/* 2) Móvil: header en columna, logo y laterales controlados */
@media(max-width:820px){
  .brandFrame{
    flex-direction:column;
    border-radius:24px;
    gap:12px;
    padding:12px 12px;
    text-align:center;
  }

  .brandImg{
    height:140px;
    max-width:86vw;
  }

  .logo{
    width:170px;
    height:170px;
  }
}

/* 3) Móvil: nav apilado, botones full width */
@media(max-width:820px){
  .navPanel{
    flex-direction:column;
    gap:10px;
    padding:10px 10px;
    width: min(560px, 100%);
  }

  .navPro{
    width:100%;
    justify-content:center;
  }

  .navItem{
    width:100%;
    justify-content:center;
  }

  .navCTA{
    width:100%;
    justify-content:center;
  }
}

/* 4) Móvil: grids a 1 columna para que no se vea “apretado” */
@media(max-width:520px){
  .homeGrid{
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .grid{
    grid-template-columns: 1fr;
  }
  .productsHero{
    padding:16px;
  }
}
