/* ==========================================================================
   CSS PRINCIPAL - AGUALIZA LANDING PAGE (PREMIUM & MODERN)
   ========================================================================== */

/* Importación de tipografías premium desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Variables de Diseño */
:root {
  --bg-primary: #050b14;
  --bg-secondary: #0a1526;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 245, 255, 0.15);
  
  --text-main: #f0f4f8;
  --text-muted: #8a9cb0;
  
  --color-primary: #0077b6;
  --color-accent: #00f5ff;
  --color-accent-rgb: 0, 245, 255;
  --color-glow: rgba(0, 245, 255, 0.3);
  --color-success: #00f5a0;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset general */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Fondo decorativo con luces que respiran */
body::before, body::after {
  content: '';
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 119, 182, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: 10%;
  right: -10%;
  animation: pulseGlow 12s infinite alternate ease-in-out;
}

body::after {
  top: 50%;
  left: -15%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  animation: pulseGlow 16s infinite alternate-reverse ease-in-out;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ==========================================================================
   COMPONENTES PREMIUM & REUTILIZABLES
   ========================================================================== */

/* Glassmorphism Card */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: rgba(0, 245, 255, 0.25);
  box-shadow: 0 12px 40px 0 rgba(0, 245, 255, 0.08);
}

/* Ondas de transición dinámicas entre secciones */
.wave-divider {
  position: relative;
  width: 100%;
  height: 60px;
  min-height: 40px;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  margin-top: -1px; /* Evitar fisuras de 1px */
  margin-bottom: -1px;
  pointer-events: none;
}
.wave-divider.wave-inverted {
  transform: rotate(180deg);
}
.wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
}

