/* ==========================================================================
   BESTER // PORTAFOLIO OFICIAL 2026 — STYLESHEET
   Paleta Oficial Exacta:
   --white: #FFFFFF
   --purple-main: #7C03FA
   --purple-light: #A632FF
   --bg-card: #0A0A16
   --text-muted: rgba(214, 215, 219, 0.8)
   --black: #000000
   --border-indigo: #23225F
   Tipografía Única: 'Montserrat', sans-serif
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. PALETA DE COLORES EXACTA (VARIABLES CSS OBLIGATORIAS)
   -------------------------------------------------------------------------- */
:root {
  --white: #FFFFFF;
  --purple-main: #7C03FA;
  --purple-light: #A632FF;
  --bg-card: #0A0A16;
  --text-muted: rgba(214, 215, 219, 0.8);
  --black: #000000;
  --border-indigo: #23225F;
  --font-family: 'Montserrat', sans-serif;

  --glow-purple-main: 0 0 25px rgba(124, 3, 250, 0.6);
  --glow-purple-light: 0 0 35px rgba(166, 50, 255, 0.75);
}

/* --------------------------------------------------------------------------
   02. BASE RESETS & TIPOGRAFÍA GLOBAL (ÚNICAMENTE MONTSERRAT)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family) !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--black);
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}


::selection {
  background-color: var(--purple-main);
  color: var(--white);
}

/* Interlineado y Escala Tipográfica de Precisión UX / UI (Proporción Áurea) */
h1, h2, h3, .headline-massive {
  line-height: 1.14 !important;
}

.hero-title {
  font-size: clamp(1.85rem, 2.75vw, 2.75rem);
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.5rem, 2.15vw, 2.2rem);
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
}

/* Pesos Tipográficos */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none { line-height: 1.1; }
.leading-tight { line-height: 1.18; }
.leading-relaxed { line-height: 1.625; }

.text-xs { font-size: 0.72rem; line-height: 1rem; }
.text-sm { font-size: 0.825rem; line-height: 1.25rem; }
.text-base { font-size: 0.925rem; line-height: 1.45rem; }
.text-lg { font-size: 1.05rem; line-height: 1.55rem; }
.text-xl { font-size: 1.2rem; line-height: 1.65rem; }
.text-2xl { font-size: 1.45rem; line-height: 1.85rem; }
.text-3xl { font-size: 1.75rem; line-height: 2.15rem; }
.text-4xl { font-size: 2rem; line-height: 2.35rem; }
.text-5xl { font-size: 2.35rem; line-height: 1.15; }
.text-6xl { font-size: 2.85rem; line-height: 1.12; }
.text-7xl { font-size: 3.35rem; line-height: 1.1; }

.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-zinc-300 { color: var(--text-muted); }
.text-zinc-400 { color: rgba(214, 215, 219, 0.65); }
.text-zinc-500 { color: rgba(214, 215, 219, 0.45); }
.text-purple-main { color: var(--purple-main); }
.text-purple-light { color: var(--purple-light); }

.text-neon-purple {
  color: var(--purple-main);
  text-shadow: 0 0 25px rgba(124, 3, 250, 0.75), 0 0 50px rgba(124, 3, 250, 0.45);
}

/* --------------------------------------------------------------------------
   03. TEXTURA DE PAPEL NEGRO (VISIBLE Y ORGÁNICA) Y RETÍCULA TÉCNICA
   -------------------------------------------------------------------------- */

/* Textura orgánica visible de papel negro / cartulina fina por encima de todo */
.paper-texture-overlay,
.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none !important;
  z-index: 9990 !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperGrain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperGrain)' opacity='0.38'/%3E%3C/svg%3E");
  opacity: 0.75;
  mix-blend-mode: screen;
}

/* Retícula Delgada (#23225F) que NO se ve en el Hero/Home y aparece a partir de Especialidades */
.tech-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-size: 44px 44px;
  background-image: 
    linear-gradient(to right, rgba(35, 34, 95, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35, 34, 95, 0.4) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 85vh, black 105vh, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 85vh, black 105vh, black 100%);
}

/* --------------------------------------------------------------------------
   04. REGLA OBLIGATORIA: RECUADROS CON ÁNGULOS RECTOS (SOLO BOTONES REDONDEADOS)
   -------------------------------------------------------------------------- */
