/* ========================================
   SOUND DYNAMICS — CSS
   ======================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  /* paleta neutra blanco/negro (estilo matveyan) */
  --neon-magenta: #F2F2F2;
  --neon-cyan: #F2F2F2;
  --neon-purple: #F2F2F2;
  --neon-green: #F2F2F2;
  --gold: #F2F2F2;
  --gold-light: #FFFFFF;
  --gold-dark: #8A8A8A;
  --gold-rgb: 242,242,242;
  --card-bg: #0C0C0C;
  --border: transparent;   /* sin líneas: todos los divisores/bordes quedan invisibles */
  --muted: #555555;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-condensed: var(--font-display);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ======== SCROLL FOCUS EFFECT ======== */
.focus-block {
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.35s ease;
  transform-origin: center center;
  will-change: filter, opacity, transform;
}

/* ======== CENTERED LAYOUT ======== */
.section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-inner .section-header { text-align: center; }
.section-inner .statement-text { text-align: center; margin-left: auto; margin-right: auto; }
.section-inner .stats-row { justify-items: center; }
.section-inner .stat { align-items: center; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ======== NAVBAR ======== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* sobre la vista de capítulo (.case-view, z 9000) — el nav nunca desaparece;
     queda por debajo del panel de specs (9300) y de los loaders (9400/9500) */
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background var(--transition), padding var(--transition);
}

#navbar.scrolled {
  /* vidrio translúcido neutro: mismo negro de la página, sin tinte azulado
     (evita la franja de color distinto al reaparecer subiendo el scroll) */
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 48px;
}

/* Cuando una vista de capítulo/cotización está abierta, el nav flota sobre ella
   con un fondo de vidrio para que el logo y los links sigan siendo legibles. */
body.case-open #navbar {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-logo { display: flex; align-items: center; opacity: 0.9; transition: opacity 0.2s; cursor: pointer; }
.nav-logo:hover { opacity: 1; }

/* Nav left wrapper (logo + soundbars) */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sound bars — equalizer animation next to logo */
.nav-soundbars {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 16px;
  opacity: 0.38;
}
.nav-soundbars span {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: var(--white);
  animation: nav-bar-bounce 1s ease-in-out infinite;
  transform-origin: center;
}
.nav-soundbars span:nth-child(1) { height: 6px;  animation-duration: 1.05s; animation-delay: 0s; }
.nav-soundbars span:nth-child(2) { height: 14px; animation-duration: 0.8s;  animation-delay: 0.12s; }
.nav-soundbars span:nth-child(3) { height: 10px; animation-duration: 0.95s; animation-delay: 0.22s; }
.nav-soundbars span:nth-child(4) { height: 5px;  animation-duration: 1.1s;  animation-delay: 0.08s; }

@keyframes nav-bar-bounce {
  0%, 100% { transform: scaleY(0.18); opacity: 0.5; }
  50%       { transform: scaleY(1);    opacity: 1; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
  position: relative;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.nav-link--active { color: var(--white); opacity: 1; }
.nav-links a.nav-link--active::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  margin-top: 2px;
  opacity: 0.5;
}

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--gold-dark);
  padding: 8px 22px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }

/* ======== NAV HOVER — CORNER-BRACKET INDICATOR (desktop) ======== */
.navHover {
  position: absolute; top: 0; left: 0; width: 0; height: 0;
  pointer-events: none; opacity: 0;
  border: 1px solid rgba(255,255,255,.1);
  will-change: transform, width, height, opacity;
  transition: transform .35s cubic-bezier(.22,1,.36,1),
              width .35s cubic-bezier(.22,1,.36,1),
              height .35s cubic-bezier(.22,1,.36,1),
              opacity .18s ease;
}
.navHover.is-visible { opacity: 1; }
.navHover__corner { position: absolute; width: 5px; height: 5px; }
.navHover__corner::before,
.navHover__corner::after { content:""; position:absolute; background:#d9d9d9; }
.navHover__corner::before { width: 5px; height: 1px; }
.navHover__corner::after  { width: 1px; height: 5px; }
.navHover__corner--tl { top:-3px; left:-3px; }
.navHover__corner--tr { top:-3px; right:-3px; transform: rotate(90deg); }
.navHover__corner--br { bottom:-3px; right:-3px; transform: rotate(180deg); }
.navHover__corner--bl { bottom:-3px; left:-3px; transform: rotate(270deg); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 24px 0; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ======== HERO ======== */
/* ── HERO overlay fijo: flota encima de la página y se desvanece dejando ver #nosotros ── */
#hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  pointer-events: none;   /* deja interactuar con el contenido de abajo al desvanecerse */
}

/* spacer invisible: ocupa el recorrido de scroll del efecto (no se ve) */
#hero-spacer {
  height: 100vh;
  pointer-events: none;
}

/* viewport del hero: ocupa toda la pantalla */
.hero-sticky {
  position: relative;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* fondo (canvas + overlay): se desvanece igual que el contenido */
.hero-bg {
  position: absolute;
  inset: 0;
  will-change: opacity;
}

/* contenedor del título + botón: recibe zoom / blur / fade */
.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

#disco-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.72) 100%);
}

/* ── CAPA 1: MARCA ── */
.hero-brand {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.hb-title {
  font-family: var(--font-body);
  font-size: clamp(36px, 11.5vw, 160px);
  font-weight: 200;
  line-height: 1.0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hb-word {
  display: block;
  overflow: hidden;
}
.hb-word > span { display: block; }

/* Lettering oficial del logo (imagen sin bola de disco ni triángulos) */
.hb-logo {
  display: block;
  width: min(56vw, 620px);
  height: auto;
}
@media (max-width: 768px) {
  .hb-logo { width: 78vw; }
}

.hb-sub {
  font-family: var(--font-body);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-top: 24px;
  opacity: 0;
}

/* ── CAPA 2: SLOGAN ── */
.hero-statement {
  position: absolute;
  bottom: 9vh;
  left: 6vw;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hs-line {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
}
.hs-line--accent {
  font-weight: 400;
  color: rgba(255,255,255,0.42);
}

.hs-cta {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 4px;
  opacity: 1;
  transition: color 0.2s, border-color 0.2s;
}
.hs-cta:hover { color: var(--gold-light); border-color: var(--gold); }

.hero-brand-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-cta:hover { color: var(--gold); border-color: var(--gold); }
.cta-arrow { font-size: 16px; transition: transform 0.3s; }
.hero-cta:hover .cta-arrow { transform: translateY(3px); }

/* ======== NARRATIVA — SPLIT LAYOUT ======== */
#narrativa {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.narrativa-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  overflow: hidden;
}

/* TEXT SIDE */
.narrativa-texts {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 6vw 0 6vw;
  border-right: 1px solid var(--border);
}

.narrativa-step {
  position: absolute;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
  pointer-events: none;
  padding-right: 2vw;
}
.narrativa-step.ns--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.narrativa-step.ns--exit {
  opacity: 0;
  transform: translateY(-32px);
  position: absolute;
}

/* VISUAL SIDE */
.narrativa-visuals {
  position: relative;
  overflow: hidden;
}

.narrativa-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.narrativa-visual.nv--active { opacity: 1; }

.narrativa-visual img,
.narrativa-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nv-bg {
  width: 100%;
  height: 100%;
}

.nv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.nv-overlay--gold {
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(255,255,255,0.15) 100%);
}

.nv-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
}

/* PROGRESS */
.narrativa-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 10;
}
.narrativa-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.08s linear;
}
.narrativa-line-track {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}
.narrativa-line-fill {
  width: 100%;
  height: 0%;
  background: var(--gold);
  transition: height 0.08s linear;
}

/* ======== BRIDGE ======== */
#bridge {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.bridge-inner {
  padding: 100px 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bridge-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  color: rgba(255,255,255,0.7);
}
.bridge-text em {
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ======== NARRATIVA ======== */
#narrativa {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.narrativa-inner {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  overflow: hidden;
}

.narrativa-step {
  position: absolute;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
  pointer-events: none;
}

.narrativa-step.ns--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.narrativa-step.ns--exit {
  opacity: 0;
  transform: translateY(-36px);
}

.ns-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0.7;
}

.ns-phrase {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.5vw, 100px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.ns-phrase em {
  font-style: normal;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
}

.ns-sub {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 440px;
}

/* Progress bar bottom */
.narrativa-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 10;
}

.narrativa-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.08s linear;
}

/* Vertical step line right side */
.narrativa-line-track {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 120px;
  background: rgba(255,255,255,0.08);
}

.narrativa-line-fill {
  width: 100%;
  height: 0%;
  background: var(--gold);
  transition: height 0.08s linear;
}

/* ======== CONSTRUIMOS ======== */
#construimos {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 6vw;
  background: var(--black);
  overflow: hidden;
}

.construimos-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.construimos-prefix {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 70px);
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.construimos-words {
  position: relative;
  height: clamp(44px, 7.5vw, 96px);
  overflow: visible;
}

.cw {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 90px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

.cw--active {
  opacity: 1;
  transform: translateY(0);
}

.construimos-sub {
  position: absolute;
  bottom: 60px;
  left: 6vw;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ======== MARQUEE ======== */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  background: var(--black);
}
.marquee-track {
  display: flex;
  width: 100%;
}
.marquee-inner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 20px;
  flex-shrink: 0;
}
.marquee-inner .sep {
  color: var(--gold);
  padding: 0 2px;
  flex-shrink: 0;
  font-size: 10px;
  opacity: 0.7;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ======== NOSOTROS ======== */
#nosotros {
  padding: 140px 0;
  position: relative;
  z-index: 2;
  background: var(--black);
}

