/* ============================================================
   INYMO - Página Web Pública /inicio
   Alternating light/dark/metal sections — Industrial & Professional
   Fuentes: Barlow (body) + Barlow Condensed (labels/CTA) + Chakra Petch (numbers)
   ============================================================ */

:root {
  /* Brand */
  --inymo-navy: #0f172a;
  --inymo-navy-light: #1e293b;
  --inymo-slate: #334155;
  --inymo-green: #8CC63F;
  --inymo-green-dark: #6ba32e;
  --inymo-blue: #3B82F6;
  --inymo-blue-dark: #2563eb;

  /* Light section */
  --bg-light: #f8fafc;
  --bg-light-alt: #f1f5f9;
  --text-dark: #0f172a;
  --text-dark-secondary: #475569;
  --text-dark-muted: #94a3b8;

  /* Dark section */
  --bg-dark: #0f172a;
  --bg-dark-alt: #1e293b;
  --text-light: #f8fafc;
  --text-light-secondary: #94a3b8;
  --text-light-muted: #64748b;

  /* Common */
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --card-dark: rgba(30, 41, 59, 0.8);
  --card-light: #ffffff;
  --shadow-light: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-dark: 0 4px 24px rgba(0,0,0,0.3);
}

html, body {
  background: #070b10;
}

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

/* ========== PERFORMANCE OPTIMIZATIONS ========== */

/* Content-visibility for off-screen sections (huge perf gain) */
#sectores,
#servicios,
#proceso,
#clientes,
#fabricamos,
.inicio-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* GPU acceleration for animated elements */
.hero-section,
.sectores-door,
.sector-item,
.ficha-card,
.laser-vertical,
.laser-horizontal {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Contain layout repaints to sections */
section {
  contain: layout style;
}

/* Reduce paint on hover states */
.sector-item,
.ficha-card {
  will-change: transform;
}

/* Only for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.3s !important;
    transition-duration: 0.2s !important;
  }
}

/* ========== BODY ========== */
.inicio-body {
  font-family: 'Barlow', 'Century Gothic', 'Segoe UI', sans-serif;
  background: #070b10;
  min-height: 100vh;
  color: var(--text-dark);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ========== SECTION THEMES ========== */
.section-light {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-light);
  color: var(--text-dark);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-dark {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--text-light);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-metal {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: #161e2e;
  color: var(--text-light);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-light.visible,
.section-dark.visible,
.section-metal.visible,
.cta-parallax.visible,
.nosotros-compact.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Metallic texture overlay (CSS-only brushed metal) */
.metal-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.08;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.03) 2px,
      rgba(255,255,255,0.03) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(255,255,255,0.02) 1px,
      rgba(255,255,255,0.02) 3px
    ),
    radial-gradient(ellipse at 20% 50%, rgba(139,198,63,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-left {
  text-align: left;
  margin-bottom: 32px;
}

/* Dark bg badge (green on dark) */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 198, 63, 0.12);
  color: var(--inymo-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(139, 198, 63, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Barlow Condensed', sans-serif;
}

/* Light bg badge (green on white) */
.section-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 198, 63, 0.1);
  color: var(--inymo-green-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(139, 198, 63, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Barlow Condensed', sans-serif;
}

.section-title {
  font-family: 'Barlow', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-light);
}

.section-title-dark {
  font-family: 'Barlow', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.section-subtitle-dark {
  font-size: 1.1rem;
  color: var(--text-dark-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* ========== NAVBAR ========== */
.inicio-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.inicio-navbar.scrolled {
  background: rgba(10, 18, 32, 0.98);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.inicio-navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 198, 63, 0.5), rgba(59, 130, 246, 0.5), transparent);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(139, 198, 63, 0.3));
  transition: height 0.3s ease;
}

.inicio-navbar.scrolled .navbar-logo img {
  height: 32px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar-links a:hover {
  color: var(--inymo-green);
  text-shadow: 0 0 12px rgba(139,198,63,0.5);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--inymo-green);
  transition: width 0.3s ease;
}

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

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--inymo-green) 0%, var(--inymo-green-dark) 100%);
  color: var(--inymo-navy) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.navbar-cta::after {
  display: none !important;
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 198, 63, 0.4);
  color: var(--inymo-navy) !important;
}

.navbar-toggler {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  background: var(--bg-dark);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg,
      rgba(15, 23, 42, 0.75) 0%,
      rgba(15, 23, 42, 0.45) 40%,
      rgba(15, 23, 42, 0.88) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(139, 198, 63, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  z-index: 1;
}

/* Hero split: text left + 3D model right */
.hero-split {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex: 1 1 55%;
  min-width: 0;
}

/* 3D Model column */
.hero-model-col {
  flex: 0 1 580px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Background image behind 3D — semi-transparent reference */
.hero-model-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
}

.hero-model-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: saturate(0.55) brightness(0.8);
  mask-image: radial-gradient(ellipse 85% 75% at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at center, black 35%, transparent 75%);
  transition: opacity 0.6s ease;
}

/* ---- Loading animation (assembling effect) ---- */
.hero-model-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  pointer-events: none;
}

.hero-model-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Grid cells that "build" the model */
.loader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.loader-cell {
  background: rgba(139, 198, 63, 0.08);
  border: 1px solid rgba(139, 198, 63, 0.15);
  border-radius: 4px;
  animation: cellBuild 2.4s ease-in-out infinite;
}

.loader-cell:nth-child(1)  { animation-delay: 0s; }
.loader-cell:nth-child(2)  { animation-delay: 0.1s; }
.loader-cell:nth-child(3)  { animation-delay: 0.2s; }
.loader-cell:nth-child(4)  { animation-delay: 0.3s; }
.loader-cell:nth-child(5)  { animation-delay: 0.15s; }
.loader-cell:nth-child(6)  { animation-delay: 0.25s; }
.loader-cell:nth-child(7)  { animation-delay: 0.35s; }
.loader-cell:nth-child(8)  { animation-delay: 0.45s; }
.loader-cell:nth-child(9)  { animation-delay: 0.3s; }
.loader-cell:nth-child(10) { animation-delay: 0.4s; }
.loader-cell:nth-child(11) { animation-delay: 0.5s; }
.loader-cell:nth-child(12) { animation-delay: 0.6s; }
.loader-cell:nth-child(13) { animation-delay: 0.45s; }
.loader-cell:nth-child(14) { animation-delay: 0.55s; }
.loader-cell:nth-child(15) { animation-delay: 0.65s; }
.loader-cell:nth-child(16) { animation-delay: 0.75s; }

@keyframes cellBuild {
  0%, 100% {
    background: rgba(139, 198, 63, 0.05);
    border-color: rgba(139, 198, 63, 0.1);
    transform: scale(0.85);
    opacity: 0.4;
  }
  50% {
    background: rgba(139, 198, 63, 0.25);
    border-color: rgba(139, 198, 63, 0.5);
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 12px rgba(139, 198, 63, 0.3);
  }
}

/* Scanning line */
.loader-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--inymo-green), transparent);
  box-shadow: 0 0 15px rgba(139, 198, 63, 0.6);
  animation: scanMove 2s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes scanMove {
  0%   { top: 10%; }
  50%  { top: 85%; }
  100% { top: 10%; }
}

/* Loading text */
.loader-text {
  font-family: 'Chakra Petch', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ---- Glitch/interference overlay for model transitions ---- */
.hero-model-glitch {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

.hero-model-glitch.active {
  opacity: 1;
  visibility: visible;
}

/* Horizontal scan lines (CRT interference) */
.glitch-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(139, 198, 63, 0.04) 2px,
    rgba(139, 198, 63, 0.04) 4px
  );
  animation: glitchScanlines 0.3s steps(2) infinite;
  z-index: 1;
}

/* Noise / static overlay */
.glitch-noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(ellipse 3px 3px at 20% 50%, rgba(139,198,63,0.5), transparent),
    radial-gradient(ellipse 2px 2px at 70% 30%, rgba(139,198,63,0.4), transparent),
    radial-gradient(ellipse 4px 2px at 40% 80%, rgba(0,255,100,0.3), transparent),
    radial-gradient(ellipse 2px 3px at 80% 60%, rgba(139,198,63,0.6), transparent),
    radial-gradient(ellipse 3px 2px at 10% 20%, rgba(0,200,80,0.3), transparent),
    radial-gradient(ellipse 2px 4px at 60% 10%, rgba(139,198,63,0.4), transparent);
  background-size: 150px 120px;
  animation: glitchNoise 0.4s steps(2) infinite;
  z-index: 2;
  mix-blend-mode: screen;
}

/* Glitch text label */
.glitch-text {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: 'Chakra Petch', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 8px rgba(139,198,63,0.6);
  animation: glitchTextFlicker 0.3s steps(2) infinite;
  white-space: nowrap;
}

/* Horizontal RGB split bars (interference bands) */
.hero-model-glitch.active::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 10%,
    rgba(255, 0, 60, 0.6) 20%,
    rgba(139, 198, 63, 0.8) 40%,
    rgba(0, 200, 255, 0.6) 60%,
    transparent 80%
  );
  z-index: 4;
  animation: glitchBar 0.2s steps(8) infinite;
}

.hero-model-glitch.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 10, 0.7);
  z-index: 0;
  border-radius: 20px;
}

@keyframes glitchScanlines {
  0%   { transform: translateY(0); }
  33%  { transform: translateY(-2px); }
  66%  { transform: translateY(1px); }
  100% { transform: translateY(-1px); }
}

@keyframes glitchNoise {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-30px, 20px); }
  50%  { transform: translate(20px, -40px); }
  75%  { transform: translate(-10px, 30px); }
  100% { transform: translate(40px, -10px); }
}

@keyframes glitchBar {
  0%   { top: 15%; opacity: 1; }
  12%  { top: 45%; opacity: 0.7; }
  25%  { top: 78%; opacity: 1; }
  37%  { top: 22%; opacity: 0.5; }
  50%  { top: 60%; opacity: 1; }
  62%  { top: 35%; opacity: 0.8; }
  75%  { top: 85%; opacity: 0.6; }
  87%  { top: 10%; opacity: 1; }
  100% { top: 52%; opacity: 0.9; }
}

@keyframes glitchTextFlicker {
  0%   { opacity: 1; transform: translateX(-50%) skewX(0deg); }
  25%  { opacity: 0.6; transform: translateX(calc(-50% + 3px)) skewX(-2deg); }
  50%  { opacity: 1; transform: translateX(calc(-50% - 2px)) skewX(1deg); }
  75%  { opacity: 0.4; transform: translateX(calc(-50% + 1px)) skewX(-1deg); }
  100% { opacity: 1; transform: translateX(-50%) skewX(0deg); }
}

/* Model viewer */
.hero-3d-model {
  width: 100%;
  height: 560px;
  background: transparent;
  border-radius: 20px;
  --poster-color: transparent;
  outline: none;
  position: relative;
  z-index: 2;
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Verde INYMO - brillante y saturado */
  filter: brightness(1.1) contrast(1.1) sepia(1) hue-rotate(60deg) saturate(1.8);
}

.hero-3d-model::part(default-progress-bar) {
  display: none;
}

.hero-model-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}

#heroModelName {
  color: var(--inymo-green);
  font-weight: 700;
  transition: opacity 0.4s ease;
}

.hero-model-hint {
  color: rgba(255,255,255,0.25);
  font-weight: 500;
}

/* Mobile: optimized 3D model mode */
@media (max-width: 767px) {
  /* Reduce hero video on mobile for performance */
  .hero-video-bg {
    opacity: 0.15;
  }

  /* Disable heavy overlays */
  .hero-grid-overlay {
    display: none !important;
  }

  .hero-model-col {
    min-height: 220px;
    will-change: transform;
  }

  .hero-model-bg {
    border-radius: 16px;
  }

  .hero-model-bg img {
    opacity: 0.8;
    filter: saturate(0.7) brightness(0.85);
    mask-image: none;
    -webkit-mask-image: none;
  }

  /* Optimized 3D model for mobile */
  .hero-3d-model {
    height: 260px;
    will-change: transform;
    --progress-bar-color: transparent;
  }

  .hero-model-hint {
    display: none;
  }

  /* Disable glitch effects on mobile */
  .hero-model-glitch {
    display: none !important;
  }

  /* Simplify animations */
  .anim-slide-up,
  .anim-fade {
    animation-duration: 0.4s !important;
  }

  /* Reduce loader complexity */
  .hero-model-loader .loader-grid {
    display: none;
  }
}

.hero-model-label i {
  font-size: 1rem;
  color: var(--inymo-green);
  opacity: 0.5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 198, 63, 0.08);
  color: var(--inymo-green);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(139, 198, 63, 0.35);
  animation: pulse-glow 3s ease-in-out infinite;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(139,198,63,0.4);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(139, 198, 63, 0.2); }
  50% { box-shadow: 0 0 20px rgba(139, 198, 63, 0.4); }
}

.hero-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 30px rgba(255,255,255,0.08);
}

.hero-line {
  display: block;
}

.hero-accent {
  color: transparent;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, #5a8a20, var(--inymo-green), #a8e063, var(--inymo-green), #6db82a);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientTextShift 6s ease infinite;
  filter: drop-shadow(0 0 12px rgba(139,198,63,0.35));
}

/* Slide-up animation for hero lines */
.anim-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.7s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fade {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  font-weight: 400;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.02em;
  border-left: 2px solid rgba(139,198,63,0.4);
  padding-left: 16px;
}

/* Hero counters */
.hero-counters {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-counter {
  text-align: center;
  flex: 1;
  min-width: 100px;
  padding: 12px 8px;
  border: 1px solid rgba(139,198,63,0.1);
  border-radius: 4px;
  background: rgba(139,198,63,0.03);
  position: relative;
}

.hero-counter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,198,63,0.3), transparent);
}

.counter-number {
  display: block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--inymo-green);
  line-height: 1;
  text-shadow: 0 0 20px rgba(139,198,63,0.4);
}

.counter-suffix {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--inymo-green);
}

.counter-label {
  display: block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

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

/* ========== BUTTONS ========== */
.btn-primary-inicio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--inymo-green) 0%, var(--inymo-green-dark) 100%);
  color: var(--inymo-navy);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  position: relative;
}

.btn-primary-inicio:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 198, 63, 0.35);
  color: var(--inymo-navy);
}

.btn-secondary-inicio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  color: var(--text-light);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.12);
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-secondary-inicio:hover {
  background: rgba(139, 198, 63, 0.08);
  border-color: rgba(139,198,63,0.4);
  color: var(--inymo-green);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(139,198,63,0.4);
  box-shadow: 0 0 15px rgba(139,198,63,0.1);
}

.btn-secondary-inicio.btn-light {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.btn-secondary-inicio.btn-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ========== MARQUEE STRIP ========== */
.marquee-strip {
  background: linear-gradient(90deg, var(--inymo-green), #a8e063, var(--inymo-green), #7ec83e);
  background-size: 300% 100%;
  animation: marqueeGradient 8s ease infinite;
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(139, 198, 63, 0.3), 0 -4px 20px rgba(139, 198, 63, 0.15);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--inymo-navy);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 20px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: text-shadow 0.3s;
}

.marquee-item:hover {
  text-shadow: 0 0 8px rgba(15, 23, 42, 0.3);
}

.marquee-icon {
  font-size: 1rem;
  opacity: 0.6;
}

.marquee-dot {
  font-size: 0.5rem;
  color: var(--inymo-navy);
  opacity: 0.3;
  flex-shrink: 0;
  padding: 0 4px;
}

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

@keyframes marqueeGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========== SERVICIOS VISUAL GRID (PRIORITY SECTION) ========== */
.servicios-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

a.servicio-visual {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s ease;
}

a.servicio-visual:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

a.servicio-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

a.servicio-visual:hover img {
  transform: scale(1.1);
}

.servicio-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(15, 23, 42, 0.1) 0%,
    rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

a.servicio-visual:hover .servicio-visual-overlay {
  background: linear-gradient(180deg,
    rgba(15, 23, 42, 0.15) 0%,
    rgba(10, 15, 26, 0.95) 100%);
}

a.servicio-visual:hover .servicio-visual-icon i {
  animation: iconSpin 0.6s ease-out;
}

@keyframes iconSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.servicio-visual-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(12px);
  transition: transform 0.4s ease;
}

a.servicio-visual:hover .servicio-visual-content {
  transform: translateY(0);
}

.servicio-visual-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 198, 63, 0.2);
  border-radius: 12px;
  font-size: 1.4rem;
  color: var(--inymo-green);
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(139, 198, 63, 0.3);
}

.servicio-visual-content h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.servicio-visual-content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

a.servicio-visual:hover .servicio-visual-content p {
  opacity: 1;
}

.servicio-cta {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease 0.1s;
}

a.servicio-visual:hover .servicio-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ========== CAPACIDADES + PROCESO (section-metal) ========== */
.capas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.capas-layout-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.capas-bars,
.capas-certs,
.capas-proceso {
  position: relative;
  z-index: 2;
}

/* Progress bars */
.progress-item {
  margin-bottom: 24px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.progress-header span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light-secondary);
}

.progress-header .progress-percent {
  color: var(--inymo-green);
  font-weight: 700;
  font-family: 'Chakra Petch', sans-serif;
}

.progress-bar-bg {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  height: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  width: 0;
  transition: width 1.5s ease-out;
}

/* Certifications */
.capas-certs h4,
.capas-proceso h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-secondary);
  margin-bottom: 20px;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cert-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.cert-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

.cert-code {
  display: block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--inymo-blue);
  margin-bottom: 4px;
}

.cert-name {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light-muted);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Process steps - OLD STYLES REMOVED (now in info-grid section) */

.p-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.p-step:hover {
  background: rgba(139, 198, 63, 0.06);
  border-color: rgba(139, 198, 63, 0.2);
}

.p-num {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--inymo-green);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 198, 63, 0.1);
  border-radius: 10px;
}

.p-info h5 {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 2px;
}

.p-info p {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  margin: 0;
  line-height: 1.4;
}

/* ========== SECTORES — FUTURISTIC VAULT ========== */

/* — Reduce spacing: marquee ➜ sectores ➜ servicios — */

/* --- Section SERVICIOS: dark futuristic style --- */
#servicios {
  padding: 30px 0 60px;
  background: linear-gradient(180deg,
    #070b10 0%,
    #0a0f16 15%,
    #0c1220 40%,
    #0f172a 60%,
    #0c1424 80%,
    #070b10 100%
  );
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

/* Dark base layer - always visible first */
#servicios::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #070b10;
  z-index: 0;
  pointer-events: none;
}

/* Static background image for servicios (subtle texture overlay) */
#servicios .servicios-static-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #070b10;
  z-index: 1;
  pointer-events: none;
}

/* Video background for servicios (loads on top, fades in) */
#servicios .servicios-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 120%;
  min-height: 120%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.35);
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 1s ease;
  background: #070b10;
}

#servicios .servicios-video-bg.loaded {
  opacity: 0.12;
}

#servicios > .container {
  position: relative;
  z-index: 5;
}

