/* ==========================================
   CD CARRERA DESIGN × MUNDIAL 2026
   Paleta: #0A0A0A · #B6F500 · #FF8A00 · #7B3FF2 · #FFF
   ========================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0A0A0A;
  --lime:    #9DC800;
  --orange:  #FF8A00;
  --purple:  #7B3FF2;
  --white:   #FFFFFF;
  --gray:    #111111;
  --gray-2:  #191919;
  --text-muted: rgba(255,255,255,0.45);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--lime); border-radius: 2px; }

/* ---------- UTILITIES ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text--lime   { color: var(--lime); }
.text--orange { color: var(--orange); }
.text--purple { color: var(--purple); }

.section-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--lime);
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}
.btn--primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,138,0,0.12);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--large { padding: 18px 48px; font-size: 18px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 20px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity var(--transition);
}
.nav__logo-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav__logo:hover .nav__logo-img { opacity: 0.75; }
.nav__logo:hover .nav__logo-name { color: var(--white); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--lime); }
.nav__cta { margin-left: 8px; font-size: 13px; padding: 10px 22px; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Elementos exclusivos del menú mobile — ocultos en desktop */
.nav__menu-header { display: none; }
.nav__close { display: none; }
.nav__menu-brand { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.35) 60%,
    rgba(10,10,10,0.15) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero__kicker {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__kicker::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--lime);
  animation: lineGrow 1s ease forwards;
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 40px; }
}
.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__subhead {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.5;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--lime));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}
.hero__scroll-text {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--lime);
  opacity: 0.6;
}

/* ---------- PROPUESTA DE VALOR ---------- */
.valor {
  padding: 120px 0;
  background: var(--black);
}
.valor__body {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 24px 0 64px;
  line-height: 1.6;
}
.pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pilar {
  background: var(--gray);
  padding: 48px 36px;
  border-top: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pilar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.pilar:hover::before { transform: scaleX(1); }
.pilar:hover { background: rgba(255,255,255,0.02); }
.pilar__icon {
  width: 48px;
  height: 48px;
  color: var(--lime);
  margin-bottom: 24px;
}
.pilar__title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--white);
}
.pilar__text {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- SERVICIOS ---------- */
.servicios {
  padding: 120px 0;
  background: var(--black);
  border-top: 1px solid var(--gray-2);
}
.servicios__subhead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 20px 0 64px;
}
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--gray);
  cursor: default;
  group: true;
}
.card--wide {
  grid-column: span 2;
}
.card__img {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
}
.card--wide .card__img { height: 300px; }
.card__body {
  padding: 28px 28px 32px;
  position: relative;
}
.card__body::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.2), transparent);
}
.card__num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 10px;
  display: block;
}
.card__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 10px;
}
.card__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card__tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
}

/* ---------- VR/AR FEATURE ---------- */
.vrar {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}
.vrar__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vrar__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.85);
}
.vrar__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.82) 0%,
    rgba(10,10,10,0.45) 60%,
    rgba(10,10,10,0.1) 100%
  );
}
.vrar__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.vrar__body {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  margin: 24px 0 40px;
  line-height: 1.7;
}
.vrar__frame {
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.vrar__frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.vrar__frame-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 1.5s ease infinite;
}
.dot--lime { background: var(--lime); }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ---------- TECI ---------- */
.teci {
  padding: 140px 0;
  background: var(--gray);
  position: relative;
  overflow: hidden;
}
.teci::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}
.teci::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.015) 0%, transparent 70%);
  pointer-events: none;
}
.teci__subhead {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin: 20px 0 72px;
  font-style: italic;
}
.teci__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}
.teci__metric {
  padding: 48px 40px;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.teci__metric::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--lime);
}
.teci__metric-value {
  font-family: var(--font-head);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.teci__metric-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-head);
  font-weight: 600;
}
.teci__body {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.7;
}
.teci__dashboard {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.07);
}
.teci__db-bar {
  display: grid;
  grid-template-columns: 140px 1fr 44px;
  align-items: center;
  gap: 16px;
}
.teci__db-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.teci__db-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.teci__db-fill {
  height: 100%;
  background: rgba(255,255,255,0.5);
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.teci__db-fill--orange { background: rgba(255,255,255,0.35); }
.teci__db-fill--purple { background: rgba(255,255,255,0.25); }
.teci__db-val {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-align: right;
}

/* ---------- PAQUETES ---------- */
.paquetes {
  padding: 140px 0;
  background: var(--black);
}
.paquetes__subhead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 20px 0 64px;
}
.paquetes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-items: stretch;
}
.paquete {
  background: var(--gray);
  padding: 48px 36px;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.paquete:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.paquete--featured {
  background: var(--gray-2);
  border-color: rgba(255,255,255,0.25) !important;
  transform: translateY(-8px);
}
.paquete--featured:hover { transform: translateY(-12px); }
.paquete__badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--gray-2);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 16px;
  white-space: nowrap;
}
.paquete__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.paquete__num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.1em;
}
.paquete__name {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.paquete__tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  line-height: 1.5;
}
.paquete__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.paquete__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}
.check {
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}
.paquete__cta { width: 100%; }

