/* ==========================================================================
   LizardHidroApp — Heavy Infrastructure SaaS Design System (CSS3)
   Typography: Chivo (Industrial Tech) + Manrope (Clean UI) + Chivo Mono
   ========================================================================== */

:root {
  /* Core Palette: Gris Hielo Luminoso, Blanco & Azul Eléctrico */
  --bg-deep: #F1F5F9;
  --bg-surface: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-solid: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-translucent-gray: rgba(241, 245, 249, 0.85);
  --bg-translucent-blue: rgba(0, 82, 255, 0.08);

  /* Brand Accents — Azul Eléctrico Vibrante */
  --electric-blue: #0052FF;
  --electric-blue-hover: #0040CC;
  --electric-cyan: #00A3FF;
  --electric-sky: #0284C7;
  --electric-glow: rgba(0, 82, 255, 0.25);
  --electric-glow-cyan: rgba(0, 163, 255, 0.2);

  /* Unified Brand Aliases in Electric Blue & Cyan */
  --hydro-cyan: #0052FF;
  --hydro-sky: #0284C7;
  --lizard-emerald: #0052FF;
  --lizard-emerald-bright: #00A3FF;
  --machinery-amber: #0066FF;

  /* Text Hierarchy — Alto Contraste en Gris Pizarra Oscuro */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  /* Borders & Accents Translúcidos */
  --border-subtle: rgba(203, 213, 225, 0.7);
  --border-cyan: rgba(0, 163, 255, 0.35);
  --border-emerald: rgba(0, 82, 255, 0.35);
  --border-amber: rgba(0, 82, 255, 0.35);

  /* Industrial Precision Typography (Zero AI-template feel) */
  --font-display: 'Chivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Chivo Mono', monospace;

  /* Transitions & Radii */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container-max: 1240px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main,
section,
.site-footer {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

ul {
  list-style: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--electric-blue);
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.18);
  padding: 2px 6px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #0052FF 0%, #0099FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-electric {
  color: #0052FF;
  font-weight: 900;
}

.text-emerald { color: var(--electric-blue); }
.text-cyan { color: var(--electric-blue); }
.text-amber { color: var(--electric-sky); }

/* ==========================================================================
   Scroll Progress Bar
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0052FF, #00D2FF);
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 82, 255, 0.5);
  transition: width 0.08s linear;
}

/* ==========================================================================
   Ambient Background & Atmospheric Engineering Photography Layer
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-color: #F1F5F9;
}

.ambient-photo-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/hero-empalme-alcantarillado.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.22;
  filter: contrast(1.08) brightness(1.10) saturate(1.05);
}

.ambient-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 82, 255, 0.09), transparent 60%),
    radial-gradient(circle at 85% 40%, rgba(0, 163, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(241, 245, 249, 0.82) 0%, rgba(248, 250, 252, 0.90) 40%, #F1F5F9 100%);
}

/* ==========================================================================
   Top Announcement Bar & Header
   ========================================================================== */
