/* =====================================================
   HERO VIDEO AIDA – CORREGIDO
===================================================== */

/* ── DESKTOP ── */
#hero-video-aida {
  position: relative;
  min-height: 85vh;
  max-height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  top: 60px;
}

#hero-video-aida .hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

#hero-video-aida .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.35) 100%
  );
}

#hero-video-aida .hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 6px 6px;
}

#hero-video-aida .hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
}

#hero-video-aida .hero-grid-layout {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

#hero-video-aida .hero-left {
  max-width: 640px;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(10,63,122,0.95),
    rgba(3,14,28,0.85)
  );
  border-left: 3px solid #2EA44F;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
}

/* Fallback si backdrop-filter no es soportado */
@supports not (backdrop-filter: blur(4px)) {
  #hero-video-aida .hero-left {
    background: linear-gradient(
      135deg,
      rgba(10,63,122,0.98),
      rgba(3,14,28,0.95)
    );
  }
}

#hero-video-aida .hero-eyebrow {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.85;
}

#hero-video-aida .hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: none;
  color: #fff;
}

#hero-video-aida .hero-divider {
  width: 96px;
  height: 5px;
  margin-bottom: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #E10600, #ADA587);
}

#hero-video-aida .hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  color: #e0e0e0;
}

#hero-video-aida .hero-services {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  #hero-video-aida {
    height: auto;
    min-height: auto;
    max-height: none;
    display: block;
    margin-top: 16px;
  }

  #am-185 #hero-video-aida .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #hero-video-aida .hero-video-bg {
    position: relative;
    width: 100%;
    height: clamp(220px, 42vh, 340px);
    object-fit: cover;
  }

  #hero-video-aida .hero-overlay,
  #hero-video-aida .hero-grid {
    display: none;
  }

  #hero-video-aida .hero-content {
    display: block;
    padding: 0;
  }

  #hero-video-aida .hero-grid-layout {
    display: block;
    min-height: auto;
  }

  #hero-video-aida .hero-left {
    width: 100%;
    max-width: 100%;
    border-left: none;
    border-top: 4px solid #2EA44F;
    border-radius: 0;
    padding: 2rem 1.5rem 2.5rem;
    text-align: center;
    backdrop-filter: none;
  }

  #hero-video-aida .hero-divider {
    margin: 0 auto 1.8rem;
  }

  #hero-video-aida .hero-services {
    flex-direction: column;
    gap: 14px;
  }

  #hero-video-aida .hero-services .btn {
    width: 100%;
    justify-content: center;
  }

  body {
    overflow-x: hidden;
  }
}