@import url('https://fonts.googleapis.com/css2?family=Exo:wght@600;700&family=Roboto:wght@400;700&display=swap');

#ag-video-hero,
#ag-video-hero * {
  box-sizing: border-box;
}

#ag-video-hero {
  --ag-yellow: #EAAA04;
  position: relative;
  width: 100%;
  min-height: 950px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #08111b;
  isolation: isolate;
}

#ag-video-hero .ag-video-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #08111b;
}

#ag-video-hero .ag-video-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 14, 24, .78) 0%,
      rgba(5, 14, 24, .56) 48%,
      rgba(5, 14, 24, .62) 100%
    );
}

#ag-video-hero .ag-video-bottom-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, .42) 62%,
      rgba(0, 0, 0, .72) 100%
    );
}

#ag-video-hero .ag-video-inner {
  width: min(1280px, calc(100% - 100px));
  margin: 0 auto;
  padding: 120px 0 90px;
}

#ag-video-hero .ag-video-content {
  width: 100%;
  max-width: 760px;
  margin-left: 92px;
}

#ag-video-hero .ag-video-kicker {
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-family: "Exo", sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 34px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #ffffff !important;
}

#ag-video-hero .ag-video-title {
  max-width: 700px;
  margin: 0 0 24px !important;
  padding: 0 !important;
  font-family: "Exo", sans-serif !important;
  font-size: 70px !important;
  font-weight: 700 !important;
  line-height: 75px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #ffffff !important;
}

#ag-video-hero .ag-video-title .ag-yellow {
  color: var(--ag-yellow) !important;
  background: transparent !important;
  -webkit-text-fill-color: var(--ag-yellow) !important;
}

#ag-video-hero .ag-video-description {
  max-width: 680px;
  margin: 0 0 42px !important;
  padding: 0 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 30px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #f1f1f1 !important;
}

#ag-video-hero .ag-video-link {
  width: auto !important;
  min-width: 140px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  background: #ffffff !important;
  color: #141414 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease !important;
}

#ag-video-hero .ag-video-link:hover {
  background: #EAAA04 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

#ag-video-hero .ag-video-link svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 1200px) {
  #ag-video-hero {
    min-height: 850px;
  }

  #ag-video-hero .ag-video-inner {
    width: calc(100% - 60px);
  }

  #ag-video-hero .ag-video-content {
    margin-left: 70px;
  }

  #ag-video-hero .ag-video-title {
    font-size: 60px !important;
    line-height: 66px !important;
  }
}

@media (max-width: 900px) {
  #ag-video-hero {
    min-height: 800px;
    align-items: center;
  }

  #ag-video-hero .ag-video-bg {
    object-position: 58% center;
  }

  #ag-video-hero .ag-video-inner {
    width: calc(100% - 40px);
    padding: 130px 0 90px;
  }

  #ag-video-hero .ag-video-content {
    max-width: 100%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #ag-video-hero .ag-video-kicker {
    width: 100%;
    text-align: center !important;
  }

  #ag-video-hero .ag-video-title {
    width: 100%;
    max-width: 590px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 52px !important;
    line-height: 58px !important;
    text-align: center !important;
  }

  #ag-video-hero .ag-video-description {
    max-width: 650px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 18px !important;
    line-height: 28px !important;
    text-align: center !important;
  }

  #ag-video-hero .ag-video-link {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 600px) {
  #ag-video-hero {
    min-height: 740px;
    align-items: center;
  }

  #ag-video-hero .ag-video-bg {
    object-position: 60% center;
  }

  #ag-video-hero .ag-video-inner {
    width: calc(100% - 32px);
    padding: 72px 0 60px;
  }

  #ag-video-hero .ag-video-content {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  #ag-video-hero .ag-video-kicker {
    font-size: 20px !important;
    line-height: 29px !important;
    margin-bottom: 15px !important;
  }

  #ag-video-hero .ag-video-title {
    max-width: 390px;
    font-size: 42px !important;
    line-height: 47px !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
  }

  #ag-video-hero .ag-video-description {
    max-width: 390px;
    font-size: 16px !important;
    line-height: 26px !important;
    margin: 0 auto 34px !important;
    text-align: center !important;
  }

  /* En móvil el párrafo fluye de forma natural: los saltos manuales de escritorio no se aplican. */
  #ag-video-hero .ag-video-description br {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ag-video-hero .ag-video-bg {
    display: none;
  }

  #ag-video-hero {
    background:
      linear-gradient(
        90deg,
        rgba(5, 14, 24, .78),
        rgba(5, 14, 24, .62)
      ),
      var(--ag-video-hero-poster, url("https://acerogrill.com/wp-content/uploads/2026/07/img-1.webp"))
      center / cover no-repeat;
  }
}