/* ---------- GALERÍA SCROLL ---------- */
.galeria {
  overflow: hidden;
  padding: 0;
  height: 280px;
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
}
.galeria::before, .galeria::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.galeria::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.galeria::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}
.galeria__track {
  display: flex;
  gap: 4px;
  animation: scrollGaleria 30s linear infinite;
  width: max-content;
}
.galeria__track:hover { animation-play-state: paused; }
@keyframes scrollGaleria {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.galeria__item {
  flex-shrink: 0;
  width: 420px;
  height: 280px;
  overflow: hidden;
}
.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.55) saturate(0.4);
}
.galeria__item:hover img {
  transform: scale(1.05);
  filter: brightness(0.75) saturate(0.7);
}

/* ---------- CLIENTES ---------- */
.clientes {
  padding: 120px 0;
  background: var(--black);
}
.clientes__marquee {
  overflow: hidden;
  margin-top: 48px;
  position: relative;
}
.clientes__marquee::before, .clientes__marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clientes__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.clientes__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}
.clientes__track {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: marquee 35s linear infinite;
  width: max-content;
  padding: 12px 0;
}
.clientes__track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clientes__track span {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  transition: color var(--transition);
}
.clientes__track span:hover { color: var(--white); }
.dot--sep {
  color: rgba(255,255,255,0.2) !important;
  font-size: 12px !important;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5) saturate(0.85);
}
.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.55) 100%);
}
.cta-final__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-final__headline { margin-bottom: 24px; }
.cta-final__subhead {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  margin-bottom: 48px;
  line-height: 1.6;
}
.contact-card {
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px 40px;
}
.contact-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}
.contact-card__list svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.contact-card__list a:hover { color: var(--lime); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gray);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding: 64px 24px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__logo-img {
  height: 36px;
  width: auto;
  max-width: 200px;
  display: block;
  opacity: 0.85;
  align-self: flex-start;
  object-fit: contain;
}
.footer__tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-head);
  margin-top: 8px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.footer__nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--lime); }
.footer__credits {
  text-align: right;
}
.footer__credits p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  text-align: center;
}
.footer__bottom span {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-head);
  letter-spacing: 0.08em;
}

/* ---------- SUBTLE BORDER EFFECT ---------- */
.neon-border {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

/* ---------- AOS OVERRIDES ---------- */
[data-aos] { will-change: transform, opacity; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pilares { grid-template-columns: repeat(3, 1fr); }
  .servicios__grid { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 1; }
  .vrar__content { grid-template-columns: 1fr; gap: 48px; }
  .vrar__visual { max-width: 560px; }
  .teci__metrics { grid-template-columns: repeat(3, 1fr); }
  .paquetes__grid { grid-template-columns: 1fr; gap: 2px; }
  .paquete--featured { transform: none; }
  .paquete--featured:hover { transform: translateY(-4px); }
  .cta-final__content { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__credits { grid-column: span 2; text-align: left; }
}

@media (max-width: 768px) {
  /* Eliminar backdrop-filter en mobile para que el overlay fixed no quede atrapado en el nav bar */
  .nav { background: rgba(10,10,10,0.92); }
  .nav.scrolled { backdrop-filter: none; }
  .nav__links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,10,10,0.98); padding: 80px 32px 40px; gap: 20px; align-items: flex-start; z-index: 998; list-style: none; }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 32px; }

  /* ---- Close button ---- */
  .nav__menu-header { display: block; list-style: none; position: absolute; top: 20px; right: 20px; padding: 0; }
  .nav__close {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
  }
  .nav__close:hover, .nav__close:focus-visible {
    background: rgba(182,245,0,0.12);
    border-color: var(--lime);
    color: var(--lime);
    outline: none;
  }

  /* ---- Brand footer ---- */
  .nav__menu-brand {  display: flex;
    list-style: none;
    position: absolute;
    bottom: 36px; right: 28px;
    display: flex; align-items: center; gap: 9px;
    padding: 0;
  }
  .nav__menu-brand-logo { height: 24px; width: auto; opacity: 0.5; display: block; }
  .nav__menu-brand-name {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
  }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .pilares { grid-template-columns: 1fr; }
  .servicios__grid { grid-template-columns: 1fr; }
  .teci__metrics { grid-template-columns: 1fr; }
  .teci__db-bar { grid-template-columns: 120px 1fr 44px; }
  .hero__headline { font-size: clamp(48px, 14vw, 80px); }
  .vrar__content { grid-template-columns: 1fr; }
  .cta-final__content { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__credits { grid-column: 1; text-align: left; }
  .footer__nav { align-items: flex-start; }
  .galeria__item { width: 300px; }
  .break-lg { display: none; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .btn--large { width: 100%; }
  /* En móvil pequeño el texto del logo se oculta para no saturar el nav */
  .nav__logo-name { display: none; }
  .nav__logo-img { height: 30px; }
}

/* ============================================================
   FEEDBACK v2 — ANIMACIONES, TRANSICIONES & RESPONSIVE POLISH
   ============================================================ */

/* ---------- HERO KICKER — RESPONSIVE WRAP ---------- */
.hero__kicker {
  flex-wrap: wrap;
  max-width: 640px;
  line-height: 1.5;
}

/* Botón primario hero — micro-pulso para llamar atención */
@keyframes heroBtnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(182,245,0,0); }
  50%       { box-shadow: 0 0 0 8px rgba(182,245,0,0.12); }
}
.hero__ctas .btn--primary {
  animation: heroBtnPulse 3s ease-in-out infinite;
}
.hero__ctas .btn--primary:hover {
  animation: none;
}