.nosotros-header {
  margin-bottom: 80px;
  max-width: 760px;
}
.nosotros-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 24px;
}
.nosotros-title em {
  font-style: italic;
  color: rgba(255,255,255,0.45);
}
.nosotros-lead {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 600px;
}

/* 3-column grid */
.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-bottom: 80px;
}

.nosotros-col {
  padding: 40px 40px 40px 0;
  border-right: 1px solid var(--border);
}
.nosotros-col:first-child { padding-left: 0; }
.nosotros-col:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.nosotros-col:nth-child(2) { padding-left: 40px; }

.nosotros-col-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0.8;
}

.nosotros-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nosotros-item:last-child { border-bottom: none; }

.nosotros-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 52px;
  padding-top: 2px;
  opacity: 0.8;
}

.nosotros-item-body { flex: 1; }
.nosotros-item-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.nosotros-item-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  font-weight: 300;
}

/* Values strip */
.nosotros-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.nosotros-value {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nosotros-value:last-child { border-right: none; }
.nosotros-value-word {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.nosotros-value-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  font-weight: 300;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-col { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 0 !important; }
  .nosotros-values { grid-template-columns: 1fr 1fr; }
}

/* ======== STATEMENT ======== */
#statement {
  padding: 72px 0 100px;
  border-bottom: 1px solid var(--border);
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.45;
  max-width: 780px;
  margin-bottom: 72px;
  color: rgba(255,255,255,0.72);
  letter-spacing: -0.01em;
}
.statement-text em { color: var(--white); font-style: normal; font-weight: 700; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 700;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num sup { font-size: 0.4em; font-weight: 400; color: var(--gold); }
.stat-text { font-size: clamp(40px, 6vw, 80px); }
.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: rgba(255,255,255,0.38);
  margin-top: 8px;
}

/* ======== SECTION HEADER ======== */
.section-header {
  margin-bottom: 72px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
/* Título de sección unificado (mismo estilo que .cat-intro-title) */
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 66px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.section-header h2 em {
  font-style: normal;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
}

/* ======== EVENTOS PINNED ======== */
#eventos-pin-wrapper {
  position: relative;
}

#eventos {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.evento-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  padding: 0 40px;
}

.evento-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Escenario contenido: tarjeta centrada con márgenes (formato del sitio) */
.evento-stage {
  position: relative;
  width: min(1180px, 92vw);
  height: min(70vh, 660px);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}

/* Video background */
.evento-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.evento-bg video,
.evento-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* zoom anclado arriba-izquierda: empuja la esquina inferior-derecha
     (marca de agua de Veo/Gemini) fuera del marco, que la recorta la tarjeta */
  transform: scale(1.15);
  transform-origin: top left;
  will-change: transform;
}
.evento-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.75) 50%,
    rgba(0,0,0,0.88) 100%
  );
}

/* Slide content */
.evento-content {
  position: relative;
  z-index: 2;
  padding: 0 7%;
  max-width: 600px;
  will-change: transform, opacity;
}

.evento-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.evento-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.evento-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.evento-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--white);
}
.evento-title em {
  font-style: normal;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}

.evento-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}

.evento-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* reset de estilos por defecto del <button> (antes era <a>) */
  background: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dark);
  padding: 0 0 6px;
  transition: color 0.2s, border-color 0.2s;
}
.evento-cta:hover { color: var(--white); border-color: var(--white); }
.evento-cta::after { content: '→'; font-size: 14px; }

/* Dots indicator */
/* Flechas de navegación manual (izquierda = anterior, derecha = siguiente) */
.eventos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, color 0.25s;
}
.eventos-arrow:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.92);
  color: #060606;
  transform: translateY(-50%) scale(1.08);
}
.eventos-arrow--prev { left: max(18px, 2vw); }
.eventos-arrow--next { right: max(18px, 2vw); }
@media (max-width: 640px) {
  .eventos-arrow { width: 42px; height: 42px; }
}

.eventos-dots {
  position: absolute;
  bottom: 7vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.eventos-dot {
  position: relative;
  width: 54px;
  height: 3px;
  background: rgba(255,255,255,0.22);
  border: none;
  padding: 0;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s;
}
.eventos-dot.active { width: 72px; }
/* relleno que avanza con el tiempo del slide (lo controla el JS) */
.ev-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--white);
}

/* Counter */
.eventos-counter-ui {
  position: absolute;
  bottom: 3.3vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  z-index: 10;
}
#ev-cur { color: var(--white); }
.ev-sep { margin: 0 4px; }

/* ======== CATÁLOGO — GALERÍA NARRATIVA ======== */
#catalogo {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Intro */
.cat-intro {
  padding: 140px 40px 90px;
  border-bottom: 1px solid var(--border);
  max-width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.cat-intro .section-eyebrow {
  justify-content: center;
}
.cat-intro-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 66px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 20px 0 20px;
  color: var(--white);
}
.cat-intro-title em { font-style: normal; font-weight: 400; color: rgba(255,255,255,0.3); }
.cat-intro-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* Chapter visual card */
.cat-chapter { border-bottom: 1px solid var(--border); }

.cat-ch-card {
  position: relative;
  height: 52vh;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  overflow: hidden;
  transition: filter 0.4s ease;
}
.cat-ch-card:hover { filter: brightness(1.1); }

.cat-ch-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}

.cat-ch-card-content {
  position: relative;
  z-index: 2;
  padding: 36px 6vw;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.cat-ch-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0.8;
}

.cat-ch-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.95;
  flex: 1;
}
.cat-ch-l1 { color: rgba(255,255,255,0.4); font-weight: 400; }
.cat-ch-l2 { color: var(--white); }

.cat-ch-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cat-ch-count {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.cat-ch-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.cat-ch-toggle::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.4s ease;
  pointer-events: none;
}
.cat-ch-toggle:hover::before { left: 160%; }
.cat-ch-toggle:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 18px rgba(255,255,255,0.08), inset 0 0 12px rgba(255,255,255,0.04);
  transform: translateY(-1px);
}
.ch-open .cat-ch-toggle { background: var(--gold); border-color: var(--gold); color: var(--black); box-shadow: 0 0 20px rgba(212,175,55,0.35); }
.cct-icon { font-size: 16px; line-height: 1; }

/* Product grid — 2 columnas equilibradas */
.cat-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ch-open .cat-compact-grid { max-height: 8000px; }

.cat-compact-item {
  background: var(--black);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: background 0.2s;
}
.cat-compact-item:hover { background: #0e0e0e; }

/* Imagen — columna izquierda fija */
.cci-img {
  width: 110px;
  flex-shrink: 0;
  overflow: hidden;
  background: #0d0d0d;
}
.cci-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.cat-compact-item:hover .cci-img img { transform: scale(1.06); }

.cci-placeholder {
  width: 100%;
  height: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255,255,255,0.12);
  background: linear-gradient(135deg, #0a0a0a, #111);
}

/* Info — columna derecha */
.cci-body {
  flex: 1;
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.cci-cat {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 4px;
}
.cci-name {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.cci-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cci-spec {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cci-spec:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.cci-wa {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.cci-wa:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .cat-compact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cci-img { width: 90px; }
}

/* ======== PRODUCT DETAIL PANEL — MODAL CENTRADO ======== */
.panel-overlay {
  /* por encima de la vista de capítulo (.case-view, z 9000) y debajo de los loaders */
  position: fixed; inset: 0; z-index: 9300;
  background: rgba(0,0,0,0.72);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.panel-overlay.open { opacity: 1; pointer-events: auto; }

.product-panel {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 40px 100px rgba(0,0,0,0.85),
    0 0 60px rgba(255,255,255,0.04);
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition:
    opacity 0.5s cubic-bezier(0.34, 1.3, 0.64, 1),
    transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
  z-index: 491;
}
.product-panel.open {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Image — left column */
.panel-img {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  min-height: 360px;
}
.panel-img img {
  width: 100%; height: 100%;
  object-fit: contain;          /* muestra el producto completo, sin recortar */
  padding: 32px;
  display: block;
  transition: transform 0.6s ease;
}
.panel-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    transparent 55%,
    rgba(12,12,12,0.7) 80%,
    rgba(12,12,12,0.97) 100%
  );
}
.panel-img-placeholder {
  width: 100%; height: 100%; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #0a0a0a, #101008);
}
.panel-badge-img {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--gold); color: var(--black);
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
  padding: 5px 10px; text-transform: uppercase;
}

/* Body — right column */
.panel-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 32px 32px 28px;
  display: flex; flex-direction: column;
}
.panel-close-btn {
  align-self: flex-end;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35);
  width: 30px; height: 30px;
  font-size: 16px; cursor: pointer; line-height: 1;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
  border-radius: 50%;
}
.panel-close-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255,255,255,0.06);
}

.panel-cat-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px; opacity: 0.75;
}
.panel-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400; letter-spacing: 0.04em;
  line-height: 1.0; margin-bottom: 4px; color: var(--white);
}
.panel-divider {
  width: 36px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 14px;
}
.panel-desc {
  font-size: 12px; color: rgba(255,255,255,0.42);
  line-height: 1.75; margin-bottom: 20px;
  font-family: var(--font-body); font-weight: 300;
}

.panel-specs { flex: 1; margin-bottom: 22px; }
.panel-specs-title {
  font-size: 8px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.22);
  margin-bottom: 10px;
}
.panel-spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 16px;
}
.panel-spec-row:last-child { border-bottom: none; }
.panel-spec-label {
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em; flex-shrink: 0;
}
.panel-spec-value {
  font-size: 11px; color: rgba(255,255,255,0.85);
  text-align: right; line-height: 1.5; font-weight: 500;
}