.single-specialty-card,
.project-card,
.quote-card,
.quote-input,
input[type="text"],
input[type="email"],
textarea,
select,
.bento-mockup,
.preview-box,
.panel {
  border-radius: 0px !important;
}

/* --------------------------------------------------------------------------
   05. LAYOUT & UTILIDADES BÁSICAS
   -------------------------------------------------------------------------- */
.site-container {
  max-width: 1180px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 4rem;
  padding-right: 4rem;
}

@media (max-width: 767px) {
  .site-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-xl { max-width: 36rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }

.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.-mt-2 { margin-top: -0.5rem; }
.-mt-4 { margin-top: -1rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-0\.5 { gap: 0.125rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-3 { row-gap: 0.75rem; }

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-24 > * + * { margin-top: 6rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-span-12 { grid-column: span 12 / span 12; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-4 { grid-column: span 4 / span 4; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.cursor-pointer { cursor: pointer; }
.rounded { border-radius: 4px; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-indigo { border-color: var(--border-indigo); }
.border-black { border-color: var(--black); }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 250ms; }
.duration-300 { transition-duration: 300ms; }
.hidden { display: none; }
.block { display: block; }

/* --------------------------------------------------------------------------
   06. CUSTOM PRECISION FOLLOWER CURSOR
   -------------------------------------------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  mix-blend-mode: screen;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--purple-light);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--purple-light);
  transition: transform 0.15s ease;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(166, 50, 255, 0.6);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, border-color 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-cross-h, .cursor-cross-v {
  position: absolute;
  background-color: var(--purple-light);
  opacity: 0.8;
}

.cursor-cross-h {
  width: 10px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cursor-cross-v {
  width: 1px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--purple-light);
  background-color: rgba(166, 50, 255, 0.18);
}

body.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(1.6);
}

@media (pointer: coarse) {
  .custom-cursor { display: none !important; }
}

/* --------------------------------------------------------------------------
   07. TOP BAR & NAVBAR
   -------------------------------------------------------------------------- */
.top-broadcast-bar,
.hud-top-bar {
  background-color: #23225F !important;
  min-height: 38px !important;
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(166, 50, 255, 0.35);
}

.top-broadcast-bar .site-container,
.hud-top-bar .site-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.purple-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 8px #A632FF, 0 0 16px #7C03FA, 0 0 24px #7C03FA !important;
  animation: pulsePurpleDot 1.4s infinite ease-in-out;
}

@keyframes pulsePurpleDot {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.95;
    box-shadow: 0 0 8px #A632FF, 0 0 16px #7C03FA, 0 0 24px #7C03FA !important;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 12px #A632FF, 0 0 24px #7C03FA, 0 0 36px #7C03FA !important;
  }
}

nav#main-nav {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-top: 0.85rem !important;
  padding-bottom: 0.5rem !important;
  width: 100%;
  margin-bottom: -88px !important;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Caja Rectangular Flotante de la Navbar con Relleno Negro y Trazo Fino */
.nav-floating-box {
  background-color: #05050A !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 0px !important;
  min-height: 68px !important;
  padding: 0.65rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-floating-box .btn-purple {
  background-color: #A632FF !important;
  padding: 0.6rem 1.35rem !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.06em !important;
  margin: 0 !important;
}

/* Logo Bester en Navbar (Más chico que el alto del botón morado ~38px para preservar grosor) */
.nav-brand-logo {
  height: 22px;
  max-height: 24px;
  width: auto;
}

@media (min-width: 640px) {
  .nav-brand-logo {
    height: 24px;
    max-height: 26px;
  }
}

.nav-item {
  position: relative;
  text-decoration: none;
  font-weight: 700;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--purple-light);
  box-shadow: 0 0 8px var(--purple-light);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover::after {
  width: 100%;
}

/* Botón Morado Redondeado (COTIZAR AHORA & VER SHOWREEL) */
.btn-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--purple-light);
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(166, 50, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-purple:hover {
  background-color: var(--white);
  color: var(--black);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

/* Botón Rectangular Negro Trazo Blanco 1px (CONOCER ORIGEN MONO) */
.btn-hero-origenmono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  border-radius: 0px !important; /* Ángulos rectos */
  padding: 0.65rem 1.5rem;
  font-family: var(--font-family);
  font-weight: 600; /* Tipografía más equilibrada */
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero-origenmono:hover {
  background-color: #FFFFFF;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   08. HERO / HOME (FONDO EXCLUSIVO #0A0A16 & NEON FLICKER ANIMADO)
   -------------------------------------------------------------------------- */
#hero {
  min-height: auto !important;
  background: linear-gradient(to bottom, #0A0A16 0%, #0A0A16 82%, #000000 100%) !important;
  position: relative;
  z-index: 10;
  overflow: visible;
  padding-top: 120px !important; /* Espacio para que nav#main-nav flote sobre el Hero y deje ~35px-45px con el título */
  padding-bottom: 4.5rem !important;
}

.hero-left-col {
  position: relative !important;
  z-index: 40 !important; /* Por encima de las cintas cruzadas para que nunca tapen los botones */
}

@media (min-width: 1024px) {
  .hero-left-col {
    transform: translateY(-35px);
  }
}

.hero-buttons-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1.5rem !important; /* 24px de separación para que nunca se junten */
}

#hero-parallax-container {
  perspective: 1000px;
}

.parallax-layer {
  transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Animación realista de parpadeo neón intermitente */
@keyframes neonFlicker {
  0%, 68%, 100% {
    opacity: 0.95;
    filter: drop-shadow(0 0 35px rgba(124, 3, 250, 0.9)) drop-shadow(0 0 85px rgba(124, 3, 250, 0.5));
  }
  69% {
    opacity: 0.25;
    filter: drop-shadow(0 0 5px rgba(124, 3, 250, 0.2));
  }
  70% {
    opacity: 0.9;
    filter: drop-shadow(0 0 30px rgba(124, 3, 250, 0.85));
  }
  71% {
    opacity: 0.15;
    filter: none;
  }
  72% {
    opacity: 0.95;
    filter: drop-shadow(0 0 35px rgba(124, 3, 250, 0.9)) drop-shadow(0 0 85px rgba(124, 3, 250, 0.5));
  }
  73% {
    opacity: 0.35;
    filter: drop-shadow(0 0 10px rgba(124, 3, 250, 0.3));
  }
  74% {
    opacity: 0.95;
    filter: drop-shadow(0 0 35px rgba(124, 3, 250, 0.9)) drop-shadow(0 0 85px rgba(124, 3, 250, 0.5));
  }
}

.parallax-tag {
  z-index: 10 !important;
}

/* Logo neón de fondo más grande y elevado detrás de hombros y gorra */
.parallax-tag-img {
  width: 118% !important;
  max-width: 740px !important;
  transform: scale(1.22) translateY(-22px) !important;
  transform-origin: center center;
  animation: neonFlicker 7.5s infinite ease-in-out;
}

/* Contenedor de ilustración: encima de tag neón pero debajo de cintas cruzadas */
.parallax-character {
  position: relative !important;
  z-index: 15 !important;
}

.parallax-character img,
.bester-character-img {
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.9));
  transform: scale(1.14);
  transform-origin: bottom center;
}

/* Degradado de transparencia inferior para evitar cortes bruscos */
img[src*="BESTER-ilustracion.png"],
img[src*="OM-letrero.png"] {
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}

/* Cintas Cruzadas Marquee entre Hero y Especialidades (Cruce en X sobre la ilustración) */
.hero-marquee-wrapper {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 30;
  pointer-events: none;
  overflow: visible;
}

.marquee-track {
  display: flex;
  width: 100%;
  user-select: none;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  animation: marqueeScroll 26s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Ribbon 1: danger.svg rotada a 6.5 grados, 46px de grosor, repetición continua */
.ribbon-danger-track {
  height: 46px !important;
  min-height: 46px !important;
  width: 130vw;
  left: -15vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(6.5deg);
  transform-origin: center center;
  z-index: 31; /* Encima de la ilustración (15), debajo de Ribbon 2 (32) y botones (40) */
  display: flex;
  align-items: center;
  background-image: url('../assets/img/danger.svg');
  background-repeat: repeat-x;
  background-size: auto 100%;
  animation: dangerTapeScroll 28s linear infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

@keyframes dangerTapeScroll {
  0% { background-position-x: 0; }
  100% { background-position-x: -1802.45px; }
}

/* Ribbon 2: Fondo índigo oscuro #12112A, bordes morados, texto #A632FF bold, rotada a -7.5 grados */
.ribbon-text-track {
  height: 46px !important;
  min-height: 46px !important;
  width: 130vw;
  left: -15vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-7.5deg);
  transform-origin: center center;
  z-index: 32; /* Hasta arriba: encima de Ribbon 1 (31) y de la ilustración (15) */
  display: flex;
  align-items: center;
  background-color: #12112A;
  border-top: 1.5px solid #7C03FA;
  border-bottom: 1.5px solid #7C03FA;
  box-shadow: 0 8px 30px rgba(124, 3, 250, 0.4), 0 0 15px rgba(166, 50, 255, 0.25);
  color: #A632FF;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   09. 01 // ARSENAL DE ESPECIALIDADES — LAS 6 LATAS DE AEROSOL
   -------------------------------------------------------------------------- */
#especialidades {
  background-color: transparent;
  border-top: 1px solid var(--border-indigo);
  position: relative;
  z-index: 5;
  overflow-x: clip; /* Asegura que la línea extendida no genere scrollbar horizontal */
  padding-top: 5.5rem !important; /* Espacio holgado para no tapar [ 01 // CORE CAPABILITIES ] */
}

.spray-cans-stage {
  position: relative;
  width: 100%;
}

.spray-cans-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-top: 3.5rem;
  position: relative;
  z-index: 5;
}

.spray-can-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  z-index: 1;
  flex: 0 1 auto;
}

.spray-can-img {
  width: auto !important;
  height: 320px;
  max-width: 100%;
  object-fit: contain !important;
  aspect-ratio: auto;
  transition: filter 0.3s ease;
  display: block;
}

/* Zoom-in suave hacia arriba al hacer hover o estar activa */
.spray-can-item:hover,
.spray-can-item.is-active {
  transform: scale(1.12) translateY(-10px);
  filter: drop-shadow(0 15px 30px rgba(124, 3, 250, 0.85)) drop-shadow(0 0 45px rgba(166, 50, 255, 0.45));
  z-index: 10;
}

/* Línea morada con efecto resplandor exterior que sobrepasa el ancho horizontal del dispositivo para evitar cortes laterales */
.floor-neon-bar-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 8px; /* Doble de grueso */
  background-color: var(--purple-main);
  box-shadow: 
    0 0 12px var(--purple-light),
    0 0 28px var(--purple-main),
    0 0 55px var(--purple-main),
    0 0 95px rgba(124, 3, 250, 0.85);
  margin-top: 0;
}

.floor-neon-bar-fullwidth::before {
  content: '';
  position: absolute;
  inset: -6px -50px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='sprayNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3'/%3E%3CfeColorMatrix type='matrix' values='0.5 0 0 0 0.65  0 0.1 0 0 0.1  0 0 1 0 1  0 0 0 0.85 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23sprayNoise)'/%3E%3C/svg%3E");
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: blur(1.5px);
}

.floor-purple-pool-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 75px;
  background: radial-gradient(ellipse at top, rgba(124, 3, 250, 0.5) 0%, rgba(124, 3, 250, 0.18) 50%, transparent 80%);
  filter: blur(14px);
  pointer-events: none;
}

/* Fallback si se usa .floor-neon-bar */
.floor-neon-bar {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 8px;
  background-color: var(--purple-main);
  box-shadow: 
    0 0 12px var(--purple-light),
    0 0 28px var(--purple-main),
    0 0 55px var(--purple-main),
    0 0 95px rgba(124, 3, 250, 0.85);
  margin-top: 0;
}

.floor-purple-pool {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 70px;
  background: radial-gradient(ellipse at top, rgba(124, 3, 250, 0.45) 0%, rgba(124, 3, 250, 0.1) 50%, transparent 80%);
  filter: blur(10px);
}

/* Recuadro único de especialidades (ÁNGULOS RECTOS & ALTO CONTRASTE) */
.single-specialty-card {
  background-color: var(--bg-card);
  border: 1px solid var(--purple-main);
  border-radius: 0px !important;
  box-shadow: 0 10px 40px rgba(124, 3, 250, 0.2), inset 0 0 25px rgba(124, 3, 250, 0.06);
  width: 100%;
  max-width: 780px;
  margin: 2.5rem auto 0 auto;
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 10;
}

.specialty-tag-text {
  color: var(--purple-main) !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.specialty-title-text {
  color: #FFFFFF !important;
  font-weight: 900;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  line-height: 1.15;
}

.specialty-desc-text {
  color: #D6D7DB !important;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Software Arsenal Technical Ticker (Loop animado lentamente de izquierda a derecha) */
.software-ticker-wrapper {
  border-top: 1px solid var(--border-indigo);
  border-bottom: 1px solid var(--border-indigo);
  overflow: hidden;
  position: relative;
  width: 100%;
  user-select: none;
}

.software-ticker-track {
  display: flex;
  width: max-content;
  animation: softwareTickerSlow 45s linear infinite;
  will-change: transform;
}

.software-ticker-wrapper:hover .software-ticker-track {
  animation-play-state: paused;
}

@keyframes softwareTickerSlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.software-item-span {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.software-slash {
  color: var(--purple-main);
  margin: 0 1.25rem;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   10. 02 // MI TRABAJO — CUADRÍCULA PROCEDURAL RESPONSIVA (2-3 HORIZONTAL)
   -------------------------------------------------------------------------- */
#trabajo {
  background-color: transparent;
  border-top: 1px solid var(--border-indigo);
  position: relative;
  z-index: 5;
}

.filter-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.5rem 1.15rem;
  background-color: transparent;
  border: 1px solid var(--border-indigo);
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.filter-pill:hover {
  border-color: var(--purple-light);
  background-color: rgba(124, 3, 250, 0.18);
  color: var(--white);
  box-shadow: 0 0 15px rgba(124, 3, 250, 0.35);
}

.filter-pill.active {
  background-color: var(--purple-main);
  border-color: var(--purple-main);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(124, 3, 250, 0.6);
}

/* Cuadrícula de Proyectos: 2 o 3 proyectos horizontalmente (ÁNGULOS RECTOS) */
.projects-responsive-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .projects-responsive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columnas en tablet */
  }
}

@media (min-width: 1024px) {
  .projects-responsive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columnas en desktop */
  }
}

/* Project Card (ÁNGULOS RECTOS & TAMAÑO ESCALABLE CONTROLADO) */
.project-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-indigo);
  border-radius: 0px !important; /* Ángulos rectos */
  overflow: hidden;
  cursor: pointer;
  height: 260px; /* Tamaño controlado para previsualización nítida */
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple-light);
  box-shadow: 0 15px 40px rgba(124, 3, 250, 0.4);
}