.top-bar {
  background: rgba(241, 245, 249, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 10;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  color: var(--text-secondary);
}

.top-badge {
  font-family: var(--font-mono);
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.25);
  color: var(--electric-blue);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.top-bar-link {
  color: var(--electric-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-bar-link:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom-color: rgba(203, 213, 225, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0F172A;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0052FF, #00A3FF);
  transition: width 0.28s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--electric-blue);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-nav-cta {
  display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 82, 255, 0.22);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   Buttons (Industrial Bold & Tactical)
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  padding: 14px 28px;
  font-size: 0.96rem;
  line-height: 1.3;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  font-size: 0.9rem;
  padding: 11px 22px;
}

.btn-md {
  font-size: 0.98rem;
  padding: 15px 30px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 18px 36px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0052FF 0%, #0088FF 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(0, 102, 255, 0.55);
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
  color: #030d1a;
  border-color: #FFFFFF;
  box-shadow: 0 14px 32px -6px rgba(0, 210, 255, 0.75);
}

.btn-emerald {
  background: linear-gradient(135deg, #0052FF 0%, #0088FF 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(0, 102, 255, 0.55);
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
  color: #030d1a;
  border-color: #FFFFFF;
  box-shadow: 0 14px 32px -6px rgba(0, 210, 255, 0.75);
}

.btn-amber {
  background: linear-gradient(135deg, #0044CC 0%, #0066FF 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(0, 102, 255, 0.55);
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
  color: #030d1a;
  border-color: #FFFFFF;
  box-shadow: 0 14px 32px -6px rgba(0, 210, 255, 0.75);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--hydro-cyan);
}

/* ==========================================================================
   Spotlight Card Effect
   ========================================================================== */
.spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    560px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 82, 255, 0.06),
    transparent 45%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.spotlight-card:hover {
  border-color: rgba(0, 82, 255, 0.35);
  box-shadow: 0 16px 36px -6px rgba(0, 82, 255, 0.12);
}

/* ==========================================================================
   Hero Section: Street Sewer Repair Photo Background & Main Showcase
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 160px;
  background-color: #F1F5F9;
  border-bottom: 1px solid rgba(0, 82, 255, 0.12);
}

.hero-section-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-backdrop-image {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  bottom: -160px;
  background-image: url('../assets/img/hero-empalme-alcantarillado.jpg?v=2');
  background-size: cover;
  background-position: 60% 32%;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: contrast(1.05) brightness(1.02);
  will-change: transform;
}

.hero-backdrop-scrim {
  position: absolute;
  inset: 0;
  /* Enhanced clarity scrim: allows the street trench, sewer pipe repair, and phone photo to be clearly visible */
  background:
    linear-gradient(180deg,
      rgba(241, 245, 249, 0.78) 0%,
      rgba(241, 245, 249, 0.40) 18%,
      rgba(241, 245, 249, 0.18) 48%,
      rgba(241, 245, 249, 0.22) 75%,
      rgba(241, 245, 249, 0.65) 92%,
      #F1F5F9 100%
    ),
    radial-gradient(ellipse at 50% 25%, rgba(255, 255, 255, 0.50) 0%, transparent 75%);
}

.hero-content-relative {
  position: relative;
  z-index: 1;
}

.hero-header-center {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 42px;
  position: relative;
  padding: 32px 36px 28px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 
    0 20px 48px -12px rgba(0, 82, 255, 0.10),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.25);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--electric-blue);
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eyebrow-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 82, 255, 0.45);
  box-shadow: 0 6px 18px rgba(0, 82, 255, 0.14);
}

.water-drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  animation: hydroDropPulse 2.4s ease-in-out infinite;
}

.water-drop-icon svg {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 82, 255, 0.35));
}

.water-drop-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 136, 255, 0.55);
  opacity: 0;
  animation: hydroDropRipple 2.4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes hydroDropPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(0, 210, 255, 0.3));
  }
  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.7));
  }
}