/* Smooth blend overlay at top */
#servicios .blend-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #070b10 0%, rgba(7, 11, 16, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

/* === LASER VERTICAL - revela imágenes y títulos === */
#servicios .laser-vertical {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 198, 63, 0.4) 25%,
    rgba(139, 198, 63, 1) 50%,
    rgba(139, 198, 63, 0.4) 75%,
    transparent 100%
  );
  box-shadow: 0 0 15px rgba(139, 198, 63, 0.6);
  z-index: 10;
  opacity: 0;
}

#servicios.visible .laser-vertical {
  opacity: 1;
  animation: laserVertical 1.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes laserVertical {
  0% { top: 0; opacity: 0; }
  3% { opacity: 1; }
  90% { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* === LASER HORIZONTAL - sincronizado con el vertical === */
#servicios .laser-horizontal {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(139, 198, 63, 0.4) 25%,
    rgba(139, 198, 63, 1) 50%,
    rgba(139, 198, 63, 0.4) 75%,
    transparent 100%
  );
  box-shadow: 0 0 15px rgba(139, 198, 63, 0.6);
  z-index: 10;
  opacity: 0;
}

/* Desktop: horizontal empieza cuando vertical termina */
#servicios.visible .laser-horizontal {
  opacity: 1;
  animation: laserHorizontal 1.4s cubic-bezier(0.25, 0.1, 0.25, 1) 1.5s forwards;
}

@keyframes laserHorizontal {
  0% { left: 0; opacity: 0; }
  3% { opacity: 1; }
  90% { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* === FICHAS - SOLO imágenes reveladas por laser vertical === */
#servicios .ficha-card .ficha-img-wrap {
  opacity: 0;
  transform: translateY(15px);
}

/* Fila 1 - cards 1 y 2 (imágenes) */
#servicios.visible .ficha-card:nth-child(1) .ficha-img-wrap { animation: revealElement 0.4s ease-out 0.3s forwards; }
#servicios.visible .ficha-card:nth-child(2) .ficha-img-wrap { animation: revealElement 0.4s ease-out 0.5s forwards; }

/* Fila 2 - cards 3 y 4 (imágenes) */
#servicios.visible .ficha-card:nth-child(3) .ficha-img-wrap { animation: revealElement 0.4s ease-out 0.8s forwards; }
#servicios.visible .ficha-card:nth-child(4) .ficha-img-wrap { animation: revealElement 0.4s ease-out 1s forwards; }

/* Fila 3 - cards 5 y 6 (imágenes) */
#servicios.visible .ficha-card:nth-child(5) .ficha-img-wrap { animation: revealElement 0.4s ease-out 1.3s forwards; }
#servicios.visible .ficha-card:nth-child(6) .ficha-img-wrap { animation: revealElement 0.4s ease-out 1.5s forwards; }

/* === FICHAS - TODO el texto revelado por laser horizontal === */
#servicios .ficha-card .ficha-body h3,
#servicios .ficha-card .ficha-icon,
#servicios .ficha-card .ficha-features,
#servicios .ficha-card .ficha-cta,
#servicios .ficha-card .ficha-badge {
  opacity: 0;
  transform: translateX(-15px);
}

/* Columna izquierda (cards 1, 3, 5) - texto con láser horizontal */
#servicios.visible .ficha-card:nth-child(1) .ficha-body h3,
#servicios.visible .ficha-card:nth-child(1) .ficha-icon,
#servicios.visible .ficha-card:nth-child(1) .ficha-features,
#servicios.visible .ficha-card:nth-child(1) .ficha-cta,
#servicios.visible .ficha-card:nth-child(1) .ficha-badge { animation: revealHorizontal 0.4s ease-out 1.3s forwards; }

#servicios.visible .ficha-card:nth-child(3) .ficha-body h3,
#servicios.visible .ficha-card:nth-child(3) .ficha-icon,
#servicios.visible .ficha-card:nth-child(3) .ficha-features,
#servicios.visible .ficha-card:nth-child(3) .ficha-cta,
#servicios.visible .ficha-card:nth-child(3) .ficha-badge { animation: revealHorizontal 0.4s ease-out 1.5s forwards; }

#servicios.visible .ficha-card:nth-child(5) .ficha-body h3,
#servicios.visible .ficha-card:nth-child(5) .ficha-icon,
#servicios.visible .ficha-card:nth-child(5) .ficha-features,
#servicios.visible .ficha-card:nth-child(5) .ficha-cta,
#servicios.visible .ficha-card:nth-child(5) .ficha-badge { animation: revealHorizontal 0.4s ease-out 1.7s forwards; }

/* Columna derecha (cards 2, 4, 6) - texto con láser horizontal */
#servicios.visible .ficha-card:nth-child(2) .ficha-body h3,
#servicios.visible .ficha-card:nth-child(2) .ficha-icon,
#servicios.visible .ficha-card:nth-child(2) .ficha-features,
#servicios.visible .ficha-card:nth-child(2) .ficha-cta,
#servicios.visible .ficha-card:nth-child(2) .ficha-badge { animation: revealHorizontal 0.4s ease-out 1.9s forwards; }

#servicios.visible .ficha-card:nth-child(4) .ficha-body h3,
#servicios.visible .ficha-card:nth-child(4) .ficha-icon,
#servicios.visible .ficha-card:nth-child(4) .ficha-features,
#servicios.visible .ficha-card:nth-child(4) .ficha-cta,
#servicios.visible .ficha-card:nth-child(4) .ficha-badge { animation: revealHorizontal 0.4s ease-out 2.1s forwards; }

#servicios.visible .ficha-card:nth-child(6) .ficha-body h3,
#servicios.visible .ficha-card:nth-child(6) .ficha-icon,
#servicios.visible .ficha-card:nth-child(6) .ficha-features,
#servicios.visible .ficha-card:nth-child(6) .ficha-cta,
#servicios.visible .ficha-card:nth-child(6) .ficha-badge { animation: revealHorizontal 0.4s ease-out 2.3s forwards; }

@keyframes revealElement {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes revealHorizontal {
  0% { opacity: 0; transform: translateX(-15px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Badge styling for servicios */
#servicios .section-badge {
  background: rgba(139, 198, 63, 0.12);
  color: var(--inymo-green);
  border: 1px solid rgba(139, 198, 63, 0.3);
  font-size: 0.88rem;
  padding: 12px 28px;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.1em;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

#servicios .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #fff 35%, var(--inymo-green) 50%, var(--inymo-blue) 65%, #fff 80%, #fff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Chakra Petch', sans-serif;
  margin-bottom: 8px;
}

#servicios .section-subtitle {
  color: var(--text-light-secondary);
  font-size: 1.1rem;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

#servicios .section-header {
  margin-bottom: 16px;
}

#servicios .section-badge {
  margin-bottom: 8px;
}

/* --- Section: dark futuristic override --- */
#sectores {
  padding: 70px 0 60px;
  background: linear-gradient(180deg,
    #070b14 0%,
    #0c1220 25%,
    #0f172a 50%,
    #0c1424 75%,
    #0a1018 100%
  );
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

#sectores::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/presentacion/planta-aerea.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

#sectores > .container {
  position: relative;
  z-index: 2;
}

/* Override -dark badge/title/subtitle for dark bg */
#sectores .section-badge-dark {
  background: rgba(139, 198, 63, 0.12);
  color: var(--inymo-green);
  border-color: rgba(139, 198, 63, 0.3);
  font-size: 0.88rem;
  padding: 12px 28px;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.1em;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
#sectores .section-title-dark {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff 0%, #fff 35%, var(--inymo-green) 50%, var(--inymo-blue) 65%, #fff 80%, #fff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#sectores .section-subtitle-dark {
  color: var(--text-light-secondary);
  font-size: 1.2rem;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
#sectores .section-header {
  margin-bottom: 28px;
}

/* --- Metal background texture --- */
.sectores-metal-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    repeating-linear-gradient(
      90deg, transparent, transparent 1px,
      rgba(255,255,255,0.04) 1px, rgba(255,255,255,0.04) 3px
    ),
    repeating-linear-gradient(
      0deg, transparent, transparent 2px,
      rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 5px
    ),
    radial-gradient(ellipse at 15% 50%, rgba(139,198,63,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(59,130,246,0.12) 0%, transparent 55%);
}

/* --- Circuit / grid overlay --- */
.sectores-grid-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(139,198,63,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,198,63,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* --- Scan line --- */
.sectores-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 20%, rgba(139,198,63,0.6) 50%, transparent 80%);
  opacity: 0;
  animation: sectoresScanLine 4s ease-in-out infinite 1.5s;
}

@keyframes sectoresScanLine {
  0%   { top: 0;    opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* --- ROBOTIC VAULT DOOR PANELS --- */
.sectores-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 15;
  will-change: transform;
  overflow: hidden;
}

.sectores-door-left {
  left: 0;
  background: linear-gradient(160deg, #0a1018 0%, #0f1a2c 30%, #111e32 60%, #0c1524 100%);
  transform-origin: left center;
  transition: transform 1.6s cubic-bezier(0.7, 0, 0.2, 1) 0.3s;
}

.sectores-door-right {
  right: 0;
  background: linear-gradient(200deg, #0a1018 0%, #0f1a2c 30%, #111e32 60%, #0c1524 100%);
  transform-origin: right center;
  transition: transform 1.6s cubic-bezier(0.7, 0, 0.2, 1) 0.3s;
}

/* Brushed-metal texture on doors */
.sectores-door::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.1;
  background:
    repeating-linear-gradient(
      90deg, transparent, transparent 1px,
      rgba(255,255,255,0.05) 1px, rgba(255,255,255,0.05) 3px
    ),
    repeating-linear-gradient(
      0deg, transparent, transparent 40px,
      rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px
    );
  pointer-events: none;
}

/* Door panel lines — horizontal grooves across door */
.door-panel-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 80px,
      rgba(255,255,255,0.04) 80px,
      rgba(255,255,255,0.04) 82px,
      transparent 82px,
      transparent 84px,
      rgba(255,255,255,0.02) 84px,
      rgba(255,255,255,0.02) 85px
    );
}

/* Hydraulic pistons — top and bottom */
.door-hydraulic {
  position: absolute;
  z-index: 2;
  height: 6px;
  background: linear-gradient(90deg, rgba(139,198,63,0.05), rgba(139,198,63,0.2), rgba(139,198,63,0.05));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.1s, box-shadow 0.5s ease;
}
.door-hydraulic-top { top: 25%; width: 70%; }
.door-hydraulic-bottom { bottom: 25%; width: 55%; }
.sectores-door-left .door-hydraulic { right: 10px; left: auto; }
.sectores-door-right .door-hydraulic { left: 10px; right: auto; }

/* Hydraulic glow when activating */
#sectores.visible .door-hydraulic {
  width: 95%;
  box-shadow: 0 0 8px rgba(139,198,63,0.3);
}

/* Door lock mechanism */
.door-lock {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid rgba(139,198,63,0.2);
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.sectores-door-left .door-lock { right: 16px; }
.sectores-door-right .door-lock { left: 16px; }

.door-lock-ring {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(139,198,63,0.3);
  border-radius: 50%;
  position: relative;
  transition: transform 0.6s ease, border-color 0.4s ease;
}
.door-lock-ring::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: rgba(139,198,63,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Lock UNLOCK animation */
#sectores.visible .door-lock {
  border-color: var(--inymo-green);
  box-shadow: 0 0 12px rgba(139,198,63,0.4);
}
#sectores.visible .door-lock-ring {
  transform: rotate(90deg);
  border-color: var(--inymo-green);
}
#sectores.visible .door-lock-ring::after {
  background: var(--inymo-green);
  box-shadow: 0 0 10px rgba(139,198,63,0.8);
}

/* Door seam — glowing edge line */
.door-seam {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  z-index: 4;
  background: linear-gradient(180deg,
    transparent 3%,
    rgba(139,198,63,0.08) 10%,
    rgba(139,198,63,0.5) 30%,
    rgba(139,198,63,0.8) 50%,
    rgba(139,198,63,0.5) 70%,
    rgba(139,198,63,0.08) 90%,
    transparent 97%
  );
  box-shadow: 0 0 12px rgba(139,198,63,0.4);
  transition: box-shadow 0.5s ease;
}
.sectores-door-left .door-seam { right: 0; }
.sectores-door-right .door-seam { left: 0; }

/* Seam glow intensifies before opening */
#sectores.visible .door-seam {
  box-shadow: 0 0 20px rgba(139,198,63,0.6);
}

/* Door warning light */
.door-warning {
  position: absolute;
  bottom: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(139,198,63,0.3);
  border: 1px solid rgba(139,198,63,0.1);
  background: rgba(139,198,63,0.03);
  z-index: 3;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.sectores-door-left .door-warning { right: 20px; }
.sectores-door-right .door-warning { left: 20px; }

/* Warning blinks when doors activate */
#sectores.visible .door-warning {
  color: var(--inymo-green);
  border-color: rgba(139,198,63,0.5);
  background: rgba(139,198,63,0.1);
  box-shadow: 0 0 12px rgba(139,198,63,0.4);
  animation: doorWarningBlink 0.4s ease 4;
}
@keyframes doorWarningBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Door top/bottom edge rail */
.sectores-door::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(255,255,255,0.06) 20%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0.06) 80%,
    transparent 95%
  );
}
.sectores-door-left::after { top: 0; }
.sectores-door-right::after { bottom: 0; }

/* --- Door OPEN — multi-stage robotic motion --- */
/* Stage 1 (0-0.3s): Lock unlocks, seam glows, warning blinks (CSS transitions above) */
/* Stage 2 (0.3s+): Doors slide out with slight perspective rotation */
#sectores.visible .sectores-door-left {
  transform: translateX(-105%) perspective(800px) rotateY(6deg);
}
#sectores.visible .sectores-door-right {
  transform: translateX(105%) perspective(800px) rotateY(-6deg);
}

/* Content behind doors — delayed fade in after doors start opening */
#sectores .container {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s ease 0.9s, transform 0.9s ease 0.9s;
}
#sectores.visible .container {
  opacity: 1;
  transform: scale(1);
}

/* ---- SECTOR GLITCH — Technological Interference (like 3D hero) ---- */

/* Card gets a subtle jitter */
.sector-item.sector-glitching {
  z-index: 5;
  animation: sectorCardJitter 0.6s steps(4) forwards;
}

@keyframes sectorCardJitter {
  0%   { transform: translate(0, 0); }
  15%  { transform: translate(2px, -1px); }
  30%  { transform: translate(-1px, 1px); }
  45%  { transform: translate(1px, 0); }
  60%  { transform: translate(-2px, -1px); }
  75%  { transform: translate(1px, 1px); }
  100% { transform: translate(0, 0); }
}

/* Overlay container injected via JS */
.sector-glitch-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 12;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
  animation: sgOverlayFade 2.4s ease forwards;
}

@keyframes sgOverlayFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Dark backdrop with blur */
.sector-glitch-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 24, 0.7);
  z-index: 0;
  border-radius: inherit;
}

/* CRT scanlines */
.sg-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(139, 198, 63, 0.06) 2px,
    rgba(139, 198, 63, 0.06) 4px
  );
  animation: glitchScanlines 0.3s steps(2) infinite;
}

/* Static noise dots */
.sg-noise {
  position: absolute;
  inset: -50%;
  width: 200%; height: 200%;
  z-index: 2;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(ellipse 3px 3px at 15% 45%, rgba(139,198,63,0.5), transparent),
    radial-gradient(ellipse 2px 2px at 65% 25%, rgba(139,198,63,0.4), transparent),
    radial-gradient(ellipse 4px 2px at 35% 75%, rgba(0,255,100,0.3), transparent),
    radial-gradient(ellipse 2px 3px at 80% 55%, rgba(139,198,63,0.6), transparent),
    radial-gradient(ellipse 3px 2px at 50% 15%, rgba(0,200,80,0.3), transparent);
  background-size: 120px 100px;
  animation: glitchNoise 0.4s steps(2) infinite;
}

/* Green interference bar that jumps across the card */
.sg-bar {
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(139, 198, 63, 0.4) 15%,
    rgba(139, 198, 63, 0.9) 40%,
    rgba(180, 230, 100, 1) 50%,
    rgba(139, 198, 63, 0.9) 60%,
    rgba(139, 198, 63, 0.4) 85%,
    transparent 95%
  );
  box-shadow: 0 0 12px rgba(139, 198, 63, 0.8), 0 0 25px rgba(139, 198, 63, 0.4);
  animation: sgBarJump 0.2s steps(8) infinite;
}

/* Sector card vibration during glitch */
.sector-glitching {
  animation: sectorVibrate 0.2s linear infinite !important;
}

@keyframes sectorVibrate {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1.5px, 1px); }
  50%  { transform: translate(1.5px, -0.5px); }
  75%  { transform: translate(-1px, -0.5px); }
  100% { transform: translate(0, 0); }
}

@keyframes sgBarJump {
  0%   { top: 12%; opacity: 1; }
  12%  { top: 48%; opacity: 0.7; }
  25%  { top: 80%; opacity: 1; }
  37%  { top: 25%; opacity: 0.5; }
  50%  { top: 65%; opacity: 1; }
  62%  { top: 38%; opacity: 0.8; }
  75%  { top: 88%; opacity: 0.6; }
  87%  { top: 8%; opacity: 1; }
  100% { top: 55%; opacity: 0.9; }
}

/* --- GLITCH LOGOS (INYMO izq + COMMSA der) --- */
.sector-glitch-overlay .sg-logo {
  position: absolute !important;
  z-index: 10 !important;
  top: 50% !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
  animation: sgLogoGlitch 0.2s steps(3) infinite !important;
}

.sector-glitch-overlay .sg-logo-inymo {
  left: 12% !important;
  right: auto !important;
  width: 144px !important;
  max-width: 144px !important;
  height: auto !important;
  max-height: 60px !important;
  transform: translateY(-50%) !important;
  filter: blur(1.5px) !important;
}

.sector-glitch-overlay .sg-logo-commsa {
  right: 12% !important;
  left: auto !important;
  width: 88px !important;
  max-width: 88px !important;
  height: auto !important;
  max-height: 80px !important;
  background: rgba(255,255,255,0.4) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  transform: translateY(-50%) !important;
  filter: blur(1.5px) !important;
}

@keyframes sgLogoGlitch {
  0%   { opacity: 0.4; transform: translateY(-50%) translate(0, 0) skewX(0deg); }
  15%  { opacity: 0.3; transform: translateY(-50%) translate(-2px, 1px) skewX(-2deg); }
  30%  { opacity: 0.45; transform: translateY(-50%) translate(1px, -1px) skewX(2deg); }
  50%  { opacity: 0.35; transform: translateY(-50%) translate(-1px, 1px) skewX(-1deg); }
  70%  { opacity: 0.4; transform: translateY(-50%) translate(2px, 0px) skewX(1deg); }
  85%  { opacity: 0.35; transform: translateY(-50%) translate(-1px, -1px) skewX(-1deg); }
  100% { opacity: 0.4; transform: translateY(-50%) translate(0, 0) skewX(0deg); }
}