.project-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.project-card:hover .project-card-media {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.98) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  z-index: 2;
  pointer-events: none;
}

.project-card-ver-mas {
  color: var(--purple-light);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.project-card:hover .project-card-ver-mas {
  color: var(--white);
  text-shadow: 0 0 10px var(--purple-light);
}

/* --------------------------------------------------------------------------
   11. 03 // QUIÉN ES BESTERONER? & QUÉ ES ORIGEN MONO?
   -------------------------------------------------------------------------- */
#quien-eres {
  background-color: transparent;
  border-top: 1px solid var(--border-indigo);
  position: relative;
  z-index: 5;
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(2.5deg);
  }
}

.sign-wrap img {
  transition: transform 0.4s ease;
}

.sign-wrap:hover img {
  transform: scale(1.03) rotate(-1deg);
}

/* Botón Rectangular ORIGENMONO.COM */
.btn-origenmono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  background-color: var(--purple-main);
  color: var(--white);
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(124, 3, 250, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-origenmono:hover {
  background-color: var(--purple-light);
  color: var(--black);
  box-shadow: 0 0 30px rgba(166, 50, 255, 0.75);
  transform: translateY(-2px);
}

/* Tubo del letrero que baja hacia la cotización */
.sign-pole-extension {
  background: linear-gradient(to right, #71717A 0%, #D4D4D8 45%, #E4E4E7 55%, #71717A 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.seccion-liquida {
  position: relative;
  width: 100%;
  min-height: auto;
  background-color: #7900ff; /* Morado vibrante oficial */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor que aplica el filtro viscoso (Gooey) */
.drip-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: url('#gooey-effect');
  z-index: 1;
  pointer-events: none;
}

/* Barra superior negra base */
.top-bar {
  position: absolute;
  top: -20px;
  left: -5%;
  width: 110%;
  height: 90px;
  background: #000000;
}

/* Estilo base para cada chorro/gota que escurre */
.drip {
  position: absolute;
  top: 40px;
  background: #000000;
  border-radius: 0 0 50px 50px;
  transform-origin: top center;
}

/* Huecos redondeados invertidos */
.drip::before, .drip::after {
  content: '';
  position: absolute;
  top: 15px;
  width: 40px;
  height: 40px;
  background: #000000;
  border-radius: 50%;
}
.drip::before { left: -20px; }
.drip::after { right: -20px; }

/* Configuración de cada chorro */
.drip-1 {
  left: 8%;
  width: 24px;
  height: 65vh;
  animation: escurrir-lento 6s ease-in-out infinite alternate;
}

.drip-2 {
  left: 26%;
  width: 42px;
  height: 110vh;
}

.drip-3 {
  left: 45%;
  width: 22px;
  height: 110vh;
}

.drip-4 {
  left: 58%;
  width: 28px;
  height: 30vh;
  animation: escurrir-corto 4s ease-in-out infinite alternate;
}

.drip-5 {
  left: 72%;
  width: 20px;
  height: 22vh;
  animation: escurrir-corto 5s ease-in-out infinite alternate-reverse;
}

.drip-6 {
  left: 88%;
  width: 24px;
  height: 85vh;
  animation: escurrir-lento 7s ease-in-out infinite alternate-reverse;
}

/* Gotas que se desprenden y caen lentas (modificadas para caer despacio y viscoso) */
.falling-drop {
  position: absolute;
  background: #000000;
  width: 24px;
  height: 35px;
  border-radius: 50%;
  top: 50px;
  animation: gota-cayendo-lenta 9.5s cubic-bezier(0.4, 0, 0.7, 1) infinite;
}

.drop-1 {
  left: 58%;
  animation-delay: 1.5s;
}

.drop-2 {
  left: 72%;
  width: 18px;
  height: 28px;
  animation-duration: 11.5s;
  animation-delay: 5s;
}

@keyframes escurrir-lento {
  0% { transform: scaleY(0.85); }
  100% { transform: scaleY(1.08); }
}

@keyframes escurrir-corto {
  0% { transform: scaleY(0.6); }
  100% { transform: scaleY(1.3); }
}

/* Animación de caída lenta y pesada */
@keyframes gota-cayendo-lenta {
  0% {
    transform: translateY(0) scaleY(1);
  }
  25% {
    transform: translateY(22vh) scaleY(1.7) scaleX(0.85);
  }
  35% {
    transform: translateY(35vh) scaleY(1.1) scaleX(1);
  }
  100% {
    transform: translateY(115vh) scaleY(1.2);
  }
}

/* Tarjeta de Cotización Compacta según Imagen 1 */
.quote-card-wrapper {
  width: 92%;
  max-width: 620px !important;
  margin: 1.5rem auto 0 auto;
  position: relative;
  z-index: 20;
}

.quote-card {
  position: relative;
  z-index: 2;
  background-color: var(--bg-card);
  border: 1px solid var(--border-indigo);
  border-radius: 0px !important; /* Ángulos rectos */
  padding: 2rem 2.25rem !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  width: 100%;
}

.quote-input {
  width: 100%;
  height: 44px;
  padding: 0 1rem;
  background: #070710;
  border: 1px solid var(--border-indigo);
  border-radius: 0px !important; /* Ángulos rectos */
  outline: none;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.825rem;
  transition: all 0.3s ease;
}

.quote-input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 12px rgba(166, 50, 255, 0.4);
}

textarea.quote-input,
.quote-textarea {
  height: auto !important;
  min-height: 120px !important;
  padding: 0.75rem 1rem !important;
  resize: vertical;
}

/* Botón ENVIAR Morado Brillante #A632FF con Texto Negro Bold */
.btn-submit-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2.25rem;
  background-color: var(--purple-light);
  color: var(--black);
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(166, 50, 255, 0.5);
  transition: all 0.3s ease;
}