/* Animaciones de ondas SVG */
.waves {
  position: relative;
  width: 100%;
  height: 100%;
}
.parallax-waves > use {
  animation: moveWave 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax-waves > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax-waves > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax-waves > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax-waves > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes moveWave {
  0% { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* ==========================================================================
   SIMULADOR INTERACTIVO DE PURIFICACIÓN
   ========================================================================== */
.purification-simulator {
  width: 100%;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.simulator-title-wrap {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.simulator-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
}
.simulator-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
}
.simulator-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 320px;
}

/* Columna de filtración cilíndrica */
.filter-column {
  position: relative;
  width: 90px;
  height: 280px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 45px;
  background: rgba(5, 11, 20, 0.4);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6), 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Las tres zonas de la columna */
.filter-zone {
  position: absolute;
  left: 0;
  width: 100%;
  height: 33.33%;
  border-bottom: 2px dashed rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.filter-zone:last-child {
  border-bottom: none;
}
.filter-zone-1 { top: 0; }
.filter-zone-2 { top: 33.33%; }
.filter-zone-3 { top: 66.66%; }

/* Highlights activos de las zonas */
.filter-zone.active {
  background: rgba(0, 245, 255, 0.06);
}
.filter-zone-3.active {
  background: rgba(186, 85, 211, 0.08); /* luz UV violeta */
  box-shadow: inset 0 0 15px rgba(186, 85, 211, 0.2);
}

/* Elementos gráficos dentro del filtro */
.filter-mesh {
  position: absolute;
  width: 80%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #555, #555 4px, transparent 4px, transparent 8px);
  top: 50%;
  left: 10%;
}
.filter-membrane {
  position: absolute;
  width: 80%;
  height: 8px;
  background: rgba(0, 245, 255, 0.3);
  border-radius: 4px;
  top: 50%;
  left: 10%;
  box-shadow: 0 0 10px var(--color-accent);
}
.filter-uv-light {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(186, 85, 211, 0.4) 0%, rgba(186, 85, 211, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.filter-zone-3.simulating .filter-uv-light {
  opacity: 1;
  animation: flicker 4s infinite alternate;
}
@keyframes flicker {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Partículas flotantes */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a9b7c6;
  opacity: 0;
  pointer-events: none;
}

.simulating .particle {
  animation: flowDown 3s linear infinite;
}

@keyframes flowDown {
  0% {
    top: -10px;
    opacity: 0;
    background: #6a7b8c; /* turbia al inicio */
  }
  10% {
    opacity: 0.8;
  }
  33% {
    /* Después del primer filtro, se aclara */
    background: #8fa0b5;
  }
  66% {
    /* Después de la ósmosis, se vuelve celeste pura */
    background: #00f5ff;
    box-shadow: 0 0 5px #00f5ff;
  }
  100% {
    top: 290px;
    opacity: 0;
    background: #00f5ff;
    box-shadow: 0 0 5px #00f5ff;
  }
}

/* Partículas estáticas con retrasos para simulación */
.particle:nth-child(1)  { left: 25%; animation-delay: 0.1s; }
.particle:nth-child(2)  { left: 45%; animation-delay: 0.4s; }
.particle:nth-child(3)  { left: 65%; animation-delay: 0.7s; }
.particle:nth-child(4)  { left: 35%; animation-delay: 1.0s; }
.particle:nth-child(5)  { left: 55%; animation-delay: 1.3s; }
.particle:nth-child(6)  { left: 20%; animation-delay: 1.6s; }
.particle:nth-child(7)  { left: 70%; animation-delay: 1.9s; }
.particle:nth-child(8)  { left: 50%; animation-delay: 2.2s; }
.particle:nth-child(9)  { left: 30%; animation-delay: 2.5s; }
.particle:nth-child(10) { left: 60%; animation-delay: 2.8s; }

/* Burbujas en la zona de ozono */
.bubble {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.4);
  bottom: 0;
  opacity: 0;
}
.simulating .filter-zone-3 .bubble {
  animation: riseUp 2s ease-out infinite;
}
.bubble:nth-child(1) { left: 20%; animation-delay: 0.2s; }
.bubble:nth-child(2) { left: 40%; animation-delay: 0.6s; }
.bubble:nth-child(3) { left: 60%; animation-delay: 1.0s; }
.bubble:nth-child(4) { left: 80%; animation-delay: 1.4s; }
.bubble:nth-child(5) { left: 50%; animation-delay: 1.8s; }

@keyframes riseUp {
  0% { bottom: 0; opacity: 0; transform: scale(0.8); }
  20% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { bottom: 90%; opacity: 0; transform: scale(1.5); }
}

/* Panel de control */
.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sim-nav-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
}
.sim-nav-btn:hover, .sim-nav-btn.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 245, 255, 0.4);
  color: #fff;
}
.sim-nav-btn.active {
  border-color: var(--color-accent);
  background: rgba(0, 245, 255, 0.05);
}
.sim-nav-btn h6 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
  transition: var(--transition-fast);
}
.sim-nav-btn.active h6 {
  color: var(--color-accent);
}
.sim-nav-btn p {
  font-size: 0.8rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.sim-action-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.sim-info-panel {
  min-height: 85px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.sim-info-panel strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

/* ==========================================================================
   FEEDBACK LÍQUIDO DE LA CALCULADORA
   ========================================================================== */
.calc-results-wrapper {
  display: flex;
  gap: 24px;
  height: 100%;
}
.calc-results-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calc-liquid-visual {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.water-bottle-outline {
  position: relative;
  width: 70px;
  height: 200px;
  border: 3px solid rgba(0, 245, 255, 0.4);
  border-radius: 12px 12px 20px 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.08);
}
/* Tapa de la botella */
.water-bottle-outline::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 4px 4px 0 0;
  border: 2px solid rgba(0, 245, 255, 0.4);
  z-index: 4;
}
.water-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%; /* Controlado por JS */
  background: linear-gradient(180deg, rgba(0, 245, 255, 0.6) 0%, rgba(0, 119, 182, 0.85) 100%);
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.water-wave {
  position: absolute;
  width: 200%;
  height: 200%;
  background: rgba(0, 245, 255, 0.3);
  top: -190%;
  left: -50%;
  border-radius: 38%;
  animation: waveRotate 8s linear infinite;
  pointer-events: none;
}
.water-wave-front {
  background: rgba(0, 245, 255, 0.2);
  animation-duration: 5s;
  animation-delay: -2s;
}
@keyframes waveRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #005f96 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.5);
}