/* --- SECTORES GRID --- */
.sectores-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sector-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  border: 1px solid rgba(139,198,63,0.08);
}

/* Sector items como enlaces clickeables */
a.sector-item {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.sector-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(139,198,63,0.25);
}

.sector-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.sector-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.sector-item-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(10, 15, 26, 0.15) 0%,
    rgba(10, 15, 26, 0.5) 50%,
    rgba(10, 15, 26, 0.88) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}

.sector-item:hover .sector-item-overlay {
  background: linear-gradient(180deg,
    rgba(10, 15, 26, 0.1) 0%,
    rgba(10, 15, 26, 0.4) 50%,
    rgba(10, 15, 26, 0.85) 100%);
}

.sector-item-info {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
  text-align: center;
}

.sector-item-info i {
  font-size: 2.8rem;
  color: var(--inymo-green);
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(139,198,63,0.4));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.sector-item:hover .sector-item-info i {
  transform: scale(1.15);
  filter: drop-shadow(0 0 16px rgba(139,198,63,0.6));
}

.sector-item-info h4 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  letter-spacing: 0.08em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ========== PROYECTOS GALLERY ========== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light-secondary);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: rgba(139, 198, 63, 0.4);
  color: var(--text-light);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--inymo-green) 0%, var(--inymo-green-dark) 100%);
  color: var(--inymo-navy);
  border-color: var(--inymo-green);
  font-weight: 700;
}

.proyectos-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proyecto-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.proyecto-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(139, 198, 63, 0.3);
}

.proyecto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.proyecto-item:hover img {
  transform: scale(1.1);
}

.proyecto-item:nth-child(1),
.proyecto-item:nth-child(6) {
  grid-column: span 2;
}

.proyecto-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(10, 15, 26, 0.9) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 2;
}

.proyecto-item:hover .proyecto-overlay-info {
  transform: translateY(0);
}

.proyecto-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(139, 198, 63, 0.15);
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.proyecto-overlay-info h5 {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

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

/* ========== TESTIMONIOS + CLIENTES (side by side, light section) ========== */
.testi-clientes-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.testi-side,
.clientes-side {
  position: relative;
}

/* Testimonials carousel - light theme */
.testimonios-carousel {
  overflow: hidden;
  position: relative;
}

.testimonios-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.testimonio-card-light {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  min-width: 100%;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.testimonio-card-light::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: rgba(139, 198, 63, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonio-card-light:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.testimonio-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonio-stars i {
  color: #f59e0b;
  font-size: 1.1rem;
}

.testimonio-stars i.bx-star {
  color: var(--text-dark-muted);
}

.testimonio-text {
  font-size: 1rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonio-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(139, 198, 63, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--inymo-green-dark);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testimonio-info h5 {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text-dark);
}

.testimonio-info span {
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.03em;
}

.testimonios-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 24px;
}

.testimonios-btn-dark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-dark-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonios-btn-dark:hover {
  background: var(--inymo-green);
  color: var(--inymo-navy);
  border-color: var(--inymo-green);
}

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

.testimonios-dot-dark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonios-dot-dark.active {
  background: var(--inymo-green);
  width: 28px;
  border-radius: 10px;
}

/* Clients side */
.clientes-title {
  font-family: 'Barlow', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

.clientes-title i {
  color: var(--inymo-green-dark);
}

.client-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-chip {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Barlow', sans-serif;
  color: var(--text-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.client-chip:hover {
  border-color: rgba(139, 198, 63, 0.6);
  background: rgba(139, 198, 63, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 198, 63, 0.25);
  color: var(--inymo-green);
  text-shadow: 0 0 8px rgba(139, 198, 63, 0.5);
}

.client-chip.chip-blue {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.15);
  color: var(--inymo-blue-dark);
}

.client-chip.chip-blue:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.12);
}

/* ========== CTA PARALLAX BANNER ========== */
.cta-parallax {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background-image: url('/images/presentacion/planta-aerea.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
}

.cta-parallax .container {
  position: relative;
  z-index: 2;
}

.cta-parallax-content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-parallax-content h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-parallax-content p {
  font-size: 1.15rem;
  color: var(--text-light-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-parallax-content .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== NOSOTROS COMPACT ========== */
.nosotros-compact {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.nosotros-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.nosotros-img-col {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  position: relative;
}

.nosotros-img-col::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--inymo-green), var(--inymo-blue), var(--inymo-green));
  background-size: 200% 200%;
  border-radius: 22px;
  z-index: -1;
  animation: borderGlow 4s ease infinite;
  opacity: 0.3;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nosotros-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 350px;
  border-radius: 20px;
}

.nosotros-text-col .section-badge {
  margin-bottom: 16px;
}

.nosotros-text-col .section-title {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.nosotros-text-col > p {
  color: var(--text-light-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1rem;
}

.nosotros-mv {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nosotros-mv-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.nosotros-mv-item:hover {
  background: rgba(139, 198, 63, 0.06);
  border-color: rgba(139, 198, 63, 0.2);
}

.nosotros-mv-item > i {
  font-size: 1.6rem;
  color: var(--inymo-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.nosotros-mv-item h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--inymo-green);
}

.nosotros-mv-item p {
  font-size: 0.88rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ========== NOTICIAS (light section) ========== */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.noticia-card-light {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.noticia-card-light:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.noticia-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.noticia-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.noticia-card-light:hover .noticia-image img {
  transform: scale(1.08);
}

.noticia-fecha {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: rgba(255,255,255,0.8);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.noticia-body-light {
  padding: 24px;
}

.noticia-categoria {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--inymo-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.noticia-body-light h4 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text-dark);
}

.noticia-body-light p {
  font-size: 0.88rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.noticia-link-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--inymo-green-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}

.noticia-link-dark:hover {
  gap: 12px;
  color: var(--inymo-green);
}

/* ========== CONTACTO MEGA LAYOUT ========== */
.contacto-mega-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.contacto-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto-info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contacto-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 198, 63, 0.3);
  background: rgba(139, 198, 63, 0.05);
}

.contacto-info-card > i {
  font-size: 1.6rem;
  color: var(--inymo-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.contacto-info-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.contacto-info-card p {
  color: var(--text-light-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.contacto-info-card a {
  color: var(--inymo-green);
  text-decoration: none;
  transition: color 0.3s;
}

.contacto-info-card a:hover {
  color: var(--text-light);
}

/* Contact Form */
.contacto-form-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px;
}

.contacto-form-box h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-light);
}

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

.contacto-form .form-group {
  display: flex;
  flex-direction: column;
}

.contacto-form .form-group.full-width {
  margin-bottom: 16px;
}

.contacto-form label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-light);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  border-color: var(--inymo-green);
  box-shadow: 0 0 0 3px rgba(139, 198, 63, 0.15);
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: var(--text-light-muted);
}

.contacto-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contacto-form select option {
  background: var(--inymo-navy);
  color: var(--text-light);
}

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

.contacto-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}

.form-feedback {
  margin-top: 16px;
  padding: 0;
  border-radius: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.form-feedback.success {
  padding: 14px 20px;
  background: rgba(139, 198, 63, 0.1);
  border: 1px solid rgba(139, 198, 63, 0.3);
  color: var(--inymo-green);
}

.form-feedback.error {
  padding: 14px 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* ========== MAP ========== */
.mapa-container {
  margin-bottom: 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.mapa-iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
  filter: grayscale(0.3) brightness(0.85);
  transition: filter 0.4s ease;
}

.mapa-container:hover .mapa-iframe {
  filter: grayscale(0) brightness(1);
}

/* ========== SOCIAL LINKS ========== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--text-light-secondary);
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--inymo-green);
  color: var(--inymo-navy);
  border-color: var(--inymo-green);
  transform: translateY(-3px);
}

/* ============================================================
   QUÉ FABRICAMOS — Galería de proyectos
   ============================================================ */

#fabricamos {
  background: #161e2e;
}

#fabricamos .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.fabricamos-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}

.fabricamos-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.fabricamos-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fabricamos-item:hover img {
  transform: scale(1.1);
}

.fabricamos-item.fabricamos-large {
  grid-column: span 2;
  grid-row: span 2;
}

.fabricamos-item.fabricamos-wide {
  grid-column: span 2;
}

.fabricamos-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 24, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fabricamos-item:hover .fabricamos-overlay {
  opacity: 1;
}

.fabricamos-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  background: rgba(139, 198, 63, 0.2);
  border: 1px solid rgba(139, 198, 63, 0.4);
  border-radius: 20px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.fabricamos-item:hover .fabricamos-overlay span {
  transform: translateY(0);
}

/* Responsive fabricamos gallery */
@media (max-width: 992px) {
  .fabricamos-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .fabricamos-item {
    min-height: 180px;
  }

  .fabricamos-item.fabricamos-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .fabricamos-item.fabricamos-wide {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .fabricamos-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fabricamos-item,
  .fabricamos-item.fabricamos-large,
  .fabricamos-item.fabricamos-wide {
    grid-column: span 1;
    min-height: 200px;
  }

  .fabricamos-overlay {
    opacity: 1;
  }

  .fabricamos-overlay span {
    transform: translateY(0);
    font-size: 0.9rem;
  }
}

/* ========== FOOTER ========== */
.inicio-footer {
  background: #0a0f1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.inicio-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 198, 63, 0.5), rgba(59, 130, 246, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 32px;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 8px rgba(139, 198, 63, 0.2));
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--inymo-green);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light-muted);
  font-size: 0.88rem;
}

.footer-contact li i {
  color: var(--inymo-green);
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
  color: var(--text-light-muted);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--text-light-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--inymo-green);
}

/* ========== STAGGER ANIMATION ========== */
.stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-child.stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================================
   MEGA ANIMATION ENGINE — Metallic, Technological, Innovative
   ==================================================================== */

/* --- Stagger Reveal System (base — enhanced version below in Level 2) --- */

/* --- Metallic Shimmer Sweep --- */
@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

a.servicio-visual::after,
.sector-item::after,
.p-step::after,
.noticia-card-light::after,
.contacto-info-card::after,
.nosotros-mv-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.03) 75%,
    transparent 100%
  );
  transform: skewX(-20deg);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.shimmer-active::after {
  opacity: 1;
  animation: shimmerSweep 1.8s ease-out forwards;
}

/* --- Neon Border Glow --- */
@keyframes neonBorderPulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(139, 198, 63, 0.2),
                0 0 10px rgba(139, 198, 63, 0.1),
                inset 0 0 5px rgba(139, 198, 63, 0.05);
  }
  50% {
    box-shadow: 0 0 12px rgba(139, 198, 63, 0.4),
                0 0 25px rgba(139, 198, 63, 0.15),
                inset 0 0 10px rgba(139, 198, 63, 0.08);
  }
}

a.servicio-visual:hover {
  animation: neonBorderPulse 2s ease-in-out infinite;
  border: 1px solid rgba(139, 198, 63, 0.5);
}

.sector-item:hover {
  animation: neonBorderPulse 2s ease-in-out infinite;
  border: 1px solid rgba(139, 198, 63, 0.4);
}

/* --- Gradient Color Shift on Section Headers --- */
@keyframes gradientTextShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-title,
.section-title-dark {
  background: linear-gradient(135deg, currentColor 0%, currentColor 40%, var(--inymo-green) 50%, var(--inymo-blue) 60%, currentColor 70%, currentColor 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientTextShift 6s ease infinite;
  -webkit-text-fill-color: transparent;
}

.section-title {
  background: linear-gradient(135deg, #fff 0%, #fff 35%, var(--inymo-green) 50%, var(--inymo-blue) 65%, #fff 80%, #fff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientTextShift 6s ease infinite;
  -webkit-text-fill-color: transparent;
}

.section-title-dark {
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-dark) 35%, var(--inymo-green) 50%, var(--inymo-blue) 65%, var(--text-dark) 80%, var(--text-dark) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientTextShift 6s ease infinite;
  -webkit-text-fill-color: transparent;
}

/* --- Hero Title Glow --- */
.hero-accent {
  color: var(--inymo-green);
  text-shadow: 0 0 30px rgba(139, 198, 63, 0.4), 0 0 60px rgba(139, 198, 63, 0.15);
  animation: heroAccentGlow 3s ease-in-out infinite alternate;
}

@keyframes heroAccentGlow {
  0% { text-shadow: 0 0 20px rgba(139, 198, 63, 0.3), 0 0 40px rgba(139, 198, 63, 0.1); }
  100% { text-shadow: 0 0 40px rgba(139, 198, 63, 0.6), 0 0 80px rgba(139, 198, 63, 0.2), 0 0 120px rgba(139, 198, 63, 0.1); }
}

/* --- Progress Bars Enhanced Glow --- */
.progress-bar-fill {
  position: relative;
  overflow: hidden;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* --- Counter Number Glow --- */
.counter-number {
  text-shadow: 0 0 15px rgba(139, 198, 63, 0.5);
  transition: text-shadow 0.5s;
}

.counter-number:hover {
  text-shadow: 0 0 25px rgba(139, 198, 63, 0.8), 0 0 50px rgba(139, 198, 63, 0.3);
}

/* --- Service Cards 3D Tilt Hover --- */
a.servicio-visual {
  perspective: 800px;
  transform-style: preserve-3d;
  border: 1px solid transparent;
}

a.servicio-visual:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

a.servicio-visual:hover .servicio-visual-icon {
  animation: iconPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(139, 198, 63, 0.4);
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(139, 198, 63, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(139, 198, 63, 0.6); }
}

/* --- Sector Items Enhanced (overridden by #sectores vault) --- */
.sector-item {
  border: 1px solid rgba(139,198,63,0.08);
}

.sector-item-info i {
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Animated Gradient Borders on Dark Cards --- */
.contacto-info-card,
.nosotros-mv-item {
  position: relative;
  overflow: hidden;
}

.contacto-info-card:hover,
.nosotros-mv-item:hover {
  border-color: transparent;
  background: rgba(139, 198, 63, 0.06);
}

.contacto-info-card:hover::before,
.nosotros-mv-item:hover::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, var(--inymo-green), var(--inymo-blue), var(--inymo-green));
  background-size: 200% 200%;
  border-radius: inherit;
  z-index: -1;
  animation: borderGlow 3s ease infinite;
  opacity: 0.3;
}

/* --- Process Step Number Glow --- */
.p-num {
  position: relative;
  transition: all 0.4s ease;
}

.p-step:hover .p-num {
  background: rgba(139, 198, 63, 0.25);
  box-shadow: 0 0 20px rgba(139, 198, 63, 0.4);
  transform: scale(1.1);
}

/* --- Scan Line Effect on Metal Sections --- */
.section-metal::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 20%, rgba(139, 198, 63, 0.5) 50%, transparent 80%);
  box-shadow: 0 0 15px rgba(139, 198, 63, 0.3), 0 0 30px rgba(139, 198, 63, 0.15);
  z-index: 5;
  pointer-events: none;
  animation: scanLine 6s linear infinite;
}

@keyframes scanLine {
  0% { top: -2%; }
  100% { top: 102%; }
}

/* --- CTA Banner Pulse --- */
.cta-parallax-content h2 {
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.cta-parallax .btn-primary-inicio {
  animation: ctaGlow 2.5s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(139, 198, 63, 0.3); }
  50% { box-shadow: 0 8px 30px rgba(139, 198, 63, 0.6), 0 0 50px rgba(139, 198, 63, 0.2); }
}

/* --- Client Chips Hover Glow --- */
.client-chip:hover {
  box-shadow: 0 4px 20px rgba(139, 198, 63, 0.2), 0 0 10px rgba(139, 198, 63, 0.1);
}

.client-chip.chip-blue:hover {
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2), 0 0 10px rgba(59, 130, 246, 0.1);
}

/* --- Social Links Hover Glow --- */
.social-link:hover {
  box-shadow: 0 0 20px rgba(139, 198, 63, 0.4), 0 8px 25px rgba(139, 198, 63, 0.2);
}

/* --- News Cards Enhanced --- */
.noticia-card-light {
  position: relative;
  overflow: hidden;
}

.noticia-card-light:hover {
  border-color: rgba(139, 198, 63, 0.2);
}

.noticia-link-dark {
  position: relative;
}

.noticia-link-dark::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  transition: width 0.4s ease;
}

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

/* --- Navbar CTA Glow --- */
.navbar-cta {
  position: relative;
  overflow: hidden;
}

.navbar-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: navCtaShine 4s ease-in-out infinite;
}

@keyframes navCtaShine {
  0%, 70% { left: -100%; }
  100% { left: 200%; }
}

/* --- Primary Button Shimmer --- */
.btn-primary-inicio {
  position: relative;
  overflow: hidden;
}

.btn-primary-inicio::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary-inicio:hover::before {
  left: 200%;
}

/* --- Badge Pulse Enhanced --- */
.section-badge,
.section-badge-dark {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.9; }
}

/* --- Hero Badge Floating --- */
.hero-badge {
  animation: pulse-glow 3s ease-in-out infinite, floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* --- Testimonials Card Glow on Active --- */
.testimonio-card-light {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Footer Gradient Line Enhanced --- */
.inicio-footer::before {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--inymo-green), var(--inymo-blue), var(--inymo-green), transparent);
  background-size: 200% 100%;
  animation: footerLine 4s linear infinite;
}

@keyframes footerLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* --- Scrolled Navbar Glow Line --- */
.inicio-navbar.scrolled::after {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 198, 63, 0.6), rgba(59, 130, 246, 0.6), rgba(139, 198, 63, 0.6), transparent);
  background-size: 200% 100%;
  animation: navGlowLine 3s linear infinite;
}

@keyframes navGlowLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* --- Map Container Glow --- */
.mapa-container:hover {
  border-color: rgba(139, 198, 63, 0.3);
  box-shadow: 0 8px 40px rgba(139, 198, 63, 0.15), 0 0 20px rgba(139, 198, 63, 0.1);
}

/* --- Enhanced Section Transitions (see Level 2 block for full version) --- */

/* --- Nosotros Image Glow Border Enhanced --- */
.nosotros-img-col::before {
  animation: borderGlow 3s ease infinite;
  opacity: 0.5;
}

.nosotros-img-col:hover::before {
  opacity: 0.8;
}

/* --- Contact Form Focus Glow --- */
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  border-color: var(--inymo-green);
  box-shadow: 0 0 0 3px rgba(139, 198, 63, 0.15), 0 0 15px rgba(139, 198, 63, 0.1);
}

/* --- Testimonial Nav Buttons --- */
.testimonios-btn-dark:hover {
  box-shadow: 0 0 15px rgba(139, 198, 63, 0.3);
}

/* --- Hero Counters Glass Effect --- */
.hero-counter {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.9);
  transition: all 0.4s ease;
}