.panel-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px;
  background: var(--gold);
  color: var(--black);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.25s, letter-spacing 0.25s;
  flex-shrink: 0; margin-top: auto;
}
.panel-cta:hover { background: var(--gold-light); letter-spacing: 0.24em; }
.panel-cta svg { flex-shrink: 0; }

@media (max-width: 640px) {
  .product-panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }
  .panel-img { min-height: 180px; }
  .panel-img::after {
    background: linear-gradient(to bottom, transparent 50%, rgba(12,12,12,0.9) 100%);
  }
}

.product-card {
  background: var(--card-bg);
  border: 1px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
  overflow: hidden;
}
.product-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.product-img {
  aspect-ratio: 1;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, #0a0a0a, #161616);
  color: rgba(255,255,255,0.2);
  position: relative;
}

.product-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.product-info { padding: 20px; }
.product-cat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 40px;
}
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-details {
  flex: 1;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-align: center;
}
.btn-details:hover { border-color: var(--white); }

.btn-cotizar {
  flex: 1.5;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dark);
  background: none;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-cotizar:hover { background: var(--gold); color: var(--black); }

/* ======== PAQUETES — tarjetas elegantes (acorde al resto de la página) ======== */
#paquetes { padding: 140px 0; }

.paquetes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
  align-items: stretch;
}

.paquete-card {
  /* tinte índigo sutil: asienta la tarjeta sobre el universo de fondo */
  background: linear-gradient(170deg, #0e0d16, #08070d);
  border: 1px solid rgba(170, 165, 215, 0.12);
  border-radius: 18px;            /* mismo radio que la tarjeta de Eventos */
  padding: 46px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .45s ease, box-shadow .45s ease;
}
.paquete-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 26px 70px rgba(0,0,0,0.5);
}

.paquete-card.featured {
  border-color: rgba(255,255,255,0.55);
  background: linear-gradient(170deg, #131017, #09080c);
}

.paquete-featured-label {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--gold);
  color: #060606;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 30px;
}
.paquete-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
}
.paquete-price {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.paquete-price-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}
.paquete-features {
  list-style: none;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;   /* empuja el botón al fondo: los 3 CTAs quedan alineados */
}
.paquete-features li {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.45;
}
.paquete-features li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}
.paquete-cta {
  display: block;
  text-align: center;
  padding: 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 12px;
  color: var(--gold);
  border: 1px solid rgba(255,255,255,0.35);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.paquete-card.featured .paquete-cta { border-color: rgba(255,255,255,0.6); }
.paquete-cta:hover {
  background: var(--gold);
  color: #060606;
  border-color: var(--gold);
}

.paquetes-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* ======== PAQUETES — filtros por tipo de evento ======== */
.pkg-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 48px;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}
.pkg-tabs::-webkit-scrollbar { display: none; }
.pkg-tab {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.pkg-tab:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.pkg-tab[aria-selected="true"] {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

/* ======== PAQUETES — grid de tarjetas (catálogo completo) ======== */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.pkg-grid.is-filtering .pkg-card { transition: opacity .25s ease, transform .25s ease; }
.pkg-card.pkg-hidden { display: none; }

.pkg-card {
  background: linear-gradient(170deg, #0e0d16, #08070d);
  border: 1px solid rgba(170, 165, 215, 0.12);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease;
}
.pkg-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 22px 60px rgba(0,0,0,0.5);
}
.pkg-top {
  padding: 26px 26px 20px;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  position: relative;
}
.pkg-top::before {
  content: "";
  position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--gold);
  opacity: 0.85;
}
.pkg-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.pkg-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 8px 0 2px;
  line-height: 1.08;
}
.pkg-cap { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.pkg-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.pkg-price-from {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.pkg-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.pkg-price .cur { font-size: 16px; color: var(--muted); font-weight: 500; margin-right: 1px; }
.pkg-price-iva { font-size: 10.5px; color: rgba(255,255,255,0.3); }

.pkg-body { padding: 20px 26px 6px; flex: 1; }
.pkg-spec-group { margin-bottom: 16px; }
.pkg-spec-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pkg-spec-label .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.pkg-spec-group ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pkg-spec-group li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.pkg-spec-group li::before { content: "›"; position: absolute; left: 0; color: rgba(255,255,255,0.3); }

.pkg-foot {
  padding: 16px 26px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}
.pkg-ideal-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  opacity: 0.85;
}
.pkg-ideal { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ======== PAQUETES — condiciones comerciales ======== */
.pkg-conditions { margin-top: 24px; }
.pkg-conditions-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 36px;
}
.pkg-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pkg-listcard {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 30px;
}
.pkg-listcard h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--white);
}
.pkg-listcard ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pkg-listcard li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.pkg-listcard.in li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.pkg-listcard.ex li::before { content: "+"; position: absolute; left: 0; color: rgba(255,255,255,0.4); font-weight: 700; }

/* ======== PAQUETES — firma de marca + disclaimer ======== */
.pkg-sig-wrap {
  margin-top: 70px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.pkg-sig {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.pkg-sig span { color: var(--gold); }
.pkg-disclaimer {
  font-size: 10.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .pkg-twocol { grid-template-columns: 1fr; }
}

.hidden { display: none !important; }

/* ======== FOOTER ======== */
#contacto {
  padding: 80px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--white); color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ======== BIG TEXT ======== */
.bigtext-section {
  overflow: hidden;
  padding: 20px 0 0;
  line-height: 0.85;
  user-select: none;
  position: relative;
  width: 100%;
}

/* Fade — covers bottom half, starts gently like matveyan */
.bigtext-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,0.08) 20%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.72) 68%,
    rgba(0,0,0,0.93) 85%,
    #000 100%
  );
  pointer-events: none;
  z-index: 1;
}

.bigtext-line {
  display: block;
  width: 100vw;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20vw; /* JS overrides this */
  letter-spacing: 0.03em;
  color: var(--white);
  opacity: 0.96;
  line-height: 0.87;
  cursor: default;
  padding: 0;
  text-align: center; /* center each word */
  overflow: visible;
}

/* ======== NOSOTROS REDISEÑO ======== */
#nosotros {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* ======== NOSOTROS ======== */
#nosotros {
  padding: 140px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.nos-eyebrow-top { display: block; margin-bottom: 48px; }

.nos-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.nos-col {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--border);
}
.nos-col:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.nos-col:nth-child(2) { padding-left: 40px; }

.nos-col-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
}

.nos-entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.nos-entry:first-of-type { border-top: 1px solid var(--border); }

.nos-entry-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.22);
  position: absolute;
  top: 22px;
  right: 0;
}

.nos-entry-meta {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 6px;
}

.nos-entry-role {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.nos-entry-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  margin: 0;
}

/* Columna de clientes */
.nos-project {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.nos-project:first-of-type { border-top: 1px solid var(--border); }

.nos-project-logo {
  height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.nos-project-logo img { height: 100%; width: auto; object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity 0.3s; }
.nos-project:hover .nos-project-logo img { opacity: 0.9; }

.nos-project-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .nos-3col { grid-template-columns: 1fr; gap: 0; }
  .nos-col { border-right: none; border-bottom: 1px solid var(--border); padding: 48px 0 !important; }
  .nos-col:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .nos-eyebrow-top { margin-bottom: 32px; }
}

/* mantener compatibilidad con clases antiguas que aún usan otras partes */
.nos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.nos-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 20px 0 24px;
  color: var(--white);
}
.nos-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}
.nos-right {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.nos-stat {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.nos-stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}
.nos-stat-num sup { font-size: 0.4em; color: var(--gold); font-weight: 400; }
.nos-stat-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 8px 0 6px;
}
.nos-stat-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .nos-grid { grid-template-columns: 1fr; gap: 48px; }
}
.nos-minimal { padding: 32px 0; border-bottom: 1px solid var(--border); }
.nos-eyebrow { margin-bottom: 24px; }

.nos-statement {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nos-line {
  display: block;
  overflow: hidden;
}

.nos-line--italic {
  font-style: italic;
  color: rgba(255,255,255,0.38);
}

.nos-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-bottom: 60px;
}

.nos-pillar {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--border);
}
.nos-pillar:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.nos-pillar:nth-child(2) { padding-left: 40px; }

.nos-pillar-num {
  font-family: var(--font-display);
  font-size: clamp(60px, 7vw, 90px);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nos-pillar-num sup { font-size: 0.4em; vertical-align: super; }

.nos-pillar-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  margin-top: 4px;
}

.nos-pillar-body {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  max-width: 240px;
}

.nos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nos-tags span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 16px;
  transition: color 0.2s, border-color 0.2s;
}
.nos-tags span:hover {
  color: var(--gold);
  border-color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .nos-pillars { grid-template-columns: 1fr; }
  .nos-pillar { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 0 !important; }
  .nos-pillar:last-child { border-bottom: none; }
}

/* ======== WOW SECTION ======== */
#wow-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

#wow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wow-content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.wow-phrase { display: flex; flex-direction: column; gap: 0; }

.wow-line {
  font-family: var(--font-display);
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.92;
  color: rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.wow-line.animated {
  opacity: 1;
  transform: translateY(0);
}
.wow-line--accent { color: rgba(255,255,255,0.12); }

/* ======== CATÁLOGO — EMOTIONAL HEADER ======== */
.cat-emotion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cat-block.open .cat-emotion { max-height: 300px; }

.cat-emotion-inner {
  padding: 40px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cat-emotion-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 40px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
}

.cat-emotion-sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 28px;
}

@media (max-width: 768px) {
  .cat-emotion-inner { grid-template-columns: 1fr; gap: 20px; }
  .cat-emotion-sub { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }
}

