#hero-nosotros {
  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-nosotros {
  color: #000;
  font-size: clamp(16px, 2.5vw, 28px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 50%;
}
/*Bloque 3*/
/* Contenedor principal */
.sticky-section {
  display: flex;
  align-items: stretch;
}

/* Imagen sticky */
.image-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  z-index: 1; /* 🔽 Bajo */
}

.image-sticky img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

/* Textos que se scrollean */
.scroll-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 0;
}

/* Cada bloque de texto ocupa el 100% del viewport */
.scroll-item {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 7rem;
  background-color: #fff; /* Para contraste */
}

.image-stick {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* Bloque 4 */
.parrafo-small {
  color: #000;
  font-size: clamp(14px, 1.7vw, 17px);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.titl-circle {
  color: #000;
  font-size: clamp(18px, 2vw, 22px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.valores-section {
  position: relative;
  padding-top: 0rem;
  padding-bottom: 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  overflow: hidden;
}

.valores-wrapper {
  position: relative;
  width: 900px;
  height: 900px;
  margin: 0 auto;
  overflow: visible;
}

/* Para evitar que los hijos hereden overflow oculto */
.valores-wrapper,
.valores-wrapper * {
  overflow-x: visible !important;
}

/* Círculos concéntricos */
.valores-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  pointer-events: auto;
}

.circle {
  position: absolute;
  border: 2px solid #000;
  border-radius: 50%;
}

.circle-1 {
  width: 76%;
  height: 76%;
  top: 12%;
  left: 12%;
}

.circle-2 {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
}

.circle-3 {
  width: 52%;
  height: 52%;
  top: 24%;
  left: 24%;
}

/* Íconos posicionados en el círculo */
.icon-circle {
  position: absolute;
  background-color: #ba0000;
  padding: 12px; /* antes 12px */
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 5;
  cursor: pointer;
}

.icon-circle.active {
  transform: scale(1.6) !important;
  z-index: 10;
}

/* Posición de cada ícono */
.icon-circle[data-index="0"] {
  top: 20%;
  left: 24%;
  transform: translate(-50%, 0);
}
.icon-circle[data-index="1"] {
  top: 18%;
  right: 50%;
  transform: translate(50%, 0);
}
.icon-circle[data-index="2"] {
  top: 48%;
  right: 20%;
  transform: translate(50%, -50%);
}
.icon-circle[data-index="3"] {
  bottom: 25%;
  right: 37%;
}
.icon-circle[data-index="4"] {
  bottom: 32%;
  left: 30%;
  transform: translate(-50%, 0);
}
.icon-circle[data-index="5"] {
  bottom: 12%;
  left: 35%;
}

/* Swiper: posición absoluta dentro del wrapper */
.valores-swiper {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: 60% !important;
  max-width: 330px !important;
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: none;
  text-align: center;
  z-index: 10;
}

/* Swiper base */
.swiper {
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.swiper-slide {
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color: #000;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ba0000 !important;
  top: var(--swiper-navigation-top-offset, 15%) !important;
  width: calc(var(--swiper-navigation-size) / 20 * 30) !important;
  --swiper-navigation-size: 25px !important;
  z-index: 20;
}
.titl-rojo {
  color: #ba0000;
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/*Bloque 5*/
.titl-nosotros-white {
  color: #fff;
  font-size: clamp(16px, 2.5vw, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.par-nosotros-white {
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.mt-6rem {
  margin-top: 6rem;
}
.mb-6rem {
  margin-bottom: 6rem;
}

.pb-6rem {
  padding-bottom: 6rem;
}

.pt-6rem {
  padding-top: 6rem;
}

#bloque-3-nosotros.sticky-active {
  position: sticky;
  top: 0;
  z-index: 1;
}

#bloque-4-nosotros,
#bloque-6,
#bloque-3-extra,
#foot {
  position: relative;
  z-index: 2;
}

.bg-whites {
  background: #fff;
}

/*Quitar barra scroll*/

.swiper-horizontal {
  touch-action: pan-y;
  overflow-x: hidden !important;
}
.desktop {
  display: block;
}
.mobile {
  display: none !important;
}

/*Media Queries*/

/* RESPONSIVE */
@media screen and (max-width: 499px) {
  .valores-wrapper {
    height: auto;
    width: 100%;
    padding: 2rem 1rem;
  }

  .circle-1,
  .circle-2,
  .circle-3 {
    display: none;
  }

  .icon-circle {
    position: static;
    display: inline-block;
    margin: 1rem;
  }

  .valores-swiper {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}
@media (min-width: 0px) and (max-width: 767px) {
  * {
    overflow-x: clip;
  }
  #hero-nosotros {
    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;
  }
  .scroll-item {
    min-height: auto;

    padding: 2rem 1rem;
  }
  #bloque-3-extra .container-fluid {
    --bs-gutter-x: 0rem !important;
  }
  .mt-mov {
    margin-top: 2rem;
  }
  .pt-6rem {
    padding-top: 2rem;
  }
  .icono {
    background-color: #ba0000;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }

  .icono img {
    width: 30px;
    height: 30px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 35%) !important;
  }
  .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;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 0px) !important;
  }
  .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
  .swiper-pagination-horizontal.swiper-pagination-bullets
    .swiper-pagination-bullet {
    margin: 30px var(--swiper-pagination-bullet-horizontal-gap, 4px) !important;
  }
  .mySwiperMobileCircle .swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .justify-content-between {
    --bs-gutter-x: 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 819px) {
  .valores-wrapper {
    width: 95vw; /* En lugar de 900px fijo */
    height: 95vw; /* Para mantener relación cuadrada */
  }

  .valores-swiper {
    width: 40% !important;
  }
  .parrafo-small-nos {
    font-size: 12px;
  }
}