.hero-counter:hover {
  background: rgba(139, 198, 63, 0.08);
  border-color: rgba(139, 198, 63, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(139, 198, 63, 0.15);
}

/* --- Loading Skeleton for Images --- */
a.servicio-visual img,
.sector-item img,
.noticia-image img,
.nosotros-img-col img {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeletonLoad 1.5s ease-in-out infinite;
}

@keyframes skeletonLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Floating Particles (CSS-only) on Hero --- */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(139, 198, 63, 0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 60%, rgba(59, 130, 246, 0.2) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 30%, rgba(139, 198, 63, 0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 70%, rgba(255, 255, 255, 0.15) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 90% 40%, rgba(139, 198, 63, 0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 80%, rgba(59, 130, 246, 0.15) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 15%, rgba(255, 255, 255, 0.1) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 45% 85%, rgba(139, 198, 63, 0.2) 50%, transparent 50%);
  animation: particleFloat 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-15px) translateX(10px); }
  50% { transform: translateY(-5px) translateX(-5px); }
  75% { transform: translateY(-20px) translateX(15px); }
  100% { transform: translateY(0) translateX(0); }
}

/* --- Metal Section Brushed Texture Enhanced --- */
.metal-texture {
  opacity: 0.12;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.04) 2px,
      rgba(255,255,255,0.04) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(255,255,255,0.02) 1px,
      rgba(255,255,255,0.02) 3px
    ),
    radial-gradient(ellipse at 20% 50%, rgba(139,198,63,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.15) 0%, transparent 60%);
}

/* --- Form Submit Button Loading State --- */
.contacto-form button[type="submit"]:hover {
  box-shadow: 0 12px 35px rgba(139, 198, 63, 0.5), 0 0 30px rgba(139, 198, 63, 0.15);
}

/* --- Capacidades Duo Responsive --- */
@media (max-width: 992px) {
  .capas-layout-duo {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ====================================================================
   LEVEL 2 — Premium UI Elements & Advanced Animations
   ==================================================================== */

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue), var(--inymo-green));
  background-size: 200% 100%;
  animation: marqueeGradient 3s linear infinite;
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(139, 198, 63, 0.5), 0 0 20px rgba(139, 198, 63, 0.2);
}

/* --- Cursor Glow (desktop) --- */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 198, 63, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

/* --- Hero Grid Overlay (animated circuit/blueprint pattern) --- */
.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(139, 198, 63, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 198, 63, 0.3) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
}

/* --- Button Ripple Effect --- */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleExpand 0.7s ease-out forwards;
  pointer-events: none;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
}

@keyframes rippleExpand {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(40); opacity: 0; }
}

/* --- Title Reveal Animation --- */
.section-title,
.section-title-dark {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.title-revealed,
.section-title-dark.title-revealed {
  clip-path: inset(0 0% 0 0);
}

/* Keep titles visible when already in viewport (hero etc) */
.hero-title {
  clip-path: none !important;
}

/* --- Enhanced Section Transitions (clip-path reveal) --- */
.section-light,
.section-dark,
.section-metal,
.cta-parallax,
.nosotros-compact {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-light.visible,
.section-dark.visible,
.section-metal.visible,
.cta-parallax.visible,
.nosotros-compact.visible {
  opacity: 1;
  transform: translateY(0);
}

/* #sectores — doors handle reveal, section itself appears instantly */
#sectores.section-light {
  opacity: 1;
  transform: none;
  transition: none;
}

/* #servicios — laser scan reveal */
#servicios {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

#servicios.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Holographic Badge Shimmer --- */
.section-badge,
.section-badge-dark,
.hero-badge {
  position: relative;
  overflow: hidden;
}

.section-badge::before,
.section-badge-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: holoBadge 4s ease-in-out infinite;
}

@keyframes holoBadge {
  0%, 60% { left: -100%; }
  100% { left: 250%; }
}

/* --- Animated Corner Brackets on Service Cards --- */
a.servicio-visual::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-top: 2px solid rgba(139, 198, 63, 0);
  border-left: 2px solid rgba(139, 198, 63, 0);
  z-index: 5;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

a.servicio-visual:hover::before {
  border-top-color: var(--inymo-green);
  border-left-color: var(--inymo-green);
  width: 50px;
  height: 50px;
  box-shadow: -3px -3px 10px rgba(139, 198, 63, 0.2);
}

/* Bottom-right bracket */
a.servicio-visual .servicio-visual-overlay::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid rgba(139, 198, 63, 0);
  border-right: 2px solid rgba(139, 198, 63, 0);
  z-index: 5;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

a.servicio-visual:hover .servicio-visual-overlay::after {
  border-bottom-color: var(--inymo-green);
  border-right-color: var(--inymo-green);
  width: 50px;
  height: 50px;
  box-shadow: 3px 3px 10px rgba(139, 198, 63, 0.2);
}

/* --- Enhanced Sector Cards with Glow Borders --- */
.sector-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, transparent 40%, var(--inymo-green) 50%, transparent 60%);
  background-size: 300% 300%;
  border-radius: 17px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: sectorBorderSweep 3s ease infinite;
}

.sector-item:hover::before {
  opacity: 0.6;
}

@keyframes sectorBorderSweep {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* --- Process Steps Connection Line --- REMOVED (now horizontal in info-grid) */

/* --- P-Step Number Animated Ring --- */
.p-step:hover .p-num::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--inymo-green);
  border-radius: 14px;
  animation: ringExpand 0.5s ease-out forwards;
  opacity: 0.5;
}

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

/* --- Testimonial Card Active State --- */
.testimonio-card-light::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.testimonio-card-light:hover::after {
  transform: scaleX(1);
}

/* --- Contact Form Box Enhanced --- */
.contacto-form-box {
  position: relative;
}

.contacto-form-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, rgba(139, 198, 63, 0.15), transparent 40%, transparent 60%, rgba(59, 130, 246, 0.15));
  border-radius: 21px;
  z-index: -1;
  transition: opacity 0.5s;
  opacity: 0;
}

.contacto-form-box:hover::before {
  opacity: 1;
}

/* --- News Card Image Zoom Number --- */
.noticia-card-light .noticia-fecha {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-card-light:hover .noticia-fecha {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- Footer Logo Glow --- */
.footer-logo {
  transition: filter 0.3s ease;
}

.footer-logo:hover {
  filter: drop-shadow(0 2px 15px rgba(139, 198, 63, 0.5)) drop-shadow(0 0 30px rgba(139, 198, 63, 0.2));
}

/* --- Enhanced Hero Line Animations (glitch subtle) --- */
@keyframes glitchSubtle {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 1px); }
  94% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, -1px); }
  98% { transform: translate(1px, 1px); }
}

.hero-accent {
  animation: heroAccentGlow 3s ease-in-out infinite alternate;
}

.hero-accent:hover {
  animation: glitchSubtle 0.5s ease forwards, heroAccentGlow 3s ease-in-out infinite alternate;
}

/* --- Nosotros Image Corner Accent --- */
.nosotros-img-col::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 80px;
  height: 80px;
  border-right: 3px solid var(--inymo-green);
  border-bottom: 3px solid var(--inymo-green);
  border-radius: 0 0 24px 0;
  opacity: 0.4;
  transition: all 0.5s ease;
  z-index: 3;
}

.nosotros-img-col:hover::after {
  width: 100px;
  height: 100px;
  opacity: 0.7;
  box-shadow: 5px 5px 20px rgba(139, 198, 63, 0.2);
}

/* --- CTA Parallax Enhanced Overlay --- */
.cta-parallax-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(139, 198, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 198, 63, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridFloat 15s linear infinite;
  pointer-events: none;
}

/* --- Enhanced Stagger Items --- */
.stagger-item {
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-item.stagger-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* --- Mobile Optimizations --- */
@media (max-width: 768px) {
  .cursor-glow { display: none !important; }
  .hero-grid-overlay { opacity: 0.02; }
  .scroll-progress-bar { height: 2px; }
  a.servicio-visual::before,
  a.servicio-visual .servicio-visual-overlay::after { display: none; }
  .stagger-item { filter: none; transform: translateY(15px); transition-duration: 0.4s; }

  /* === SISTEMA DE SEGURIDAD MÓVIL: Forzar visibilidad total === */
  /* Fichas cards y todos sus hijos internos */
  .ficha-card,
  .ficha-card-header,
  .ficha-card-content,
  .ficha-cta,
  .ficha-card .ficha-img-wrap,
  .ficha-card .ficha-body h3,
  .ficha-card .ficha-icon,
  .ficha-card .ficha-features,
  .ficha-card .ficha-badge,
  #servicios .ficha-card .ficha-img-wrap,
  #servicios .ficha-card .ficha-body h3,
  #servicios .ficha-card .ficha-icon,
  #servicios .ficha-card .ficha-features,
  #servicios .ficha-card .ficha-cta,
  #servicios .ficha-card .ficha-badge {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
  }

  /* Laser scan lines ocultas en móvil - no necesarias */
  #servicios .laser-vertical,
  #servicios .laser-horizontal {
    display: none !important;
  }

  /* Proceso timeline visible */
  .proceso-step,
  .proceso-timeline-section,
  .step-node,
  .step-content,
  .step-label,
  .step-num {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Safety net: todo contenido de secciones visibles forzado */
  .section-light > .container,
  .section-dark > .container,
  .section-metal > .container,
  .section-light > .container *,
  .section-dark > .container *,
  .section-metal > .container * {
    visibility: visible !important;
  }

  /* Stagger items: visibles sin esperar animación */
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  /* Info-grid / clientes container también debe ser visible en móvil */
  #info-grid,
  #info-grid > .container,
  #info-grid .info-card,
  #clientes,
  #clientes > .container,
  #clientes .info-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  /* Puertas robóticas ocultas en móvil — evitar que tapen contenido */
  .info-door,
  #info-grid .info-door-left,
  #info-grid .info-door-right,
  #clientes .info-door-left,
  #clientes .info-door-right {
    display: none !important;
  }

  /* Contenido siempre visible sin esperar puertas */
  #info-grid > .container,
  #clientes > .container {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* === OPTIMIZACIÓN SCROLL MÓVIL === */

  /* Quitar perspective de secciones (causa composite layers innecesarios) */
  #sectores,
  #info-grid,
  #clientes {
    perspective: none !important;
    perspective-origin: unset !important;
  }

  /* Marquee: eliminar gradiente animado, color sólido */
  .marquee-strip {
    animation: none !important;
    background: var(--inymo-green) !important;
    box-shadow: 0 2px 8px rgba(139, 198, 63, 0.2) !important;
    padding: 12px 0 !important;
  }

  /* Marquee track: velocidad constante, sin will-change costoso */
  .marquee-track {
    will-change: auto !important;
  }

  /* CSS containment para secciones principales */
  #hero,
  #sectores,
  #servicios,
  #clientes,
  #info-grid {
    contain: layout style paint !important;
  }

  /* Model viewer: reducir impacto GPU */
  model-viewer {
    will-change: auto !important;
  }

  /* Hero: limitar capas de composición */
  .hero-overlay,
  .hero-grid-overlay {
    will-change: auto !important;
  }

  .hero-grid-overlay {
    display: none !important;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-progress-bar,
  .cursor-glow,
  .hero-grid-overlay { display: none !important; }
}

/* JS-based reduced motion for low-power devices */
body.reduce-motion * {
  animation-duration: 0.3s !important;
  transition-duration: 0.2s !important;
}
body.reduce-motion .cursor-glow,
body.reduce-motion .hero-grid-overlay,
body.reduce-motion .sectores-scan-line,
body.reduce-motion .sector-glitch-overlay { display: none !important; }

/* ============================================================
   PERFORMANCE TIERS - Auto-detected by device capability
   Tier 1: High-end (full effects)
   Tier 2: Mid-range (reduced shadows, slower animations)
   Tier 3: Low-end (minimal effects, simple animations)
   ============================================================ */

/* === TIER 2: MID-RANGE DEVICES === */
body.perf-tier-2 * {
  /* Slower animation steps = less CPU */
  animation-timing-function: ease !important;
}

body.perf-tier-2 .cursor-glow,
body.perf-tier-2 .hero-grid-overlay,
body.perf-tier-2 .sg-noise { display: none !important; }

/* Simplify ALL multi-layer box-shadows to single layer */
body.perf-tier-2 .hero-counter,
body.perf-tier-2 .ficha-card,
body.perf-tier-2 .sector-item,
body.perf-tier-2 .btn-primary-inicio,
body.perf-tier-2 .btn-secondary-inicio,
body.perf-tier-2 .navbar-cta {
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

body.perf-tier-2 .door-seam,
body.perf-tier-2 .door-lock,
body.perf-tier-2 .door-hydraulic {
  box-shadow: 0 0 8px rgba(139,198,63,0.4) !important;
}

/* Reduce glow effects */
body.perf-tier-2 [class*="glow"],
body.perf-tier-2 .hero-accent {
  text-shadow: 0 0 8px rgba(139,198,63,0.4) !important;
}

/* Slower infinite animations (50% speed reduction) */
body.perf-tier-2 .marquee-track {
  animation-duration: 60s !important;
}

body.perf-tier-2 [class*="pulse"],
body.perf-tier-2 [class*="glow"] {
  animation-duration: 4s !important;
}

/* === TIER 3: LOW-END DEVICES === */
body.perf-tier-3 * {
  animation-timing-function: linear !important;
}

body.perf-tier-3 .cursor-glow,
body.perf-tier-3 .hero-grid-overlay,
body.perf-tier-3 .sg-noise,
body.perf-tier-3 .sectores-scan-line,
body.perf-tier-3 .sectores-grid-overlay,
body.perf-tier-3 .hero-model-glitch .glitch-scanlines,
body.perf-tier-3 .hero-model-glitch .glitch-noise {
  display: none !important;
}

/* Remove ALL box-shadows on tier 3 */
body.perf-tier-3 * {
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Keep only essential borders for visual structure */
body.perf-tier-3 .ficha-card,
body.perf-tier-3 .sector-item,
body.perf-tier-3 .info-card {
  border: 1px solid rgba(139,198,63,0.2) !important;
}

/* Disable complex pseudo-elements */
body.perf-tier-3 *::before,
body.perf-tier-3 *::after {
  animation: none !important;
}

/* Very slow animations (70% reduction) */
body.perf-tier-3 .marquee-track {
  animation-duration: 80s !important;
}

/* Disable 3D transforms */
body.perf-tier-3 .info-door,
body.perf-tier-3 .sectores-door {
  transform-style: flat !important;
  perspective: none !important;
}

body.perf-tier-3 #info-grid.visible .info-door-left {
  transform: translateY(-100%) !important;
}
body.perf-tier-3 #info-grid.visible .info-door-right {
  transform: translateY(100%) !important;
}

/* Simple transitions only */
body.perf-tier-3 * {
  transition-duration: 0.15s !important;
}

/* Video background optimizations by tier */
body.perf-tier-2 .info-grid-video {
  opacity: 0.2 !important;
  filter: saturate(0.4) brightness(0.5) !important;
}

body.perf-tier-3 .info-grid-video {
  display: none !important;
}

body.perf-tier-3 .info-grid-overlay {
  background: rgba(139, 198, 63, 0.05) !important;
}

/* ========== LOW POWER MODE - Auto-detected ========== */
body.low-power-mode .cursor-glow,
body.low-power-mode .hero-grid-overlay,
body.low-power-mode .sg-noise { display: none !important; }

body.low-power-mode .sectores-door::before,
body.low-power-mode .sectores-door::after { display: none !important; }

/* Remove backdrop-filter (very heavy) */
body.low-power-mode * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Hide video on low power mode */
body.low-power-mode .info-grid-video {
  display: none !important;
}

/* Mobile/Tablet optimized (< 1024px) - lighter but normal speed */
body.mobile-optimized .cursor-glow,
body.mobile-optimized .hero-grid-overlay { display: none !important; }

/* Video lighter on mobile - reduce opacity */
body.mobile-optimized .info-grid-video {
  opacity: 0.2 !important;
  filter: saturate(0.3) brightness(0.5) !important;
}

/* Normal animation speeds - just simpler effects */
body.mobile-optimized .sectores-door {
  transition-duration: 1.2s !important;
}

/* Simpler glitch effect on mobile/tablet - keep logos visible */
body.mobile-optimized .sg-noise {
  display: none !important;
}

/* Mobile sector glitch - simplified but with visible logos */
body.mobile-optimized .sector-glitch-overlay {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(10, 16, 24, 0.6);
}

body.mobile-optimized .sector-glitch-overlay .sg-logo {
  opacity: 0.6 !important;
}

body.mobile-optimized .sector-glitch-overlay .sg-logo-inymo {
  width: 80px !important;
  max-width: 80px !important;
  left: 8% !important;
}

body.mobile-optimized .sector-glitch-overlay .sg-logo-commsa {
  width: 50px !important;
  max-width: 50px !important;
  right: 8% !important;
}

body.mobile-optimized .sector-glitch-overlay .sg-bar {
  height: 2px;
}

/* Simpler vibration on mobile */
body.mobile-optimized .sector-glitching {
  animation: sectorVibrateMobile 0.15s linear infinite !important;
}

@keyframes sectorVibrateMobile {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1px, -1px); }
}

/* ========== MOBILE PERFORMANCE - Reduced Resolution & Quality ========== */
@media (max-width: 1024px) {
  /* === Reduce image rendering quality for performance === */
  body.mobile-optimized img,
  body.mobile-optimized video {
    image-rendering: optimizeSpeed;
  }

  /* === Simpler laser effects - reduce shadows, adjust timing for mobile === */
  body.mobile-optimized #servicios .laser-vertical {
    box-shadow: 0 0 10px rgba(139, 198, 63, 0.6);
    height: 2px;
    animation-duration: 1.2s !important;
  }

  body.mobile-optimized #servicios .laser-horizontal {
    box-shadow: 0 0 10px rgba(139, 198, 63, 0.5);
    width: 2px;
    animation-delay: 1.1s !important;
    animation-duration: 1s !important;
  }

  /* === Simpler door effects - no complex shadows/gradients === */
  body.mobile-optimized .sectores-door {
    box-shadow: none !important;
  }

  body.mobile-optimized .sectores-door .door-panel-lines {
    opacity: 0.3;
  }

  body.mobile-optimized .door-hydraulic {
    box-shadow: none !important;
  }

  body.mobile-optimized .door-lock,
  body.mobile-optimized .door-lock-ring {
    box-shadow: none !important;
  }

  /* === Reduce glitch effect complexity === */
  body.mobile-optimized .hero-model-glitch .glitch-scanlines {
    background-size: 100% 6px; /* Larger = less lines = faster */
  }

  body.mobile-optimized .hero-model-glitch .glitch-noise {
    opacity: 0.15;
  }

  /* === Simpler sector card effects === */
  body.mobile-optimized .sector-item::before {
    display: none; /* Remove glow border animation */
  }

  body.mobile-optimized .sector-item-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  }

  /* === Reduce ficha card shadows === */
  body.mobile-optimized .ficha-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  body.mobile-optimized .ficha-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }

  /* === Simpler marquee - no glow === */
  body.mobile-optimized .marquee-icon {
    text-shadow: none;
  }

  /* === Reduce hero effects === */
  body.mobile-optimized .hero-overlay {
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.85) 100%);
  }

  /* === Remove complex ::before/::after pseudo elements === */
  body.mobile-optimized .hero-badge::before,
  body.mobile-optimized .section-badge::before,
  body.mobile-optimized .section-badge-dark::before {
    display: none; /* Remove shimmer animation */
  }

  /* === Simpler scan line === */
  body.mobile-optimized .sectores-scan-line {
    height: 2px;
    box-shadow: 0 0 10px var(--inymo-green);
  }

  /* === Reduce grid overlays === */
  body.mobile-optimized .sectores-grid-overlay {
    opacity: 0.02;
  }

  /* === Faster/simpler animations === */
  body.mobile-optimized .hero-counter,
  body.mobile-optimized .ficha-card,
  body.mobile-optimized .sector-item {
    transition-duration: 0.2s !important;
  }
}