/* ---------- VALOR — ESPACIADO SIN PILARES ---------- */
.valor__body {
  margin: 24px 0 0 !important;
}

/* ---------- ACTIVACIONES — COLLAGE ---------- */
.activaciones__collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 220px;
  gap: 3px;
  margin-bottom: 48px;
}
.collage__item {
  overflow: hidden;
  position: relative;
  background: var(--gray);
}
.collage__item--large { grid-column: span 2; }
.collage__item--wide  { grid-column: span 2; }
.collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.collage__label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 14px 7px 11px;
  border-radius: 2px;
  border-left: 3px solid var(--lime);
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.collage__item:hover .collage__label {
  opacity: 1;
  transform: translateY(0);
}
/* Neon border en hover de collage */
.collage__item::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(182,245,0,0);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
}
.collage__item:hover::after {
  box-shadow: inset 0 0 0 1px rgba(182,245,0,0.3);
}
.servicios__cta {
  text-align: center;
  padding-top: 12px;
}
.servicios__cta .btn {
  white-space: normal;
  max-width: 520px;
  line-height: 1.3;
  text-align: center;
}

/* ---------- VR/AR — TEXTO SOBRE FOTO CON DEGRADADO ---------- */
.vrar {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.vrar__bg img {
  filter: brightness(0.35) saturate(0.7) !important;
}
.vrar__overlay {
  background: linear-gradient(
    160deg,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.5) 50%,
    rgba(10,10,10,0.85) 100%
  ) !important;
}
.vrar__content {
  grid-template-columns: 1fr !important;
  max-width: 800px;
  margin: 0 auto;
  gap: 0 !important;
}
.vrar__text {
  text-align: center;
}
.vrar__text .section-label {
  justify-content: center;
}
.vrar__body {
  font-size: 24px !important;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  max-width: 560px !important;
  margin: 16px auto 40px !important;
  line-height: 1.3 !important;
}
.vrar__text .btn {
  display: inline-flex;
  margin: 0 auto;
}

/* ---------- TECI — DATOS DUROS LIMPIOS, SIN CAJAS ---------- */
.teci {
  padding: 80px 0 !important;
}
.teci__subhead {
  margin-bottom: 40px !important;
}
.teci__metrics {
  margin-bottom: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.teci__metric {
  background: transparent !important;
  border: none !important;
  padding: 40px 24px !important;
  position: relative;
}
.teci__metric::after { display: none !important; }
/* Divisores verticales entre métricas */
.teci__metric:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%;
  left: 0;
  width: 1px;
  background: rgba(255,255,255,0.07);
}
.teci__metric-value {
  font-size: clamp(52px, 7vw, 88px) !important;
  text-shadow: 0 0 48px rgba(182,245,0,0.3);
}
/* Animación de entrada en el valor cuando entra al viewport */
.teci__metric-value .counter,
.teci__metric-value .counter-time {
  display: inline-block;
  transition: color 0.3s ease;
}

/* ---------- PAQUETES — TIMER DE URGENCIA ---------- */
.paquetes__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
  padding: 20px 36px;
  background: linear-gradient(135deg, rgba(182,245,0,0.05) 0%, rgba(182,245,0,0.02) 100%);
  border: 1px solid rgba(182,245,0,0.22);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.paquetes__timer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(182,245,0,0.03), transparent);
  animation: timerSweep 3s ease-in-out infinite;
}
@keyframes timerSweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.timer__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.timer__label svg { color: var(--lime); flex-shrink: 0; }
.timer__display {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-shadow: 0 0 32px rgba(182,245,0,0.55);
  min-width: 130px;
  text-align: center;
}

