#hero-servicios {
  height: 85vh;
  position: relative;
  width: 90%;
  margin: auto;
  border-radius: 30px;
  overflow: hidden; /* Para que la imagen respete el borde redondeado */
}

.hero-wrapper {
  position: relative;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  bottom: 2rem;

  color: white;
  z-index: 2;
}
.hero-content h1 {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: bold;
  margin: 0;
  line-height: 1.1;
}

/*Bloque 2*/
.titl-servicios {
  color: #000;
  font-size: clamp(16px, 2.5vw, 28px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 50%;
}

.mt-6rem {
  margin-top: 6rem;
}

/*Bloque 3*/
.titl-servicios-white {
  color: #fff;
  font-size: clamp(16px, 2.5vw, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 0.5rem;
}

.par-servicios-white {
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-bottom: 0.5rem;
}

#bloque-3-servicios a {
  text-decoration: none;
  display: block; /* Mejora la interacción completa del bloque */
}

.bg-red {
  background: #ba0000;
}

.card-servicios-red {
  border-radius: 30px;
  padding: 3rem;
  background-color: #ba0000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.card-servicios-blk {
  border-radius: 30px;
  padding: 3rem;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Centrado vertical de las columnas */
#bloque-3-servicios .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  --bs-gutter-x: 0rem !important;
}

/* HR personalizado */
#bloque-3-servicios hr {
  border: none;
  border-top: 2px solid white;
  margin: 2rem 0;
  opacity: 1;
  width: 100%;
}

/*Bloque 4*/
.parrafo-strong {
  color: #000;
  font-size: clamp(16px, 2.5vw, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.parrafo-small {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.mb-6rem {
  margin-bottom: 6rem;
}

/*Media Queries*/
@media (min-width: 0px) and (max-width: 767px) {
  #hero-servicios {
    height: 75vh;
    width: 95%;
  }

  .hero-content {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .mt-6rem {
    margin-top: 2rem;
  }
  .pb-6rem {
    padding-bottom: 2rem !important;
  }
  .mobile {
    display: block !important;
  }
  .desktop {
    display: none !important;
  }
  .mb-6rem {
    margin-bottom: 4rem;
  }
}