/* Extra optimization for phones */
@media (max-width: 768px) {
  /* Even simpler laser effects */
  body.mobile-optimized #servicios .laser-vertical,
  body.mobile-optimized #servicios .laser-horizontal {
    box-shadow: 0 0 8px rgba(139, 198, 63, 0.5);
  }

  /* Remove door decorations entirely */
  body.mobile-optimized .door-warning,
  body.mobile-optimized .door-seam {
    display: none;
  }

  /* Simpler 3D model container */
  body.mobile-optimized .hero-model-bg {
    filter: none;
  }

  /* Reduce background image quality */
  body.mobile-optimized .servicios-static-bg {
    opacity: 0.05;
  }

  /* === OCULTAR LASER SCAN EN SECTORES MÓVIL === */
  .sectores-scan-line {
    display: none !important;
  }

  /* === INFO-GRID PUERTAS MÓVIL - ocultar completamente === */
  .info-door {
    display: none !important;
  }

  /* Contenido visible inmediatamente sin puertas */
  #info-grid > .container {
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* === OCULTAR VIDEO EN MÓVIL - causa problemas de layout === */
  .info-grid-video {
    display: none !important;
  }

  /* Overlay sutil sin video */
  .info-grid-overlay {
    background: linear-gradient(180deg,
      rgba(139, 198, 63, 0.05) 0%,
      rgba(10, 16, 24, 0.3) 100%
    ) !important;
  }
}

/* Video optimization for mobile - use lower opacity to reduce GPU load */
@media (max-width: 768px) {
  .hero-video-bg,
  .servicios-video-bg {
    opacity: 0.08;
  }

  /* === FONDOS MÓVIL: Gradientes sutiles para secciones sin video === */

  /* Servicios — gradiente azul-oscuro con toque verde industrial */
  #servicios {
    background:
      radial-gradient(ellipse at 20% 0%, rgba(139, 198, 63, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 100%, rgba(139, 198, 63, 0.05) 0%, transparent 50%),
      linear-gradient(180deg,
        #0a1018 0%,
        #0d1525 20%,
        #101b30 50%,
        #0d1525 80%,
        #0a1018 100%
      ) !important;
  }

  #servicios::after {
    background: transparent !important;
  }

  #servicios .servicios-static-bg {
    background:
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 40px,
        rgba(139, 198, 63, 0.03) 40px,
        rgba(139, 198, 63, 0.03) 41px
      ) !important;
    opacity: 1 !important;
  }

  /* Clientes / Info-grid — gradiente con acento verde */
  #info-grid,
  #clientes {
    background:
      radial-gradient(ellipse at 50% 0%, rgba(139, 198, 63, 0.06) 0%, transparent 60%),
      linear-gradient(180deg,
        #0b1220 0%,
        #0e1830 30%,
        #111d38 50%,
        #0e1830 70%,
        #0b1220 100%
      ) !important;
  }

  .info-grid-overlay {
    background: linear-gradient(180deg,
      rgba(139, 198, 63, 0.06) 0%,
      rgba(15, 23, 42, 0.2) 40%,
      rgba(10, 16, 24, 0.4) 100%
    ) !important;
  }

  /* Proceso timeline — fondo más visible con toque metálico */
  .proceso-timeline-section {
    background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.9) 0%,
      rgba(20, 30, 50, 0.85) 50%,
      rgba(15, 23, 42, 0.9) 100%
    ) !important;
    border-color: rgba(139, 198, 63, 0.2) !important;
  }

  /* Sectores — gradiente con toque verde (image bg lighter) */
  #sectores {
    background:
      radial-gradient(ellipse at 30% 20%, rgba(139, 198, 63, 0.06) 0%, transparent 50%),
      linear-gradient(180deg,
        #0a1018 0%,
        #0d1525 30%,
        #101b30 50%,
        #0d1525 70%,
        #0a1018 100%
      ) !important;
  }

  /* Optimizar: no cargar imagen de fondo en sectores móvil */
  #sectores::before {
    display: none !important;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .servicios-visual-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  a.servicio-visual {
    height: 280px;
  }
}

@media (max-width: 992px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 18, 32, 0.99);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-toggler {
    display: block;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 100px 0 60px;
  }

  .hero-content {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .hero-model-col {
    flex: 0 1 auto;
    width: 100%;
    max-width: 420px;
  }

  .hero-3d-model {
    height: 380px;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-badge {
    justify-content: center;
  }

  .hero-counters {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-counters {
    gap: 24px;
  }

  .counter-number {
    font-size: 1.8rem;
  }

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

  a.servicio-visual {
    height: 260px;
  }

  .capas-layout,
  .capas-layout-duo {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .testi-clientes-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contacto-mega-layout {
    grid-template-columns: 1fr;
  }

  .contacto-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .section-title,
  .section-title-dark {
    font-size: 2rem;
  }

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

  .section-light,
  .section-dark,
  .section-metal,
  .cta-parallax {
    padding: 70px 0;
  }

  #sectores {
    padding: 56px 0 44px;
  }

  #sectores .section-title-dark {
    font-size: 2.8rem;
  }

  #servicios {
    padding-top: 54px;
  }

  .sector-item {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-model-col {
    max-width: 320px;
  }

  .hero-3d-model {
    height: 240px;
    --min-hotspot-opacity: 0;
  }

  /* GPU optimization for mobile */
  .hero-section {
    will-change: auto;
  }

  .hero-content,
  .hero-model-col {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-counters {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-inicio,
  .btn-secondary-inicio {
    justify-content: center;
    text-align: center;
  }

  .servicios-visual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  a.servicio-visual {
    height: 220px;
  }

  .sectores-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sector-item {
    min-height: 140px;
  }

  .sector-item-info {
    padding: 12px;
  }

  .sector-item-info i {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .sector-item-info h4 {
    font-size: 0.9rem;
  }

  #sectores {
    padding: 30px 0 24px;
  }

  #sectores .section-title-dark {
    font-size: 1.6rem;
  }

  #sectores .section-subtitle-dark {
    font-size: 0.85rem;
  }

  /* Doors visible on mobile but simpler animation */
  .sectores-door {
    display: block;
    transition: transform 0.6s ease-out !important;
  }

  .sectores-door::before,
  .sectores-door::after {
    display: none; /* Hide extra decorations */
  }

  #sectores .container {
    opacity: 1;
  }

  #servicios {
    padding-top: 20px;
  }

  #servicios .section-header {
    margin-bottom: 16px;
  }

  #servicios .section-title {
    font-size: 1.5rem;
  }

  #servicios .section-subtitle {
    font-size: 0.85rem;
  }

  .section-title,
  .section-title-dark {
    font-size: 1.8rem;
  }

  .section-light,
  .section-dark,
  .section-metal,
  .cta-parallax {
    padding: 60px 0;
  }

  .contacto-info-cards {
    grid-template-columns: 1fr;
  }

  .contacto-form .form-row {
    grid-template-columns: 1fr;
  }

  .cta-parallax-content h2 {
    font-size: 1.8rem;
  }

  .cta-parallax-content .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

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

  .mapa-iframe {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-split {
    padding: 100px 0 40px;
    gap: 20px;
  }

  .hero-3d-model {
    height: 250px;
  }

  .hero-model-col {
    max-width: 280px;
  }

  .servicios-visual-grid {
    grid-template-columns: 1fr;
  }

  a.servicio-visual {
    height: 240px;
  }

  .sectores-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sector-item {
    min-height: 240px;
  }

  #sectores {
    padding: 36px 0 28px;
  }

  #sectores .section-title-dark {
    font-size: 1.8rem;
  }

  #servicios {
    padding-top: 40px;
  }

  .section-title,
  .section-title-dark {
    font-size: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .marquee-item {
    font-size: 0.85rem;
    padding: 0 16px;
  }

  .contacto-form-box {
    padding: 24px;
  }

  .nosotros-img-col img {
    min-height: 250px;
  }

  .cta-parallax {
    background-attachment: scroll;
  }

  /* ========== FORZAR VISIBILIDAD EN MÓVIL ========== */
  /* Las animaciones de scroll a veces no se activan bien en móvil */
  .section-light,
  .section-dark,
  .section-metal,
  .cta-parallax,
  .nosotros-compact,
  .proceso-timeline-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Proceso timeline - forzar visibilidad de título y contenido */
  .proceso-header,
  .proceso-header h3,
  .proceso-header i,
  .proceso-status,
  .proceso-timeline {
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
  }

  .proceso-header h3 {
    color: #fff !important;
  }

  .proceso-header i {
    color: var(--inymo-green) !important;
  }

  .proceso-status {
    color: var(--inymo-green) !important;
  }
}

/* ============================================================
   CAPACIDADES SHOWCASE v2 — Cards con imágenes render
   ============================================================ */

.capas-showcase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.capas-showcase-grid .capa-showcase-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}

.capa-showcase-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}

.capa-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 3;
}

.capa-showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,198,63,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(139,198,63,0.08);
}

.capa-showcase-card:hover::before {
  transform: scaleX(1);
}

/* Card image */
.capa-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.capa-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  filter: brightness(0.6) saturate(0.8);
}

.capa-showcase-card:hover .capa-img-wrap img {
  filter: brightness(0.8) saturate(1.1);
  transform: scale(1.08);
}

.capa-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(15,23,42,0.95));
  pointer-events: none;
}

.capa-img-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(139,198,63,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Chakra Petch', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--inymo-green);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.capa-img-badge i {
  font-size: 0.8rem;
}

/* Card body */
.capa-card-body {
  padding: 24px;
}

.capa-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(139,198,63,0.15), rgba(59,130,246,0.1));
  border: 1px solid rgba(139,198,63,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.4s ease;
}

.capa-icon i {
  font-size: 1.4rem;
  color: var(--inymo-green);
}

.capa-showcase-card:hover .capa-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(139,198,63,0.2);
}

.capa-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.capa-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.capa-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-light-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

.capa-features li i {
  color: var(--inymo-green);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   PROCESO TIMELINE (horizontal)
   ============================================================ */

.proceso-timeline {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px;
}

.proceso-timeline-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-secondary);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.proceso-timeline-title i {
  color: var(--inymo-green);
  font-size: 1.2rem;
}

.proceso-timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.proceso-tl-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.proceso-tl-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Chakra Petch', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--inymo-navy);
  background: linear-gradient(135deg, var(--inymo-green), #6dd400);
  border-radius: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(139,198,63,0.25);
  transition: all 0.3s ease;
}

.proceso-tl-step:hover .proceso-tl-num {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 10px 30px rgba(139,198,63,0.35);
}

.proceso-tl-content h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proceso-tl-content p {
  color: var(--text-light-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

.proceso-tl-connector {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 22px;
}

.proceso-tl-connector::after {
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  opacity: 0.4;
}

/* ============================================================
   MAPA SECCIÓN ENHANCED
   ============================================================ */

.mapa-section-wrap {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.mapa-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

.mapa-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mapa-header-left i {
  font-size: 1.4rem;
  color: var(--inymo-green);
}

.mapa-header-left h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mapa-header-right {
  display: flex;
  align-items: center;
}

.mapa-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,198,63,0.1);
  border: 1px solid rgba(139,198,63,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--inymo-green);
  font-weight: 500;
}

.mapa-location-badge i {
  font-size: 0.9rem;
}

.mapa-frame {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

/* Corner brackets del mapa */
.mapa-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 5;
  pointer-events: none;
}

.mapa-corner-tl {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--inymo-green);
  border-left: 2px solid var(--inymo-green);
}

.mapa-corner-tr {
  top: 8px;
  right: 8px;
  border-top: 2px solid var(--inymo-green);
  border-right: 2px solid var(--inymo-green);
}

.mapa-corner-bl {
  bottom: 8px;
  left: 8px;
  border-bottom: 2px solid var(--inymo-blue);
  border-left: 2px solid var(--inymo-blue);
}

.mapa-corner-br {
  bottom: 8px;
  right: 8px;
  border-bottom: 2px solid var(--inymo-blue);
  border-right: 2px solid var(--inymo-blue);
}

.mapa-frame .mapa-container {
  margin-bottom: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.mapa-frame .mapa-iframe {
  height: 380px;
}

.mapa-footer-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 14px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-radius: 0 0 20px 20px;
}

.mapa-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light-secondary);
  font-size: 0.82rem;
}

.mapa-detail i {
  color: var(--inymo-green);
  font-size: 1rem;
}

/* ============================================================
   PROFESSIONAL FRAMES — Corner brackets on sections
   ============================================================ */

/* Servicio visual cards — enhanced border glow on hover */
.servicio-visual {
  box-shadow: inset 0 0 0 0 rgba(139,198,63,0);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}

.servicio-visual:hover {
  box-shadow: inset 0 0 0 2px rgba(139,198,63,0.25), 0 20px 50px rgba(0,0,0,0.3);
}

/* Sector items — glow border on hover */
.sector-item {
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}

.sector-item:hover {
  box-shadow: inset 0 0 0 2px rgba(139,198,63,0.3), 0 20px 50px rgba(0,0,0,0.3);
}

/* Nosotros image — enhanced shadow on hover */
.nosotros-img-col:hover {
  transform: translateY(-4px);
}

.nosotros-img-col:hover img {
  filter: brightness(1.05);
}

/* CTA parallax enhanced */
.cta-parallax {
  position: relative;
}

.cta-parallax::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
}

/* Testimonial card — enhanced hover glow */
.testimonio-card-light {
  transition: all 0.4s ease, box-shadow 0.4s ease;
}

.testimonio-card-light:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 0 0 2px rgba(139,198,63,0.15);
}

/* Noticia card frame — use ::before since ::after is for shimmer */
.noticia-card-light::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 3;
}

.noticia-card-light:hover::before {
  transform: scaleX(1);
}

/* Contact info card enhanced frame */
.contacto-info-card {
  position: relative;
  overflow: hidden;
}

.contacto-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--inymo-green), var(--inymo-blue));
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 0 2px 2px 0;
}

.contacto-info-card:hover::before {
  transform: scaleY(1);
}

/* ============================================================
   RESPONSIVE — Capacidades + Mapa Enhanced
   ============================================================ */

@media (max-width: 992px) {
  .capas-showcase-grid .capa-showcase-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .proceso-timeline-track {
    flex-wrap: wrap;
    gap: 16px;
  }
  .proceso-tl-connector {
    display: none;
  }
  .proceso-tl-step {
    flex: 0 0 calc(50% - 8px);
    text-align: center;
  }
  .mapa-header-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .capas-showcase-grid .capa-showcase-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .capa-img-wrap {
    height: 140px;
  }
  .proceso-timeline {
    padding: 24px;
  }
  .proceso-tl-step {
    flex: 0 0 100%;
  }
  .mapa-footer-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .mapa-frame .mapa-iframe {
    height: 280px;
  }
  .mapa-header-right {
    display: none;
  }
}

@media (max-width: 576px) {
  .capa-card-body {
    padding: 18px;
  }
  .capa-card-body h3 {
    font-size: 1rem;
  }
  .capa-features li {
    font-size: 0.8rem;
  }
  .proceso-tl-num {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  .mapa-footer-bar {
    padding: 12px 16px;
  }
}

/* ============================================================
   TRUST BAR — Logos de clientes entre marquee y ventajas
   ============================================================ */

.trust-bar {
  background: var(--bg-light-alt);
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-bar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trust-bar-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.trust-logo:hover {
  border-color: rgba(139,198,63,0.3);
  color: var(--inymo-green-dark);
  box-shadow: 0 2px 12px rgba(139,198,63,0.1);
  transform: translateY(-1px);
}

/* ============================================================
   VENTAJAS STRIP — ¿Por qué elegirnos?
   ============================================================ */

.ventajas-strip {
  background: linear-gradient(180deg, var(--bg-light-alt) 0%, var(--bg-light) 100%);
  padding: 60px 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ventajas-strip.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.ventaja-item {
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}

.ventaja-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.ventaja-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  border-color: rgba(139,198,63,0.2);
}

.ventaja-item:hover::before {
  transform: scaleX(1);
}

.ventaja-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139,198,63,0.1), rgba(59,130,246,0.08));
  border: 1px solid rgba(139,198,63,0.15);
  border-radius: 14px;
  transition: all 0.4s ease;
}

.ventaja-icon i {
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--inymo-green), var(--inymo-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ventaja-item:hover .ventaja-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(139,198,63,0.15);
}

.ventaja-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.ventaja-item p {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE — Trust bar + Ventajas strip
   ============================================================ */

@media (max-width: 992px) {
  .ventajas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-bar-inner {
    flex-direction: column;
    gap: 10px;
  }
  .ventajas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ventajas-strip {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .ventajas-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar-logos {
    gap: 6px;
  }
  .trust-logo {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
}

/* ============================================================
   INFO GRID — Clientes + Ubicación
   ============================================================ */

#info-grid,
#clientes {
  padding: 60px 0;
  background: #070b14;
  position: relative;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 50%;
}

/* --- VIDEO DE FONDO ROBÓTICA --- */
.info-grid-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
  filter: saturate(0.6) brightness(0.7);
  pointer-events: none;
}

/* Película verde INYMO transparente */
.info-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(139, 198, 63, 0.12) 0%,
    rgba(139, 198, 63, 0.08) 30%,
    rgba(10, 16, 24, 0.6) 60%,
    rgba(7, 11, 20, 0.85) 100%
  );
  pointer-events: none;
}

/* --- INFO-GRID ROBOTIC VAULT DOORS (VERTICAL) --- */
/* Ocultas por defecto — solo se muestran en desktop (min-width: 1025px) */
.info-door {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  z-index: 15;
  will-change: transform;
  overflow: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

@media (min-width: 1025px) {
  .info-door {
    display: block;
  }
}

.info-door-left {
  top: 0;
  background: linear-gradient(180deg, #0a1018 0%, #0f1a2c 40%, #111e32 70%, #0c1524 100%);
  transform-origin: center top;
  transition: transform 2.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s;
}

.info-door-right {
  bottom: 0;
  background: linear-gradient(0deg, #0a1018 0%, #0f1a2c 40%, #111e32 70%, #0c1524 100%);
  transform-origin: center bottom;
  transition: transform 2.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s;
}

/* Brushed-metal texture */
.info-door::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.1;
  background:
    repeating-linear-gradient(
      0deg, transparent, transparent 1px,
      rgba(255,255,255,0.05) 1px, rgba(255,255,255,0.05) 3px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 40px,
      rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px
    );
  pointer-events: none;
}

/* Door edge rail */
.info-door::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  z-index: 2;
  background: linear-gradient(180deg,
    transparent 5%,
    rgba(255,255,255,0.06) 20%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0.06) 80%,
    transparent 95%
  );
}
.info-door-left::after { left: 0; }
.info-door-right::after { right: 0; }

