/* =========================================================
   Lasertag REDISEÑO — chrome compartido (páginas interiores)
   Nav nueva + menú overlay + footer nuevo + reveals.
   Se carga DESPUÉS de styles.css. No toca el contenido.
   ========================================================= */
:root {
  --rz-navy: #0d1b2a;
  --rz-navy-deep: #08111c;
  --rz-cream: #F4EFE3;
  --rz-lime: #7DC242;
  --rz-lime-2: #6cae34;
  --rz-line: rgba(255, 255, 255, 0.14);
  --rz-serif: "Cormorant Garamond", "Times New Roman", serif;
  --rz-sans: "Manrope", system-ui, -apple-system, sans-serif;
  --rz-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Botón lima (la base .btn viene de styles.css) ---------- */
.btn--lime { background: var(--rz-lime); color: var(--rz-navy); }
.btn--lime:hover { background: var(--rz-lime-2); transform: translateY(-2px); }

/* =========================================================
   NAV (sticky en interiores: ocupa espacio como la anterior)
   ========================================================= */
.nv {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 17, 28, 0.96);
  transition: box-shadow .35s ease;
}
.nv.is-solid { box-shadow: 0 1px 0 var(--rz-line); }
.nv__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 14px 32px; display: flex; align-items: center; gap: 28px;
}
.nv__logo img { height: 42px; width: auto; filter: brightness(0) invert(1); }
.nv__links { display: flex; gap: 26px; margin-left: auto; }
.nv__links a {
  color: rgba(255,255,255,0.82); font-size: 15px; font-weight: 600;
  padding: 6px 2px; position: relative; white-space: nowrap;
}
.nv__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--rz-lime);
  transition: right .3s var(--rz-ease);
}
.nv__links a:hover::after, .nv__links a.is-active::after { right: 0; }
.nv__links a:hover, .nv__links a.is-active { color: #fff; }
.nv__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nv__links + .nv__right, .nv__links ~ .nv__right { margin-left: 0; }
.nv__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--rz-line);
  border-radius: 999px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nv__burger span {
  display: block; width: 18px; height: 2px; background: #fff;
  transition: transform .3s var(--rz-ease);
}
body.menu-open .nv__burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nv__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   MENÚ MÓVIL (overlay)
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--rz-navy-deep);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 90px 36px 48px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
body.menu-open .menu { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-family: var(--rz-serif); font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 600; color: var(--rz-cream); line-height: 1.18;
  opacity: 0; transform: translateY(18px);
}
body.menu-open .menu__links a {
  opacity: 1; transform: none;
  transition: opacity .5s var(--rz-ease), transform .5s var(--rz-ease);
  transition-delay: calc(60ms * var(--i, 0) + 100ms);
}
.menu__links a.is-active { color: var(--rz-lime); }
.menu__foot { display: flex; flex-direction: column; gap: 8px; }
.menu__foot a { color: rgba(255,255,255,0.75); font-size: 15px; }

/* =========================================================
   FOOTER NUEVO
   ========================================================= */
.ft { background: var(--rz-navy-deep); color: rgba(255,255,255,0.8); padding: 78px 0 0; }
.ft__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px; padding-bottom: 56px;
}
.ft__logo { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.ft__brand p { margin: 0; font-size: 15px; line-height: 1.6; }
.ft__col { display: flex; flex-direction: column; gap: 9px; }
.ft__col h4 {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin: 0 0 8px;
}
.ft__col a { font-size: 15px; color: rgba(255,255,255,0.74); transition: color .2s ease; }
.ft__col a:hover { color: var(--rz-lime); }
.ft__col p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.65; }
.ft__base {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px;
  border-top: 1px solid var(--rz-line); font-size: 13.5px; color: rgba(255,255,255,0.55);
}
.ft__sig i { color: var(--rz-lime); font-style: normal; }

/* =========================================================
   REVEALS (mejora progresiva)
   ========================================================= */
html.js .rev { opacity: 0; transform: translateY(26px); }
html.js .rev.in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--rz-ease), transform .8s var(--rz-ease);
  transition-delay: var(--d, 0ms);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nv__links { display: none; }
  .nv__burger { display: flex; }
  .ft__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ft__inner { grid-template-columns: 1fr; gap: 34px; }
}

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html.js .rev { opacity: 1; transform: none; transition: none; }
  .menu, .menu__links a, .nv__burger span { transition: none; }
}