/* ======== CIERRE ======== */
#cierre {
  /* transparente: el universo de fondo sigue visible y la multitud se funde con él */
  background: transparent;
  overflow: hidden;
}

.cierre-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 80px 40px 60px;
  text-align: center;
}

.cierre-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  max-width: 500px;
  line-height: 1.8;
}

.cierre-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 44px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, letter-spacing 0.2s;
}
.cierre-cta:hover { background: var(--gold-light); letter-spacing: 0.28em; }

/* ======== MOMENTOS — HORIZONTAL SCROLL ======== */
#momentos {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.momentos-label {
  position: absolute;
  top: 48px;
  left: 6vw;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  z-index: 2;
}

.momentos-track-wrap {
  overflow: hidden;
  width: 100%;
}

.momentos-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

.momento-item {
  flex: 0 0 42vw;
  padding: 0 5vw 0 6vw;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}
.momento-item:last-child { border-right: none; }

.momento-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.7;
}

.momento-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}

.momento-item p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 300px;
}

.momentos-progress {
  position: absolute;
  bottom: 48px;
  left: 6vw;
  right: 6vw;
  height: 1px;
  background: rgba(255,255,255,0.08);
  z-index: 2;
}

.momentos-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

/* ======== STATEMENT LINE REVEALS ======== */
.st-line {
  display: block;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.st-line.visible {
  opacity: 1;
  transform: translateY(0);
}
.st-line:nth-child(2) { transition-delay: 0.14s; }
.st-line:nth-child(3) { transition-delay: 0.28s; color: var(--white); font-style: normal; font-weight: 700; }

/* ======== STATS STRIP ======== */
.stats-strip {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black);
}
.ss-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  gap: 6px;
}
.ss-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}
.ss-num sup { font-size: 0.4em; color: var(--gold); font-weight: 400; }
.ss-text { font-size: clamp(28px, 3.5vw, 52px); }
.ss-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.ss-item::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 12px;
}
.ss-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .stats-strip { flex-wrap: wrap; }
  .ss-item { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .ss-sep { display: none; }
}

/* ======== STATS LABEL TWEAK ======== */
.stat-label { line-height: 1.5; }

/* ======== FOOTER PHONE ======== */
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-phone::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}
.footer-phone:hover { color: var(--white); }

/* ======== PAGE LOADER ======== */
#sd-loader {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: #0f0f0f; /* como el loader de matveyan */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
#sd-loader.sd-loader--out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.sd-loader-logo {
  display: block;
  width: min(220px, 55vw);
  max-width: 240px;
  height: auto;
  object-fit: contain;
}
.sd-loader-status {
  font-family: 'Inter', sans-serif;
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sd-loader-percent {
  display: inline-block;
  min-width: 3ch;
}
.sd-loader-bar-track {
  width: 180px;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.sd-loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 999px;
  transition: width 0.24s ease-out;
}

/* ======== CUSTOM CURSOR ======== */
body.custom-cursor,
body.custom-cursor * { cursor: none !important; }

.sd-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  margin-left: -2.5px;
  margin-top: -2.5px;
  transition: background 0.2s, width 0.2s, height 0.2s, margin 0.2s;
  will-change: transform;
}
.sd-cursor-dot--hover {
  background: #fff;
  width: 3px; height: 3px;
  margin-left: -1.5px; margin-top: -1.5px;
}
.sd-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  margin-left: -17px;
  margin-top: -17px;
  transition: width 0.35s ease, height 0.35s ease, margin 0.35s ease, border-color 0.3s;
  will-change: transform;
}
.sd-cursor-ring--hover {
  width: 52px; height: 52px;
  margin-left: -26px; margin-top: -26px;
  border-color: rgba(255,255,255,0.9);
}

/* ======== GOLD SECTION REVEAL LINES ======== */
.sd-section-line {
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(255,255,255,0.2) 60%, transparent 100%);
  width: 100%;
  transform-origin: left center;
}

/* ======== HERO MOBILE — slogan siempre visible ======== */
@media (max-width: 768px) {
  .hs-line  { opacity: 1 !important; transform: none !important; }
  .hs-cta   { opacity: 1 !important; }
  .hb-sub   { opacity: 1 !important; }
}

/* ======== ANIMATIONS ======== */
[data-animate] { opacity: 0; transform: translateY(30px); }
[data-animate].animated { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s ease; }

/* ======== FLOATING WHATSAPP ======== */
#wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 22px 14px 18px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.28), 0 2px 8px rgba(0,0,0,0.4);
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease,
              background 0.2s;
  opacity: 0;
  pointer-events: none;
}
#wa-float.visible {
  opacity: 1;
  pointer-events: auto;
}
#wa-float:hover {
  background: #1ebe5a;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.5);
}
.wa-float-label { line-height: 1; }
@media (max-width: 480px) {
  #wa-float { padding: 14px 16px; border-radius: 0; bottom: 20px; right: 20px; }
  .wa-float-label { display: none; }
}

/* ======== SCROLL TO TOP ======== */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 160px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  transition: color 0.2s, border-color 0.2s, opacity 0.3s, transform 0.3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scroll-top:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 480px) {
  #scroll-top { right: 20px; bottom: 88px; }
}

/* ======== VIDEO SOUND TOGGLE ======== */
#video-sound-toggle {
  position: fixed;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  z-index: 500;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: color 0.2s, border-color 0.2s, opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}
#video-sound-toggle.visible {
  opacity: 1;
  pointer-events: auto;
}
#video-sound-toggle:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
@media (max-width: 768px) { #video-sound-toggle { display: none; } }

/* ======== ACTIVE NAV LINK ======== */
.nav-links a.nav-active {
  color: var(--white);
}
.nav-links a.nav-active::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin-top: 3px;
  opacity: 0.7;
}

/* ======== NAV LINK — TEXT SCRAMBLE (hover) ======== */
.nav-link {
  display: inline-block;
}
.nav-link:not(.nav-cta) {
  padding: 4px 6px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .eventos-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .paquetes-grid { grid-template-columns: 1fr; max-width: 460px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  #navbar { padding: 16px 24px; }
  #navbar.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .eventos-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 480px) {
  .eventos-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
}

/* ======== AURORA BOREAL realista (cortinas de rayos) ======== */
/* ======== GLOBAL PARTICLE CANVAS ======== */
#sd-global-particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Sections transparent so particles show through.
   Cards, marquee, stats-strip, catalog items are divs — keep their own backgrounds.
   position:relative + z-index:1 ensures sections are above the canvas (z-index:0)
   so particles are visible through transparent section backgrounds. */
section {
  background-color: transparent !important;
  position: relative;
  z-index: 1;
}

/* ======== NOSOTROS — layout editorial centrado ======== */
#nosotros .nos-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 0;
}
#nosotros .nos-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 880px;
}
#nosotros .section-eyebrow { display: inline-block; margin-bottom: 22px; }
#nosotros .nos-heading {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.03em;
  max-width: 620px;
  margin: 0 auto 32px;
  text-align: center;
}
#nosotros .nos-heading em { font-style: italic; color: rgba(255,255,255,0.55); }
#nosotros .nos-desc { text-align: center; max-width: 620px; margin: 0 auto 40px; }
#nosotros .nos-right {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 64px;
  width: 100%;
  max-width: 1000px;
  margin-top: 24px;
  border-top: none;
  text-align: center;
}
#nosotros .nos-right > * { flex: 1; max-width: 280px; text-align: center; }
#nosotros .nos-stat { border-bottom: none; }
#nosotros .nos-stat-num,
#nosotros .nos-stat-label,
#nosotros .nos-stat-desc { text-align: center; }

/* sd-cats — fila de categorías */
#nosotros .sd-cats {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  align-items: center;
}
#nosotros .sd-cats li {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
}
#nosotros .sd-cats .sd-cats-sep {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
}