/* Reuse door component styles from sectores */
.info-door .door-panel-lines,
.info-door .door-hydraulic,
.info-door .door-lock,
.info-door .door-lock-ring,
.info-door .door-seam,
.info-door .door-warning {
  position: absolute;
}

.info-door .door-panel-lines {
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 80px,
      rgba(255,255,255,0.04) 80px,
      rgba(255,255,255,0.04) 82px,
      transparent 82px,
      transparent 84px,
      rgba(255,255,255,0.02) 84px,
      rgba(255,255,255,0.02) 85px
    );
}

.info-door .door-hydraulic {
  z-index: 2;
  width: 6px;
  background: linear-gradient(180deg, rgba(139,198,63,0.05), rgba(139,198,63,0.2), rgba(139,198,63,0.05));
  border-radius: 3px;
  transition: height 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.1s, box-shadow 0.5s ease;
}
.info-door .door-hydraulic-top { left: 25%; height: 70%; }
.info-door .door-hydraulic-bottom { right: 25%; height: 55%; }
.info-door-left .door-hydraulic { bottom: 10px; top: auto; }
.info-door-right .door-hydraulic { top: 10px; bottom: auto; }

#info-grid.visible .door-hydraulic {
  height: 95%;
  box-shadow: 0 0 8px rgba(139,198,63,0.3);
}

.info-door .door-lock {
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid rgba(139,198,63,0.2);
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.info-door-left .door-lock { bottom: 16px; }
.info-door-right .door-lock { top: 16px; }

.info-door .door-lock-ring {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(139,198,63,0.3);
  border-radius: 50%;
  position: relative;
  transition: transform 0.6s ease, border-color 0.4s ease;
}
.info-door .door-lock-ring::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: rgba(139,198,63,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#info-grid.visible .door-lock {
  border-color: var(--inymo-green);
  box-shadow: 0 0 12px rgba(139,198,63,0.4);
}
#info-grid.visible .door-lock-ring {
  transform: rotate(90deg);
  border-color: var(--inymo-green);
}
#info-grid.visible .door-lock-ring::after {
  background: var(--inymo-green);
  box-shadow: 0 0 10px rgba(139,198,63,0.8);
}

.info-door .door-seam {
  left: 0; right: 0;
  height: 3px;
  z-index: 4;
  background: linear-gradient(90deg,
    transparent 3%,
    rgba(139,198,63,0.08) 10%,
    rgba(139,198,63,0.5) 30%,
    rgba(139,198,63,0.8) 50%,
    rgba(139,198,63,0.5) 70%,
    rgba(139,198,63,0.08) 90%,
    transparent 97%
  );
  box-shadow: 0 0 12px rgba(139,198,63,0.4);
  transition: box-shadow 0.5s ease;
}
.info-door-left .door-seam { bottom: 0; }
.info-door-right .door-seam { top: 0; }

#info-grid.visible .door-seam {
  box-shadow: 0 0 20px rgba(139,198,63,0.6);
}

.info-door .door-warning {
  right: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(139,198,63,0.3);
  border: 1px solid rgba(139,198,63,0.1);
  background: rgba(139,198,63,0.03);
  z-index: 3;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.info-door-left .door-warning { bottom: 20px; }
.info-door-right .door-warning { top: 20px; }

#info-grid.visible .door-warning {
  color: var(--inymo-green);
  border-color: rgba(139,198,63,0.5);
  background: rgba(139,198,63,0.1);
  box-shadow: 0 0 12px rgba(139,198,63,0.4);
  animation: doorWarningBlink 0.4s ease 4;
}

/* Door OPEN — vertical with angular depth effect */
#info-grid.visible .info-door-left,
#clientes.visible .info-door-left {
  transform: translateY(-95%) rotateX(-60deg) translateZ(80px);
}
#info-grid.visible .info-door-right,
#clientes.visible .info-door-right {
  transform: translateY(95%) rotateX(60deg) translateZ(80px);
}

/* Content behind doors — delayed fade in (after doors open) - SOLO desktop */
@media (min-width: 1025px) {
  #info-grid > .container,
  #clientes > .container {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1.2s ease 1.8s, transform 1.2s ease 1.8s;
  }
  #info-grid.visible > .container,
  #clientes.visible > .container {
    opacity: 1;
    transform: scale(1);
  }
}

/* Móvil/tablet: contenido siempre visible (sin puertas) */
@media (max-width: 1024px) {
  #info-grid > .container,
  #clientes > .container {
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Row layout: 2 cards side by side */
.info-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.info-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(139, 198, 63, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.info-card-header i {
  font-size: 1.4rem;
  color: var(--inymo-green);
}

.info-card-header h3 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Clientes card */
.info-clientes .client-chips {
  margin-bottom: 16px;
}

.info-clientes .clientes-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.info-clientes .gallery-thumb {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.info-clientes .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: all 0.3s ease;
}

.info-clientes .gallery-thumb:hover img {
  filter: brightness(1);
  transform: scale(1.05);
}

/* Ubicación card */
.mapa-frame-compact {
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  margin-bottom: 12px;
  flex: 1;
}

.mapa-frame-compact iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) brightness(0.9);
}

.ubicacion-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ubicacion-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light-secondary);
}

.ubicacion-detail i {
  color: var(--inymo-green);
  font-size: 1rem;
}

.ubicacion-detail a {
  color: var(--inymo-green);
  text-decoration: none;
}

.ubicacion-detail a:hover {
  text-decoration: underline;
}

/* ============================================================
   PROCESO TIMELINE — Futuristic Loading Animation
   ============================================================ */

.proceso-timeline-section {
  background: rgba(10, 16, 24, 0.7);
  border: 1px solid rgba(139, 198, 63, 0.12);
  border-radius: 20px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.proceso-timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--inymo-green), rgba(139,198,63,0.6), var(--inymo-green), transparent);
  background-size: 200% 100%;
  animation: procesoGradient 3s linear infinite;
}

@keyframes procesoGradient {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.proceso-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.proceso-header i {
  font-size: 1.5rem;
  color: var(--inymo-green);
}

.proceso-header h3 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex: 1;
}

.proceso-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Chakra Petch', monospace;
  font-size: 0.75rem;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--inymo-green);
  border-radius: 50%;
  animation: statusBlink 1s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--inymo-green); }
  50% { opacity: 0.4; box-shadow: 0 0 2px var(--inymo-green); }
}

/* Timeline container */
.proceso-timeline {
  position: relative;
}

/* Progress track (background line) */
.proceso-progress-track {
  position: absolute;
  top: 24px;
  left: 32px;
  right: 32px;
  height: 3px;
  background: rgba(139, 198, 63, 0.15);
  border-radius: 2px;
  z-index: 1;
}

.proceso-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--inymo-green), rgba(139,198,63,0.8), var(--inymo-green));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--inymo-green), 0 0 24px rgba(139,198,63,0.4);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Steps row */
.proceso-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.proceso-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  opacity: 0.4;
  transform: translateY(8px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.proceso-step.active {
  opacity: 1;
  transform: translateY(0);
}

.proceso-step.completed {
  opacity: 1;
  transform: translateY(0);
}

/* Node (hexagonal tech design) */
.step-node {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.step-node-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(139, 198, 63, 0.2);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(139, 198, 63, 0.03);
  transition: all 0.4s ease;
}

.step-node-ring::before {
  content: '';
  position: absolute;
  inset: 2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(10, 16, 24, 0.95);
}

.proceso-step.active .step-node-ring {
  border-color: var(--inymo-green);
  background: rgba(139, 198, 63, 0.15);
  box-shadow: 0 0 25px rgba(139, 198, 63, 0.5), inset 0 0 15px rgba(139, 198, 63, 0.2);
  animation: nodeHexPulse 1.2s ease-in-out infinite;
}

.proceso-step.completed .step-node-ring {
  border-color: var(--inymo-green);
  background: rgba(139, 198, 63, 0.1);
}

@keyframes nodeHexPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 198, 63, 0.4), inset 0 0 10px rgba(139, 198, 63, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 35px rgba(139, 198, 63, 0.7), inset 0 0 20px rgba(139, 198, 63, 0.3);
    transform: scale(1.05);
  }
}

.step-node-core {
  position: absolute;
  inset: 8px;
  background: rgba(10, 16, 24, 0.9);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: rgba(139, 198, 63, 0.4);
  transition: all 0.4s ease;
}

.proceso-step.active .step-node-core {
  color: var(--inymo-green);
  background: rgba(139, 198, 63, 0.1);
  text-shadow: 0 0 10px var(--inymo-green);
}

.proceso-step.completed .step-node-core {
  color: var(--inymo-green);
  background: rgba(139, 198, 63, 0.08);
}

/* Scan line effect on active node */
.proceso-step.active .step-node::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--inymo-green), transparent);
  animation: nodeScan 1s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes nodeScan {
  0% { top: 0; opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* Step content (number + label) */
.step-content {
  text-align: center;
}

.step-num {
  display: block;
  font-family: 'Chakra Petch', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(139, 198, 63, 0.4);
  margin-bottom: 4px;
  transition: color 0.4s ease;
}

.proceso-step.active .step-num,
.proceso-step.completed .step-num {
  color: var(--inymo-green);
}

.step-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.proceso-step.active .step-label {
  color: #fff;
}

.proceso-step.completed .step-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Hide connector div (we use CSS for the line) */
.step-connector {
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .info-grid-row {
    grid-template-columns: 1fr;
  }

  .proceso-timeline-section {
    padding: 24px 20px;
  }

  .proceso-progress-track {
    left: 20px;
    right: 20px;
  }

  .step-node {
    width: 40px;
    height: 40px;
  }

  .step-node-core {
    font-size: 0.95rem;
  }

  .step-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .proceso-header {
    flex-wrap: wrap;
  }

  .proceso-status {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  /* Proceso en tablet - layout vertical */
  .proceso-timeline {
    overflow: visible;
    padding-bottom: 0;
  }

  .proceso-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    min-width: 0;
  }

  .proceso-progress-track {
    display: none;
  }

  .step-connector {
    display: none;
  }

  .proceso-step {
    flex-direction: column;
    text-align: center;
  }

  .step-node {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
  }

  .step-node-core {
    inset: 6px;
    font-size: 1rem;
  }

  .step-label {
    font-size: 0.7rem;
  }

  .step-content {
    position: static;
    transform: none;
  }
}

@media (max-width: 576px) {
  .info-clientes .clientes-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proceso-timeline-section {
    padding: 20px 16px;
  }

  /* Proceso móvil - 2 columnas */
  .proceso-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .step-node {
    width: 44px;
    height: 44px;
  }

  .step-node-core {
    inset: 5px;
    font-size: 0.95rem;
  }

  .step-label {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .step-num {
    font-size: 0.6rem;
  }

  /* FORZAR visibilidad de pasos del proceso en móvil */
  .proceso-step {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .proceso-step .step-node-ring {
    border-color: var(--inymo-green) !important;
    background: rgba(139, 198, 63, 0.1) !important;
  }

  .proceso-step .step-node-core {
    color: var(--inymo-green) !important;
  }

  .proceso-step .step-num {
    color: var(--inymo-green) !important;
  }

  .proceso-step .step-label {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  /* Proceso header - FORZAR visibilidad completa */
  .proceso-timeline-section {
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(10, 16, 24, 0.95) !important;
  }

  .proceso-header {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .proceso-header h3 {
    opacity: 1 !important;
    color: #ffffff !important;
    visibility: visible !important;
  }

  .proceso-header i {
    opacity: 1 !important;
    color: var(--inymo-green) !important;
    visibility: visible !important;
  }

  .proceso-status {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .status-dot {
    opacity: 1 !important;
    background: var(--inymo-green) !important;
  }

  /* Paso activo/completado también visible */
  .proceso-step.active,
  .proceso-step.completed {
    opacity: 1 !important;
  }

  .proceso-step.active .step-label,
  .proceso-step.completed .step-label {
    color: #fff !important;
    opacity: 1 !important;
  }

  /* FORZAR visibilidad del contenedor clientes en móvil */
  /* Las animaciones de scroll no funcionan bien en móvil */
  #clientes,
  #clientes > .container,
  #proceso .proceso-timeline-section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* Puertas ocultas en móvil — evitar que tapen contenido */
  #clientes .info-door-left,
  #clientes .info-door-right {
    display: none !important;
  }

  #clientes > .container {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   FICHAS DE SERVICIOS — Cards de servicio con CTA
   ============================================================ */

.fichas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

a.ficha-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  /* Fallback: animación CSS para asegurar visibilidad */
  animation: fichaFallbackAppear 0.8s ease forwards;
  animation-delay: 0.3s;
}

/* Animación fallback para fichas */
@keyframes fichaFallbackAppear {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

a.ficha-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 3;
}

a.ficha-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.03) 75%,
    transparent 100%
  );
  transform: skewX(-20deg);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

a.ficha-card.shimmer-active::after {
  opacity: 1;
  animation: shimmerSweep 1.8s ease-out forwards;
}

a.ficha-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,198,63,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(139,198,63,0.08);
  animation: neonBorderPulse 2s ease-in-out infinite;
}

a.ficha-card:hover::before {
  transform: scaleX(1);
}

.ficha-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.ficha-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.6s ease;
  filter: brightness(0.75) saturate(0.95);
}

a.ficha-card:hover .ficha-img-wrap img {
  filter: brightness(0.9) saturate(1.1);
  transform: scale(1.08);
}

.ficha-img-overlay {
  display: none;
}

.ficha-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(139,198,63,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Chakra Petch', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--inymo-green);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.ficha-badge i {
  font-size: 0.8rem;
}

.ficha-body {
  padding: 14px 16px;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(10, 16, 28, 0.92) 0%,
    rgba(10, 16, 28, 0.85) 30%,
    rgba(10, 16, 28, 0.6) 60%,
    rgba(10, 16, 28, 0.2) 85%,
    transparent 100%
  );
}

.ficha-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(139,198,63,0.15), rgba(59,130,246,0.1));
  border: 1px solid rgba(139,198,63,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.4s ease;
}

.ficha-icon i {
  font-size: 1.2rem;
  color: var(--inymo-green);
}

a.ficha-card:hover .ficha-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(139,198,63,0.2);
}

.ficha-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ficha-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ficha-features li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text-light-secondary);
  font-size: 0.8rem;
  line-height: 1.35;
}

.ficha-features li i {
  color: var(--inymo-green);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ficha-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}

a.ficha-card:hover .ficha-cta {
  gap: 12px;
}

/* Corner brackets on ficha images */
a.ficha-card .ficha-img-wrap::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-top: 2px solid rgba(139, 198, 63, 0);
  border-left: 2px solid rgba(139, 198, 63, 0);
  z-index: 5;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

a.ficha-card:hover .ficha-img-wrap::before {
  border-top-color: var(--inymo-green);
  border-left-color: var(--inymo-green);
  width: 50px;
  height: 50px;
  box-shadow: -3px -3px 10px rgba(139, 198, 63, 0.2);
}

a.ficha-card .ficha-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid rgba(139, 198, 63, 0);
  border-right: 2px solid rgba(139, 198, 63, 0);
  z-index: 5;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

a.ficha-card:hover .ficha-img-wrap::after {
  border-bottom-color: var(--inymo-green);
  border-right-color: var(--inymo-green);
  width: 50px;
  height: 50px;
  box-shadow: 3px 3px 10px rgba(139, 198, 63, 0.2);
}

/* ============================================================
   TESTIMONIOS ENHANCED — Gallery strip + Map dark island
   ============================================================ */

.clientes-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.8);
}

.gallery-thumb:hover img {
  transform: scale(1.1);
  filter: brightness(1);
}

/* ============================================================
   TRUST + MAPA SIDE-BY-SIDE LAYOUT
   ============================================================ */

.trust-mapa-layout {
  display: flex;
  gap: 40px;
  align-items: stretch;
  margin-top: 40px;
}

.trust-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mapa-side {
  flex: 1;
  min-width: 0;
  background: var(--inymo-navy);
  border-radius: 24px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.mapa-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue), var(--inymo-green));
  background-size: 200% 100%;
  animation: marqueeGradient 3s linear infinite;
  z-index: 2;
}

.mapa-side .mapa-section-wrap {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mapa-side .mapa-header-bar {
  border-radius: 24px 24px 0 0;
}

.mapa-side .mapa-frame {
  flex: 1;
}

.mapa-side .mapa-frame .mapa-iframe {
  height: 100%;
  min-height: 320px;
}

.mapa-side .mapa-footer-bar {
  border-radius: 0 0 24px 24px;
}

@media (max-width: 992px) {
  .trust-mapa-layout {
    flex-direction: column;
    gap: 32px;
  }
  .mapa-side .mapa-frame .mapa-iframe {
    min-height: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .trust-mapa-layout {
    gap: 24px;
  }
  .mapa-side {
    border-radius: 16px;
  }
  .mapa-side .mapa-header-bar {
    border-radius: 16px 16px 0 0;
  }
  .mapa-side .mapa-footer-bar {
    border-radius: 0 0 16px 16px;
  }
  .mapa-side .mapa-frame .mapa-iframe {
    min-height: 250px;
    height: 250px;
  }
}

/* Dark island for map inside light section */
.testi-mapa-wrap {
  background: var(--inymo-navy);
  border-radius: 24px;
  padding: 32px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.testi-mapa-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-blue), var(--inymo-green));
  background-size: 200% 100%;
  animation: marqueeGradient 3s linear infinite;
}

.testi-mapa-wrap .mapa-section-wrap {
  margin-bottom: 0;
}

/* Footer social inline */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social .social-link {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
}

/* ============================================================
   RESPONSIVE — Fichas + Gallery + Map wrap
   ============================================================ */