.btn-accent {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.1);
}
.btn-accent:hover {
  background: var(--color-accent);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #20ba5a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}
.btn-text {
  background: transparent;
  color: var(--text-main);
  padding: 10px 20px;
}
.btn-text:hover {
  color: var(--color-accent);
}

/* Efecto de Revelación de Contenido (Scroll Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Títulos de sección */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  font-family: var(--font-title);
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.section-title span {
  background: linear-gradient(to right, #ffffff, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVEGACIÓN (HEADER)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-smooth);
}
header.scrolled {
  padding: 12px 0;
  background: rgba(5, 11, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logotipo */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}
.logo-img:hover {
  transform: scale(1.05);
}
.logo-img-footer {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}
.logo-img-footer:hover {
  transform: scale(1.05);
}

/* Menú */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hamburguesa móvil */
.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  z-index: 1001;
}

/* ==========================================================================
   SECCIÓN HÉROE (HERO SECTION)
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

/* Etiqueta flotante */
.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-tagline-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: pulseDot 1.5s infinite ease-in-out;
}
.hero-tagline-text {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Lado derecho: Render visual premium del producto */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-back {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.25) 0%, rgba(0, 119, 182, 0) 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

.hero-bottle-wrap {
  z-index: 1;
  position: relative;
  animation: levitate 5s infinite ease-in-out;
}

.hero-bottle-img {
  width: 260px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  transition: var(--transition-smooth);
}
.hero-bottle-wrap:hover .hero-bottle-img {
  transform: translateY(-8px) scale(1.06) rotate(3deg);
  filter: drop-shadow(0 30px 50px rgba(0, 245, 255, 0.35));
}

.hero-bottle-reflect {
  position: absolute;
  top: 96%;
  width: 260px;
  height: auto;
  object-fit: contain;
  transform: scaleY(-1);
  opacity: 0.16;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 60%);
  filter: blur(2px);
  z-index: 1;
  pointer-events: none;
  transition: var(--transition-smooth);
  animation: levitateReflectHero 5s infinite ease-in-out;
}
.hero-bottle-wrap:hover .hero-bottle-reflect {
  transform: translateY(8px) scaleY(-1) scale(1.06) rotate(-3deg);
  opacity: 0.24;
}

.hero-bottle-shadow {
  position: absolute;
  bottom: -20px;
  width: 170px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  animation: shadowPulseHero 5s infinite ease-in-out;
}
.hero-bottle-wrap:hover .hero-bottle-shadow {
  transform: scale(0.75);
  opacity: 0.35;
}

/* ==========================================================================
   SECCIÓN ORIGEN (NATURAL & REGIONAL)
   ========================================================================== */
.origin {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.origin-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Tarjeta del paisaje */
.origin-media {
  position: relative;
}
.origin-image-container {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  aspect-ratio: 4 / 5;
}
.origin-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.origin-image-container:hover .origin-img {
  transform: scale(1.05);
}
.origin-media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0) 100%);
  padding: 32px;
}
.origin-media-overlay h4 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.origin-media-overlay p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Lado derecho: Texto descriptivo */
.origin-info h3 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.3;
}
.origin-info h3 span {
  color: var(--color-accent);
}
.origin-info p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* Estadísticas regionales */
.origin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.stat-card {
  padding: 20px;
  border-radius: 16px;
}
.stat-card h5 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.stat-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIÓN FORMATOS INTERACTIVOS (CATÁLOGO)
   ========================================================================== */
.catalog {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

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

/* Tabs para elegir categoría */
.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}
.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 50px;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.tab-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

/* Grid del catálogo interactivo */
.catalog-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  background: radial-gradient(circle at 80% 50%, rgba(0, 245, 255, 0.04) 0%, rgba(0, 0, 0, 0) 60%), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* Lado izquierdo: Botón selector y visor */
.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-select-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
  color: var(--text-muted);
}
.product-select-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 245, 255, 0.3);
  transform: translateX(5px);
  color: var(--text-main);
}
.product-select-btn.active {
  background: rgba(0, 245, 255, 0.05);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.05);
  color: #fff;
}
.product-select-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}
.product-select-btn:hover .product-select-name {
  color: var(--color-accent);
}
.product-select-btn.active .product-select-name {
  color: #fff;
}
.product-select-vol {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
  font-family: var(--font-title);
}

/* Lado derecho: Visor en sí */
.catalog-display {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.catalog-bottle-holder {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 380px;
}
.catalog-bottle-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(15px);
  z-index: 0;
  transition: var(--transition-smooth);
}
.bottle-image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  perspective: 1000px;
}

.catalog-bottle-img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.4));
  transition: var(--transition-smooth);
  animation: levitate 6s infinite ease-in-out;
}
.bottle-image-container:hover .catalog-bottle-img {
  transform: translateY(-8px) scale(1.05) rotateY(6deg);
  filter: drop-shadow(0 20px 35px rgba(0, 245, 255, 0.35));
}

.catalog-bottle-reflect {
  position: absolute;
  top: 96%;
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transform: scaleY(-1);
  opacity: 0.16;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 60%);
  filter: blur(1.5px);
  z-index: 1;
  pointer-events: none;
  transition: var(--transition-smooth);
  animation: levitateReflect 6s infinite ease-in-out;
}
.bottle-image-container:hover .catalog-bottle-reflect {
  transform: translateY(8px) scaleY(-1) scale(1.05) rotateY(6deg);
  opacity: 0.24;
}