@keyframes hydroDropRipple {
  0% {
    transform: scale(0.6);
    opacity: 0.85;
  }
  60% {
    transform: scale(1.6);
    opacity: 0.2;
  }
  100% {
    transform: scale(2.0);
    opacity: 0;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #0F172A;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   Hero Main Carousel / Showcase Slider
   ========================================================================== */
.hero-carousel-wrapper {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Navigation Tabs with Animated Progress Bars */
.slider-nav-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.slider-tab {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 12px;
  padding: 16px 18px 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-tab:hover {
  background: #FFFFFF;
  border-color: rgba(0, 82, 255, 0.35);
}

.slider-tab.active {
  background: #FFFFFF;
  border-color: #0052FF;
  box-shadow: 0 8px 24px -4px rgba(0, 82, 255, 0.16);
}

.tab-indicator-bar {
  width: 100%;
  height: 3px;
  background: rgba(203, 213, 225, 0.6);
  border-radius: 3px;
  margin-bottom: 4px;
  overflow: hidden;
}

.tab-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0052FF, #00A3FF);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.slider-tab.active .tab-progress {
  /* Animate progress via JS or linear transition */
}

.tab-meta {
  display: flex;
  flex-direction: column;
}

.tab-step {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--electric-blue);
  letter-spacing: 0.1em;
}

.tab-heading {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

.tab-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
}

.tab-tag.blue,
.tab-tag.green {
  background: rgba(0, 82, 255, 0.08);
  color: #0052FF;
  border: 1px solid rgba(0, 82, 255, 0.2);
}

.tab-tag.cyan {
  background: rgba(0, 163, 255, 0.1);
  color: #0066FF;
  border: 1px solid rgba(0, 163, 255, 0.25);
}

.tab-tag.white,
.tab-tag.amber {
  background: rgba(241, 245, 249, 0.9);
  color: #0F172A;
  border: 1px solid #CBD5E1;
}

/* Slider Stage & Slides */
.slider-stage {
  border-radius: 18px;
  padding: 34px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px -6px rgba(15, 23, 42, 0.06);
}

.slide-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.slide-panel.active {
  display: grid;
  animation: slideFadeIn 0.4s var(--ease-out-expo);
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-content-col {
  display: flex;
  flex-direction: column;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.badge-pill.bg-electric,
.badge-pill.bg-emerald {
  background: rgba(0, 82, 255, 0.08);
  color: #0052FF;
  border: 1px solid rgba(0, 82, 255, 0.25);
}

.badge-pill.bg-amber {
  background: rgba(0, 82, 255, 0.08);
  color: #0052FF;
  border: 1px solid rgba(0, 82, 255, 0.25);
}

.badge-pill.bg-outline-white {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
}

.badge-pill.bg-outline-cyan {
  background: rgba(0, 163, 255, 0.08);
  color: #0066FF;
  border: 1px solid rgba(0, 163, 255, 0.25);
}

.badge-pill.bg-outline-amber {
  background: rgba(0, 82, 255, 0.08);
  color: #0052FF;
  border: 1px solid rgba(0, 82, 255, 0.25);
}

.slide-content-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.slide-content-col > p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* Value Tags Grid (Ahorro dinero / tiempo / municipal) */
.value-tags-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.vtag {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 14px;
  border-radius: 10px;
  transition: border-color 0.25s ease;
}

.vtag:hover {
  border-color: rgba(0, 82, 255, 0.4);
}

.vtag-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}

.vtag strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.vtag span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.slide-live-indicator {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--electric-blue);
}

/* Visual Column */
.slide-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-img-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #040a14;
}

.visual-img-container img {
  width: 100%;
  height: auto;
}

/* High-Tech Technical Schematic Blueprint Card */
.visual-schematic-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 82, 255, 0.25);
  box-shadow: 0 16px 40px -8px rgba(0, 82, 255, 0.12), 0 4px 16px rgba(15, 23, 42, 0.04);
  background: #060e1c;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s ease;
}

.visual-schematic-card:hover {
  transform: translateY(-3px);
  border-color: #0052FF;
  box-shadow: 0 20px 48px -8px rgba(0, 82, 255, 0.2), 0 0 24px rgba(0, 163, 255, 0.15);
}

.visual-schematic-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Photographic Cards with Enterprise Telemetry Overlays */
.visual-photo-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.85);
  background: #07101e;
}

.visual-photo-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.visual-photo-card:hover img {
  transform: scale(1.025);
}

.photo-overlay-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 13, 24, 0.88);
  border: 1px solid rgba(0, 210, 255, 0.35);
  padding: 6px 14px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lizard-emerald-bright);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.live-pulse-dot.amber {
  background: var(--machinery-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.photo-overlay-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(8, 17, 31, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  padding: 13px 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
  z-index: 2;
}

.poc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.poc-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--hydro-cyan);
  background: rgba(0, 210, 255, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.poc-badge.amber {
  color: var(--machinery-amber);
  background: rgba(245, 158, 11, 0.16);
}

.poc-ot {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.poc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.poc-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

.poc-item span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.poc-status {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 3px;
}

/* Slider Controls Footer */
.slider-controls-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

.slider-arrow-btn {
  background: rgba(14, 28, 51, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--hydro-cyan);
  color: var(--hydro-cyan);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 28px;
  height: 6px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 48px;
  background: linear-gradient(90deg, var(--hydro-cyan), var(--lizard-emerald));
}

.slider-status-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Scenic Transition Zone between Hero and Section 2
   (Ventana panorámica ampliada para paso lento y apreciación visual de la zanja)
   ========================================================================== */
.hero-scenic-transition {
  margin-top: 72px;
  min-height: 460px;
  padding: 60px 24px 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.scenic-hud-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}

.hud-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 82, 255, 0.20);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #0F172A;
  white-space: nowrap;
  flex-shrink: 0;
}

.hud-item strong {
  color: var(--electric-blue);
  margin-right: 4px;
}

.hud-icon {
  font-size: 0.90rem;
}

.scenic-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--electric-blue);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 82, 255, 0.35);
  padding: 8px 18px;
  border-radius: 99px;
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hud-item {
    display: none !important;
  }
}