@media (max-width: 992px) {
  .fichas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-mapa-wrap {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  /* SECTORES - más pequeños */
  .sectores-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .sector-item {
    min-height: 100px;
  }
  .sector-item-info {
    padding: 8px;
  }
  .sector-item-info i {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }
  .sector-item-info h4 {
    font-size: 0.65rem;
  }

  /* FICHAS SERVICIOS - 1 columna en tablet para mejor legibilidad */
  .fichas-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  a.ficha-card {
    min-height: 220px !important;
    flex-direction: column !important;
    position: relative !important;
    display: flex !important;
  }
  .ficha-img-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }
  .ficha-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: brightness(0.5) saturate(0.85) !important;
  }
  .ficha-body {
    position: relative !important;
    z-index: 2 !important;
    padding: 20px !important;
    margin-top: auto !important;
    background: linear-gradient(
      to top,
      rgba(10, 16, 24, 0.95) 0%,
      rgba(10, 16, 24, 0.85) 50%,
      rgba(10, 16, 24, 0.5) 80%,
      transparent 100%
    ) !important;
  }
  .ficha-body h3 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
  }
  .ficha-icon {
    display: none !important;
  }
  .ficha-features {
    display: block !important;
  }
  .ficha-features li {
    font-size: 0.9rem !important;
    padding: 4px 0 !important;
    color: rgba(255,255,255,0.9) !important;
  }
  .ficha-features li i {
    font-size: 0.85rem !important;
    color: var(--inymo-green) !important;
    margin-right: 8px !important;
  }
  .ficha-cta {
    font-size: 0.9rem !important;
    padding: 10px 16px !important;
    margin-top: 12px !important;
    display: inline-flex !important;
    align-self: flex-start !important;
  }
  .ficha-badge {
    font-size: 0.7rem !important;
    padding: 5px 10px !important;
    z-index: 5 !important;
    top: 16px !important;
    right: 16px !important;
  }
  .clientes-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-mapa-wrap {
    padding: 16px;
    margin-top: 32px;
    border-radius: 16px;
  }
  a.ficha-card .ficha-img-wrap::before,
  a.ficha-card .ficha-img-wrap::after { display: none; }
}

@media (max-width: 576px) {
  /* SECTORES - aún más compactos */
  .sectores-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .sector-item {
    min-height: 80px;
  }
  .sector-item-info i {
    font-size: 1.2rem;
  }
  .sector-item-info h4 {
    font-size: 0.55rem;
  }

  /* FICHAS SERVICIOS - 1 columna en móvil para mejor legibilidad */
  .fichas-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  a.ficha-card {
    min-height: 200px !important;
    flex-direction: column !important;
    position: relative !important;
    display: flex !important;
  }
  .ficha-img-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
  .ficha-img-wrap img {
    filter: brightness(0.5) saturate(0.8) !important;
  }
  .ficha-body {
    padding: 16px !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background: linear-gradient(
      to top,
      rgba(10, 16, 24, 0.95) 0%,
      rgba(10, 16, 24, 0.8) 40%,
      rgba(10, 16, 24, 0.4) 70%,
      transparent 100%
    ) !important;
  }
  .ficha-body h3 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
  }
  .ficha-icon {
    display: none !important;
  }
  .ficha-features {
    display: block !important;
    margin-bottom: 12px !important;
  }
  .ficha-features li {
    font-size: 0.85rem !important;
    padding: 3px 0 !important;
    color: rgba(255,255,255,0.9) !important;
  }
  .ficha-features li i {
    font-size: 0.8rem !important;
    color: var(--inymo-green) !important;
    margin-right: 6px !important;
  }
  .ficha-cta {
    font-size: 0.9rem !important;
    padding: 10px 16px !important;
    margin-top: 8px !important;
    align-self: flex-start !important;
  }
  .ficha-badge {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 5 !important;
  }
}

/* ============================================================
   NOSOTROS PAGE — Standalone /nosotros
   ============================================================ */

/* Hero banner for nosotros page */
.nosotros-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #0a1a0a 50%, var(--bg-primary) 100%);
  text-align: center;
  overflow: hidden;
}

.nosotros-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 30% 50%, rgba(139,198,63,0.08), transparent),
    radial-gradient(ellipse 500px 400px at 70% 60%, rgba(139,198,63,0.05), transparent);
  pointer-events: none;
}

.nosotros-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
  pointer-events: none;
}

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

.nosotros-hero-content .section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.nosotros-hero-content .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Mision/Vision/Valores cards grid */
.nosotros-mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.nosotros-mv-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.nosotros-mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-green-dark));
  border-radius: 16px 16px 0 0;
}

.nosotros-mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(139,198,63,0.12);
}

.nosotros-mv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,198,63,0.12), rgba(139,198,63,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--inymo-green);
}

.nosotros-mv-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.nosotros-mv-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

.nosotros-valores-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0;
}

.nosotros-valores-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.nosotros-valores-list li i {
  color: var(--inymo-green);
  font-size: 1.1rem;
}

/* Capacidades grid */
.capacidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.capacidad-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,198,63,0.12);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.capacidad-item:hover {
  transform: translateY(-4px);
  border-color: rgba(139,198,63,0.3);
}

.capacidad-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,198,63,0.15), rgba(139,198,63,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--inymo-green);
}

.capacidad-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}

.capacidad-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Responsive nosotros page */
@media (max-width: 991px) {
  .nosotros-mv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .capacidades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .nosotros-hero {
    padding: 120px 0 60px;
  }
  .capacidades-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NOSOTROS PAGE v2 — Premium Redesign with Animations
   ============================================================ */

/* === ANIMATION CLASSES === */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.anim-slide-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.anim-slide-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.anim-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.anim-scale.animated {
  opacity: 1;
  transform: scale(1);
}

.anim-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-item.revealed,
.anim-item.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Text reveal animation */
.text-reveal {
  position: relative;
  overflow: hidden;
}
.text-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-green-dark));
  transform: translateX(-101%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.text-reveal.text-revealed::after {
  transform: translateX(101%);
}

/* Floating Particles */
.nos-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.nos-particle {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  background: var(--inymo-green);
  border-radius: 50%;
  opacity: 0.25;
  animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* === HERO UNIFIED SECTION === */
.nos-hero-unified {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
  text-align: center;
}

.nos-hero-unified-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nos-hero-unified-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.7) brightness(0.7);
}

.nos-hero-unified-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,16,24,0.65) 0%,
    rgba(10,16,24,0.8) 100%);
  z-index: 1;
}

.nos-hero-unified-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--inymo-green), transparent);
  margin: 30px auto;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.5s forwards;
}

/* Old compact hero - kept for backwards compat */
.nos-hero-compact {
  position: relative;
  padding: 120px 0 50px;
  overflow: hidden;
  text-align: center;
}

.nos-hero-compact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nos-hero-compact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.7) brightness(0.7);
}

.nos-hero-compact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,16,24,0.7) 0%,
    rgba(10,16,24,0.85) 100%);
  z-index: 1;
}

.nos-hero-compact-content {
  position: relative;
  z-index: 2;
}

.hero-compact-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero-compact-title {
  font-family: 'Barlow', sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.4s forwards;
}

.hero-compact-title strong {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  color: var(--inymo-green);
  margin: 0 0.2em;
}

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

/* === HERO SECTION (old full screen) === */
.nos-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.nos-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nos-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.5) brightness(0.6);
  transform: scale(1.1);
  transition: transform 0.1s linear;
  will-change: transform;
}

.nos-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,20,10,0.6) 0%,
    rgba(10,20,10,0.4) 50%,
    var(--bg-primary) 100%);
  z-index: 1;
}

.nos-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,198,63,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,198,63,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  opacity: 0.6;
}

/* Scan line effect */
.nos-hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.nos-hero-scanline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(139,198,63,0.4), transparent);
  animation: heroScanline 4s linear infinite;
}
@keyframes heroScanline {
  0% { top: -4px; }
  100% { top: 100%; }
}

.nos-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.nos-hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.nos-hero-badge.revealed {
  opacity: 1;
  transform: translateY(0);
}

.badge-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--inymo-green), transparent);
  animation: badgeLinePulse 2s ease-in-out infinite;
}
@keyframes badgeLinePulse {
  0%, 100% { opacity: 0.5; width: 40px; }
  50% { opacity: 1; width: 60px; }
}

.badge-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--inymo-green);
  text-transform: uppercase;
}

.nos-hero-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-line.revealed {
  opacity: 1;
  transform: translateY(0);
}

.title-accent {
  color: var(--inymo-green);
  text-shadow: 0 0 40px rgba(139,198,63,0.4);
}

.nos-hero-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}
.nos-hero-subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.nos-hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.7s;
}
.nos-hero-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.nos-hero-scroll:hover {
  transform: translateY(4px);
}

.nos-hero-scroll span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Scroll indicator with animated dot */
.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(139,198,63,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--inymo-green);
  border-radius: 2px;
  animation: scrollDot 1.5s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 22px; opacity: 0.5; }
}

/* === SECTION BADGES & TITLES === */
.nos-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(139,198,63,0.12);
  border: 1px solid rgba(139,198,63,0.25);
  border-radius: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--inymo-green);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.nos-section-badge.badge-light {
  background: rgba(139,198,63,0.08);
  border-color: rgba(139,198,63,0.2);
  color: var(--inymo-green-dark);
}

.nos-section-badge i {
  font-size: 1rem;
}

.nos-section-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.nos-section-title.title-dark {
  color: var(--text-dark);
}

.nos-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.nos-section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* === ABOUT SECTION COMPACT === */
.nos-about-compact {
  padding: 50px 0 30px;
  background: linear-gradient(180deg, #0a1018 0%, #0c1524 100%);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.nos-about-compact.visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-about-centered {
  max-width: 700px;
  margin: 0 auto;
}

.nos-logo-large {
  width: 220px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.1);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.6s forwards;
}

.nos-about-compact.visible .nos-logo-large {
  opacity: 1;
  transform: scale(1);
}

.nos-badge-40 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(139,198,63,0.15), rgba(139,198,63,0.05));
  border: 1px solid rgba(139,198,63,0.3);
  border-radius: 50px;
  padding: 8px 24px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.7s forwards;
}

.nos-about-compact.visible .nos-badge-40 {
  opacity: 1;
  transform: translateY(0);
}

.nos-badge-40 .badge-num {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--inymo-green);
}

.nos-badge-40 .badge-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nos-main-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.8s forwards;
}

.nos-about-compact.visible .nos-main-title {
  opacity: 1;
  transform: translateY(0);
}

.nos-main-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.9s forwards;
}

.nos-about-compact.visible .nos-main-desc {
  opacity: 1;
  transform: translateY(0);
}

/* === TIMELINE HORIZONTAL COMPACT === */
.nos-timeline-compact {
  padding: 30px 0 50px;
  background: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.nos-timeline-compact.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-compact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.timeline-compact-title i {
  color: var(--inymo-green);
  font-size: 1.3rem;
}

.timeline-horizontal {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-h-track {
  position: absolute;
  top: 8px;
  left: 50px;
  right: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--inymo-green), var(--inymo-green-dark));
  border-radius: 2px;
}

.timeline-h-items {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-h-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.nos-timeline-compact.visible .timeline-h-item {
  opacity: 1;
  transform: translateY(0);
}

.nos-timeline-compact.visible .timeline-h-item:nth-child(1) { transition-delay: 0.1s; }
.nos-timeline-compact.visible .timeline-h-item:nth-child(2) { transition-delay: 0.2s; }
.nos-timeline-compact.visible .timeline-h-item:nth-child(3) { transition-delay: 0.3s; }
.nos-timeline-compact.visible .timeline-h-item:nth-child(4) { transition-delay: 0.4s; }
.nos-timeline-compact.visible .timeline-h-item:nth-child(5) { transition-delay: 0.5s; }
.nos-timeline-compact.visible .timeline-h-item:nth-child(6) { transition-delay: 0.6s; }

.th-dot {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 3px solid var(--inymo-green);
  border-radius: 50%;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-h-item:hover .th-dot {
  background: var(--inymo-green);
  transform: scale(1.2);
}

.th-current .th-dot {
  background: var(--inymo-green);
  box-shadow: 0 0 0 4px rgba(139,198,63,0.3);
}

.th-year {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--inymo-green);
  margin-bottom: 6px;
}

.th-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 90px;
}

/* Old about section - kept for backwards compatibility */
.nos-about {
  position: relative;
  padding: 60px 0;
  background: var(--bg-primary);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.nos-about.visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nos-about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  filter: grayscale(1);
}

.nos-about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nos-about-visual {
  position: relative;
}

.nos-about-img-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.nos-about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.nos-about-img-main .img-frame {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(139,198,63,0.3);
  border-radius: 20px;
  pointer-events: none;
}

.nos-about-img-main .img-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--inymo-green);
}

.nos-about-img-main .corner-tl {
  top: -12px;
  left: -12px;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0;
}

.nos-about-img-main .corner-br {
  bottom: -12px;
  right: -12px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0;
}

/* Shine effect on image */
.nos-about-img-main .img-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.15) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0s;
}
.nos-about-visual:hover .img-shine {
  transform: translateX(100%);
  transition: transform 0.8s ease;
}

.nos-about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nos-about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nos-about-badge-float {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--inymo-green), var(--inymo-green-dark));
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(139,198,63,0.3);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.nos-about-badge-float .badge-number {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

.nos-about-badge-float .badge-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nos-about-text {
  padding-left: 20px;
}

.nos-about-description p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.nos-about-description p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
}

.nos-about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(139,198,63,0.15);
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.stat-item.stat-anim.counting {
  opacity: 1;
  transform: translateY(0);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(139,198,63,0.1);
  border: 1px solid rgba(139,198,63,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.stat-icon i {
  font-size: 1.3rem;
  color: var(--inymo-green);
}

.stat-number {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--inymo-green);
  line-height: 1;
}

.stat-unit {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--inymo-green);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* === TIMELINE === */
.nos-timeline {
  padding: 60px 0;
  background: #ffffff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.nos-timeline.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 60px;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(139,198,63,0.15);
}

.timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--inymo-green), var(--inymo-green-dark));
  transition: height 0.3s ease;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.timeline-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -52px;
  top: 4px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 3px solid var(--inymo-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item.revealed .timeline-dot {
  background: var(--inymo-green);
}

.timeline-dot i {
  font-size: 1.1rem;
  color: var(--inymo-green);
  transition: color 0.3s ease;
}

.timeline-item.revealed .timeline-dot i {
  color: #fff;
}

.timeline-content {
  background: #fff;
  padding: 24px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(139,198,63,0.1);
}

.timeline-year {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--inymo-green);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timeline-content h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 8px 0;
}

.timeline-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.timeline-current .timeline-dot {
  background: var(--inymo-green);
  box-shadow: 0 0 0 8px rgba(139,198,63,0.2);
  animation: currentPulse 2s ease-in-out infinite;
}

@keyframes currentPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(139,198,63,0.2); }
  50% { box-shadow: 0 0 0 16px rgba(139,198,63,0.1); }
}

/* === MVV CARDS === */
.nos-mvv {
  position: relative;
  padding: 50px 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.nos-mvv.visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-mvv-bg {
  position: absolute;
  inset: 0;
}

.nos-mvv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0.4) brightness(0.5);
}

.nos-mvv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,20,10,0.95) 0%,
    rgba(15,30,15,0.9) 100%);
}

.nos-mvv-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.nos-mvv-card {
  perspective: 1000px;
  height: 240px;
}

.nos-mvv-card.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.nos-mvv-card.stagger-revealed {
  opacity: 1;
  transform: translateY(0);
}

.mvv-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.nos-mvv-card:hover .mvv-card-inner,
.nos-mvv-card.flipped .mvv-card-inner {
  transform: rotateY(180deg);
}

.mvv-card-front,
.mvv-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mvv-card-front {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(139,198,63,0.2);
}

/* Glow effect on MVV cards */
.mvv-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle at 50% 50%, rgba(139,198,63,0.15), transparent 70%);
  pointer-events: none;
}
.nos-mvv-card:hover .mvv-glow {
  opacity: 1;
}

/* Hint text for mobile */
.mvv-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  opacity: 0.4;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.mvv-hint i {
  font-size: 0.9rem;
  animation: hintRotate 2s ease-in-out infinite;
}
@keyframes hintRotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(20deg); }
}

.mvv-card-back {
  background: linear-gradient(145deg, var(--inymo-green), var(--inymo-green-dark));
  transform: rotateY(180deg);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(139,198,63,0.2), rgba(139,198,63,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mvv-icon i {
  font-size: 2.2rem;
  color: var(--inymo-green);
}

.mvv-card-front h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}

.mvv-preview {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.mvv-card-back h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
}

.mvv-card-back p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.valores-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.valores-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.valores-list li i {
  color: #fff;
  font-size: 1rem;
}

/* === ALLIANCE SECTION === */
.nos-alliance {
  position: relative;
  padding: 50px 0;
  background: var(--bg-light);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  overflow: hidden;
}

.nos-alliance.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pattern background */
.nos-alliance-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139,198,63,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139,198,63,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.nos-alliance-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.alliance-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.alliance-logo {
  position: relative;
  background: linear-gradient(145deg, #0c1524, #0f1f35);
  padding: 20px 32px;
  border-radius: 16px;
  border: 1px solid rgba(139,198,63,0.2);
  transition: all 0.4s ease;
}
.alliance-logo.logo-commsa {
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border: 1px solid rgba(0,0,0,0.1);
}
.alliance-logo:hover {
  border-color: rgba(139,198,63,0.5);
  transform: translateY(-4px);
}

/* Logo glow effect */
.alliance-logo .logo-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--inymo-green), transparent, var(--inymo-green));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}
.alliance-logo:hover .logo-glow {
  opacity: 0.3;
}

.alliance-logo img {
  height: 50px;
  width: auto;
  filter: brightness(1.1);
}

.alliance-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.divider-line {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, transparent, var(--inymo-green), transparent);
}

.alliance-divider span {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--inymo-green);
  text-shadow: 0 0 20px rgba(139,198,63,0.3);
}

.alliance-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-item {
  background: #fff;
  padding: 28px 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.4s ease;
}

.benefit-item.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.benefit-item.stagger-revealed {
  opacity: 1;
  transform: translateY(0);
}

.benefit-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(139,198,63,0.1);
}

.benefit-icon {
  position: relative;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(139,198,63,0.12), rgba(139,198,63,0.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: var(--inymo-green);
  position: relative;
  z-index: 2;
}

.benefit-icon .icon-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(139,198,63,0.2);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}
.benefit-item:hover .icon-ring {
  opacity: 1;
  transform: scale(1);
}

.benefit-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.benefit-item p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* === CAPABILITIES === */
.nos-capabilities {
  position: relative;
  padding: 50px 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.nos-capabilities.visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-cap-bg {
  position: absolute;
  inset: 0;
}

.nos-cap-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.3) brightness(0.4);
}

.nos-cap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg-primary) 0%,
    rgba(10,20,10,0.95) 50%,
    var(--bg-primary) 100%);
}

.nos-cap-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nos-cap-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,198,63,0.15);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Card background glow */
.cap-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139,198,63,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.nos-cap-card:hover .cap-card-bg {
  opacity: 1;
}

.nos-cap-card.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.nos-cap-card.stagger-revealed {
  opacity: 1;
  transform: translateY(0);
}

.nos-cap-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(139,198,63,0.35);
  transform: translateY(-6px);
}

.cap-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-icon-wrap i {
  font-size: 2rem;
  color: var(--inymo-green);
  position: relative;
  z-index: 2;
}

.cap-icon-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(139,198,63,0.3);
  border-radius: 50%;
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.5; }
}

