/* =========================================================
   OMNIVOLT OPTICS — Sistema de diseño oficial
   Alineado al Manual de Identidad Corporativa v1.0
   ========================================================= */

/* ====================  1. RESET  ==================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ====================  2. TOKENS DE MARCA  ==================== */
:root {
  /* Cobre — "Volt" / energía eléctrica */
  --copper-primary: #E67E22;
  --copper-light:   #F39C12;
  --copper-dark:    #D35400;

  /* Azul — "Optics" / fibra óptica */
  --photonic-blue:  #2980B9;
  --photonic-light: #3498DB;
  --photonic-dark:  #1F618D;

  /* Neutros corporativos */
  --deep-graphite:  #2C3E50;
  --graphite-dark:  #1a252f;
  --quantum-silver: #95A5A6;
  --light-gray:     #ECF0F1;
  --medium-gray:    #7F8C8D;
  --white:          #ffffff;

  /* Tipografía */
  --font-display: 'Montserrat', 'Arial Black', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Gradientes corporativos */
  --gradient-copper:   linear-gradient(135deg, #E67E22 0%, #F39C12 50%, #D35400 100%);
  --gradient-photonic: linear-gradient(135deg, #3498DB 0%, #2980B9 50%, #1F618D 100%);
  --gradient-graphite: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);

  /* Espaciado fluido */
  --space-xs:  clamp(0.5rem, 1vw, 0.75rem);
  --space-sm:  clamp(0.75rem, 1.5vw, 1.25rem);
  --space-md:  clamp(1.25rem, 2.5vw, 2rem);
  --space-lg:  clamp(2rem, 4vw, 3rem);
  --space-xl:  clamp(3rem, 6vw, 5rem);
  --space-xxl: clamp(4rem, 8vw, 7rem);

  /* Sombras */
  --shadow-sm: 0 4px 12px rgba(44, 62, 80, 0.08);
  --shadow-md: 0 8px 24px rgba(44, 62, 80, 0.12);
  --shadow-lg: 0 16px 48px rgba(44, 62, 80, 0.18);
  --shadow-copper: 0 10px 30px rgba(230, 126, 34, 0.25);
  --shadow-photonic: 0 10px 30px rgba(41, 128, 185, 0.25);

  /* Radios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transiciones */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 980px;
  --nav-height: 80px;
}

/* ====================  3. TIPOGRAFÍA BASE  ==================== */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--deep-graphite);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--deep-graphite);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-weight: 600;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
}

h4 {
  font-weight: 600;
  font-size: 1.2rem;
}

p {
  font-family: var(--font-body);
  line-height: 1.7;
}

.kicker {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper-primary);
  margin-bottom: var(--space-sm);
}

.kicker--photonic { color: var(--photonic-blue); }

/* ====================  4. UTILIDADES  ==================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section--dark {
  background: var(--gradient-graphite);
  color: var(--light-gray);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--gray {
  background: var(--light-gray);
}

.copper-line {
  width: 80px;
  height: 3px;
  background: var(--copper-primary);
  margin: var(--space-sm) 0 var(--space-md);
  border-radius: 2px;
}

.copper-line--center { margin-left: auto; margin-right: auto; }

/* ====================  5. NAVEGACIÓN  ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav.is-dark-bg {
  background: rgba(44, 62, 80, 0);
}

.nav.is-dark-bg.is-scrolled {
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(16px);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 6px 0;
  position: relative;
  /* Animación de entrada al cargar */
  animation: logoEntrance 0.9s var(--ease-out) both;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Isotipo SVG === */
.nav__logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--deep-graphite);
  transition: color var(--transition-base), transform 0.4s var(--ease-out);
}

.nav.is-dark-bg .nav__logo-icon {
  color: var(--quantum-silver);
}

/* Hover: el isotipo se "carga de energía" */
.nav__logo:hover .nav__logo-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* --- Anillos orbitales: rotación continua --- */
.logo-ring {
  transform-origin: 50px 50px;
  animation: logoRingRotate 18s linear infinite;
}

.logo-ring--1 {
  animation: logoRingRotate1 18s linear infinite;
}

.logo-ring--2 {
  animation: logoRingRotate2 22s linear infinite;
}

@keyframes logoRingRotate1 {
  from { transform: rotate(-15deg); }
  to { transform: rotate(345deg); }
}

@keyframes logoRingRotate2 {
  from { transform: rotate(15deg); }
  to { transform: rotate(-345deg); }
}

