.ubicacion {
  background: #f7f7f5;
  padding: 64px 0 68px;
  overflow: hidden;
}

.ubicacion__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.ubicacion__eyebrow {
  color: #007458;
  font-size: 15px;
  letter-spacing: 0.22em;
}

.ubicacion__title {
  font-size: 50px;
  max-width: 900px;
  margin: 0;
}

.ubicacion__title em {
  color: #007458;
}

.ubicacion__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 10px;
}

.ubicacion__arrow {
  background: #8fd3bf;
}

.ubicacion__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.ubicacion__pin-svg {
  display: block;
  filter: drop-shadow(0 6px 6px rgba(0, 60, 45, 0.22));
}

.ubicacion__main-pin {
  left: calc(50% + 34px);
  top: 272px;
  z-index: 3;
}

.ubicacion__main-shadow {
  width: 70px;
  height: 20px;
  margin: -10px 0 0 -35px;
}

.ubicacion__main-pulse {
  position: absolute;
  left: -38px;
  top: -14px;
  width: 76px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #007458;
}

.ubicacion__main-svg {
  display: block;
  filter: drop-shadow(0 12px 14px rgba(0, 60, 45, 0.3));
}

.ubicacion__leader-v {
  position: absolute;
  left: 0;
  top: -150px;
  width: 1px;
  height: 76px;
  background: linear-gradient(rgba(0, 116, 88, 0.9), rgba(0, 116, 88, 0.15));
}

.ubicacion__leader-h {
  position: absolute;
  left: -18px;
  top: -150px;
  width: 18px;
  height: 1px;
  background: rgba(0, 116, 88, 0.9);
}

.ubicacion__leader-dot {
  position: absolute;
  left: -3.5px;
  top: -154px;
  width: 8px;
  height: 8px;
  border-radius: 9px;
  border: 1.5px solid #007458;
  background: #fff;
}

.ubicacion__card-media {
  width: 112px;
  height: 112px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
}

.ubicacion__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.ubicacion__card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding-right: 6px;
}

.ubicacion__card-title {
  font-size: 18px;
  font-weight: 500;
  color: #0a1714;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.ubicacion__card-place {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b716d;
}

.ubicacion__card-facts {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px solid rgba(10, 23, 20, 0.1);
  font-size: 11.5px;
  color: #4a4f4b;
  white-space: nowrap;
}

.ubicacion__sep {
  color: #c9ccc9;
}

.ubicacion__refs-label {
  font-size: 10px;
  color: #6b716d;
  letter-spacing: 0.2em;
}

.ubicacion__anchors-head {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.ubicacion__anchors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 620px;
  margin: 0 auto;
}

.ubicacion__anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 24px;
}

.ubicacion__anchor-rule {
  width: 22px;
  height: 2px;
  background: #007458;
}

.ubicacion__anchor-title {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #0a1714;
}

/* Mobile map (designer package "Sección Ubicación"): three reference pins move to spots that fit the
   narrow stage and keep their labels (sides flipped to stay on screen); the others show no label.
   !important beats the pins' inline desktop position. */
@media (max-width: 760px) {
  .gp.gp-show .gl {
    display: block;
    font-size: 17px;
    padding: 7px 14px;
  }

  .gp.gp-club {
    left: calc(50% + 150px) !important;
    top: 110px !important;
  }

  .gp.gp-col {
    left: calc(50% + 230px) !important;
    top: 600px !important;
  }

  .gp.gp-port {
    left: calc(50% - 255px) !important;
    top: 540px !important;
  }

  .gp.gp-club .gl,
  .gp.gp-col .gl {
    left: auto;
    right: calc(100% + 4px);
  }

  .gp.gp-port .gl {
    right: auto;
    left: calc(100% + 4px);
  }
}