/* ===== CLIENTES — franja de marcas (va arriba, bajo el eyebrow) ===== */
.nos-clients {
  width: 100%;
  max-width: 860px;
  margin: 14px auto 46px;
  text-align: center;
}
.nos-clients-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 26px;
}
/* fila ordenada de 4, logos centrados y parejos (sin divisores duros) */
.nos-clients-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.nos-client {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 8px 18px;
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
.nos-client:hover { opacity: 1; }

/* logos reales (blanco monocromo, transparente) */
.nos-client img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
/* alturas ópticas emparejadas — peso visual similar entre las 4 marcas */
.nos-client--alienpro  img { height: 54px; }   /* casco + texto (vertical) */
.nos-client--elite     img { height: 40px; }   /* solo texto (horizontal) */
.nos-client--tec       img { height: 56px; }   /* antorcha + texto (vertical) */
.nos-client--televisa  img { height: 48px; }   /* símbolo + texto (vertical) */

@media (max-width: 760px) {
  .nos-clients { margin-top: 48px; padding-top: 34px; }
  .nos-clients-row { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
}

@media (max-width: 768px) {
  #nosotros .nos-right {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  #nosotros .nos-right > * { max-width: 100%; }
  #nosotros .nos-heading { font-size: 26px; }
}

/* ===== CATÁLOGO — Arsenal estilo Matveyan ===== */
/* Aire a los lados como matveyan: contenedor más contenido y centrado */
/* separación amplia entre categorías: deja respirar el efecto de enfoque/desenfoque del scroll */
/* misma retícula que .container (1200px / 40px): los bordes alinean con el resto de secciones */
.mv-chapter { margin: 0 auto 170px auto; max-width: 1200px; padding: 0 40px; }

.mv-card .cat-ch-card-overlay,
.mv-card .cat-ch-card-content { display: none !important; }

.mv-card {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  height: auto !important;       /* la tarjeta crece según su contenido (evita que la imagen tape la lista) */
  min-height: 0 !important;
  padding: 0 !important;
  margin-bottom: 28px;
  display: grid !important;
  /* imagen protagonista (mucho más ancha) · texto compacto a la derecha.
     minmax(0,…) ignora el min-content del texto → las 4 imágenes miden EXACTO igual */
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 48px;
  overflow: visible;
  /* descripción centrada verticalmente a la altura media de la imagen */
  align-items: center;
}

/* Producto flotando sobre el universo de la página. Dos capas: [0] producto · [1] glow dorado */
.mv-media {
  /* producto contenido dentro de la tarjeta, sin desbordar */
  background-size: 62% auto, cover;
  background-position: center 46%, center;
  background-repeat: no-repeat, no-repeat;
  background-color: transparent;
  border: none;
  border-radius: 14px;
  /* rectángulo horizontal (16:9), no cuadrado; las 4 categorías miden igual */
  aspect-ratio: 16 / 9;
  height: auto;
  position: relative;
  overflow: hidden;
  /* SIN zoom/transform en hover: la tarjeta no cambia de forma al pasar el mouse
     (se mantiene limpia). Lo único que pasa en hover es que el video se reproduce. */
  transition: filter 0.12s linear, opacity 0.12s linear;
}

/* Video de fondo de la tarjeta de equipo (sonido/iluminación/pantalla/efectos). */
.mv-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fuente 16:9 en caja 16:9 → encaja exacto, sin deformar */
  object-position: center center;
  /* zoom UNIFORME (mantiene el aspecto 16:9, no deforma) sesgado abajo-derecha:
     empuja el video hacia abajo-derecha para que esa esquina —donde está el
     watermark de Gemini/Veo— salga del recuadro y quede recortada (~16%). */
  transform: scale(1.3) translate(3%, 4%);
  transform-origin: center center;
  border-radius: 14px;
  pointer-events: none;
  /* oculto en reposo (se ve la imagen hero de base); aparece con fundido SOLO
     cuando el video ya está reproduciéndose → sin flash negro ni "apertura" */
  opacity: 0;
  transition: opacity 0.4s ease;
  background: transparent;
}
/* el video aparece solo cuando ya está reproduciéndose (clase puesta en 'playing') */
.mv-media.mv-playing .mv-media-video { opacity: 1; }

.mv-desc {
  background: transparent !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* pequeño offset óptico: el kicker queda a la altura del borde superior de la tarjeta */
  padding: 6px 0 0;
  gap: 14px;
}
.mv-kicker {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.mv-num {
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
}
.mv-headline {
  font-family: Inter, sans-serif;
  font-weight: 300;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.mv-text {
  font-family: Inter, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0;
  max-width: 440px;
}
.mv-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.mv-count {
  font-family: Inter, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.mv-desc .cat-ch-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.25) !important;
  background: transparent !important;
  color: #fff !important;
  padding: 14px 26px !important;
  font-family: Inter, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 !important;
  transition: all .25s ease;
}
.mv-desc .cat-ch-toggle:hover {
  background: #fff !important;
  color: #000 !important;
}

/* Alternancia 01 izq · 02 der · 03 izq · 04 der, PERO la imagen siempre va en la
   pista ancha (2.1fr) → alterna de lado conservando el mismo tamaño grande. */
.mv-media { order: 1; }
.mv-desc  { order: 2; }
/* pares (iluminación, efectos): imagen a la derecha → invertimos las columnas
   para que la pista ancha quede del lado derecho */
#cat-iluminacion .mv-card,
#cat-efectos     .mv-card {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
}
#cat-iluminacion .mv-media,
#cat-efectos     .mv-media { order: 2; }
#cat-iluminacion .mv-desc,
#cat-efectos     .mv-desc  { order: 1; }

.mv-chapter .cat-compact-grid { grid-column: 1 / -1; }

/* ======== MULTITUD SILUETA — fondo de la sección final (cierre + footer) ======== */
/* contenido (CTA + footer) por encima de la multitud */
#cierre .cierre-cta-wrap,
#cierre #contacto {
  position: relative;
  z-index: 2;
}
/* footer dentro del cierre: aire abajo para que la multitud respire detrás */
#cierre #contacto { padding: 60px 0 230px; }

.sd-crowd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
}
.sd-crowd-img {
  display: block;
  width: 100%;
  height: auto;
  /* monocromo neutro, fundido con el universo: el blend "screen" hace
     desaparecer lo oscuro de la foto y solo las siluetas/luces se mezclan
     con la nebulosa de fondo (un solo fondo, no dos) */
  filter: grayscale(1) brightness(0.6) contrast(1.05);
  mix-blend-mode: screen;
  opacity: 0.9;
  /* funde el borde superior de la imagen con el fondo de la página */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%);
}
/* velo oscuro de arriba hacia abajo: el texto se lee, la multitud brilla abajo */
.sd-crowd::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 52%, rgba(0,0,0,0.05) 100%);
}

@media (max-width: 860px) {
  #cierre #contacto { padding-bottom: 150px; }
}

@media (max-width: 860px) {
  .mv-card { grid-template-columns: 1fr; }
  .mv-media { aspect-ratio: 16 / 9; height: auto; order: 1 !important; }
  .mv-desc  { order: 2 !important; padding: 32px 28px; }
  .mv-headline { font-size: 26px; }
}

/* ======== EVENTOS — ajustes móvil ======== */
@media (max-width: 640px) {
  .evento-slide { padding: 0 12px; }
  .evento-stage { width: 94vw; height: min(72vh, 600px); }
  .evento-content { padding: 0 22px; }
  .evento-title { font-size: 26px; margin-bottom: 16px; }
  .evento-desc  { font-size: 13px; margin-bottom: 26px; }
  .evento-meta  { margin-bottom: 18px; }
}

/* ======== UNIVERSO — nebulosa de fondo de toda la página ======== */
#sd-universe {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../images/universo-fondo.webp') center / cover no-repeat;
  /* monocromo neutro: elimina las manchas de color de la nebulosa,
     gris muy tenue sobre negro (sin tinte cálido) */
  filter: grayscale(1) brightness(0.38);
  /* respiración lentísima: el universo se siente vivo sin notarse */
  animation: universeBreathe 50s ease-in-out infinite alternate;
  will-change: transform;
}
/* velo negro sobre la nebulosa: mantiene el fondo tan oscuro como el hero */
#sd-universe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
@keyframes universeBreathe {
  0%   { transform: scale(1)    translateY(0); }
  100% { transform: scale(1.08) translateY(-1.2%); }
}
@media (prefers-reduced-motion: reduce) {
  #sd-universe { animation: none; }
}

/* ======== LÍNEA DE PROGRESO DE SCROLL ======== */
#sd-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 300;
  pointer-events: none;
}

/* ======== ECUALIZADOR (onda de audio) — hero ======== */
/* Cada barra tiene su propia amplitud/velocidad/retraso (vía --amp) para que
   el movimiento sea orgánico, como un analizador de espectro real, en vez de
   barras sincronizadas que parecen un código de barras estático. */
.sd-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3.5px;
  height: 28px;
  margin-top: 22px;
}
.sd-eq span {
  width: 3px;
  height: 100%;
  background: linear-gradient(to top, var(--gold-dark), var(--gold-light));
  filter: drop-shadow(0 0 4px rgba(var(--gold-rgb), 0.45));
  opacity: 0.85;
  border-radius: 2px 2px 1px 1px;
  transform-origin: bottom;
  animation: eqBar 1s ease-in-out infinite;
  animation-duration: var(--dur, 1s);
  animation-delay: var(--del, 0s);
}
.sd-eq span:nth-child(1)  { --amp: 0.5;  --dur: 0.9s;  --del: 0s; }
.sd-eq span:nth-child(2)  { --amp: 0.7;  --dur: 1.15s; --del: 0.08s; }
.sd-eq span:nth-child(3)  { --amp: 0.9;  --dur: 0.8s;  --del: 0.18s; }
.sd-eq span:nth-child(4)  { --amp: 0.6;  --dur: 1.3s;  --del: 0.02s; }
.sd-eq span:nth-child(5)  { --amp: 1;    --dur: 0.95s; --del: 0.26s; }
.sd-eq span:nth-child(6)  { --amp: 0.8;  --dur: 1.1s;  --del: 0.12s; }
.sd-eq span:nth-child(7)  { --amp: 0.65; --dur: 0.85s; --del: 0.34s; }
.sd-eq span:nth-child(8)  { --amp: 1;    --dur: 1.25s; --del: 0.05s; }
.sd-eq span:nth-child(9)  { --amp: 0.9;  --dur: 0.9s;  --del: 0.22s; }
.sd-eq span:nth-child(10) { --amp: 0.7;  --dur: 1.05s; --del: 0.4s; }
.sd-eq span:nth-child(11) { --amp: 1;    --dur: 0.8s;  --del: 0.15s; }
.sd-eq span:nth-child(12) { --amp: 0.75; --dur: 1.2s;  --del: 0.3s; }
.sd-eq span:nth-child(13) { --amp: 0.6;  --dur: 0.95s; --del: 0.06s; }
.sd-eq span:nth-child(14) { --amp: 0.9;  --dur: 1.1s;  --del: 0.36s; }
.sd-eq span:nth-child(15) { --amp: 0.55; --dur: 0.85s; --del: 0.2s; }
.sd-eq span:nth-child(16) { --amp: 0.7;  --dur: 1.15s; --del: 0.42s; }
@keyframes eqBar {
  0%, 100% { transform: scaleY(0.14); }
  50%      { transform: scaleY(var(--amp, 0.8)); }
}

/* ======== TICKER de datos — hero ======== */
.hero-ticker {
  position: absolute;
  bottom: 112px;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 80vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}