/* --- Glows de energía y luz: respiran --- */
.logo-glow {
  animation: logoGlowBreath 4s var(--ease-in-out) infinite;
}

.logo-glow--copper {
  animation-delay: 0s;
}

.logo-glow--blue {
  animation-delay: 2s;
}

@keyframes logoGlowBreath {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.85; }
}

/* --- Rayo cobre: pulsa rítmicamente (energía) --- */
.logo-bolt {
  transform-origin: 40px 50px;
  animation: logoBoltPulse 3.5s var(--ease-in-out) infinite;
  filter: drop-shadow(0 0 0 transparent);
  transition: filter 0.3s;
}

@keyframes logoBoltPulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 transparent);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 4px rgba(243, 156, 18, 0.7));
    transform: scale(1.05);
  }
}

.nav__logo:hover .logo-bolt {
  animation-duration: 1.2s;
}

/* --- Ondas azules: dibujan al cargar + pulse continuo --- */
.logo-wave {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: logoWaveDraw 1.6s var(--ease-out) forwards;
}

.logo-wave--1 { animation-delay: 0.45s; }
.logo-wave--2 { animation-delay: 0.6s; }
.logo-wave--3 { animation-delay: 0.75s; }

@keyframes logoWaveDraw {
  0%   { stroke-dashoffset: 60; opacity: 0; }
  30%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Una vez dibujadas, hacer un sutil pulse de opacidad */
.logo-wave--1 {
  animation: logoWaveDraw 1.6s var(--ease-out) 0.45s forwards,
             logoWavePulse 3s var(--ease-in-out) 2.5s infinite;
}
.logo-wave--2 {
  animation: logoWaveDraw 1.6s var(--ease-out) 0.6s forwards,
             logoWavePulse 3s var(--ease-in-out) 2.8s infinite;
}
.logo-wave--3 {
  animation: logoWaveDraw 1.6s var(--ease-out) 0.75s forwards,
             logoWavePulse 3s var(--ease-in-out) 3.1s infinite;
}

@keyframes logoWavePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* --- Punto central: respira sutilmente --- */
.logo-core,
.logo-core-outer {
  transform-origin: 50px 50px;
}

.logo-core {
  animation: logoCorePulse 2.4s var(--ease-in-out) infinite;
}

@keyframes logoCorePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.85;
  }
}

/* === Texto del logo === */
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--deep-graphite);
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
}

.nav__logo-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--photonic-blue);
  letter-spacing: 0.3em;
  margin-top: 2px;
}

.nav.is-dark-bg .nav__logo-mark { color: var(--white); }
.nav.is-dark-bg .nav__logo-sub { color: var(--photonic-light); }

/* Hover del conjunto: línea cobre sutil debajo */
.nav__logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 56px;
  right: 0;
  height: 2px;
  background: var(--copper-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__logo:hover::after { transform: scaleX(1); }

/* Responsive: en móviles ocultar el texto, dejar solo el isotipo */
@media (max-width: 480px) {
  .nav__logo-text { display: none; }
  .nav__logo-icon { width: 40px; height: 40px; }
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--deep-graphite);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-base);
}

.nav.is-dark-bg .nav__link { color: var(--light-gray); }

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--copper-primary);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__link:hover { color: var(--copper-primary); }

.nav__cta {
  padding: 0.625rem 1.25rem;
  background: var(--copper-primary);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.nav__cta::after { display: none; }
.nav__cta:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-copper);
}

.nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--deep-graphite);
  margin: 5px auto;
  transition: all var(--transition-base);
}

.nav.is-dark-bg .nav__toggle span { background: var(--white); }

@media (max-width: 900px) {
  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    bottom: 0;
    width: min(320px, 80vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__toggle { display: block; }
  .nav__link { font-size: 1.1rem; }
}

/* ====================  6. HERO  ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-graphite);
  color: var(--light-gray);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-xl);
}

/* Halos sutiles que replican la portada del manual de identidad */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, var(--copper-primary) 0%, transparent 70%);
  opacity: 0.15;
  animation: floatHalo 18s ease-in-out infinite;
}

.hero::after {
  bottom: -200px;
  left: -150px;
  background: radial-gradient(circle, var(--photonic-blue) 0%, transparent 70%);
  opacity: 0.15;
  animation: floatHalo 22s ease-in-out infinite reverse;
}