/* ---------- PAQUETES — PRECIO CON TACHADO ---------- */
.paquete__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.paquete__price-old {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.2);
}
.paquete__price-new {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.paquete__price-currency {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  align-self: flex-end;
  padding-bottom: 4px;
}

/* ---------- PAQUETES — VARIANTES DE COLOR ---------- */
.paquete {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              border-color 0.35s ease,
              box-shadow 0.35s ease !important;
}

/* LITE — blanco sutil */
.paquete--lite {
  border-top: 3px solid rgba(255,255,255,0.18) !important;
}
.paquete--lite:hover {
  border-top-color: rgba(255,255,255,0.45) !important;
  box-shadow: 0 8px 40px rgba(255,255,255,0.04);
}

/* 360 — verde lima (featured) */
.paquete--featured {
  border: 1px solid rgba(182,245,0,0.6) !important;
  border-top: 3px solid var(--lime) !important;
  background: linear-gradient(160deg, rgba(182,245,0,0.07) 0%, var(--gray-2) 55%) !important;
  box-shadow: 0 0 0 0 rgba(182,245,0,0.15),
              0 16px 60px rgba(182,245,0,0.08) !important;
}
.paquete--featured:hover {
  box-shadow: 0 0 0 1px rgba(182,245,0,0.4),
              0 20px 80px rgba(182,245,0,0.14) !important;
}
.paquete--featured .paquete__badge {
  background: var(--lime) !important;
  color: var(--black) !important;
  border-color: var(--lime) !important;
  font-weight: 900 !important;
}
.paquete--featured .paquete__price-new { color: var(--lime); }
.paquete--featured .check { color: var(--lime); }

/* PRO — naranja */
.paquete--pro {
  border-top: 3px solid var(--orange) !important;
}
.paquete--pro:hover {
  border-color: rgba(255,138,0,0.4) !important;
  box-shadow: 0 8px 40px rgba(255,138,0,0.08);
}
.paquete--pro .paquete__price-new { color: var(--orange); }
.paquete--pro .check { color: var(--orange); }
.paquete__cta--pro {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  width: 100%;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.35s ease,
              color 0.35s ease,
              transform 0.35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.paquete__cta--pro:hover {
  background: var(--orange);
  color: var(--black);
  transform: translateY(-2px);
}

/* ---------- PAQUETES — NOTA IVA ---------- */
.paquetes__iva {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 36px;
  font-style: italic;
  letter-spacing: 0.02em;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- CTA FINAL — BG al natural ---------- */

/* ---------- CONTACT CARD — PERSONAS ---------- */
.contact-card__person {
  display: flex !important;
  flex-direction: column;
  gap: 2px !important;
  align-items: flex-start !important;
  padding-top: 4px;
}
.contact-card__person--sep {
  margin-top: 8px;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.contact-card__name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
}
.contact-card__role {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.05em;
}

/* ---------- MICRO MEJORAS GLOBALES ---------- */

/* Botones — micro bounce en hover */
.btn {
  transition: background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease,
              transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease !important;
}

/* Cards de servicios — neon glow persistente */
.card {
  transition: box-shadow 0.35s ease !important;
}

/* ============================================================
   RESPONSIVE — BREAKPOINTS COMPLETOS
   ============================================================ */

/* Tablet grande (1024px) */
@media (max-width: 1024px) {
  .activaciones__collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 260px 210px 210px;
  }
  .collage__item--large { grid-column: span 2; }
  .collage__item--wide  { grid-column: span 2; }
  .vrar__body { font-size: 20px !important; }
  .timer__display { font-size: 34px; }
}

/* Tablet / mobile (768px) */
@media (max-width: 768px) {
  /* Hero */
  .hero__kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  .hero__ctas .btn--large { font-size: 15px; padding: 14px 28px; }

  /* Collage */
  .activaciones__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 170px 170px;
  }
  .collage__item--large { grid-column: span 2; }
  .collage__item--wide  { grid-column: span 2; }

  /* VR/AR */
  .vrar { min-height: auto; }
  .vrar__body { font-size: 17px !important; }

  /* TECI */
  .teci__metric:not(:first-child)::before { display: none; }
  .teci__metrics {
    border-left: none;
    border-right: none;
  }
  .teci__metric {
    padding: 28px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .teci__metric:last-child {
    border-bottom: none !important;
  }

  /* Timer */
  .paquetes__timer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 18px 24px;
  }
  .timer__display { font-size: 36px; }

  /* Paquetes */
  .paquete--featured { transform: none !important; }
  .paquete__price-new { font-size: 34px; }

  /* CTA final */
  .cta-final { padding: 100px 0; }
  .cta-final__content { gap: 40px; }
}

/* ============================================================
   ROBLOX EXPERIENCE — MEGA BILLBOARD SECTION
   ============================================================ */

.roblox {
  padding: 72px 0 88px;
  background: #05030c;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* Top + bottom accent lines */
.roblox::before,
.roblox::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  pointer-events: none;
}
.roblox::before {
  top: 0;
  background: linear-gradient(to right,
    transparent 0%, rgba(123,63,242,0.45) 25%,
    rgba(0,207,255,0.55) 50%, rgba(123,63,242,0.45) 75%, transparent 100%);
}
.roblox::after {
  bottom: 0;
  background: linear-gradient(to right,
    transparent 0%, rgba(157,200,0,0.35) 30%,
    rgba(255,138,0,0.25) 50%, rgba(157,200,0,0.35) 70%, transparent 100%);
}

/* ---- Atmosphere blobs ---- */
.roblox__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.roblox__atm {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.roblox__atm--1 {
  width: 55vw; height: 55vw;
  top: -20%; left: -10%;
  background: radial-gradient(circle, rgba(123,63,242,0.18) 0%, transparent 70%);
  animation: atmDrift1 14s ease-in-out infinite alternate;
}
.roblox__atm--2 {
  width: 50vw; height: 50vw;
  top: -10%; right: -12%;
  background: radial-gradient(circle, rgba(0,207,255,0.14) 0%, transparent 70%);
  animation: atmDrift2 18s ease-in-out infinite alternate;
}
.roblox__atm--3 {
  width: 40vw; height: 30vw;
  bottom: -5%; left: 25%;
  background: radial-gradient(circle, rgba(255,34,221,0.09) 0%, transparent 70%);
  animation: atmDrift3 12s ease-in-out infinite alternate;
}
@keyframes atmDrift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(4%, 6%) scale(1.1); } }
@keyframes atmDrift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-5%, 4%) scale(1.08); } }
@keyframes atmDrift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(3%, -5%) scale(1.12); } }

