/* --- SECCIÓN KEYNOTE --- */
.background-section {
  position: relative;
  padding: 50px 0;
  width: 100%;
  min-height: 500px;
}

.background-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/keynote.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.content-wrapper {
  position: relative;
  min-height: 300px;
  width: 84%;
  margin-left: auto;
  margin-top: 60px;
}

.content-box {
  background: var(--degradado-amarillo);
  color: var(--color-azul-fuerte);
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 280px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  word-wrap: break-word;
  overflow: visible;
  position: relative;
}

.right-divs,
.center-divs,
.left-divs {
  display: flex;
  gap: 30px;
  position: absolute;
}

.right-divs {
  justify-content: flex-end;
  top: -150px;
  right: 0;
}

.center-divs {
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.left-divs {
  justify-content: flex-start;
  bottom: -150px;
  left: 0;
}

.bookmark-icon {
  position: absolute;
  bottom: -11px;
  left: 10px;
  font-size: 2rem;
  color: #ff8c00;
  z-index: 2;
  filter: invert(42%) sepia(99%) saturate(1352%) hue-rotate(0deg)
    brightness(101%) contrast(105%);
}

.keynote-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  z-index: 2;
  white-space: nowrap;
  line-height: 1;
  font-family: "RelewayBold";
}

/* --- SECCIÓN BLOQUE --- */
.background-section-bloque {
  padding: 80px 0;
  position: relative;
}

.bloque-box {
  background: var(--color-amarillo);
  border-radius: 5px 5px 0px 0px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  margin-top: 50px;
}

.bloque-circle {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: var(--color-azul-fuerte);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bloque-icon {
  font-size: 3rem;
  color: var(--color-blanco);
}

.bloque-text {
  color: var(--color-azul-fuerte);
  font-size: 1.5rem;
  font-family: "RelewayBold";
  margin-top: 20px;
}

.b-amarillo {
  background: var(--color-amarillo-fuerte);
  width: 100%;
  height: 10px;
}

/* --- SECCIÓN UBICACIÓN --- */
.background-section-ubicacion {
  position: relative;
  padding: 0;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  margin-top: 200px;
  margin-bottom: 200px;
}

.background-section-ubicacion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/ubicacion.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.ubicacion-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insp-text {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  line-height: 1.1;
}

.map-image-container {
  position: relative;
  width: 500px;
  height: 440px;
}

.map-image {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* Media Queries para responsividad */
@media (max-width: 992px) {
  .content-wrapper {
    margin-top: 0;
    padding-top: 20px;
    width: 100% !important;
  }

  .right-divs,
  .center-divs,
  .left-divs {
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
    transform: none;
  }

  .content-box {
    margin: 0 10px 10px 0;
    max-width: 250px;
    font-size: 1rem;
  }

  .background-section {
    padding: 20px 0;
  }

  .background-section-regional h2 {
    font-size: 2rem;
  }

  .background-section-regional p {
    font-size: 1rem;
  }

  .bookmark-icon {
    bottom: -20px;
    left: 5px;
    font-size: 1.5rem;
  }

  .keynote-text {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    text-align: center;
    white-space: normal;
    width: 100%;
    padding: 20px 20px 0;
    margin-bottom: 20px;
    z-index: 1;
    font-size: 3rem;
  }

  .bloque-circle {
    top: -40px;
    width: 80px;
    height: 80px;
  }

  .bloque-icon {
    font-size: 2rem;
  }

  .bloque-text {
    font-size: 1.2rem;
  }

  .insp-text {
    font-size: 2rem;
  }

  .map-image-container {
    display: none;
  }
}