@keyframes floatHalo {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, -30px) scale(1.1); }
}

/* Anillos orbitales decorativos */
.hero__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__ring {
  position: absolute;
  border: 1px dashed rgba(243, 156, 18, 0.15);
  border-radius: 50%;
}

.hero__ring:nth-child(1) {
  width: 600px; height: 600px;
  top: 15%; left: -100px;
  animation: rotate 60s linear infinite;
}

.hero__ring:nth-child(2) {
  width: 400px; height: 400px;
  bottom: 10%; right: 5%;
  border-color: rgba(52, 152, 219, 0.18);
  animation: rotate 40s linear infinite reverse;
}

.hero__ring:nth-child(3) {
  width: 800px; height: 800px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  border-color: rgba(255, 255, 255, 0.04);
  animation: rotate 90s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 0.95;
}

.hero__optics {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--photonic-light);
  letter-spacing: 0.35em;
  margin-top: -0.25rem;
}

.hero__divider {
  width: 120px;
  height: 3px;
  background: var(--copper-primary);
  margin: var(--space-md) auto var(--space-md);
  border-radius: 2px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--light-gray);
  padding-left: var(--space-md);
  border-left: 3px solid var(--copper-primary);
  text-align: left;
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.hero__description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--quantum-silver);
  max-width: 680px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.hero__meta {
  margin-top: var(--space-xl);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--quantum-silver);
  letter-spacing: 0.05em;
}

.hero__meta strong { color: var(--white); font-weight: 500; }

/* ====================  7. BOTONES  ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--copper {
  background: var(--copper-primary);
  color: var(--white);
}

.btn--copper:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-copper);
}

.btn--photonic {
  background: var(--photonic-blue);
  color: var(--white);
}

.btn--photonic:hover {
  background: var(--photonic-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-photonic);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--outline-graphite {
  background: transparent;
  color: var(--deep-graphite);
  border-color: var(--deep-graphite);
}

.btn--outline-graphite:hover {
  background: var(--deep-graphite);
  color: var(--white);
}

.btn--large {
  padding: 1.125rem 2.25rem;
  font-size: 1.05rem;
}

/* ====================  8. BARRA DE NORMAS  ==================== */
.normas {
  background: var(--white);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--light-gray);
}

.normas__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.normas__label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--medium-gray);
}

.normas__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: center;
}

.normas__item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--deep-graphite);
  white-space: nowrap;
}

/* ====================  9. DOS TECNOLOGÍAS  ==================== */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: var(--space-xl);
}

@media (max-width: 800px) {
  .dual { grid-template-columns: 1fr; }
}

.dual__col {
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.dual__col--copper {
  background: linear-gradient(135deg, #fff8f0 0%, #ffe9d4 100%);
  border-right: 1px solid rgba(230, 126, 34, 0.15);
}

.dual__col--photonic {
  background: linear-gradient(135deg, #f0f7fc 0%, #d5e8f5 100%);
}

.dual__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: var(--space-md);
  font-size: 2rem;
}

.dual__col--copper .dual__icon {
  background: var(--gradient-copper);
  color: var(--white);
  box-shadow: var(--shadow-copper);
}

.dual__col--photonic .dual__icon {
  background: var(--gradient-photonic);
  color: var(--white);
  box-shadow: var(--shadow-photonic);
}

.dual__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.dual__col--copper .dual__title { color: var(--copper-dark); }
.dual__col--photonic .dual__title { color: var(--photonic-dark); }

.dual__lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--deep-graphite);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.dual__list {
  margin-bottom: var(--space-lg);
}

.dual__list li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--deep-graphite);
}

.dual__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dual__col--copper .dual__list li::before { background: var(--copper-primary); }
.dual__col--photonic .dual__list li::before { background: var(--photonic-blue); }

/* ====================  10. POR QUÉ — CARDS  ==================== */
.why {
  background: var(--white);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.why__card {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.why__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why__card:hover::before { transform: scaleX(1); }

.why__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--light-gray);
  margin-bottom: var(--space-md);
  color: var(--copper-primary);
  transition: all var(--transition-base);
}

.why__card:hover .why__icon {
  background: var(--gradient-copper);
  color: var(--white);
}

.why__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.why__card h3 {
  margin-bottom: var(--space-sm);
}

.why__card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
}

/* ====================  11. INNOVATION  ==================== */
.innovation {
  background: var(--gradient-graphite);
  color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.innovation::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--photonic-blue) 0%, transparent 65%);
  opacity: 0.18;
  pointer-events: none;
}