/* ---- Stage container ---- */
.roblox__stage {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

/* ---- HUD top bar ---- */
.roblox__hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(8,5,18,0.95) 0%, rgba(12,8,28,0.98) 50%, rgba(8,5,18,0.95) 100%);
  border: 1px solid rgba(123,63,242,0.3);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.roblox__live {
  display: flex;
  align-items: center;
  gap: 8px;
}
.roblox__live-text {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime);
  text-shadow: 0 0 14px rgba(157,200,0,0.7);
}
.roblox__brand-chip {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,207,255,0.75);
  background: rgba(0,207,255,0.06);
  border: 1px solid rgba(0,207,255,0.22);
  padding: 3px 16px 3px 14px;
  border-radius: 2px;
}
.roblox__res {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}

/* ---- Mid row (accents + frame) ---- */
.roblox__mid {
  display: flex;
  align-items: stretch;
}

/* ---- Accent columns ---- */
.roblox__accent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 28px;
  flex-shrink: 0;
  padding: 6px 0;
  background: rgba(6,4,14,0.97);
}
.roblox__accent--l { border-left: 1px solid rgba(123,63,242,0.3); border-top: 1px solid rgba(123,63,242,0.15); border-bottom: 1px solid rgba(123,63,242,0.15); }
.roblox__accent--r { border-right: 1px solid rgba(123,63,242,0.3); border-top: 1px solid rgba(123,63,242,0.15); border-bottom: 1px solid rgba(123,63,242,0.15); }
.roblox__accent-bar {
  flex: 1;
  width: 2px;
  min-height: 20px;
  border-radius: 1px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(123,63,242,0.7) 30%, rgba(0,207,255,0.6) 70%, transparent 100%);
  animation: accentPulse 3.5s ease-in-out infinite;
}
.roblox__accent--r .roblox__accent-bar { animation-delay: 0.4s; }
@keyframes accentPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
.roblox__accent-dots {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0;
}
.roblox__accent-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(123,63,242,0.5);
  animation: dotBlink 2s ease-in-out infinite;
}
.roblox__accent-dots span:nth-child(1) { animation-delay: 0s;    background: rgba(157,200,0,0.6); }
.roblox__accent-dots span:nth-child(2) { animation-delay: 0.25s; background: rgba(0,207,255,0.6); }
.roblox__accent-dots span:nth-child(3) { animation-delay: 0.5s;  background: rgba(123,63,242,0.6); }
.roblox__accent-dots span:nth-child(4) { animation-delay: 0.75s; background: rgba(255,138,0,0.6); }
.roblox__accent-dots span:nth-child(5) { animation-delay: 1.0s;  background: rgba(255,34,221,0.6); }
.roblox__accent-dots span:nth-child(6) { animation-delay: 1.25s; background: rgba(157,200,0,0.5); }
.roblox__accent-dots span:nth-child(7) { animation-delay: 1.5s;  background: rgba(0,207,255,0.5); }
.roblox__accent-dots span:nth-child(8) { animation-delay: 1.75s; background: rgba(123,63,242,0.5); }
@keyframes dotBlink {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%       { opacity: 1;   transform: scale(1.2); box-shadow: 0 0 6px currentColor; }
}

/* ---- Main video frame ---- */
.roblox__frame {
  flex: 1;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #04030c;
  /* Breathing neon border */
  box-shadow:
    inset 0 0 0 1px rgba(123,63,242,0.5),
    0 0 0 1px rgba(123,63,242,0.4),
    0 0 40px  rgba(123,63,242,0.25),
    0 0 100px rgba(123,63,242,0.12),
    0 0 180px rgba(0,207,255,0.08);
  transition: box-shadow 0.6s ease, transform 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
  animation: frameBreath 5s ease-in-out infinite;
}
@keyframes frameBreath {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(123,63,242,0.45),
      0 0 0 1px rgba(123,63,242,0.35),
      0 0 35px  rgba(123,63,242,0.20),
      0 0 90px  rgba(123,63,242,0.10),
      0 0 160px rgba(0,207,255,0.07);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(0,207,255,0.55),
      0 0 0 1px rgba(0,207,255,0.45),
      0 0 50px  rgba(123,63,242,0.30),
      0 0 120px rgba(123,63,242,0.16),
      0 0 220px rgba(0,207,255,0.12);
  }
}
.roblox__frame:hover {
  animation-play-state: paused;
  box-shadow:
    inset 0 0 0 1px rgba(157,200,0,0.6),
    0 0 0 1px rgba(157,200,0,0.5),
    0 0 55px  rgba(157,200,0,0.22),
    0 0 130px rgba(123,63,242,0.18),
    0 0 240px rgba(0,207,255,0.10);
}

