@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/* ==========================================================================
   SISTEMA DE DISEÑO & VARIABLES (ESTILO ANTIGRAVITY / SPLINE)
   ========================================================================== */
:root {
  --bg-deep: hsl(224, 71%, 4%);
  --bg-dark: hsl(224, 60%, 6%);
  --bg-card: hsla(224, 60%, 10%, 0.35);
  
  --accent-cyan: hsl(180, 100%, 50%);
  --accent-cyan-glow: hsla(180, 100%, 50%, 0.15);
  --accent-purple: hsl(275, 100%, 60%);
  --accent-purple-glow: hsla(275, 100%, 60%, 0.15);
  --accent-pink: hsl(325, 100%, 50%);
  
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 75%);
  --text-muted: hsl(215, 15%, 55%);
  
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 229, 255, 0.15);
  
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  --neon-gradient: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  --btn-gradient: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Instrument Serif', serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 10% 20%, hsla(275, 100%, 60%, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, hsla(180, 100%, 50%, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: hsla(255, 255, 255, 0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ==========================================================================
   COMPONENTES GLASSMORPHISM (ESTILO SPLINE / LUXURY)
   ========================================================================== */
.glass-card {
  position: relative;
  background: var(--glass-gradient);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  transition: 0.75s ease;
  pointer-events: none;
  z-index: 2;
}

.glass-card:hover::before {
  left: 150%;
}

/* Spotlight Atmosférico de Sección (Estilo Antigravity Global) */
section {
  position: relative;
  z-index: 2;
}

section::before {
  content: '';
  position: absolute;
  top: var(--section-mouse-y, 50%);
  left: var(--section-mouse-x, 50%);
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease, top 0.2s cubic-bezier(0.16, 1, 0.3, 1), left 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

section:hover::before {
  opacity: 0.6;
}

section:nth-of-type(even)::before {
  background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
}


/* Estadísticas Editoriales en Hero (Estilo Antigravity Real - Idéntico al Mockup) */
.hero-stats-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
  margin-bottom: 2.2rem;
}

.hero-stats-row {
  display: flex;
  justify-content: flex-start;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.5s ease;
}