.innovation__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
}

@media (max-width: 800px) {
  .innovation__inner { grid-template-columns: 1fr; }
}

.innovation h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: var(--space-md);
  color: var(--white);
}

.innovation h2 em {
  font-style: normal;
  background: var(--gradient-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.innovation p {
  color: var(--quantum-silver);
  font-size: 1.075rem;
  margin-bottom: var(--space-md);
}

.innovation__highlight {
  padding: var(--space-md);
  border-left: 3px solid var(--copper-primary);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--light-gray);
  margin: var(--space-md) 0;
}

.innovation__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.innovation__diagram {
  width: 100%;
  max-width: 460px;
  position: relative;
  aspect-ratio: 1;
}

.innovation__diagram-circle {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(243, 156, 18, 0.3);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.innovation__diagram-circle:nth-child(2) {
  inset: 15%;
  border-color: rgba(52, 152, 219, 0.3);
  animation-direction: reverse;
  animation-duration: 22s;
}

.innovation__diagram-circle:nth-child(3) {
  inset: 30%;
  border-color: rgba(255, 255, 255, 0.15);
}

.innovation__diagram-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.innovation__diagram-bolt,
.innovation__diagram-wave {
  position: absolute;
  top: 50%;
  width: 50%;
  height: 4px;
  border-radius: 2px;
  z-index: 1;
}

.innovation__diagram-bolt {
  left: 0;
  transform: translateY(-50%);
  background: var(--gradient-copper);
}

.innovation__diagram-wave {
  right: 0;
  transform: translateY(-50%);
  background: var(--gradient-photonic);
}

/* ====================  12. PRODUCTOS PREVIEW  ==================== */
.products-preview {
  background: var(--light-gray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card--copper { border-top-color: var(--copper-primary); }
.product-card--photonic { border-top-color: var(--photonic-blue); }

.product-card__media {
  aspect-ratio: 16 / 10;
  background: var(--gradient-graphite);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card--copper .product-card__media {
  background: linear-gradient(135deg, #2C3E50 0%, #5d3210 100%);
}

.product-card--photonic .product-card__media {
  background: linear-gradient(135deg, #2C3E50 0%, #1F618D 100%);
}

.product-card__visual {
  width: 70%;
  height: 30%;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.product-card--copper .product-card__visual {
  background: var(--gradient-copper);
}

.product-card--photonic .product-card__visual {
  background: var(--gradient-photonic);
}

.product-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.product-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}

.product-card__body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.product-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--deep-graphite);
  margin-bottom: 0.5rem;
}

.product-card__desc {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.product-card__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-base);
}

.product-card--copper .product-card__link { color: var(--copper-primary); }
.product-card--photonic .product-card__link { color: var(--photonic-blue); }

.product-card__link:hover { gap: 0.875rem; }

/* ====================  13. STATS  ==================== */
.stats {
  background: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stats__item {
  padding: var(--space-md);
}

.stats__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: var(--gradient-copper);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stats__item:nth-child(even) .stats__number {
  background: var(--gradient-photonic);
  -webkit-background-clip: text;
  background-clip: text;
}

.stats__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ====================  14. CTA / FORMULARIO  ==================== */
.cta {
  background: var(--gradient-graphite);
  color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, var(--copper-primary) 0%, transparent 65%);
  opacity: 0.12;
}

.cta::after {
  bottom: -200px;
  right: -100px;
  background: radial-gradient(circle, var(--photonic-blue) 0%, transparent 65%);
  opacity: 0.12;
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 800px) {
  .cta__inner { grid-template-columns: 1fr; }
}

.cta h2 { color: var(--white); }
.cta p { color: var(--quantum-silver); }

.cta__form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-row {
  margin-bottom: var(--space-sm);
}

.form-row--double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

@media (max-width: 600px) {
  .form-row--double { grid-template-columns: 1fr; }
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--light-gray);
  margin-bottom: 0.375rem;
  letter-spacing: 0.03em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--copper-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

.form-select option { background: var(--graphite-dark); color: var(--white); }

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

.form-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 500px) {
  .form-radio-group { grid-template-columns: 1fr; }
}

.form-radio {
  position: relative;
}

.form-radio input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.form-radio label {
  display: block;
  padding: 0.75rem 0.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--light-gray);
  transition: all var(--transition-base);
}

.form-radio input:checked + label {
  background: var(--copper-primary);
  border-color: var(--copper-primary);
  color: var(--white);
}

.form-radio:nth-child(2) input:checked + label {
  background: var(--photonic-blue);
  border-color: var(--photonic-blue);
}

.form-radio:nth-child(3) input:checked + label {
  background: var(--gradient-copper);
  border-color: transparent;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-sm);
}

/* ====================  15. FOOTER  ==================== */
.footer {
  background: var(--graphite-dark);
  color: var(--light-gray);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer__logo-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  color: var(--photonic-light);
  letter-spacing: 0.35em;
  margin-top: -3px;
}

.footer__about {
  font-size: 0.9rem;
  color: var(--quantum-silver);
  max-width: 320px;
  line-height: 1.7;
}

.footer__tagline {
  font-style: italic;
  padding-left: var(--space-sm);
  border-left: 2px solid var(--copper-primary);
  color: var(--light-gray);
  margin-top: var(--space-sm);
}

.footer__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__list li {
  margin-bottom: 0.625rem;
  font-size: 0.9rem;
  color: var(--quantum-silver);
}

.footer__list a {
  transition: color var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__list a:hover { color: var(--copper-light); }

.footer__social {
  display: flex;
  gap: 0.625rem;
  margin-top: var(--space-sm);
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--copper-primary);
  border-color: var(--copper-primary);
  transform: translateY(-2px);
}

.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--medium-gray);
}