.hero-ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  animation: tickerMove 16s linear infinite;
}
.hero-ticker-inner i { font-style: normal; color: var(--gold); }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ======== HUD técnico (estilo matveyan) ======== */
#sd-hud {
  position: fixed;
  left: 22px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  pointer-events: none;
}
#sd-hud span { min-width: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 860px), (pointer: coarse) {
  #sd-hud { display: none; }
}

/* ======== RELOJ del footer ======== */
#sd-clock {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker-inner { animation: none; }
}

/* ======== WORD REVEAL — títulos que se montan palabra por palabra ======== */
.wr-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.wr-w {
  display: inline-block;
  will-change: transform;
}

/* ======== SCROLL FOCUS (estilo matveyan) — enfoque al centro, desenfoque en bordes ======== */
.sf {
  will-change: filter, opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .sf { filter: none !important; opacity: 1 !important; transform: none !important; }
}

/* ======== ENHANCEMENTS — reveal de texto, tilt catálogo, cursor ======== */

/* Reveal palabra por palabra (máscara) */
.rv-w { display: inline-block; overflow: hidden; vertical-align: top; }
.rv-i { display: inline-block; transform: translateY(115%); will-change: transform; transition: filter 0.1s linear, opacity 0.1s linear; }
@media (prefers-reduced-motion: reduce) { .rv-i { transform: none; } }

/* Tilt 3D en tarjetas del catálogo */
.mv-tilt {
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  will-change: transform;
  transform-style: preserve-3d;
}
.mvc-corner {
  position: absolute;
  width: 14px; height: 14px;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 2;
}
.mvc-corner::before, .mvc-corner::after { content: ''; position: absolute; background: var(--gold); }
.mvc-corner::before { width: 14px; height: 1px; }
.mvc-corner::after  { width: 1px; height: 14px; }
.mvc-corner--tl { top: 14px; left: 14px; }
.mvc-corner--tr { top: 14px; right: 14px; transform: rotate(90deg); }
.mvc-corner--br { bottom: 14px; right: 14px; transform: rotate(180deg); }
.mvc-corner--bl { bottom: 14px; left: 14px; transform: rotate(270deg); }
.mv-media:hover .mvc-corner { opacity: 1; }

/* Cursor personalizado (solo desktop con mouse) */
#sd-cursor, #sd-cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .sd-custom-cursor, .sd-custom-cursor a, .sd-custom-cursor button { cursor: none; }
  #sd-cursor-dot {
    display: block;
    position: fixed; top: -3px; left: -3px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
    pointer-events: none;
    z-index: 9999;
  }
  #sd-cursor {
    display: flex;
    align-items: center; justify-content: center;
    position: fixed; top: -19px; left: -19px;
    width: 38px; height: 38px;
    border: 1px solid rgba(var(--gold-rgb), 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width .25s ease, height .25s ease, top .25s ease, left .25s ease,
                background .25s ease, border-color .25s ease;
  }
  #sd-cursor .sdc-arrow {
    font-size: 14px;
    color: var(--gold-light);
    opacity: 0;
    transition: opacity .2s ease;
  }
  .sdc-hover #sd-cursor {
    width: 56px; height: 56px; top: -28px; left: -28px;
    background: rgba(var(--gold-rgb), 0.12);
    border-color: rgba(var(--gold-rgb), 0.9);
  }
  .sdc-hover #sd-cursor .sdc-arrow { opacity: 1; }
  .sdc-hover #sd-cursor-dot { opacity: 0; }
  .sdc-out #sd-cursor, .sdc-out #sd-cursor-dot { opacity: 0; }
}

/* Cascada al abrir "Ver equipos": cada producto entra escalonado (--d viene de JS) */
.cat-compact-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease var(--d, 0s),
              transform .55s cubic-bezier(.22,1,.36,1) var(--d, 0s),
              background .2s;
}
.ch-open .cat-compact-item { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cat-compact-item { opacity: 1; transform: none; transition: background .2s; }
}

/* ======== EVENTOS — intro: título simple sobre los slides ======== */
#eventos-intro { padding: 0 0 70px; }
#eventos-intro .section-header { margin-bottom: 0; }

/* ======== GLITCH cyberpunk en tarjetas de equipos (estilo matveyan) ======== */
/* Dos clones del producto (background: inherit) que se rompen en franjas
   horizontales por un instante; la mayor parte del tiempo son invisibles */
/* Reactivado solo en hover: pseudo-elementos ocultos en reposo (cero costo),
   animan solo cuando el mouse entra — no hay loop idle que cause lag. */
.mv-media::before,
.mv-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center center;
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.mv-media:hover::before {
  animation: mvGlitchHover1 1.1s steps(1) infinite;
}
.mv-media:hover::after {
  animation: mvGlitchHover2 1.1s steps(1) infinite;
}

@keyframes mvGlitchHover1 {
  0%    { opacity: .95; transform: translateX(-14px); clip-path: inset(8% 0 80% 0); }
  7%    { opacity: .95; transform: translateX(11px);  clip-path: inset(38% 0 50% 0); }
  14%   { opacity: .95; transform: translateX(-8px) skewX(-2deg); clip-path: inset(55% 0 30% 0); }
  21%   { opacity: .95; transform: translateX(13px);  clip-path: inset(72% 0 14% 0); }
  28%   { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  70%   { opacity: .95; transform: translateX(-10px); clip-path: inset(20% 0 65% 0); }
  77%   { opacity: .95; transform: translateX(6px);   clip-path: inset(86% 0 4% 0); }
  84%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
}
@keyframes mvGlitchHover2 {
  0%, 9.9%, 38%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  10%   { opacity: .85; transform: translateX(12px) skewX(3deg);  clip-path: inset(26% 0 58% 0); }
  17%   { opacity: .85; transform: translateX(-11px);             clip-path: inset(60% 0 22% 0); }
  24%   { opacity: .85; transform: translateX(9px);               clip-path: inset(6% 0 82% 0); }
  31%   { opacity: .85; transform: translateX(-7px) skewX(-2deg); clip-path: inset(44% 0 40% 0); }
}

@keyframes mvGlitch1 {
  0%, 77.9%, 88.1%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  78%   { opacity: .95; transform: translateX(-14px); clip-path: inset(8% 0 80% 0); }
  79.6% { opacity: .95; transform: translateX(11px);  clip-path: inset(38% 0 50% 0); }
  81.2% { opacity: .95; transform: translateX(-8px) skewX(-2deg); clip-path: inset(55% 0 30% 0); }
  82.8% { opacity: .95; transform: translateX(13px);  clip-path: inset(72% 0 14% 0); }
  84.4% { opacity: .95; transform: translateX(-10px); clip-path: inset(20% 0 65% 0); }
  86.2% { opacity: .95; transform: translateX(6px);   clip-path: inset(86% 0 4% 0); }
  88%   { opacity: 0; }
}
@keyframes mvGlitch2 {
  0%, 83.9%, 92.1%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  84%   { opacity: .85; transform: translateX(12px) skewX(3deg);  clip-path: inset(26% 0 58% 0); }
  85.8% { opacity: .85; transform: translateX(-11px);             clip-path: inset(60% 0 22% 0); }
  87.6% { opacity: .85; transform: translateX(9px);               clip-path: inset(6% 0 82% 0); }
  89.4% { opacity: .85; transform: translateX(-7px) skewX(-2deg); clip-path: inset(44% 0 40% 0); }
  92%   { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mv-media::before, .mv-media::after { animation: none; opacity: 0; }
}

/* ======== EQUIPOS flotantes dentro de la tarjeta de categoría ======== */
.mv-mini {
  position: absolute;
  width: 150px;
  z-index: 1;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
/* producto recortado: flota directo sobre la tarjeta con sombra propia */
.mv-mini img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.6));
}
/* composición ordenada: producto principal al centro, satélites en esquinas
   opuestas con buen margen para que el equipo se vea completo */
.mv-mini--1 { top: 32px; right: 36px; animation: mvFloat1 6s ease-in-out infinite; }
.mv-mini--2 { bottom: 36px; left: 36px; animation: mvFloat2 7s ease-in-out infinite; }
@keyframes mvFloat1 {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%      { transform: rotate(2deg) translateY(-8px); }
}
@keyframes mvFloat2 {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(8px); }
}
.mv-media:hover .mv-mini--1 { animation-play-state: paused; transform: rotate(2deg) translateY(-10px) scale(1.04); }
.mv-media:hover .mv-mini--2 { animation-play-state: paused; transform: rotate(-2deg) translateY(10px) scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .mv-mini--1, .mv-mini--2 { animation: none; }
}
/* las esquinas doradas del hover quedan por encima de las mini-tarjetas */
.mvc-corner { z-index: 3; }

@media (max-width: 860px) {
  .mv-mini { width: 110px; }
}

/* ======== CASE VIEW — vista de capítulo estilo "view case" ======== */

/* Pantalla de carga del case (réplica del loader de entrada) */
.case-loader {
  position: fixed; inset: 0; z-index: 9400;
  background: #0f0f0f;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s ease;
}
.case-loader.active { opacity: 1; pointer-events: all; }

/* La "paginita" superpuesta */
.case-view {
  position: fixed; inset: 0; z-index: 9000;
  background: #050505;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.case-view.open { opacity: 1; visibility: visible; }

/* mismo universo de fondo que la página (la nebulosa sigue presente) */
.case-view::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1; /* sobre el fondo negro del case, debajo de todo el contenido */
  pointer-events: none;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('../images/universo-fondo.webp') center / cover no-repeat;
  filter: grayscale(1) brightness(0.38);
}