/* ---- Video element ---- */
.roblox__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- Scan-lines overlay ---- */
.roblox__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 2px,
    rgba(0,0,0,0.055) 2px, rgba(0,0,0,0.055) 3px
  );
  pointer-events: none;
  z-index: 2;
}

/* ---- Screen vignette ---- */
.roblox__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    transparent 45%,
    rgba(0,0,0,0.72) 100%);
  pointer-events: none;
  z-index: 3;
}

/* ---- Edge fade gradients ---- */
.roblox__edge {
  position: absolute;
  pointer-events: none;
  z-index: 4;
}
.roblox__edge--l {
  top: 0; left: 0; bottom: 0; width: 12%;
  background: linear-gradient(to right, rgba(5,3,12,0.5), transparent);
}
.roblox__edge--r {
  top: 0; right: 0; bottom: 0; width: 12%;
  background: linear-gradient(to left, rgba(5,3,12,0.5), transparent);
}
.roblox__edge--b {
  bottom: 0; left: 0; right: 0; height: 15%;
  background: linear-gradient(to top, rgba(5,3,12,0.55), transparent);
}

/* ---- HUD corner brackets ---- */
.roblox__corner {
  position: absolute;
  display: block;
  width: 24px;
  height: 24px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.roblox__corner--tl { top: 10px; left: 10px;  border-top: 2px solid var(--lime); border-left: 2px solid var(--lime); }
.roblox__corner--tr { top: 10px; right: 10px;  border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); }
.roblox__corner--bl { bottom: 10px; left: 10px;  border-bottom: 2px solid var(--lime); border-left: 2px solid var(--lime); }
.roblox__corner--br { bottom: 10px; right: 10px;  border-bottom: 2px solid var(--lime); border-right: 2px solid var(--lime); }
/* Corner glow */
.roblox__corner--tl::after, .roblox__corner--tr::after,
.roblox__corner--bl::after, .roblox__corner--br::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle at center, rgba(157,200,0,0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- HUD bottom bar ---- */
.roblox__hud-bottom {
  padding: 8px 18px;
  background: linear-gradient(90deg, rgba(8,5,18,0.95) 0%, rgba(12,8,28,0.98) 50%, rgba(8,5,18,0.95) 100%);
  border: 1px solid rgba(123,63,242,0.3);
  border-top: 1px solid rgba(123,63,242,0.15);
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roblox__led-strip {
  display: flex;
  gap: 7px;
  align-items: center;
}
.roblox__led-strip span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: ledPulse 2s ease-in-out infinite;
}
/* Palette cycling across 20 dots */
.roblox__led-strip span:nth-child(1)  { animation-delay: 0s;    background: var(--lime);   }
.roblox__led-strip span:nth-child(2)  { animation-delay: 0.1s;  background: var(--lime);   }
.roblox__led-strip span:nth-child(3)  { animation-delay: 0.2s;  background: #00cfff;       }
.roblox__led-strip span:nth-child(4)  { animation-delay: 0.3s;  background: #00cfff;       }
.roblox__led-strip span:nth-child(5)  { animation-delay: 0.4s;  background: var(--purple); }
.roblox__led-strip span:nth-child(6)  { animation-delay: 0.5s;  background: var(--purple); }
.roblox__led-strip span:nth-child(7)  { animation-delay: 0.6s;  background: #ff22dd;       }
.roblox__led-strip span:nth-child(8)  { animation-delay: 0.7s;  background: var(--orange); }
.roblox__led-strip span:nth-child(9)  { animation-delay: 0.8s;  background: var(--orange); }
.roblox__led-strip span:nth-child(10) { animation-delay: 0.9s;  background: var(--lime);   }
.roblox__led-strip span:nth-child(11) { animation-delay: 1.0s;  background: var(--lime);   }
.roblox__led-strip span:nth-child(12) { animation-delay: 1.1s;  background: #00cfff;       }
.roblox__led-strip span:nth-child(13) { animation-delay: 1.2s;  background: var(--purple); }
.roblox__led-strip span:nth-child(14) { animation-delay: 1.3s;  background: #ff22dd;       }
.roblox__led-strip span:nth-child(15) { animation-delay: 1.4s;  background: var(--orange); }
.roblox__led-strip span:nth-child(16) { animation-delay: 1.5s;  background: var(--lime);   }
.roblox__led-strip span:nth-child(17) { animation-delay: 1.6s;  background: #00cfff;       }
.roblox__led-strip span:nth-child(18) { animation-delay: 1.7s;  background: var(--purple); }
.roblox__led-strip span:nth-child(19) { animation-delay: 1.8s;  background: #ff22dd;       }
.roblox__led-strip span:nth-child(20) { animation-delay: 1.9s;  background: var(--lime);   }
@keyframes ledPulse {
  0%, 100% { opacity: 0.18; transform: scale(0.85); }
  50%       { opacity: 1;   transform: scale(1.2);  box-shadow: 0 0 8px currentColor; }
}

/* ---- Floor glow projection ---- */
.roblox__glow-floor {
  align-self: center;
  width: 82%;
  height: 90px;
  margin-top: 2px;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(123,63,242,0.32) 0%,
    rgba(0,207,255,0.14) 40%,
    rgba(255,34,221,0.05) 65%,
    transparent 80%);
  filter: blur(28px);
  pointer-events: none;
  animation: floorGlowPulse 5s ease-in-out infinite;
}
@keyframes floorGlowPulse {
  0%, 100% { opacity: 0.6; transform: scaleX(0.9)  scaleY(0.85); }
  50%       { opacity: 1;   transform: scaleX(1.06) scaleY(1.12); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .roblox { padding: 56px 0 72px; }
  .roblox__stage { padding: 0 16px; }
}
@media (max-width: 768px) {
  .roblox { padding: 40px 0 56px; }
  .roblox__stage { padding: 0 10px; }
  .roblox__hud-top, .roblox__hud-bottom { padding: 7px 12px; }
  .roblox__brand-chip { display: none; }
  .roblox__accent { width: 18px; }
  .roblox__accent-dots span { width: 3px; height: 3px; }
  .roblox__accent-bar { width: 1.5px; }
  .roblox__corner { width: 18px; height: 18px; }
  .roblox__led-strip span { width: 5px; height: 5px; }
  .roblox__led-strip { gap: 5px; }
  .roblox__glow-floor { height: 55px; filter: blur(18px); }
  .roblox__atm { filter: blur(50px); }
}
@media (max-width: 480px) {
  .roblox { padding: 32px 0 44px; }
  .roblox__stage { padding: 0 6px; }
  .roblox__res { display: none; }
  .roblox__accent { width: 12px; }
  .roblox__accent-dots { display: none; }
  .roblox__led-strip span:nth-child(n+11) { display: none; }
  .roblox__corner { width: 14px; height: 14px; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .roblox__atm, .roblox__accent-bar, .roblox__frame,
  .roblox__led-strip span, .roblox__accent-dots span,
  .roblox__glow-floor { animation: none !important; }
}

/* ============================================================
   POLISH GLOBAL SUTIL
   ============================================================ */

/* ---- Focus visible global (accessibility + elegance) ---- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Sección headline — aire de letra ---- */
.section-headline {
  letter-spacing: -0.025em;
}

/* ---- Section-label — línea decorativa más suave ---- */
.section-label::before {
  opacity: 0.7;
}

/* ---- Hero — overlay gradient más dramático ---- */
.hero__overlay {
  background: linear-gradient(
    155deg,
    rgba(10,10,10,0.94) 0%,
    rgba(10,10,10,0.70) 55%,
    rgba(10,10,10,0.45) 100%
  );
}

/* ---- Hero — subhead con mejor legibilidad ---- */
.hero__subhead {
  color: rgba(255,255,255,0.8);
}

/* Collage filter override → manejado en bloque de optimizaciones */

/* ---- Paquetes — hover más pronunciado ---- */
.paquete:hover {
  transform: translateY(-6px);
}
.paquete--featured {
  box-shadow:
    0 0 0 1px rgba(157,200,0,0.5),
    0 20px 70px rgba(157,200,0,0.10) !important;
}

/* ---- Galería — fade edge más amplio ---- */
.galeria::before,
.galeria::after {
  width: 160px;
}
.galeria__item img {
  filter: brightness(0.6) saturate(0.45);
}
.galeria__item:hover img {
  filter: brightness(0.85) saturate(0.85);
}

/* ---- Clientes — marquee más visible ---- */
.clientes__track span {
  color: rgba(255,255,255,0.4);
}

/* ---- Nav scrolled — borde inferior más sutil ---- */
.nav.scrolled {
  border-bottom: 1px solid rgba(157,200,0,0.1);
}

/* ---- Transición de sección: separadores con degradado ---- */
.valor, .servicios, .teci, .paquetes, .clientes {
  position: relative;
}
.valor::before, .servicios::before, .paquetes::before, .clientes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(255,255,255,0.06) 30%,
    rgba(157,200,0,0.12) 50%,
    rgba(255,255,255,0.06) 70%,
    transparent 100%);
}

/* ---- Botones — foco limpio ya añadido arriba ---- */
/* ---- TECI metric value — glow más pronunciado ---- */
.teci__metric-value {
  text-shadow:
    0 0 40px rgba(157,200,0,0.35),
    0 0 80px rgba(157,200,0,0.12);
}

/* ---- CTA final — headline con mejor breathing ---- */
.cta-final__headline {
  letter-spacing: -0.02em;
}

/* Mobile pequeño (480px) */
@media (max-width: 480px) {
  /* Hero — kicker largo en una línea */
  .hero__kicker { font-size: 10px; letter-spacing: 0.1em; }
  .hero__kicker::before { display: none; }
  .hero__headline { font-size: clamp(44px, 13vw, 72px); }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; justify-content: center; font-size: 14px; }

  /* Collage — 1 columna */
  .activaciones__collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
  .collage__item--large,
  .collage__item--wide { grid-column: span 1; }
  /* Botón collage — texto largo wrappea en móvil */
  .servicios__cta .btn {
    width: 100%;
    font-size: 13px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    padding: 16px 20px;
  }

  /* VR/AR */
  .vrar__body { font-size: 16px !important; }

  /* Paquetes */
  .paquetes__timer { padding: 16px 16px; }
  .timer__label { font-size: 11px; text-align: center; justify-content: center; }
  .timer__display { font-size: 32px; }
  .paquete__price-new { font-size: 30px; }
  .paquete { padding: 36px 24px; }

  /* Sección headline */
  .section-headline { font-size: clamp(36px, 11vw, 56px); }

  /* Contacto */
  .contact-card { padding: 36px 24px; }
  .btn--large { width: 100%; font-size: 15px; padding: 16px 24px; }
}

/* ============================================================
   OPTIMIZACIONES DE RENDIMIENTO Y UI — FINAL PASS
   ============================================================ */

/* ---- Scroll offset para nav fijo ---- */
section[id], #contacto {
  scroll-margin-top: 72px;
}

/* ---- Roblox frame-outer: glow animado en opacity (compositor-friendly) ---- */
.roblox__frame-outer {
  flex: 1;
  position: relative;
}
.roblox__frame-outer::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 8px;
  box-shadow:
    0 0 55px rgba(123,63,242,0.45),
    0 0 130px rgba(0,207,255,0.22),
    0 0 220px rgba(123,63,242,0.12);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
/* Frame interno: borde estático, sin animación de box-shadow */
.roblox__frame {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(123,63,242,0.55);
  transition: border-color 0.5s ease !important;
  animation: none !important; /* elimina frameBreath */
}
.roblox__frame:hover {
  border-color: rgba(157,200,0,0.7);
}
.roblox__frame-outer:hover::before {
  animation-play-state: paused;
  opacity: 1;
}

/* ---- LED strip: quitar box-shadow de keyframe (no compositor) ---- */
@keyframes ledPulse {
  0%, 100% { opacity: 0.18; transform: scale(0.85); }
  50%       { opacity: 1;   transform: scale(1.22); }
}

/* Collage: imágenes al natural */
/* Label sobre el overlay */
.collage__label {
  z-index: 2;
}
/* Neon border sobre todo */
.collage__item::after {
  z-index: 3;
}

/* Galería: imágenes al natural */
.galeria__item { position: relative; }

/* ---- Paquetes: hover en CSS (JS eliminado) ---- */
.paquete--lite:hover {
  box-shadow: 0 14px 50px rgba(255,255,255,0.05);
}
.paquete--pro:hover {
  box-shadow: 0 14px 50px rgba(255,138,0,0.1);
}

/* ---- Imagen de fondo VR/AR: evitar reflow de filter ---- */
.vrar__bg img {
  /* El brightness se maneja con el overlay, no con filter transición */
  will-change: auto;
}

/* ============================================================
   PREFERS-REDUCED-MOTION — COBERTURA COMPLETA
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  /* Hero */
  .hero__bg-img                { animation: none !important; }
  .hero__scroll-line            { animation: none !important; }
  .hero__kicker::before         { animation: none !important; }
  .hero__ctas .btn--primary     { animation: none !important; }

  /* Global */
  .dot, .dot--lime              { animation: none !important; opacity: 1; }
  .section-label::before        { animation: none !important; }

  /* Galería y marquee */
  .galeria__track               { animation: none !important; }
  .clientes__track              { animation: none !important; }

  /* TECI */
  .teci__metric-value .counter,
  .teci__metric-value .counter-time { transition: none !important; }

  /* Paquetes */
  .paquetes__timer::before      { animation: none !important; }
  .timer__display               { text-shadow: none; }

  /* Roblox section completa */
  .roblox__atm                  { animation: none !important; }
  .roblox__accent-bar           { animation: none !important; opacity: 0.6; }
  .roblox__accent-dots span     { animation: none !important; opacity: 0.4; }
  .roblox__frame-outer::before  { animation: none !important; opacity: 0.7; }
  .roblox__led-strip span       { animation: none !important; opacity: 0.4; }
  .roblox__glow-floor           { animation: none !important; }
  .roblox__scanlines            { animation: none !important; }
  @keyframes glowPulse { 0%, 100% { opacity: 0.7; } }

  /* Transiciones globales simplificadas */
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration:  0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