/* ====================  16. PÁGINA INTERIOR — HERO  ==================== */
.page-hero {
  background: var(--gradient-graphite);
  color: var(--light-gray);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--copper-primary) 0%, transparent 70%);
  opacity: 0.12;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--photonic-blue) 0%, transparent 70%);
  opacity: 0.12;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: var(--quantum-silver);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ====================  17. CONTACTO — SPLIT  ==================== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
}

.contact-info {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-block {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--light-gray);
}

.contact-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-block__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper-primary);
  margin-bottom: var(--space-xs);
}

.contact-block__content {
  font-size: 1rem;
  color: var(--deep-graphite);
  line-height: 1.7;
}

.contact-block__content a {
  color: var(--photonic-blue);
  font-weight: 500;
  transition: color var(--transition-base);
}

.contact-block__content a:hover { color: var(--photonic-dark); }

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: var(--space-md);
}

.contact-action {
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--deep-graphite);
  transition: all var(--transition-base);
}

.contact-action:hover {
  background: var(--copper-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-map {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 500px;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

/* ====================  18. PRODUCTOS — FILTROS  ==================== */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--medium-gray);
  background: var(--white);
  border: 1px solid var(--light-gray);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-tab:hover {
  border-color: var(--copper-primary);
  color: var(--copper-primary);
}

.filter-tab.is-active {
  background: var(--deep-graphite);
  color: var(--white);
  border-color: var(--deep-graphite);
}

/* ====================  19. NOSOTROS — VALORES  ==================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.value-card {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-copper);
  color: var(--white);
  font-size: 1.75rem;
}

.value-card:nth-child(2) .value-card__icon {
  background: var(--gradient-photonic);
}

.value-card:nth-child(3) .value-card__icon {
  background: var(--gradient-graphite);
}

/* ====================  20. ANIMACIONES DE REVELACIÓN  ==================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ====================  21. WHATSAPP FLOAT  ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all var(--transition-base);
  animation: pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ====================  22. SECTION HEADERS  ==================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--medium-gray);
  font-size: 1.075rem;
}

/* ====================  23. RESPONSIVE FINAL  ==================== */
@media (max-width: 600px) {
  .hero__tagline { font-size: 1rem; padding-left: var(--space-sm); }
  .hero__ctas { flex-direction: column; width: 100%; padding: 0 var(--space-md); }
  .hero__ctas .btn { width: 100%; }
  .dual__col { padding: var(--space-md); }
  .contact-actions { grid-template-columns: 1fr; }
}

/* ====================  24. UTILIDADES FINALES  ==================== */
.text-copper { color: var(--copper-primary); }
.text-photonic { color: var(--photonic-blue); }
.text-graphite { color: var(--deep-graphite); }
.bg-graphite { background: var(--gradient-graphite); }

/* Print styles minimal */
@media print {
  .nav, .whatsapp-float, .hero__rings, .cta__form { display: none; }
  .hero, .innovation, .cta { background: white; color: black; }
}