.hero-stat-item {
  position: relative;
  padding-right: 2.5rem;
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-num.text-cyan {
  color: var(--accent-cyan);
}

.stat-num.text-purple {
  color: var(--accent-purple);
}

.stat-num.text-pink {
  color: var(--accent-pink);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   NAVEGACIÓN (HEADER COMPACTO FLOTANTE DE LUJO)
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
  padding: 0.6rem 2rem;
  background: rgba(11, 15, 25, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  top: 0.8rem;
  background: rgba(8, 11, 19, 0.85);
  border-color: rgba(0, 229, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 229, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 18px var(--accent-cyan-glow);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.btn-nav {
  background: var(--btn-gradient);
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(191, 0, 255, 0.3);
  transition: var(--transition-smooth) !important;
  position: relative;
  overflow: hidden;
}

.btn-nav::after {
  display: none !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(191, 0, 255, 0.5);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================================================
   SECCIÓN HERO (MAQUETACIÓN ASIMÉTRICA DE LUJO 1:1)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 120px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(1.2) contrast(1.1);
  z-index: 1;
}

#heroParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  mask-image: radial-gradient(circle at 20% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 20% 40%, black 20%, transparent 80%);
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 55% 65% at var(--mouse-x, 60%) var(--mouse-y, 50%), hsla(180, 100%, 50%, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at var(--mouse-x, 65%) var(--mouse-y, 55%), hsla(275, 100%, 60%, 0.06) 0%, transparent 65%),
    radial-gradient(circle at center, transparent 20%, var(--bg-deep) 85%);
  z-index: 2;
  transition: background 0.1s ease;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, hsla(180, 100%, 50%, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1), left 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-3d-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  position: relative;
  animation: fadeInUp 1.6s ease;
}

/* Estructura Explosionada de Capas 3D */
.exploded-showcase {
  position: relative;
  width: 100%;
  max-width: 530px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.showcase-element {
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  pointer-events: none;
}

.showcase-element img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
}

.element-plates {
  top: 5%;
  width: 72%;
  z-index: 5;
  animation: float-plates 6s ease-in-out infinite;
}

@keyframes float-plates {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.element-cube {
  top: 26%;
  width: 82%;
  z-index: 4;
  animation: float-cube 6s ease-in-out infinite;
  animation-delay: 0.8s;
}

@keyframes float-cube {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

.element-gears {
  top: 36%;
  left: -8%;
  width: 32%;
  z-index: 3;
  animation: float-gears 7s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes float-gears {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-6deg); }
}

.element-lamp {
  top: 15%;
  right: -8%;
  width: 35%;
  z-index: 3;
  animation: float-lamp 8s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes float-lamp {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

.element-base {
  bottom: 2%;
  width: 90%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  border: 1px dashed rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.05);
  transform: rotateX(75deg);
  z-index: 1;
  animation: pulse-base 4s ease-in-out infinite;
}

@keyframes pulse-base {
  0%, 100% {
    opacity: 0.6;
    transform: rotateX(75deg) scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: rotateX(75deg) scale(1.04);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 750px;
  padding: 0 2rem;
}

.hero-tagline {
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.65rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInUp 0.8s ease;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 4.0rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-title .serif-line {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -1px;
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(0.85rem, 1.25vw, 0.95rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 2.5rem;
  line-height: 1.75;
  animation: fadeInUp 1.2s ease;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-start;
  align-items: center;
  animation: fadeInUp 1.4s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--neon-gradient);
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 229, 255, 0.45);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.btn-primary:hover .btn-arrow {
  background: rgba(0,0,0,0.35);
  transform: translateX(3px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.section-tag {
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.section-title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   SECCIÓN: ESPECIFICACIONES & MAQUINARIA (3D PARALLAX CARDS)
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  counter-reset: spec-counter;
  perspective: 1000px;
}

.spec-card {
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  counter-increment: spec-counter;
  transform-style: preserve-3d;
  transition: transform 0.1s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 229, 255, 0.03));
  opacity: 0;
  transition: var(--transition-smooth);
}

.spec-card::after {
  content: "0" counter(spec-counter);
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  font-family: var(--font-title);
  font-size: 7.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.015);
  line-height: 1;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 0;
}

.spec-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px var(--accent-cyan-glow);
}

.spec-card:hover::before {
  opacity: 1;
}

.spec-card:hover::after {
  color: rgba(0, 229, 255, 0.03);
  transform: scale(1.05) translateY(-5px) translateZ(10px);
}

.spec-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--accent-cyan);
  font-size: 1.8rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  transform: translateZ(20px);
}

.spec-card:hover .spec-icon {
  transform: translateZ(30px) scale(1.1) rotate(5deg);
  border-color: var(--accent-cyan);
  color: var(--bg-deep);
  background: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.spec-value {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  transform: translateZ(15px);
}

.spec-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--accent-purple);
  position: relative;
  z-index: 1;
  transform: translateZ(15px);
}

.spec-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  transform: translateZ(10px);
}

/* ==========================================================================
   SECCIÓN: CATÁLOGO INTERACTIVO (TABS & 3D CARDS DE LUJO)
   ========================================================================== */
.catalog-tabs {
  position: relative;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.4rem;
  border-radius: 100px;
  margin: 0 auto 4rem;
  justify-content: center;
  z-index: 1;
}

.tab-indicator {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  height: calc(100% - 0.8rem);
  background: var(--neon-gradient);
  border-radius: 100px;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
  pointer-events: none;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.35s ease;
  z-index: 2;
  outline: none;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--bg-deep) !important;
  background: transparent !important;
  box-shadow: none !important;
}


.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  perspective: 1000px;
}

/* Tarjeta interactiva 3D con Relief */
.product-card {
  perspective: 1000px;
  cursor: pointer;
  transform-style: preserve-3d;
}

.card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 10;
  transition: var(--transition-smooth);
}

.product-card[data-category="iluminacion"]:hover .card-inner::before {
  background: var(--accent-cyan);
  box-shadow: 0 2px 12px var(--accent-cyan-glow);
}

.product-card[data-category="gamer"]:hover .card-inner::before {
  background: var(--accent-purple);
  box-shadow: 0 2px 12px var(--accent-purple-glow);
}

.product-card[data-category="hogar"]:hover .card-inner::before {
  background: hsl(140, 100%, 50%);
  box-shadow: 0 2px 12px hsla(140, 100%, 50%, 0.2);
}

.product-card[data-category="juegos"]:hover .card-inner::before {
  background: hsl(45, 100%, 50%);
  box-shadow: 0 2px 12px hsla(45, 100%, 50%, 0.2);
}

.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 80%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  transform: translateZ(10px);
  transition: var(--transition-smooth);
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.08) translateZ(15px);
}

.product-info {
  padding: 2rem;
  transform: translateZ(25px);
  transition: var(--transition-smooth);
}

.product-category {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  transform: translateZ(10px);
}

.product-name {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  transform: translateZ(15px);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  transform: translateZ(10px);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.2rem;
  font-size: 0.9rem;
  transform: translateZ(15px);
}

.product-size {
  color: var(--text-muted);
}