.bottle-shadow {
  position: absolute;
  bottom: -10px;
  width: 140px;
  height: 10px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  animation: shadowPulse 6s infinite ease-in-out;
}
.bottle-image-container:hover .bottle-shadow {
  transform: scale(0.75);
  opacity: 0.35;
}

.catalog-details {
  z-index: 1;
}
.catalog-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.catalog-subtitle {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: block;
}
.catalog-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.catalog-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.catalog-specs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.catalog-specs-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ==========================================================================
   SECCIÓN TECNOLOGÍA & CALIDAD (PILARESE DE RESPALDO)
   ========================================================================== */
.quality {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}

.quality-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Lado izquierdo: Puntos de purificación y laboratorio */
.quality-content h3 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.quality-content h3 span {
  color: var(--color-accent);
}
.quality-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.quality-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quality-step-item {
  display: flex;
  gap: 16px;
}
.quality-step-num {
  width: 40px;
  height: 40px;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--color-accent);
  flex-shrink: 0;
}
.quality-step-text h6 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.quality-step-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Lado derecho: Tarjeta de Laboratorio */
.quality-card-wrap {
  position: relative;
}
.quality-cert-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 245, 255, 0.3);
  z-index: 3;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Fila de Control de Calidad / Laboratorio */
.quality-lab-grid {
  max-width: 1200px;
  margin: 80px auto 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 80px;
}
.quality-lab-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.quality-lab-content h3 span {
  color: var(--color-accent);
}
.quality-lab-badge-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.quality-lab-badge-card {
  padding: 20px 24px;
  border-radius: 12px;
  flex: 1;
  min-width: 200px;
}
.quality-lab-badge-card h6 {
  color: var(--color-accent);
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1rem;
}
.quality-lab-badge-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Módulo Destacado de Laboratorio */
.quality-lab-highlight-box {
  margin: 35px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 255, 0.20);
  border-left: 5px solid var(--color-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}
.quality-lab-highlight-box:hover {
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow: 0 12px 40px 0 rgba(0, 245, 255, 0.12);
}
.quality-lab-highlight-box .highlight-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  background: rgba(0, 245, 255, 0.12);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
}
.quality-lab-highlight-box .highlight-text h5 {
  margin: 0 0 6px 0;
  font-family: var(--font-title);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}
.quality-lab-highlight-box .highlight-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ==========================================================================
   SECCIÓN FAMILIAS / HOGAR (PÚBLICO EN GENERAL)
   ========================================================================== */
.family-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.family-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.family-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.family-features {
  list-style: none;
  padding: 0;
  margin: 35px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.family-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.family-features li span {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.family-features li span strong {
  color: var(--text-main);
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}


.family-media {
  position: relative;
}

.family-card {
  position: relative;
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.family-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 245, 255, 0.15);
}

.family-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 245, 255, 0.35);
  z-index: 3;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--bg-primary);
}

.family-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.family-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.family-img-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 11, 20, 0.4) 0%, rgba(5, 11, 20, 0) 50%);
  pointer-events: none;
}


/* ==========================================================================
   CALCULADORA DE HIDRATACIÓN CORPORATIVA (PREMIUM FEATURE)
   ========================================================================== */
.calculator-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.calculator-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.calc-settings {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-label {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}
.calc-label span.val {
  color: var(--color-accent);
}

/* Tabs de Sector en Calculadora */
.calc-sectors {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.sector-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 12px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
  text-align: center;
}
.sector-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}
.sector-btn.active {
  background: rgba(0, 245, 255, 0.08);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Slider de rango personalizado */
.range-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  cursor: pointer;
  transition: transform 0.1s ease;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Lado derecho: Tarjeta de Resultados (Brillante) */
.calc-results {
  background: radial-gradient(circle at 10% 10%, rgba(0, 245, 255, 0.08) 0%, rgba(0, 0, 0, 0) 50%), rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 245, 255, 0.03);
  position: relative;
}

.calc-results-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.calc-item-rec {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.calc-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 245, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.calc-item-info h6 {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.calc-item-info p {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.calc-total-volume {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 16px;
  text-align: center;
}
.calc-total-volume span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.calc-total-volume strong {
  font-size: 1.5rem;
  font-family: var(--font-title);
  color: var(--color-accent);
}

/* ==========================================================================
   FORMULARIO DE CONTACTO CORPORATIVO (CON FÓCULO B2B)
   ========================================================================== */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.contact-info-block h3 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.contact-info-block p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.contact-detail-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}
.contact-detail-text a, .contact-detail-text p {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: var(--transition-fast);
}
.contact-detail-text a:hover {
  color: var(--color-accent);
}

/* Tarjeta del Formulario */
.contact-form-card {
  padding: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.form-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.form-input, .form-select, .form-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
}
.form-select option {
  background-color: var(--bg-secondary);
  color: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

/* Animación de pantalla de éxito */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 24px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  text-align: center;
  padding: 40px;
}
.form-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 245, 160, 0.08);
  border: 2px solid var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  margin-bottom: 24px;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.success-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.success-msg {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 320px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-links-group h6 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}
.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-group a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-links-group a:hover {
  color: var(--color-accent);
}

/* Seccion de credenciales de inocuidad en footer */
.footer-certs {
  max-width: 280px;
}
.footer-cert-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.5;
}
.footer-cert-item strong {
  color: #fff;
  display: block;
  font-family: var(--font-title);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dev-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}
