/* v11 · interacción de islas y elementos oficiales del diseñador */
.dimension-region {
  z-index: 4;
  pointer-events: none;
}

.dimension-region .main-island,
.dimension-region .region-title {
  pointer-events: auto;
}

/* La capa del repositorio cubría todo el mapa y bloqueaba el hover de las islas. */
.repository-region {
  z-index: 3;
  pointer-events: none !important;
}

.repository-region .project-node {
  pointer-events: auto;
}

.expo-landmark {
  z-index: 5;
  left: 2450px !important;
  top: 760px !important;
  width: 1050px !important;
  height: 1260px !important;
  overflow: visible;
}

.expo-route {
  display: none !important;
}

.expo-bubble {
  z-index: 8 !important;
  top: 18px !important;
  left: 60px !important;
  width: 510px !important;
  height: 520px !important;
  padding: 0 80px 25px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: url("../brand/official-outline-coral-v11.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  color: var(--designer-blue) !important;
  rotate: 0deg !important;
  font-size: 70px !important;
  line-height: .85 !important;
  text-transform: uppercase;
  transition: transform .25s ease, filter .25s ease;
}

.expo-bubble::after {
  content: "RECORRIDO 360°";
  display: block;
  margin-top: 15px;
  font-family: var(--font-space);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .13em;
}

.expo-bubble:hover,
.expo-bubble:focus-visible {
  transform: translateY(-10px) scale(1.025);
  filter: drop-shadow(10px 16px 0 rgba(0, 126, 174, .13));
  outline: none;
}

.expo-blue-shape {
  z-index: 3 !important;
  inset: auto !important;
  top: 370px !important;
  left: 110px !important;
  width: 890px !important;
  height: 780px !important;
  padding: 180px 155px 105px 245px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--designer-blue) !important;
  text-align: center;
}

.expo-blue-shape::before {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: url("../brand/official-outline-mint-v11.png") center / contain no-repeat;
  pointer-events: none;
}

.expo-blue-shape::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: -155px;
  right: 55px;
  width: 275px;
  height: 280px;
  background: url("../brand/official-outline-lime-v11.png") center / contain no-repeat;
  pointer-events: none;
}

.expo-blue-shape > img {
  width: 340px !important;
  max-height: 180px !important;
  filter: none !important;
}

.expo-blue-shape p {
  font-size: 14px !important;
}

.expo-institutions {
  border-color: var(--designer-blue) !important;
  gap: 35px !important;
  margin-top: 30px !important;
  padding-top: 24px !important;
}

/* El texto queda inequívocamente visible sobre la isla al pasar, enfocar o activar. */
.main-island {
  z-index: 6;
}

.main-island:hover,
.main-island:focus-within,
.main-island.is-active {
  z-index: 30;
}

.main-island > .island-label {
  display: none !important;
}

.v11-island-tooltip {
  z-index: 190;
  position: fixed;
  width: min(340px, calc(100vw - 28px));
  min-height: 210px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--designer-blue);
  background: #f5ffb8fa;
  border: 2px solid var(--designer-blue);
  border-radius: 24px 15px 28px 18px;
  box-shadow: 8px 9px #007eae26;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.96);
  transition: none;
}

.v11-island-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.v11-island-tooltip small {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .08em;
  font-weight: 700;
}

.v11-island-tooltip strong {
  max-width: 270px;
  margin: 12px 0 16px;
  font-size: 36px;
  line-height: .92;
}

.v11-island-tooltip p {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.v11-island-tooltip span {
  margin-top: auto;
  color: var(--designer-coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

/* Sustituye las flechas dibujadas por CSS por los archivos exactos del diseñador. */
.level-switch {
  min-width: 350px;
}

.level-switch button {
  min-width: 175px !important;
  min-height: 78px !important;
  border: 0 !important;
  padding: 7px 16px !important;
  font-size: 0 !important;
  background: transparent !important;
}

.level-switch button:nth-child(1)::before,
.level-switch button:nth-child(2)::before {
  content: "";
  width: 145px;
  height: 62px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.level-switch button:nth-child(1)::before {
  background-image: url("../brand/official-nav-exposition-v11.png");
}

.level-switch button:nth-child(2)::before {
  background-image: url("../brand/official-nav-repository-v11.png");
}

.level-switch button:nth-child(3) {
  display: none !important;
}

.level-switch .double-arrow {
  display: none !important;
}

.level-switch button:hover,
.level-switch button:focus-visible,
.level-switch button.active {
  filter: brightness(1.04) drop-shadow(5px 7px 0 rgba(0, 126, 174, .11));
  outline: 2px solid transparent;
}

@media (max-width: 760px) {
  .expo-landmark {
    left: 2410px !important;
    top: 720px !important;
  }

  .level-switch {
    min-width: 0;
  }

  .level-switch button {
    min-width: 145px !important;
  }

  .level-switch button:nth-child(1)::before,
  .level-switch button:nth-child(2)::before {
    width: 122px;
    height: 55px;
  }

  .v11-island-tooltip {
    left: 14px !important;
    bottom: 150px !important;
    top: auto !important;
    min-height: 175px;
    padding: 20px 22px;
  }

  .v11-island-tooltip strong {
    font-size: 31px;
  }
}