.scenic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D2FF;
  box-shadow: 0 0 10px #00D2FF;
}

.scenic-glass-banner {
  max-width: 660px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 12px 32px -8px rgba(0, 82, 255, 0.10),
    0 2px 6px rgba(15, 23, 42, 0.04);
}

.scenic-caption {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.45;
  margin: 0;
}

.scenic-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.scroll-cue-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--electric-blue);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.20);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), border-color 0.25s ease;
}

.scroll-cue-mouse:hover {
  transform: translateY(3px) scale(1.06);
  border-color: #00D2FF;
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.45);
}

.scroll-cue-dot {
  width: 4px;
  height: 9px;
  background: var(--electric-blue);
  border-radius: 2px;
  animation: scrollCueMove 1.8s ease-in-out infinite;
}

@keyframes scrollCueMove {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-cue-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #0F172A;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid rgba(0, 82, 255, 0.18);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   Kinetic Engineering Ticker Ribbon
   ========================================================================== */
.kinetic-ticker {
  position: relative;
  overflow: hidden;
  background: rgba(0, 82, 255, 0.04);
  border-top: 1px solid rgba(0, 82, 255, 0.15);
  border-bottom: 1px solid rgba(0, 82, 255, 0.15);
  padding: 13px 0;
  user-select: none;
}

.kinetic-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  animation: tickerScroll 34s linear infinite;
}

.ticker-sep {
  color: var(--electric-blue);
  font-size: 0.7rem;
}

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

/* ==========================================================================
   Clients Section & Infinite Logo Slider
   ========================================================================== */
.clients-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.75);
}

.clients-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--electric-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.clients-header h2,
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.clients-header p,
.section-heading p {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ==========================================================================
   Automatic Rotating Client Carousel (Touch / Drag Enabled)
   ========================================================================== */
.client-carousel-container {
  position: relative;
  width: 100%;
  margin: 32px 0 20px;
}

.client-carousel-viewport {
  width: 100%;
  overflow: hidden;
  padding: 16px 4px 24px;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.client-carousel-viewport:active,
.client-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.client-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.client-carousel-track.is-dragging {
  transition: none !important;
}

.client-carousel-track.is-dragging .client-slide-card {
  pointer-events: none;
}

.client-slide-card {
  flex: 0 0 320px;
  width: 320px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.client-slide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 82, 255, 0.4);
  box-shadow: 0 16px 36px -6px rgba(0, 82, 255, 0.14);
}

.client-slide-card.active {
  border-color: var(--electric-blue);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px -8px rgba(0, 82, 255, 0.22);
}

.client-slide-card.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, #0052FF, #00D2FF);
  border-radius: 0 0 4px 4px;
}

.client-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 16px;
}

.client-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.client-logo-box img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-slide-card:hover .client-logo-box img {
  transform: scale(1.04);
}

.client-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.client-tag {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 800;
  color: var(--electric-blue);
  letter-spacing: 0.06em;
}

.client-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Carousel Navigation Bar */
.client-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.client-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
}

.client-nav-btn:hover {
  background: var(--electric-blue);
  color: #FFFFFF;
  border-color: var(--electric-blue);
  transform: scale(1.08);
  box-shadow: 0 8px 20px -2px rgba(0, 82, 255, 0.3);
}

