/* =========================================================
   Lasertag.pty — REDISEÑO 2026 · "Cortado con luz"
   Página de inicio. Tipografías: Cormorant Garamond + Manrope.
   Paleta de marca: navy #0d1b2a · crema #F4EFE3 · lima #7DC242
   ========================================================= */
:root {
  --navy: #0d1b2a;
  --navy-deep: #08111c;
  --navy-2: #122336;
  --cream: #F4EFE3;
  --cream-2: #ebe4d3;
  --ink: #0d1b2a;
  --ink-soft: #3a4756;
  --lime: #7DC242;
  --lime-2: #6cae34;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(13, 27, 42, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --container: 1320px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* z-index */
  --z-nav: 50;
  --z-menu: 60;
  --z-float: 40;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--navy-deep); scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--navy-deep);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease-out), background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: var(--lime-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-2px); }

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

/* =========================================================
   NAV
   ========================================================= */
.nv {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  transition: background .35s ease, box-shadow .35s ease;
}
.nv.is-solid { background: rgba(8, 17, 28, 0.96); box-shadow: 0 1px 0 var(--line); }
.nv__inner {
  max-width: var(--container); 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;
}
.nv__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--lime);
  transition: right .3s var(--ease-out);
}
.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; }
.nv__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--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(--ease-out);
}
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: var(--z-menu);
  background: var(--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; }
body.menu-open .nv { background: transparent; box-shadow: none; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 600; color: var(--cream); line-height: 1.18;
  opacity: 0; transform: translateY(18px);
}
body.menu-open .menu__links a {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(60ms * var(--i, 0) + 100ms);
}
.menu__links a.is-active { color: var(--lime); }
.menu__foot { display: flex; flex-direction: column; gap: 8px; }
.menu__foot a { color: rgba(255,255,255,0.75); font-size: 15px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; color: #fff;
}
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1);
  transition: opacity 1.6s ease;
  will-change: opacity, transform;
}
.hero__slide.is-on { opacity: 1; animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease;
}
.hero.has-video .hero__video { opacity: 1; }
.hero.has-video .hero__slide { opacity: 0 !important; animation: none; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,17,28,0.62) 0%, rgba(8,17,28,0.45) 45%, rgba(8,17,28,0.80) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); width: 100%;
  margin: 0 auto; padding: 120px 32px 140px;
}
.hero__kicker {
  font-size: 13px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--lime); margin: 0 0 22px;
}
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  line-height: 1.04; letter-spacing: -0.015em;
  margin: 0 0 26px; max-width: 14ch;
}
.hero__title em { font-style: italic; font-weight: 500; }
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; }
html.js .hero__line > span { transform: translateY(110%); animation: heroline 1s var(--ease-out) forwards; }
html.js .hero__line:nth-child(2) > span { animation-delay: .15s; }
@keyframes heroline { to { transform: translateY(0); } }
.hero__lit { position: relative; color: var(--lime); white-space: nowrap; }
.hero__beam {
  position: absolute; left: -4%; right: -4%; bottom: 0.04em; height: 3px;
  background: var(--lime); border-radius: 2px;
  box-shadow: 0 0 14px 2px rgba(125,194,66,0.75);
  transform: scaleX(0); transform-origin: left;
}
html.js .hero__beam { animation: beam 1s var(--ease-out) .9s forwards; }
@keyframes beam { to { transform: scaleX(1); } }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6;
  color: rgba(255,255,255,0.88); max-width: 52ch; margin: 0 0 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__rating {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.85);
}
.hero__rating:hover { color: #fff; }
.hero__stars { color: var(--lime); letter-spacing: 2px; font-size: 15px; }
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 86px;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,0.4); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 2px; background: var(--lime);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* ---------- Marquesinas de texto ---------- */
.mq { overflow: hidden; border-top: 1px solid var(--line); }
.mq--hero { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; background: rgba(8,17,28,0.55); }
.mq__track {
  display: flex; align-items: center; gap: 34px;
  width: max-content; padding: 14px 0;
  animation: mq 26s linear infinite;
}
.mq:hover .mq__track { animation-play-state: paused; }
.mq__track span {
  font-size: 13.5px; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.78); white-space: nowrap;
}
.mq__track i { color: var(--lime); font-style: normal; font-size: 12px; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   CINTA DE TRABAJOS
   ========================================================= */
.strip { background: var(--cream); padding: 92px 0 96px; }
.strip__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 44px;
}
.strip__head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.06; margin: 0;
}
.strip__more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  border-bottom: 2px solid var(--lime); padding-bottom: 3px;
}
.strip__more svg { width: 17px; height: 17px; transition: transform .25s var(--ease-out); }
.strip__more:hover svg { transform: translateX(4px); }
.strip__rail { overflow: hidden; }
.strip__track {
  display: flex; gap: 18px; width: max-content;
  animation: mq 55s linear infinite;
}
.strip__rail:hover .strip__track { animation-play-state: paused; }
.strip__track figure {
  margin: 0; width: 290px; height: 360px;
  border-radius: 14px; overflow: hidden; flex: none;
}
.strip__track img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.strip__track figure:hover img { transform: scale(1.06); }

/* =========================================================
   CATEGORÍAS — PANELES EXPANDIBLES
   ========================================================= */