.nos-cap-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.nos-cap-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.cap-tags span {
  padding: 4px 12px;
  background: rgba(139,198,63,0.1);
  border: 1px solid rgba(139,198,63,0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--inymo-green);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === GALLERY === */
.nos-gallery {
  padding: 50px 0;
  background: var(--bg-light);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.nos-gallery.visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.stagger-item {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease;
}

.gallery-item.stagger-revealed {
  opacity: 1;
  transform: scale(1);
}

.gallery-item.item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.item-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,20,10,0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  width: 48px;
  height: 48px;
  background: rgba(139,198,63,0.2);
  border: 2px solid var(--inymo-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}
.gallery-item:hover .gallery-icon {
  transform: translateY(0);
  opacity: 1;
}
.gallery-icon i {
  font-size: 1.3rem;
  color: var(--inymo-green);
}

.gallery-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease 0.15s;
}
.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
  opacity: 1;
}

/* === CTA === */
.nos-cta {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.nos-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-cta-bg {
  position: absolute;
  inset: 0;
}

.nos-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.4) brightness(0.5);
}

.nos-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,20,10,0.95) 0%,
    rgba(15,35,15,0.9) 100%);
}

/* CTA Grid pattern */
.nos-cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,198,63,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,198,63,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.nos-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* CTA Icon */
.cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(139,198,63,0.2), rgba(139,198,63,0.05));
  border: 2px solid rgba(139,198,63,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: ctaIconPulse 2s ease-in-out infinite;
}
.cta-icon i {
  font-size: 2rem;
  color: var(--inymo-green);
}
@keyframes ctaIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.nos-cta-content h2 {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
}

.nos-cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.nos-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.nos-btn-primary,
.nos-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nos-btn-primary {
  background: linear-gradient(135deg, var(--inymo-green), var(--inymo-green-dark));
  color: #fff;
  border: none;
}

.nos-btn-primary:hover {
  box-shadow: 0 8px 25px rgba(139,198,63,0.4);
}

.nos-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.nos-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--inymo-green);
  color: var(--inymo-green);
}

.nos-cta-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.trust-item i {
  color: var(--inymo-green);
}

/* === RESPONSIVE — NOSOTROS PAGE === */
@media (max-width: 1200px) {
  .nos-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .alliance-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .nos-about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .nos-about-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .nos-about-text {
    padding-left: 0;
    text-align: center;
  }
  .nos-about-stats {
    justify-content: center;
  }
  .nos-mvv-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .nos-mvv-card {
    height: 280px;
  }
  .nos-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-item.item-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item.item-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* Unified hero mobile */
  .nos-hero-unified {
    padding: 100px 0 50px;
  }
  .hero-compact-badge {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
  .hero-compact-title {
    font-size: 1.4rem;
    padding: 0 10px;
  }
  .hero-divider {
    margin: 24px auto;
  }
  .nos-logo-large {
    width: 160px;
  }
  .nos-badge-40 {
    padding: 6px 18px;
  }
  .nos-badge-40 .badge-num {
    font-size: 1.3rem;
  }
  .nos-main-title {
    font-size: 1.3rem;
  }
  .nos-main-desc {
    font-size: 0.9rem;
    padding: 0 10px;
  }
  /* Old compact hero mobile */
  .nos-hero-compact {
    padding: 100px 0 40px;
  }
  .nos-hero {
    min-height: 100svh;
  }
  .nos-hero-badge {
    flex-direction: column;
    gap: 8px;
  }
  .badge-line {
    width: 40px;
    animation: none;
  }
  /* Hide heavy effects on mobile */
  .nos-hero-grid,
  .nos-particles,
  .nos-hero-scanline,
  .nos-cta-grid,
  .nos-alliance-pattern,
  .img-shine,
  .mvv-glow,
  .cap-card-bg,
  .logo-glow {
    display: none !important;
  }
  /* Simplify animations */
  .anim-slide-left,
  .anim-slide-right {
    transform: translateY(30px);
  }
  .anim-slide-left.animated,
  .anim-slide-right.animated {
    transform: translateY(0);
  }
  /* Stats visible by default */
  .stat-item.stat-anim {
    opacity: 1;
    transform: translateY(0);
  }
  .nos-about {
    padding: 40px 0;
  }
  .nos-about-img-accent {
    width: 120px;
    height: 120px;
    bottom: -20px;
    right: -10px;
  }
  .nos-about-badge-float {
    width: 80px;
    height: 80px;
    top: -16px;
    left: -8px;
  }
  .nos-about-badge-float .badge-number {
    font-size: 1.6rem;
  }
  .nos-about-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .stat-item {
    flex: 1 1 calc(50% - 12px);
  }
  .stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  .stat-icon i {
    font-size: 1.1rem;
  }
  .timeline-wrapper {
    padding-left: 50px;
  }
  .timeline-dot {
    left: -42px;
    width: 36px;
    height: 36px;
  }
  .timeline-content {
    padding: 20px;
  }
  .nos-timeline,
  .nos-timeline-compact,
  .nos-mvv,
  .nos-alliance,
  .nos-capabilities,
  .nos-gallery,
  .nos-cta {
    padding: 40px 0;
  }
  /* Compact about mobile */
  .nos-about-compact {
    padding: 40px 0 20px;
  }
  .nos-logo-large {
    width: 200px;
  }
  .nos-badge-40 {
    padding: 6px 18px;
  }
  .nos-badge-40 .badge-num {
    font-size: 1.4rem;
  }
  .nos-main-title {
    font-size: 1.5rem;
  }
  .nos-main-desc {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  /* Horizontal timeline mobile */
  .timeline-horizontal {
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .timeline-h-items {
    min-width: 600px;
    padding: 0 20px;
  }
  .th-label {
    font-size: 0.65rem;
    max-width: 65px;
  }
  .th-year {
    font-size: 0.85rem;
  }
  /* MVV hint always visible on mobile */
  .mvv-hint {
    opacity: 0.6;
  }
  .alliance-logos {
    flex-direction: column;
    gap: 24px;
  }
  .alliance-divider {
    flex-direction: row;
  }
  .divider-line {
    width: 30px;
    height: 2px;
  }
  .alliance-logo {
    padding: 20px 32px;
  }
  .alliance-logo img {
    height: 40px;
  }
  .alliance-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nos-cap-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Disable 3D tilt on cap cards */
  .nos-cap-card:hover,
  .benefit-item:hover {
    transform: translateY(-4px) !important;
  }
  .nos-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item,
  .gallery-item.item-large,
  .gallery-item.item-wide {
    grid-column: span 1;
    grid-row: span 1;
    height: 200px;
  }
  /* Gallery overlay always visible on mobile */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 50%, rgba(10,20,10,0.9) 100%);
  }
  .gallery-icon {
    transform: translateY(0);
    opacity: 1;
    width: 40px;
    height: 40px;
  }
  .gallery-overlay span {
    transform: translateY(0);
    opacity: 1;
  }
  .cta-icon {
    width: 64px;
    height: 64px;
    animation: none;
  }
  .cta-icon i {
    font-size: 1.6rem;
  }
  .nos-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .nos-btn-primary,
  .nos-btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .nos-cta-trust {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .nos-hero-title {
    font-size: 2rem;
  }
  .nos-section-title {
    font-size: 1.8rem;
  }
  .nos-about-img-main img {
    height: 280px;
  }
  .nos-about-img-accent {
    display: none;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-icon {
    display: none;
  }
  .timeline-content h4 {
    font-size: 1.1rem;
  }
  .nos-mvv-card {
    height: 260px;
  }
  .scroll-indicator {
    width: 20px;
    height: 32px;
  }
  .scroll-dot {
    width: 3px;
    height: 6px;
  }
  .cta-icon {
    width: 56px;
    height: 56px;
  }
  .cta-icon i {
    font-size: 1.4rem;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nos-particle,
  .nos-hero-scanline::before,
  .badge-line,
  .scroll-dot,
  .timeline-progress,
  .cap-icon-ring,
  .cta-icon,
  .mvv-hint i {
    animation: none !important;
  }
  .title-line,
  .nos-hero-subtitle,
  .nos-hero-scroll,
  .nos-hero-badge,
  .anim-fade-up,
  .anim-slide-left,
  .anim-slide-right,
  .anim-scale,
  .anim-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   AI CHAT WIDGET — DeepSeek Integration
   ============================================================ */

.ai-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Barlow', sans-serif;
}

/* Floating Action Button */
.ai-chat-fab {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c1524, #0f1f35);
  border: 2px solid rgba(139, 198, 63, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.ai-chat-fab:hover {
  transform: scale(1.08);
  border-color: var(--inymo-green);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ai-chat-fab-icon {
  font-size: 28px;
  color: var(--inymo-green);
  z-index: 2;
}

.ai-chat-fab-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(139, 198, 63, 0.3);
  animation: aiFabPulse 2s ease-out infinite;
}

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

/* Chat panel hidden by default */
.ai-chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: #0a1018;
  border: 2px solid rgba(139, 198, 63, 0.3);
  border-radius: 20px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 198, 63, 0.1);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ai-chat-widget.open .ai-chat-panel {
  display: flex !important;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ai-chat-widget.open .ai-chat-fab {
  display: none;
}

/* Header */
.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(139, 198, 63, 0.15);
}

.ai-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 198, 63, 0.2), rgba(139, 198, 63, 0.05));
  border: 2px solid rgba(139, 198, 63, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--inymo-green);
}

.ai-chat-title {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ai-name {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--inymo-green);
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  background: var(--inymo-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--inymo-green);
  animation: statusBlink 1.5s ease infinite;
}

.ai-chat-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

.ai-chat-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Messages area */
.ai-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 340px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ai-chat-messages::-webkit-scrollbar {
  display: none;
}

.ai-message {
  display: flex;
  max-width: 85%;
}

.ai-message-bot {
  align-self: flex-start;
}

.ai-message-user {
  align-self: flex-end;
}

.ai-message-content {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-message-bot .ai-message-content {
  background: rgba(139, 198, 63, 0.1);
  border: 1px solid rgba(139, 198, 63, 0.2);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.ai-message-user .ai-message-content {
  background: linear-gradient(135deg, var(--inymo-green), #6db82a);
  color: #0a1018;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

/* Quick action buttons */
.ai-quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-quick-links span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.ai-quick-btn {
  padding: 8px 14px;
  border: 1px solid rgba(139, 198, 63, 0.3);
  background: rgba(139, 198, 63, 0.05);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--inymo-green);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Barlow', sans-serif;
}

.ai-quick-btn:hover {
  background: rgba(139, 198, 63, 0.15);
  border-color: var(--inymo-green);
  transform: translateX(4px);
}

/* Input area */
.ai-chat-input-area {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(10, 16, 24, 0.95);
  border-top: 1px solid rgba(139, 198, 63, 0.1);
}

.ai-chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(139, 198, 63, 0.2);
  background: rgba(15, 23, 42, 0.8);
  border-radius: 24px;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Barlow', sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
}

.ai-chat-input:focus {
  border-color: var(--inymo-green);
}

.ai-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ai-chat-send {
  width: 46px;
  height: 46px;
  border: none;
  background: linear-gradient(135deg, var(--inymo-green), #6db82a);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #0a1018;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(139, 198, 63, 0.4);
}

/* Typing indicator */
.ai-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.ai-typing-dot {
  width: 8px;
  height: 8px;
  background: rgba(139, 198, 63, 0.6);
  border-radius: 50%;
  animation: aiTypingBounce 1.4s ease-in-out infinite;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiTypingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

/* Mobile adjustments - COMPREHENSIVE STYLES */
@media (max-width: 768px) {
  .ai-chat-widget {
    position: fixed !important;
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    z-index: 9999 !important;
  }

  .ai-chat-fab {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #0c1524, #0f1f35) !important;
    border: 2px solid rgba(139, 198, 63, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ai-chat-fab-icon {
    font-size: 24px !important;
    color: var(--inymo-green) !important;
  }

  /* Panel MÓVIL - estilos completos */
  .ai-chat-panel {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    max-height: 80vh !important;
    border-radius: 16px !important;
    background: #0a1018 !important;
    background-color: #0a1018 !important;
    border: 2px solid rgba(139, 198, 63, 0.5) !important;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.95) !important;
    overflow: hidden !important;
    z-index: 10000 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Forzar fondo opaco en todo el panel */
  .ai-chat-panel * {
    background-color: inherit;
  }

  .ai-chat-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0a1018;
    z-index: -1;
    border-radius: 14px;
  }

  .ai-chat-widget.open .ai-chat-panel {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Header móvil */
  .ai-chat-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    background: #0c1524 !important;
    background-color: #0c1524 !important;
    border-bottom: 1px solid rgba(139, 198, 63, 0.3) !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .ai-chat-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(139, 198, 63, 0.15) !important;
    border: 2px solid rgba(139, 198, 63, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--inymo-green) !important;
    font-size: 20px !important;
  }

  .ai-chat-title {
    flex: 1 !important;
  }

  .ai-name {
    display: block !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #fff !important;
  }

  .ai-status {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.75rem !important;
    color: var(--inymo-green) !important;
  }

  .ai-status-dot {
    width: 8px !important;
    height: 8px !important;
    background: var(--inymo-green) !important;
    border-radius: 50% !important;
  }

  .ai-chat-close {
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Messages area móvil */
  .ai-chat-messages {
    flex: 1 !important;
    padding: 16px !important;
    background-color: #0a1018 !important;
    overflow-y: auto !important;
    min-height: 150px !important;
    max-height: 50vh !important;
  }

  .ai-message {
    display: flex !important;
    max-width: 90% !important;
    margin-bottom: 12px !important;
  }

  .ai-message-bot {
    align-self: flex-start !important;
  }

  .ai-message-user {
    align-self: flex-end !important;
    margin-left: auto !important;
  }

  .ai-message-content {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .ai-message-bot .ai-message-content {
    background-color: rgba(139, 198, 63, 0.1) !important;
    border: 1px solid rgba(139, 198, 63, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .ai-message-user .ai-message-content {
    background: linear-gradient(135deg, var(--inymo-green), #6db82a) !important;
    color: #0a1018 !important;
  }

  /* Quick buttons móvil */
  .ai-quick-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .ai-quick-links span {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .ai-quick-btn {
    padding: 10px 14px !important;
    border: 1px solid rgba(139, 198, 63, 0.3) !important;
    background-color: rgba(139, 198, 63, 0.08) !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    color: var(--inymo-green) !important;
    font-family: 'Barlow', sans-serif !important;
  }

  /* Input area móvil */
  .ai-chat-input-area {
    display: flex !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    background-color: #0c1524 !important;
    border-top: 1px solid rgba(139, 198, 63, 0.2) !important;
  }

  .ai-chat-input {
    flex: 1 !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(139, 198, 63, 0.3) !important;
    background-color: #0f172a !important;
    border-radius: 24px !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-family: 'Barlow', sans-serif !important;
  }

  .ai-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
  }

  .ai-chat-send {
    width: 44px !important;
    height: 44px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--inymo-green), #6db82a) !important;
    border-radius: 50% !important;
    color: #0a1018 !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ========== FIX CHAT MÓVIL AGRESIVO ========== */
  /* Forzar fondo en el panel principal */
  .ai-chat-widget.open .ai-chat-panel,
  .ai-chat-panel[style*="display: flex"],
  .ai-chat-panel {
    background: #0a1018 !important;
    background-color: #0a1018 !important;
    -webkit-appearance: none !important;
  }

  /* Remover cualquier transparencia no deseada */
  .ai-chat-panel,
  .ai-chat-panel > *,
  .ai-chat-header,
  .ai-chat-messages,
  .ai-chat-input-area {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
  }

  /* Quick links container fondo */
  .ai-quick-links {
    background-color: transparent !important;
  }

  .ai-quick-btns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background-color: transparent !important;
  }
}

/* ============================================================
   CHAT WIDGET EMERGENCY MOBILE FIX - ALTA ESPECIFICIDAD
   Estos estilos tienen máxima prioridad para sobrescribir cualquier cosa
   ============================================================ */
@media screen and (max-width: 768px) {
  /* Panel con ID para máxima especificidad */
  #aiChatPanel,
  .ai-chat-widget #aiChatPanel,
  .ai-chat-widget.open #aiChatPanel,
  div.ai-chat-panel,
  div#aiChatPanel {
    background: #0a1018 !important;
    background-color: #0a1018 !important;
    color: #ffffff !important;
  }

  /* Header del chat */
  #aiChatPanel .ai-chat-header,
  .ai-chat-panel .ai-chat-header {
    background: #0c1524 !important;
    background-color: #0c1524 !important;
    color: #ffffff !important;
  }

  /* Todos los textos dentro del chat */
  #aiChatPanel *,
  .ai-chat-panel * {
    color: inherit !important;
  }

  #aiChatPanel .ai-name,
  .ai-chat-panel .ai-name {
    color: #ffffff !important;
  }

  #aiChatPanel .ai-status,
  .ai-chat-panel .ai-status {
    color: var(--inymo-green) !important;
  }

  /* Messages container */
  #aiChatPanel .ai-chat-messages,
  .ai-chat-panel .ai-chat-messages {
    background: #0a1018 !important;
    background-color: #0a1018 !important;
  }

  /* Message content bot */
  #aiChatPanel .ai-message-bot .ai-message-content,
  .ai-chat-panel .ai-message-bot .ai-message-content {
    background: rgba(139, 198, 63, 0.1) !important;
    background-color: rgba(139, 198, 63, 0.1) !important;
    border: 1px solid rgba(139, 198, 63, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  /* Quick links text */
  #aiChatPanel .ai-quick-links span,
  .ai-chat-panel .ai-quick-links span {
    color: rgba(255, 255, 255, 0.6) !important;
  }

  /* Quick buttons */
  #aiChatPanel .ai-quick-btn,
  .ai-chat-panel .ai-quick-btn {
    background: rgba(139, 198, 63, 0.08) !important;
    background-color: rgba(139, 198, 63, 0.08) !important;
    border: 1px solid rgba(139, 198, 63, 0.3) !important;
    color: var(--inymo-green) !important;
  }

  /* Input area */
  #aiChatPanel .ai-chat-input-area,
  .ai-chat-panel .ai-chat-input-area {
    background: #0c1524 !important;
    background-color: #0c1524 !important;
  }

  /* Input field */
  #aiChatPanel .ai-chat-input,
  .ai-chat-panel .ai-chat-input,
  #aiChatInput {
    background: #0f172a !important;
    background-color: #0f172a !important;
    border: 1px solid rgba(139, 198, 63, 0.3) !important;
    color: #ffffff !important;
  }

  /* Send button */
  #aiChatPanel .ai-chat-send,
  .ai-chat-panel .ai-chat-send,
  #aiChatSend {
    background: var(--inymo-green) !important;
    background-color: var(--inymo-green) !important;
    border: none !important;
    color: #0a1018 !important;
  }

  /* Close button */
  #aiChatPanel .ai-chat-close,
  .ai-chat-panel .ai-chat-close,
  #aiChatClose {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: #ffffff !important;
  }

  /* Avatar */
  #aiChatPanel .ai-chat-avatar,
  .ai-chat-panel .ai-chat-avatar {
    background: rgba(139, 198, 63, 0.15) !important;
    background-color: rgba(139, 198, 63, 0.15) !important;
    color: var(--inymo-green) !important;
  }
}