.client-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.client-dot.active {
  width: 28px;
  background: var(--electric-blue);
  box-shadow: 0 0 10px rgba(0, 82, 255, 0.4);
}

/* Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.metric-box {
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.metric-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0052FF 0%, #00A3FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.metric-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   3 Core Solutions Section
   ========================================================================== */
.solutions-section {
  padding: 96px 0;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 68px;
}

.solution-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 92px;
  padding: 42px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.solution-showcase:hover {
  border-color: rgba(0, 82, 255, 0.35);
  box-shadow: 0 20px 48px -10px rgba(0, 82, 255, 0.1);
}

.solution-showcase:last-child {
  margin-bottom: 0;
}

.solution-showcase.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.solution-showcase.reverse .solution-info {
  order: 2;
}

.solution-showcase.reverse .solution-visual {
  order: 1;
}

.solution-showcase.featured-solution {
  background: linear-gradient(145deg, rgba(0, 82, 255, 0.04) 0%, rgba(255, 255, 255, 0.95) 60%);
  border-color: rgba(0, 82, 255, 0.35);
  box-shadow: 0 20px 48px -10px rgba(0, 82, 255, 0.12);
}

.solution-number-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.sol-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sol-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.solution-number-badge.cyan .sol-num { color: var(--electric-blue); }
.solution-number-badge.cyan .sol-pill {
  background: rgba(0, 82, 255, 0.08);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 82, 255, 0.25);
}

.solution-number-badge.emerald .sol-num { color: var(--electric-blue); }
.solution-number-badge.emerald .sol-pill {
  background: rgba(0, 82, 255, 0.08);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 82, 255, 0.25);
}

.solution-number-badge.amber .sol-num { color: var(--electric-blue); }
.solution-number-badge.amber .sol-pill {
  background: rgba(0, 82, 255, 0.08);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 82, 255, 0.25);
}

.solution-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.solution-tagline {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--electric-blue);
  margin-bottom: 14px;
}

.solution-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 24px;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.25s var(--ease-out-expo);
}

.solution-features li:hover {
  transform: translateX(5px);
}

.feat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-icon.cyan,
.feat-icon.emerald,
.feat-icon.amber {
  background: rgba(0, 82, 255, 0.08);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 82, 255, 0.2);
}

.solution-features strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.solution-features span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* OT Flow Interactive Comparison Box */
.otflow-comparison-box {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 26px;
}

.comp-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.comp-btn {
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid #CBD5E1;
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.comp-btn.active[data-comp="with-otflow"] {
  background: rgba(0, 82, 255, 0.1);
  border-color: rgba(0, 82, 255, 0.4);
  color: var(--electric-blue);
}

.comp-btn.active[data-comp="without-otflow"] {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #DC2626;
}

.comp-content {
  display: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.comp-content.active {
  display: block;
  animation: fadeSlide 0.3s ease;
}

.comp-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 18px;
  list-style: disc;
  color: var(--text-secondary);
}

.comp-content .negative-list {
  color: var(--text-muted);
}

/* Visual Frame */
.solution-visual {
  padding: 18px;
}

.visual-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 4px;
  flex-wrap: wrap;
}

.frame-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.frame-badge.cyan,
.frame-badge.emerald,
.frame-badge.amber {
  background: rgba(0, 82, 255, 0.08);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 82, 255, 0.2);
}

.frame-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.visual-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 82, 255, 0.25);
  background: #060e1c;
  box-shadow: 0 16px 40px -8px rgba(0, 82, 255, 0.12), 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.solution-visual:hover .visual-image-wrap {
  border-color: var(--electric-blue);
  box-shadow: 0 20px 48px -8px rgba(0, 82, 255, 0.2), 0 0 24px rgba(0, 163, 255, 0.15);
}

.visual-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease-out-expo);
}

.solution-visual:hover .visual-image-wrap img {
  transform: scale(1.015);
}

/* ==========================================================================
   Expertise / Bento Grid Section
   ========================================================================== */
