/* Hero tecnología */
#hero-tecno {
  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-tecno {
  color: #000;
  font-size: clamp(16px, 2.5vw, 28px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 50%;
}

/* Bloque 3 - Tarjetas */
.bg-gray {
  border-radius: 20px !important;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; /* 👈 Esto alinea TODO a la izquierda */
  height: 100%;
  padding: 2rem;
  text-align: left; /* 👈 Alinea textos */
}

/* Íconos circulares */
.circle-bg {
  width: 130px;
  height: 130px;
  background-color: #ba0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center; /* 👈 Está bien aquí, para centrar el ícono dentro del círculo */
  flex-shrink: 0;
  margin-bottom: 1.5rem; /* espacio debajo del ícono */
}

/* Títulos y párrafos */
.h3-strong {
  color: #000;
  font-size: clamp(16px, 2.5vw, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}

.par-strong-small {
  color: #000;
  font-size: clamp(14px, 1.5vw, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}

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

/* Bloque 4 fondo con frase */
#bloque-4-tecnologia {
  position: relative;
  background-image: url("../assets/04_tecnologia/frase.webp");
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  color: white;
  text-align: center;
  height: 100vh;
  overflow: hidden;
}

#bloque-4-tecnologia::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.3;
  z-index: 1;
}

#bloque-4-tecnologia > * {
  position: relative;
  z-index: 2;
}

/* Bloque 5 */
.titl-tecno-white {
  color: #fff;
  font-size: clamp(16px, 2.5vw, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

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

/* Espaciados generales */
.mt-6rem {
  margin-top: 6rem;
}

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

.card-tecno {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  margin-bottom: 2rem;
}
.desktop {
  display: flex !important;
}
.desktop-footer {
  justify-content: center;
}
.mobile {
  display: none !important;
}

/*Media Queries*/
@media (min-width: 0px) and (max-width: 767px) {
  #hero-tecno {
    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;
  }
  .titl-tecno {
    font-size: 20px !important;
  }

  .h3-strong {
    color: #000;
    font-size: 24px !important;
  }
  .mt-5 {
    margin-top: 0rem !important;
  }
  .parrafo-small {
    font-size: 16px;
  }
  .par-strong-small {
    font-size: 16px !important;
  }
  .circle-bg {
    width: 100px;
    height: 100px;
  }
  .icon-tecno {
    width: 55%;
  }
  .bg-gray {
    margin-bottom: 50px;
  }
  /*Swiper*/

  html,
  body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  .swiper {
    height: auto;
    width: 100%;
    overflow: hidden;
  }

  .swiper-wrapper {
    display: flex;
    overflow-x: visible !important;
  }

  .mySwiperMobile {
    width: 100%;
    overflow: hidden;
  }

  .mySwiperMobile .swiper-wrapper {
    display: flex;
  }

  .mySwiperMobile .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
  }

  .swiper-pagination-bullet {
    width: var(
      --swiper-pagination-bullet-width,
      var(--swiper-pagination-bullet-size, 12px)
    ) !important;
    height: var(
      --swiper-pagination-bullet-height,
      var(--swiper-pagination-bullet-size, 12px)
    ) !important;
  }

  .swiper-pagination-bullet-active {
    --swiper-theme-color: #ba0000 !important;
    height: 18px !important;
    width: 18px !important;
  }
}