/* ======== COTIZACIÓN DE EVENTO — atmósfera con color por tipo de evento ========
   Las letras se quedan neutras (blanco/dorado); el color vive en el fondo,
   los bordes, los brillos y los botones. Cada evento define su propio tono
   vía --eq-accent / --eq-accent-rgb (asignado en JS al abrir el modal). */
.case-view.eq-mode::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px circle at 14% 16%, rgba(var(--eq-accent-rgb, 242,242,242), 0.24), transparent 62%),
    radial-gradient(640px circle at 88% 84%, rgba(var(--eq-accent-rgb, 242,242,242), 0.16), transparent 60%);
  mix-blend-mode: screen;
}
.case-view.eq-mode .pkg-top::before { background: var(--eq-accent, var(--gold)); }
.case-view.eq-mode .pkg-spec-label .dot { background: var(--eq-accent, var(--gold)); }
.case-view.eq-mode .eq-pkg-card {
  border-color: rgba(var(--eq-accent-rgb, 242,242,242), 0.18);
  background: linear-gradient(170deg, #100c14, #08070a);
}
.case-view.eq-mode .eq-pkg-list.eq-hovering .eq-pkg-card.eq-active {
  border-color: rgba(var(--eq-accent-rgb, 242,242,242), 0.65);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 70px -12px rgba(var(--eq-accent-rgb, 242,242,242), 0.6);
}
.case-view.eq-mode .eq-pkg-cta {
  color: var(--eq-accent, var(--gold));
  border-color: rgba(var(--eq-accent-rgb, 242,242,242), 0.4);
}
.case-view.eq-mode .eq-pkg-cta:hover {
  background: var(--eq-accent, var(--gold));
  border-color: var(--eq-accent, var(--gold));
  color: #060606;
}
.case-view.eq-mode .pkg-listcard {
  border-color: rgba(var(--eq-accent-rgb, 242,242,242), 0.16);
  background: linear-gradient(165deg, rgba(var(--eq-accent-rgb, 242,242,242), 0.05), rgba(255,255,255,0.015));
}
.case-view.eq-mode .pkg-listcard.in li::before { color: var(--eq-accent, var(--gold)); }
.case-view.eq-mode .pkg-sig-wrap { border-top-color: rgba(var(--eq-accent-rgb, 242,242,242), 0.25); }

/* La barra interna de "Volver/Cerrar" se oculta: el navbar persistente (logo =
   volver, links = navegar, ESC = cerrar) cumple ahora esa función, estilo matveyan. */
.case-topbar { display: none; }
.case-back {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 8px 0;
  transition: color 0.2s;
}
.case-back:hover { color: var(--white); }
.case-close {
  background: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  width: 38px; height: 38px; border-radius: 50%;
  color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.case-close:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }

/* ===== CASE HERO (estilo matveyan: imagen grande + texto encima, parallax solo en imagen) ===== */
.case-hero-wrap {
  position: relative;
  height: 72vh;
  min-height: 440px;
  overflow: hidden;
  flex-shrink: 0;
}
/* Glitch container — 5 capas con la misma imagen, animaciones activadas en hover */
.case-hero-glitch {
  position: absolute;
  inset: -8%;
  filter: saturate(0.55);
  transition: filter 0.5s;
}
.case-hero-wrap:hover .case-hero-glitch { filter: saturate(1); }

.c-glitch__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  transition: transform 1s;
}
.case-hero-wrap:hover .c-glitch__img { transform: scale(1.02); }
.c-glitch__img:nth-child(n+2) { opacity: 0; }
.case-hero-wrap:hover .c-glitch__img:nth-child(n+2) {
  animation-duration: 2s;
  animation-delay: 0s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}
.case-hero-wrap:hover .c-glitch__img:nth-child(2) { animation-name: glitch-anim-1; }
.case-hero-wrap:hover .c-glitch__img:nth-child(3) { animation-name: glitch-anim-2; }
.case-hero-wrap:hover .c-glitch__img:nth-child(4) { animation-name: glitch-anim-3; }
.case-hero-wrap:hover .c-glitch__img:nth-child(5) {
  animation-name: glitch-anim-4;
  background-blend-mode: overlay;
  background-color: #af4949;
}

@keyframes glitch-anim-1 {
  0%,to  { opacity:1; transform:translate3d(40px,0,0) scale3d(-1,-1,1); clip-path:polygon(0 2%,100% 2%,100% 5%,0 5%) }
  20%    { clip-path:polygon(0 15%,100% 15%,100% 15%,0 15%) }
  30%    { clip-path:polygon(0 10%,100% 10%,100% 20%,0 20%) }
  40%    { clip-path:polygon(0 1%,100% 1%,100% 2%,0 2%) }
  50%    { clip-path:polygon(0 33%,100% 33%,100% 33%,0 33%) }
  55%    { clip-path:polygon(0 44%,100% 44%,100% 44%,0 44%) }
  60%    { clip-path:polygon(0 50%,100% 50%,100% 20%,0 20%) }
  65%    { clip-path:polygon(0 70%,100% 70%,100% 70%,0 70%) }
  70%    { clip-path:polygon(0 80%,100% 80%,100% 80%,0 80%) }
  80%    { clip-path:polygon(0 50%,100% 50%,100% 55%,0 55%) }
  85%    { clip-path:polygon(0 60%,100% 60%,100% 65%,0 65%) }
  95%    { clip-path:polygon(0 72%,100% 72%,100% 78%,0 78%) }
}
@keyframes glitch-anim-2 {
  0%,to  { opacity:1; transform:translate3d(-10px,0,0); clip-path:polygon(0 25%,100% 25%,100% 30%,0 30%) }
  10%    { clip-path:polygon(0 3%,100% 3%,100% 3%,0 3%) }
  15%    { clip-path:polygon(0 5%,100% 5%,100% 20%,0 20%) }
  17%    { clip-path:polygon(0 20%,100% 20%,100% 20%,0 20%) }
  19%    { clip-path:polygon(0 40%,100% 40%,100% 40%,0 40%) }
  33%    { clip-path:polygon(0 52%,100% 52%,100% 59%,0 59%) }
  35%    { clip-path:polygon(0 60%,100% 60%,100% 60%,0 60%) }
  40%    { clip-path:polygon(0 75%,100% 75%,100% 75%,0 75%) }
  45%    { clip-path:polygon(0 65%,100% 65%,100% 40%,0 40%) }
  49%    { clip-path:polygon(0 45%,100% 45%,100% 50%,0 50%) }
  50%    { clip-path:polygon(0 14%,100% 14%,100% 33%,0 33%) }
  55%    { clip-path:polygon(0 15%,100% 15%,100% 35%,0 35%) }
  60%    { clip-path:polygon(0 15%,100% 15%,100% 15%,0 15%) }
  70%    { clip-path:polygon(0 65%,100% 65%,100% 60%,0 60%) }
  80%    { clip-path:polygon(0 80%,100% 80%,100% 85%,0 85%) }
  90%    { clip-path:polygon(0 55%,100% 55%,100% 65%,0 65%) }
}
@keyframes glitch-anim-3 {
  0%,to  { opacity:1; transform:translate3d(0,-5px,0) scale3d(-1,-1,1); clip-path:polygon(0 1%,100% 1%,100% 3%,0 3%) }
  5%     { clip-path:polygon(0 10%,100% 10%,100% 9%,0 9%) }
  11%    { clip-path:polygon(0 5%,100% 5%,100% 6%,0 6%) }
  20%    { clip-path:polygon(0 20%,100% 20%,100% 20%,0 20%) }
  25%    { clip-path:polygon(0 10%,100% 10%,100% 10%,0 10%) }
  35%    { clip-path:polygon(0 30%,100% 30%,100% 25%,0 25%) }
  42%    { clip-path:polygon(0 15%,100% 15%,100% 16%,0 16%) }
  48%    { clip-path:polygon(0 40%,100% 40%,100% 39%,0 39%) }
  50%    { clip-path:polygon(0 20%,100% 20%,100% 21%,0 21%) }
  56%    { clip-path:polygon(0 60%,100% 60%,100% 55%,0 55%) }
  61%    { clip-path:polygon(0 30%,100% 30%,100% 31%,0 31%) }
  68%    { clip-path:polygon(0 70%,100% 70%,100% 69%,0 69%) }
  72%    { clip-path:polygon(0 40%,100% 40%,100% 41%,0 41%) }
  77%    { clip-path:polygon(0 80%,100% 80%,100% 75%,0 75%) }
  81%    { clip-path:polygon(0 50%,100% 50%,100% 51%,0 51%) }
  86%    { clip-path:polygon(0 90%,100% 90%,100% 90%,0 90%) }
  90%    { clip-path:polygon(0 60%,100% 60%,100% 60%,0 60%) }
  92%    { clip-path:polygon(0 100%,100% 100%,100% 99%,0 99%) }
  94%    { clip-path:polygon(0 70%,100% 70%,100% 71%,0 71%) }
}
@keyframes glitch-anim-4 {
  0%,5%    { opacity:.2; transform:translate3d(10px,5px,0) }
  5.5%,to  { opacity:0; transform:translateZ(0) }
}
.case-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.82) 100%);
  z-index: 1;
}
.case-hero-text {
  position: absolute;
  bottom: 60px;
  left: 60px;
  right: 60px;
  z-index: 2;
}
.case-hero-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.case-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}
.case-hero-title em { font-style: normal; color: rgba(255,255,255,0.38); }

@media (max-width: 700px) {
  .case-hero-wrap { height: 55vh; min-height: 320px; }
  .case-hero-text { bottom: 36px; left: 24px; right: 24px; }
}