.expertise-section {
  padding: 84px 0;
  background: rgba(241, 245, 249, 0.6);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.04);
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon.emerald,
.bento-icon.cyan,
.bento-icon.amber {
  background: rgba(0, 82, 255, 0.08);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 82, 255, 0.2);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.bento-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.8);
  color: var(--electric-blue);
  padding: 5px 11px;
  border-radius: 99px;
  font-weight: 600;
}

.link-arrow {
  color: var(--electric-blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Contact & Information Request Section
   ========================================================================== */
.contact-section {
  padding: 96px 0;
  background: #F1F5F9;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.08);
}

.contact-pitch h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.16;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-pitch > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.c-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cb-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.25);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.c-benefit strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.c-benefit span {
  font-size: 0.87rem;
  color: var(--text-muted);
}

.direct-contact-card {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 18px 20px;
}

.dc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--electric-blue);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.dc-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Lead Form */
.contact-form-container {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 34px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05);
}

.form-header {
  margin-bottom: 22px;
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 18px;
}

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

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 7px;
}

.req {
  color: var(--electric-blue);
}

.form-input {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-input::placeholder {
  color: rgba(100, 116, 139, 0.6);
}

.form-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.18);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: #FFFFFF;
  color: var(--text-primary);
}

/* Interactive Solution Chips in Form */
.solution-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sol-chip {
  cursor: pointer;
}

.sol-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.22s ease;
}

.sol-chip input:checked + .chip-box {
  background: rgba(0, 82, 255, 0.08);
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  box-shadow: 0 0 14px -2px rgba(0, 82, 255, 0.25);
}

.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip-dot.cyan,
.chip-dot.emerald,
.chip-dot.amber,
.chip-dot.gradient {
  background: var(--electric-blue);
}

.form-error-msg {
  color: #DC2626;
  font-size: 0.84rem;
  margin-bottom: 12px;
  min-height: 20px;
}

.form-privacy {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Success State */
.form-success-state {
  text-align: center;
  padding: 42px 20px;
  animation: fadeSlide 0.4s var(--ease-out-expo);
}

.success-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.08);
  border: 2px solid var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--electric-blue);
}

.form-success-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.form-success-state p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ==========================================================================
   Footer (High Contrast Navy & Electric Water Accents)
   ========================================================================== */
.site-footer {
  background: #0B1528;
  color: #E2E8F0;
  border-top: 1px solid rgba(0, 82, 255, 0.25);
  padding: 68px 0 32px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0052FF 20%, #00D2FF 50%, #0052FF 80%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand-name {
  color: #FFFFFF;
}

.site-footer .brand-name .text-electric {
  color: #00D2FF;
}

.site-footer .brand-tag {
  color: #94A3B8;
}

.footer-desc {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: #00D2FF;
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #00D2FF;
  transform: translateX(4px);
}