.btn-submit-quote:hover:not(:disabled) {
  background-color: var(--white);
  color: var(--black);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn-submit-quote:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:self-center { align-self: center; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:text-xs { font-size: 0.75rem; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-6xl { font-size: 3.75rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:pt-16 { padding-top: 4rem; }
  .lg\:pb-24 { padding-bottom: 6rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:block { display: block; }
}

/* --------------------------------------------------------------------------
   14. FOOTER & REDES SOCIALES OFICIALES (MINIMALISTA)
   -------------------------------------------------------------------------- */
.footer-main {
  background-color: var(--black);
  border-top: 1px solid var(--border-indigo);
  width: 100%;
}

.footer-isotipo {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  color: var(--white);
  border-color: rgba(166, 50, 255, 0.4);
  background-color: rgba(124, 3, 250, 0.15);
  box-shadow: 0 0 15px rgba(166, 50, 255, 0.35);
  transform: translateY(-1px);
}

.footer-social-link svg.social-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   15. AJUSTES ESPECÍFICOS MÓVIL Y TABLET: RESPONSIVE FINO
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .seccion-liquida {
    min-height: auto !important;
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .quote-card-wrapper {
    width: 95% !important;
    max-width: 100% !important;
    margin: 1rem auto 0 auto !important;
  }

  .quote-card {
    padding: 1.5rem 1.25rem !important;
    width: 100% !important;
  }

  .quote-input {
    height: 42px !important;
    padding: 0 0.85rem !important;
    font-size: 0.78rem !important;
  }

  textarea.quote-input,
  .quote-textarea {
    min-height: 100px !important;
    padding: 0.65rem 0.85rem !important;
  }

  .btn-submit-quote {
    width: 100% !important;
    padding: 0.7rem 1.5rem !important;
    font-size: 0.8rem !important;
    margin-top: 0.25rem !important;
  }

  /* Aerosoles en móvil: 6 en una sola línea horizontal compacta */
  .spray-cans-row {
    margin-top: 1.5rem !important;
    gap: 4px;
  }

  .spray-can-img {
    width: auto !important;
    height: 80px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .spray-cans-stage {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .spray-can-item:hover,
  .spray-can-item.is-active {
    transform: scale(1.08) translateY(-4px) !important;
  }

  .single-specialty-card {
    padding: 1.25rem 1rem !important;
    margin-top: 1.5rem !important;
  }

  .footer-main {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .spray-cans-row {
    margin-top: 2.5rem !important;
  }
  .spray-can-img {
    width: auto !important;
    height: 200px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}

/* --------------------------------------------------------------------------
   16. PÁGINAS DE GALERÍA DEDICADAS (ANIMACIÓN, FLYERS, STREAMING, ETC.)
   -------------------------------------------------------------------------- */
.gallery-hero-header {
  min-height: auto !important;
  background: linear-gradient(to bottom, #0A0A16 0%, #0A0A16 85%, #000000 100%) !important;
  position: relative;
  z-index: 10;
  padding-top: 120px !important;
  padding-bottom: 3.5rem !important;
}

.gallery-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.cat-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.15rem;
  background-color: rgba(10, 10, 22, 0.85);
  border: 1px solid var(--border-indigo);
  color: var(--text-muted);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cat-nav-pill:hover {
  border-color: var(--purple-light);
  background-color: rgba(124, 3, 250, 0.2);
  color: var(--white);
  box-shadow: 0 0 15px rgba(124, 3, 250, 0.35);
  transform: translateY(-2px);
}

.cat-nav-pill.active {
  background-color: var(--purple-main) !important;
  border-color: var(--purple-main) !important;
  color: var(--white) !important;
  box-shadow: 0 0 25px rgba(124, 3, 250, 0.65) !important;
}

/* Botón Explorar Galería Completa en Home */
.btn-explore-gallery {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  border: 1px solid var(--purple-main);
  color: var(--purple-light);
  padding: 0.5rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-explore-gallery:hover {
  background-color: var(--purple-main);
  color: var(--white);
  box-shadow: 0 0 20px rgba(124, 3, 250, 0.5);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   17. CINEMA VIDEO MODAL (REPRODUCTOR OSCURO CON AUDIO & ACCIÓN BEHANCE)
   -------------------------------------------------------------------------- */
.cinema-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 5, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cinema-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cinema-modal-dialog {
  background-color: #0A0A16;
  border: 1px solid var(--border-indigo);
  border-radius: 0px !important;
  max-width: 960px;
  width: 100%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(124, 3, 250, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-modal-backdrop.is-open .cinema-modal-dialog {
  transform: scale(1);
}

.cinema-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-indigo);
  background-color: #06060C;
}

.cinema-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cinema-modal-tag {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--purple-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cinema-modal-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cinema-modal-close {
  background: none;
  border: 1px solid var(--border-indigo);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 900;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cinema-modal-close:hover {
  background-color: #EF4444;
  border-color: #EF4444;
  color: var(--white);
  transform: scale(1.05);
}

.cinema-player-box {
  position: relative;
  width: 100%;
  background-color: #000000;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-player-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000000;
}

.cinema-player-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.cinema-modal-footer {
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: #06060C;
  border-top: 1px solid var(--border-indigo);
}

.cinema-modal-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.45;
}

.cinema-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