.case-inner {
  max-width: 1140px; margin: 0 auto; padding: 60px 40px 100px;
  position: relative; z-index: 1; /* por encima del canvas de partículas */
}

/* Cabecera: descripción + meta (título/kicker ahora viven en .case-hero-text) */
.case-header { padding: 0 0 60px; }
.case-kicker {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.case-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 66px);
  font-weight: 300; line-height: 1.05; letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 22px;
}
.case-title em { font-style: normal; color: rgba(255,255,255,0.35); }
.case-desc {
  font-family: var(--font-body); font-size: 16px; font-weight: 300;
  line-height: 1.7; color: rgba(255,255,255,0.6);
  max-width: 560px; margin: 0 0 26px;
}
.case-meta {
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Secciones modulares por categoría */
.case-group { margin-bottom: 110px; }
.case-group-label {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 26px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.case-group-label span {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white);
}
.case-group-label i {
  font-style: normal;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.case-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.case-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #111;
  border-radius: 12px;
  overflow: hidden;
}
.case-card {
  background: transparent;
  display: flex; flex-direction: column;
  border: none;
  transition: filter 0.12s linear, opacity 0.12s linear;
}
.case-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  overflow: hidden;
}
.case-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%);
  pointer-events: none; z-index: 1;
}
.case-card-img img { max-width: 88%; max-height: 88%; object-fit: contain; }
.case-card-ph { font-size: 40px; color: rgba(255,255,255,0.18); }
.case-card-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #000; background: var(--white);
  padding: 5px 9px;
}
.case-card-body {
  padding: 20px 20px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.case-card-cat {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.case-card-name {
  font-family: var(--font-body); font-size: 17px; font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white);
  margin: 0 0 10px;
}
.case-card-desc {
  font-family: var(--font-body); font-size: 13px; font-weight: 300;
  line-height: 1.6; color: rgba(255,255,255,0.5);
  margin: 0 0 18px; flex: 1;
}
.case-card-actions { display: flex; gap: 10px; }
.case-spec {
  flex: 1; background: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 10px 8px;
  transition: border-color 0.2s, color 0.2s;
}
.case-spec:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.case-wa {
  flex: 1; text-align: center;
  background: var(--white); color: #000;
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 8px;
  transition: opacity 0.2s;
}
.case-wa:hover { opacity: 0.85; }

.case-footer { text-align: center; padding-top: 30px; }
.case-cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 34px;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white);
  transition: background 0.25s, color 0.25s;
}
.case-cta:hover { background: var(--white); color: #000; }

/* ===== CASE END — sección final estilo matveyan (descripción + redes + texto gigante + aura) ===== */
.case-end {
  position: relative;
  overflow: hidden;
}
.case-end-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.case-end-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin: 0 0 22px;
}
.case-end-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.case-end-bio {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.48);
  margin: 0 0 44px;
  max-width: 560px;
}
.case-end .case-socials {
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
/* Crowd image al final del case view */
.case-end-big {
  position: relative;
  height: 420px;
  overflow: hidden;
  line-height: 0;
}
.case-end-crowd {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
}
.case-end-crowd-img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(0.35) contrast(1.1);
  mix-blend-mode: screen;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    transparent 28%,
    rgba(0,0,0,0.25) 42%,
    rgba(0,0,0,0.7) 58%,
    #000 74%,
    #000 100%
  );
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    transparent 28%,
    rgba(0,0,0,0.25) 42%,
    rgba(0,0,0,0.7) 58%,
    #000 74%,
    #000 100%
  );
}
.case-end-crowd::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    #000 0%,
    #000 22%,
    rgba(0,0,0,0.88) 38%,
    rgba(0,0,0,0.4) 58%,
    transparent 80%
  );
}

@media (max-width: 600px) {
  .case-end-inner { padding: 60px 24px 40px; }
  .case-end-big { height: 280px; }
}

/* ----- Vista de cotización de evento: recomendación + precio aprox ----- */
.eq-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.eq-section-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding-bottom: 18px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.eq-list { list-style: none; margin: 0; padding: 0; }
.eq-item {
  display: flex; flex-direction: row; align-items: center; gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.eq-item:last-child { border-bottom: none; }
.eq-item-img {
  width: 66px; height: 66px; flex-shrink: 0;
  background: radial-gradient(circle at 50% 38%, #181818, #0a0a0a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.eq-item-img img { max-width: 82%; max-height: 82%; object-fit: contain; display: block; }
.eq-item-text { display: flex; flex-direction: column; gap: 4px; }
.eq-item-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 400;
  letter-spacing: 0.02em; color: var(--white); line-height: 1.1;
}
.eq-item-type {
  font-family: var(--font-body); font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.eq-price-box {
  position: sticky; top: 92px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.eq-price-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.eq-price {
  font-family: var(--font-display); font-size: clamp(32px, 4vw, 44px);
  font-weight: 300; color: var(--white); line-height: 1;
}
.eq-price-note {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-top: 10px; margin-bottom: 26px;
}
.eq-price-cta {
  display: block; text-align: center;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
  padding: 15px 18px;
  transition: background 0.25s, color 0.25s;
}
.eq-price-cta:hover { background: var(--white); color: #000; }
.eq-price-fine {
  font-family: var(--font-body); font-size: 11px; font-weight: 300;
  line-height: 1.6; color: rgba(255,255,255,0.4);
  margin-top: 18px;
}

/* ======== COTIZACIÓN DE EVENTO — paquetes "de pie", spotlight al pasar el mouse ======== */
.eq-pkg-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 64px;
}
.eq-pkg-card {
  flex: 1 1 300px;
  max-width: 380px;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.22,1,.36,1), filter .5s ease,
              opacity .5s ease, flex-grow .5s ease, box-shadow .5s ease,
              border-color .5s ease;
}
/* estado neutro: todas nítidas, sin selección activa */
.eq-pkg-list.eq-hovering .eq-pkg-card {
  filter: blur(3px);
  opacity: 0.4;
  transform: scale(0.93);
}
.eq-pkg-list.eq-hovering .eq-pkg-card.eq-active {
  filter: none;
  opacity: 1;
  transform: scale(1.045) translateY(-6px);
  flex-grow: 1.35;
  z-index: 2;
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
.eq-pkg-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.eq-pkg-cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

@media (max-width: 860px) {
  .eq-body { grid-template-columns: 1fr; gap: 36px; }
  .eq-price-box { position: static; }
}
@media (max-width: 640px) {
  .eq-pkg-list.eq-hovering .eq-pkg-card { filter: none; opacity: 0.55; transform: none; }
  .eq-pkg-list.eq-hovering .eq-pkg-card.eq-active { transform: scale(1.02); flex-grow: 1; }
}
@media (max-width: 600px) {
  .case-row { grid-template-columns: 1fr; }
  .case-inner { padding: 80px 20px 80px; }
  .case-header { padding: 16px 0 50px; }
}

/* ============================================================
   LOADER — REJILLA DE CUADROS (estilo matveyan)
   Entrada: los cuadros aparecen en cascada diagonal.
   Mientras tanto se ve el número de carga (0→100%).
   Salida: los cuadros colapsan en cascada y revelan la página.
   ============================================================ */
.sd-grid {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 18), 1fr);
  grid-template-rows: repeat(var(--rows, 18), 1fr);
  pointer-events: none;
}
.sd-cell {
  /* bloques #111 como matveyan; se animan SOLO por opacity */
  background: #111;
  border: none;
  opacity: 0;
  /* entrada: scatter aleatorio (delay --ri por bloque, ventana 0.5s), rápido */
  animation: sdCellIn 0.14s linear both;
  animation-delay: calc(var(--ri, 0) * 0.5s);
}
@keyframes sdCellIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* Salida: DISPERSIÓN ALEATORIA (delay --ro, ventana 0.75s) — réplica exacta de
   matveyan: stagger {amount:.75, from:random}, duration .1, ease linear */
.sd-grid--out .sd-cell {
  animation: sdCellOut 0.1s linear both;
  animation-delay: calc(var(--ro, 0) * 0.75s);
}
@keyframes sdCellOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* El contenido del loader (logo, número, barra) por encima de la rejilla */
#sd-loader .sd-loader-logo,
#sd-loader .sd-loader-status,
#sd-loader .sd-loader-bar-track,
.case-loader .sd-loader-logo,
.case-loader .sd-loader-status,
.case-loader .sd-loader-bar-track { position: relative; z-index: 2; }

/* Fase de revelado: el fondo del loader se transparenta y el contenido se desvanece,
   dejando solo los cuadros colapsando */
#sd-loader.sd-revealing,
.case-loader.sd-revealing { background: transparent; }
/* contenido sale con fade + blur (como matveyan: .loaderContent.hide) */
#sd-loader.sd-revealing .sd-loader-logo,
#sd-loader.sd-revealing .sd-loader-status,
#sd-loader.sd-revealing .sd-loader-bar-track,
.case-loader.sd-revealing .sd-loader-logo,
.case-loader.sd-revealing .sd-loader-status,
.case-loader.sd-revealing .sd-loader-bar-track {
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   REDES SOCIALES — al final del case view (estilo matveyan)
   Mismo lenguaje que los links del nav (mayúsculas, tracking, scramble).
   ============================================================ */
.case-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 34px;
  padding: 56px 0 8px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.case-soc-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.case-soc-link svg { width: 16px; height: 16px; flex: none; }
.case-soc-link .soc-label { min-width: 0; }
.case-soc-link:hover { color: var(--white); }
.case-view.eq-mode .case-soc-link:hover { color: var(--eq-accent, var(--white)); }
@media (max-width: 600px) {
  .case-socials { gap: 14px 22px; padding: 40px 0 4px; }
  .case-soc-link { font-size: 11px; }
}
