/*===================*/
/* nav */
/*===================*/
.header-navbar {
  background-color: var(--fondoNav);
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 10;
  border-bottom: var(--borderBottomNav);
  box-shadow: var(--sombra);
}

.custom-logo {
  width: var(--anchoLogoNav);
  margin-right: 1rem;
  height: auto;
}

@media (max-width: 991px) {
  .custom-logo {
    width: var(--anchoLogoNavMovil);
  }
}

.navbar-nav {
  gap: 15px;
  padding: 10px 0px;
  justify-content: flex-end;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  position: absolute;
  background-color: var(--fondoNav);
}

.dropdown-item:hover {
  background-color: var(--fondoNav);
}

.navbar-nav li a {
  color: var(--textoNav);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;

  &:hover {
    color: var(--textoNav);
  }
}

.nav-link:focus,
.nav-link:hover {
  color: var(--textoNav) !important;
}

@media (max-width: 767px) {
  .navbar-nav li a {
    color: var(--textoNav);
    text-decoration: none;
    font-size: 16px;
  }
}

.navbar-nav li {
  position: relative;
  cursor: pointer;
}

@media (max-width: 767px) {
  .navbar-nav li {
    padding-bottom: 5px;
  }
}

.navbar-nav>li::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0%;
  background-color: var(--underlineNav);
  bottom: -1px;
  left: 0px;
  transition: 0.3s all;
}

.navbar-nav>li:hover::after {
  width: 100%;
}

.navbar-toggler-icon {
  /* filter: invert(1); */
  border: none;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler svg path {
  fill: var(--colorBtnMenu);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.svgEnlaceNav {
  display: none;
}

@media (max-width: 767px) {
  .svgEnlaceNav {
    display: inline;
    margin-bottom: 1px;
    height: 10px;
  }
}

.svgEnlaceNav path {
  fill: var(--color1);
}

/*===================*/
/* seccion hero */
/*===================*/
._hero-contHero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: calc(100dvh - 76px);
  overflow: hidden;
}

@media (max-width: 991px) {
  ._hero-contHero {
    background-position-x: 55%;
    height: calc(100dvh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

._hero-imgBack {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

._hero-filtro {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #000000ba;
  z-index: 1;
}

._hero-contTitulos {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

._hero-beforeTitulo {
  text-align: start;
  font-size: 1rem;
  color: var(--textoClaro);
}

._hero-titulo {
  text-align: start;
  font-size: 4.5rem;
  color: var(--textoClaro);
  font-weight: 700;
  line-height: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (max-width: 1200px) {
  ._hero-titulo {
    font-size: 3rem;
  }
}

._hero-subTitulo {
  text-align: start;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--textoClaro);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (max-width: 1200px) {
  ._hero-subTitulo {
    font-size: 1rem;
  }
}

._hero-contImg {
  position: relative;
  z-index: 5;
  max-height: 100%;
}

._hero-img {
  width: 100%;
  max-height: 100%;
  height: auto;
}

._hero-flechaHero {
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin-top: auto;
  cursor: pointer;
  animation: upDown 2s ease-in-out infinite;
  z-index: 2;
}


@keyframes upDown {
  0% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(-10px) translateX(-50%);
  }

  100% {
    transform: translateY(0) translateX(-50%);
  }
}

/*========================*/
/* servicios */
/*========================*/
._home-cardServicio {
  overflow: hidden;
  box-shadow: var(--sombra);
  height: 100%;
}

._home-infoCardServicio {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

._home-imgCardServicio {
  width: 100%;
  object-fit: cover;
  height: 320px;
}

/*========================*/
/* no gastes */
/*========================*/
._home-noGastes {
  background-color: var(--color1);
  margin-top: 8rem;
}

@media(max-width: 991px) {
  ._home-noGastes {
    margin-top: 3rem;
  }
}

._home-tituloNoGastes {
  color: var(--textoClaro);
  font-size: 4.5rem;
  font-weight: 700;
}

@media(max-width: 991px) {
  ._home-tituloNoGastes {
    font-size: 3rem;
  }
}

._home-descNoGastes {
  color: var(--textoClaro);
}

._home-imgNoGastes {
  position: absolute;
  bottom: calc(0px - 3rem);
  height: auto;
}

@media(max-width: 991px) {
  ._home-imgNoGastes {
    position: relative;
    max-width: 100%;
  }
}

/*========================*/
/* camaras dahua */
/*========================*/
._home-contImgCamara {
  display: flex;
  justify-content: center;
  align-items: center;
}

._home-imgCamaraDahua {
  width: 90%;
  height: auto;
}

@media(max-width: 991px) {
  ._home-imgCamaraDahua {
    width: 100%;
    height: auto;
  }
}

._home-contColCamaraDahua {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

._home-cardCamaraDahua {
  border: none;
  box-shadow: var(--sombra);
}

/*========================*/
/* servicio monitoreo */
/*========================*/
._monitoreo-seccionBgNegro {
  background-color: black;

}

._mointoreo-listaInfo {
  padding-left: 1rem;
}

._monitoreo-imgSirena {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/*========================*/
/* servicio consesrjeria */
/*========================*/
._consejeria-textoCenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

/*========================*/
/* pagina quienes somos */
/*========================*/
._quienes-contTexto {
  background-color: #ede8e8;
}

/*===================*/
/* header background */
/*===================*/
._headerBackgorund-contHeader {
  width: 100%;
  height: calc(40dvh);
  position: relative;
  padding: 3rem 0rem;
  overflow: hidden;
}

._headerBackgorund-img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}

._headerBackgorund-filtro {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.568627451);
  z-index: 1;
}

._headerBackgorund-contTitulos {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

._headerBackgorund-titulo1 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--textoClaro);
  font-weight: 700;
  line-height: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (max-width: 1200px) {
  ._headerBackgorund-titulo1 {
    font-size: 2rem;
  }
}

._headerBackgorund-subTitulo {
  text-align: center;
  font-size: 2rem;
  color: var(--textoClaro);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (max-width: 1200px) {
  ._headerBackgorund-subTitulo {
    font-size: 1.5rem;
  }
}

._headerBackgorund-btnHeader {
  background-color: var(--color1);
  color: var(--textoClaro);
  border-radius: 25px;
  border: none;
  width: 200px;
  height: 45px;
}

._headerBackgorund-btnHero:hover {
  background-color: var(--color2Hover);
}

._headerBackgorund-btnHero:active {
  box-shadow: inset 3px 3px 8px 0px rgba(49, 49, 49, 0.6392156863);
  transition: 0s all;
}

._headerBackgorund-flechaHero {
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin-top: auto;
  cursor: pointer;
  animation: upDown 2s ease-in-out infinite;
  z-index: 2;
}

._headerBackgorund-contLogos {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 30%;
}

@media (max-width: 991px) {
  ._headerBackgorund-contLogos {
    display: none;
  }
}

._headerBackgorund-imgLogo {
  width: 33%;
  height: 120px;
  -o-object-fit: contain;
  object-fit: contain;
}

@media (max-width: 991px) {
  ._headerBackgorund-imgLogo {
    height: 70px;
  }
}

@keyframes upDown {
  0% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(-10px) translateX(-50%);
  }

  100% {
    transform: translateY(0) translateX(-50%);
  }
}