.product-action {
  color: var(--accent-cyan);
  font-family: var(--font-title);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.product-card:hover .product-action {
  color: var(--accent-purple);
  transform: translateX(3px) translateZ(20px);
}

/* ==========================================================================
   SECCIÓN: PROCESO INTERACTIVO (TIMELINE ESTILO RIEL 3D)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), transparent);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 5rem;
  width: 50%;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 3rem;
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 10px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 4px solid var(--accent-cyan);
  z-index: 10;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -10px;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  background: var(--text-primary);
}

.timeline-content {
  padding: 2.5rem;
  width: 100%;
  transform: scale(0.95);
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.timeline-item.active .timeline-content {
  transform: scale(1);
  opacity: 1;
}

.timeline-content:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(0, 229, 255, 0.15) !important;
  border-color: rgba(0, 229, 255, 0.3) !important;
}

.timeline-item:nth-child(even) .timeline-content:hover {
  box-shadow: 0 15px 30px rgba(191, 0, 255, 0.15) !important;
  border-color: rgba(191, 0, 255, 0.3) !important;
}

.timeline-num {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 1rem;
  right: 2rem;
}

.timeline-item:nth-child(even) .timeline-num {
  right: auto;
  left: 2rem;
}

.timeline-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--accent-cyan);
}

.timeline-item:nth-child(even) .timeline-title {
  color: var(--accent-purple);
}

.timeline-text {
  color: var(--text-secondary);
}

/* ==========================================================================
   SECCIÓN: CONTACTO & FORMULARIO WHATSAPP (LUXURY INTERFACES)
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.contact-desc {
  color: var(--text-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.contact-item:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.contact-item:hover .contact-icon {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  background: var(--accent-cyan);
  color: var(--bg-deep);
}

.contact-form-panel {
  padding: 3.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.95rem 1.3rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-form {
  width: 100%;
  justify-content: center;
  border: none;
}

/* Tarjeta de Visualización Técnica de Cotización (Blueprint Card - Estilo Spline/Antigravity) */
.blueprint-card {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.05) 0%, rgba(11, 15, 25, 0.7) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 20px;
  padding: 2.2rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 229, 255, 0.05);
  margin-top: 1.5rem;
  transition: var(--transition-smooth);
}

.blueprint-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(191, 0, 255, 0.15), inset 0 0 25px rgba(191, 0, 255, 0.05);
}

.blueprint-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.blueprint-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 10px var(--accent-cyan);
  z-index: 2;
  animation: laser-scan 4s linear infinite;
}

@keyframes laser-scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.blueprint-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}

.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.2);
  padding-bottom: 0.8rem;
}

.blueprint-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blueprint-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.blueprint-preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.blueprint-field {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.blueprint-label {
  color: var(--text-muted);
}

.blueprint-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

/* Ilustración CSS Holograma de Impresión 3D */
.hologram-visualizer {
  position: relative;
  height: 110px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  transform-style: preserve-3d;
  perspective: 400px;
}

.hologram-ring {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1.5px solid rgba(0, 229, 255, 0.2);
  border-radius: 50%;
  transform: rotateX(70deg) translateZ(-10px);
  animation: spin-hologram 10s linear infinite;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.05);
}

.hologram-ring.ring-inner {
  width: 50px;
  height: 50px;
  border-color: rgba(191, 0, 255, 0.3);
  animation-duration: 6s;
  animation-direction: reverse;
}

.hologram-object {
  position: absolute;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(191, 0, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: rotateX(30deg) rotateY(45deg);
  animation: float-hologram 4s ease-in-out infinite;
}

@keyframes spin-hologram {
  0% { transform: rotateX(70deg) rotate(0deg); }
  100% { transform: rotateX(70deg) rotate(360deg); }
}

@keyframes float-hologram {
  0%, 100% { transform: rotateX(35deg) rotateY(45deg) translateY(0px); }
  50% { transform: rotateX(35deg) rotateY(45deg) translateY(-8px); }
}

/* Estilo Bento Grid para Wrapper de Contacto */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* PIE DE PÁGINA (FOOTER LUXURY)
   ========================================================================== */

footer {
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0;
  background: var(--bg-dark);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVIDAD Y ADAPTABILIDAD MÓVIL
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
  }
  
  .hero-3d-showcase {
    height: 400px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  section {
    padding: 6rem 0;
  }

  .header-nav {
    width: 95%;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .timeline::before {
    left: 2rem;
  }

  .timeline-item {
    width: 100%;
    padding-right: 0;
    padding-left: 4rem;
    margin-bottom: 4rem;
  }

  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 4rem;
  }

  .timeline-dot {
    left: 1.4rem !important;
    right: auto !important;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--accent-cyan);
  }

  .timeline-num {
    top: 1rem;
    right: 2rem !important;
    left: auto !important;
  }
  
  .hero-3d-showcase {
    height: 350px;
    margin-top: 2rem;
  }
}