.footer-cta-text {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-bottom {
  padding-top: 28px;
  text-align: center;
  font-size: 0.86rem;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================================
   Directional Slide Reveal System (Diapositivas al hacer Scroll)
   ========================================================================== */
.reveal-up,
.reveal-down,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  will-change: transform, opacity;
  transition: 
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(75px);
}

.reveal-down {
  transform: translateY(-65px);
}

.reveal-left {
  transform: translateX(-85px);
}

.reveal-right {
  transform: translateX(85px);
}

.reveal-scale {
  transform: translateY(50px) scale(0.90);
}

/* Activated Visible States */
.reveal-up.is-visible,
.reveal-down.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

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

/* Staggered Container for Grids and Multi-element Lists */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(45px);
  will-change: transform, opacity;
  transition: 
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.58s; }

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .slider-nav-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .slide-panel {
    grid-template-columns: 1fr;
  }

  .solution-showcase,
  .solution-showcase.reverse,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .solution-showcase.reverse .solution-info,
  .solution-showcase.reverse .solution-visual {
    order: unset;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 82, 255, 0.25);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-shadow: 0 24px 48px -10px rgba(15, 23, 42, 0.22);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .nav-link {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0F172A;
    padding: 10px 12px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  }

  .main-nav .nav-link:hover {
    background: rgba(0, 82, 255, 0.06);
    color: var(--electric-blue);
  }

  .mobile-nav-cta {
    display: inline-flex;
    margin-top: 6px;
    padding: 13px 18px;
    font-size: 0.92rem;
    white-space: normal;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .container {
    padding: 0 14px;
    width: 100%;
    max-width: 100%;
  }

  .site-header,
  .site-header.scrolled {
    padding: 10px 0;
  }

  .nav-container {
    gap: 8px;
    width: 100%;
  }

  .brand-logo {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .brand-tag {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .header-cta-btn {
    padding: 8px 12px;
    font-size: 0.76rem;
    border-radius: 9px;
    gap: 5px;
  }

  .hide-mobile-text {
    display: none;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .hero-section {
    padding: 28px 0 70px;
  }

  .hero-header-center {
    padding: 20px 14px;
    margin-bottom: 24px;
    border-radius: 18px;
  }

  .eyebrow-pill {
    font-size: 0.64rem;
    padding: 6px 12px;
    gap: 8px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  .hero-title {
    font-size: clamp(1.48rem, 6.2vw, 2rem);
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero-carousel-wrapper {
    padding: 12px;
    border-radius: 18px;
  }

  .slider-tab {
    padding: 12px 14px;
    gap: 8px;
  }

  .tab-heading {
    font-size: 0.86rem;
  }

  .tab-tag {
    font-size: 0.58rem;
    padding: 3px 7px;
    flex-shrink: 0;
  }

  .slider-stage {
    padding: 18px 14px;
  }

  .slide-panel h2 {
    font-size: 1.32rem;
    line-height: 1.24;
  }

  .slide-cta-row,
  .solution-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .slide-cta-row .btn,
  .solution-cta-row .btn,
  .contact-form-container .btn,
  .footer-col .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    padding: 13px 16px;
    font-size: 0.88rem;
  }

  .slider-controls-footer {
    justify-content: space-between;
    gap: 10px;
  }

  .slider-status-text {
    display: none;
  }

  .hero-scenic-transition {
    margin-top: 36px;
    min-height: 300px;
    padding: 32px 10px 36px;
    gap: 18px;
  }

  .scenic-pill-badge {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    font-size: 0.65rem;
    padding: 7px 14px;
    line-height: 1.35;
  }

  .scenic-glass-banner {
    padding: 12px 14px;
    max-width: 100%;
  }

  .scenic-caption {
    font-size: 0.94rem;
  }

  .client-slide-card {
    flex: 0 0 265px;
    width: 265px;
    padding: 18px;
  }

  .solutions-section,
  .expertise-section,
  .contact-section {
    padding: 56px 0;
  }

  .solution-showcase {
    padding: 20px 14px;
    margin-bottom: 44px;
    gap: 24px;
    border-radius: 18px;
  }

  .solution-visual {
    padding: 8px 0 0;
  }

  .comp-tabs {
    grid-template-columns: 1fr;
  }

  .bento-card {
    padding: 22px 16px;
  }

  .contact-wrapper {
    padding: 22px 14px;
    gap: 28px;
    border-radius: 18px;
  }

  .direct-contact-card {
    padding: 16px 14px;
  }

  .dc-item {
    font-size: 0.84rem;
    word-break: break-word;
  }

  .contact-form-container {
    padding: 18px 14px;
  }

  .form-row,
  .solution-selector-grid,
  .metrics-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .header-cta-btn {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   WhatsApp Direct Buttons & Floating Action Button
   ========================================================================== */
.btn-whatsapp {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 10px;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 12px 28px -6px rgba(16, 185, 129, 0.65);
  transform: translateY(-2px);
}

.dc-whatsapp-link {
  text-decoration: none;
  color: inherit;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dc-whatsapp-link:hover {
  background: rgba(16, 185, 129, 0.10);
  color: #059669;
}

.success-actions-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.whatsapp-float-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 99px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 12px 30px -6px rgba(16, 185, 129, 0.55),
    0 0 0 2px rgba(255, 255, 255, 0.85);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 36px -6px rgba(16, 185, 129, 0.75),
    0 0 0 3px #FFFFFF;
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    right: 16px;
    bottom: 16px;
    padding: 13px;
  }
  .wa-float-text {
    display: none;
  }
}