.cats { background: var(--navy-deep); padding: 100px 0 110px; color: #fff; }
.cats__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: 50px;
}
.cats__head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0;
}
.cats__head h2 em { font-style: italic; color: var(--lime); }
.cats__head p { max-width: 38ch; color: rgba(255,255,255,0.75); margin: 0; font-size: 16px; }
.slats {
  display: flex; gap: 10px; height: 540px;
  max-width: calc(var(--container) - 0px); margin: 0 auto; padding: 0 32px;
}
.slat {
  position: relative; flex: 1; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end;
  transition: flex .65s var(--ease-out);
}
.slat::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform .8s var(--ease-out);
}
.slat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,17,28,0.08) 30%, rgba(8,17,28,0.82) 100%);
}
.slat:hover { flex: 3.1; }
.slat:hover::before { transform: scale(1.07); }
.slat__name {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.1; color: #fff;
  padding: 0 22px 56px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  transition: writing-mode 0s .2s;
  white-space: nowrap;
}
.slat__go {
  position: absolute; z-index: 2; left: 22px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--lime);
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s ease .15s, transform .35s var(--ease-out) .15s;
  white-space: nowrap;
}
.slat__go i { font-style: normal; }
.slat:hover .slat__name { writing-mode: horizontal-tb; transform: none; padding: 0 22px 54px; }
.slat:hover .slat__go { opacity: 1; transform: none; }

/* =========================================================
   PROCESO
   ========================================================= */
.proc { background: var(--cream); padding: 100px 0 110px; }
.proc__head { margin-bottom: 56px; }
.proc__head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0;
}
.proc__head h2 em { font-style: italic; }
.proc__line { height: 2px; background: var(--line-dark); border-radius: 2px; margin-bottom: 46px; overflow: hidden; }
.proc__line span {
  display: block; height: 100%; background: var(--lime);
  box-shadow: 0 0 10px 1px rgba(125,194,66,0.6);
  transform: scaleX(0); transform-origin: left;
}
.proc__line.in span { transition: transform 1.6s var(--ease-out) .2s; transform: scaleX(1); }
.proc__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 38px;
}
.proc__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 2px solid var(--navy); font-weight: 800; font-size: 16px;
  margin-bottom: 16px;
}
.proc__steps h3 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 700;
  margin: 0 0 8px; line-height: 1.15;
}
.proc__steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* =========================================================
   NÚMEROS
   ========================================================= */
.nums { background: var(--navy); color: #fff; padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nums__row {
  display: flex; flex-wrap: wrap; gap: 38px 64px;
  align-items: baseline; justify-content: space-between;
}
.nums__row > div { display: flex; flex-direction: column; gap: 4px; }
.nums__row strong {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--lime);
}
.nums__row > div > span { font-size: 14.5px; color: rgba(255,255,255,0.75); font-weight: 600; }

/* =========================================================
   CTA
   ========================================================= */
.cta { background: var(--lime); color: var(--navy); padding: 110px 0 0; overflow: hidden; }
.cta__inner { text-align: center; padding-bottom: 96px; }
.cta__inner h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02;
  margin: 0 0 18px; letter-spacing: -0.01em;
}
.cta__inner h2 em { font-style: italic; }
.cta__inner p { font-size: 17px; font-weight: 600; margin: 0 0 30px; color: rgba(13,27,42,0.82); }
.mq--cta { border-top: 1px solid rgba(13,27,42,0.25); }
.mq--cta .mq__track span { color: rgba(13,27,42,0.78); }
.mq--cta .mq__track i { color: var(--navy); }

/* =========================================================
   FOOTER
   ========================================================= */
.ft { background: var(--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(--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(--line); font-size: 13.5px; color: rgba(255,255,255,0.55);
}
.ft__sig i { color: var(--lime); font-style: normal; }

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-float);
  width: 60px; height: 60px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid #25D366;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nv__links { display: none; }
  .nv__burger { display: flex; }
  .ft__inner { grid-template-columns: 1fr 1fr; }
  .slats { height: auto; flex-direction: column; overflow: visible; gap: 14px; }
  .slat { flex: none; width: 100%; max-width: none; height: 210px; min-height: 210px; }
  .slat__name { writing-mode: horizontal-tb; transform: none; padding: 0 22px 54px; }
  .slat__go { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .hero__inner { padding: 110px 22px 150px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll { display: none; }
  .slats { padding: 0 22px; }
  .nums__row { flex-direction: column; gap: 26px; }
  .ft__inner { grid-template-columns: 1fr; gap: 34px; }
  .strip__track figure { width: 230px; height: 290px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rev { opacity: 1; transform: none; transition: none; }
  html.js .hero__line > span { transform: none; animation: none; }
  html.js .hero__beam { transform: scaleX(1); animation: none; }
  .hero__slide.is-on { animation: none; }
  .mq__track, .strip__track { animation: none; }
  .strip__rail { overflow-x: auto; }
  .hero__scroll span { animation: none; }
  .wa-float__pulse { animation: none; opacity: 0; }
  .proc__line span { transform: scaleX(1); transition: none; }
  .slat, .slat::before, .btn, .strip__track img { transition: none; }
}