.dev-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.6);
}

/* ==========================================================================
   ANIMACIONES CLAVE (KEYFRAMES)
   ========================================================================== */
@keyframes levitate {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 245, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 255, 0); }
}

@keyframes scaleUp {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes levitateReflect {
  0% { transform: scaleY(-1) translateY(0); }
  50% { transform: scaleY(-1) translateY(12px); }
  100% { transform: scaleY(-1) translateY(0); }
}

@keyframes shadowPulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(0.85); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.6; }
}

@keyframes levitateReflectHero {
  0% { transform: scaleY(-1) translateY(0); }
  50% { transform: scaleY(-1) translateY(12px); }
  100% { transform: scaleY(-1) translateY(0); }
}

@keyframes shadowPulseHero {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(0.8); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.6; }
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  
  .origin-grid, .quality-grid, .contact-container, .calc-grid, .quality-lab-grid, .family-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .catalog-interactive-grid {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  
  .catalog-display {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .catalog-specs-list {
    align-items: center;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-cta {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .calc-sectors {
    grid-template-columns: 1fr;
  }
  .calc-settings {
    padding: 24px;
  }
  .quality-lab-highlight-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
  }
}

/* ==========================================================================
   SECCIÓN SHOWCASE OPERATIVO (FIELD SHOWCASE)
   ========================================================================== */
.operator-showcase {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

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

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.showcase-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  filter: blur(25px);
  z-index: 0;
  transition: var(--transition-smooth);
}

.showcase-img {
  max-width: 90%;
  height: auto;
  max-height: 95%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
  transition: var(--transition-smooth);
  transform-origin: bottom center;
}

.showcase-card:hover .showcase-img {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 25px 40px rgba(0, 245, 255, 0.25));
}

.showcase-card:hover .showcase-glow {
  opacity: 1.2;
  transform: translate(-50%, -50%) scale(1.1);
}

.showcase-content {
  z-index: 2;
}

.showcase-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}
.showcase-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.showcase-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.showcase-list li span strong {
  color: #fff;
  font-family: var(--font-title);
}

@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .showcase-list {
    align-items: center;
    text-align: left;
  }
  .showcase-card {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   PÁGINAS DE PRODUCTOS DETALLADAS (QR)
   ========================================================================== */
.product-page-body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 60px 20px;
  flex: 1;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 20px;
}

.product-visual-column {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.product-image-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--color-glow) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(20px);
  z-index: 0;
}

.product-img-large {
  max-width: 80%;
  height: auto;
  max-height: 85%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
  transition: var(--transition-smooth);
}

.product-image-box:hover {
  border-color: rgba(0, 245, 255, 0.25);
  box-shadow: 0 35px 70px rgba(0, 245, 255, 0.1);
}

.product-image-box:hover .product-img-large {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 25px 40px rgba(0, 245, 255, 0.25));
}

.product-badge-vol {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.product-info-column {
  display: flex;
  flex-direction: column;
}

.product-category-tag {
  color: var(--color-accent);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.product-main-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 15px;
}

.product-main-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-tagline-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.5;
  border-left: 3px solid var(--color-accent);
  padding-left: 15px;
}

.product-body-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.product-properties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.prop-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition-fast);
}

.prop-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(0, 245, 255, 0.15);
}

.prop-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.prop-details h5 {
  font-family: var(--font-title);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.prop-details p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

.product-action-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.product-back-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-back-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.specs-table-section {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
}

.specs-table-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.specs-table-title svg {
  color: var(--color-accent);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 14px 0;
  font-size: 0.95rem;
}

.specs-label {
  color: var(--text-muted);
  font-weight: 500;
  width: 35%;
}

.specs-value {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-image-box {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .product-info-column {
    text-align: center;
  }
  
  .product-tagline-text {
    border-left: none;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    padding-left: 0;
    padding-bottom: 15px;
  }
  
  .product-properties-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .product-action-buttons {
    justify-content: center;
  }
}

