/*--------------------------------------------------------------
# Global Presence — Interactive Map
--------------------------------------------------------------*/
.global-presence {
  position: relative;
  display: block;
  padding: 120px 0 110px;
  background-color: var(--agrion-extra);
  overflow: hidden;
}

.global-presence__intro {
  position: relative;
  max-width: 640px;
  margin: -25px auto 60px;
  text-align: center;
  color: var(--agrion-gray);
  font-size: 16px;
  line-height: 28px;
}

.global-presence__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
}

.global-presence__map-col {
  position: relative;
  flex: 0 0 58%;
  max-width: 58%;
}

.global-presence__list-col {
  position: relative;
  flex: 1;
}

/* Map wrap */
.global-presence__map-wrap {
  position: relative;
  display: block;
  width: 100%;
}

#globalMapSvg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

#globalMapSvg path {
  fill: #e7e2d3;
  stroke: var(--agrion-extra);
  stroke-width: 0.6;
  transition: fill 0.4s ease;
}

#globalMapSvg .market-land {
  fill: #d7cdb0;
  cursor: pointer;
  transition: fill 0.35s ease;
}

#globalMapSvg .market-land:hover,
#globalMapSvg .market-land.is-active {
  fill: var(--agrion-primary);
}

/* Pins */
.market-pin {
  cursor: pointer;
  outline: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.market-pin:hover,
.market-pin.is-active,
.market-pin:focus-visible {
  transform: scale(1.35);
}

.market-pin__pulse {
  fill: var(--agrion-primary);
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  animation: marketPulse 2.6s ease-out infinite;
}

.market-pin__dot {
  fill: var(--agrion-base);
  stroke: var(--agrion-white);
  stroke-width: 1.4;
  transition: fill 0.3s ease;
}

.market-pin:hover .market-pin__dot,
.market-pin.is-active .market-pin__dot,
.market-pin:focus-visible .market-pin__dot {
  fill: var(--agrion-primary);
}

@keyframes marketPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  75% {
    transform: scale(3.4);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Tooltip */
.global-presence__tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  min-width: 200px;
  max-width: 240px;
  padding: 14px 18px;
  background-color: var(--agrion-base);
  border-radius: 8px;
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -100%) translateY(-14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.global-presence__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -100%) translateY(-20px);
}

.global-presence__tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background-color: var(--agrion-base);
  transform: translateX(-50%) rotate(45deg);
}

.global-presence__tooltip h4 {
  margin: 0 0 4px;
  color: var(--agrion-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.global-presence__tooltip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 20px;
}

/* Cards list */
.global-presence__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-presence__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--agrion-white);
  border: 1px solid rgba(0, 77, 51, 0.08);
  border-radius: var(--agrion-bdr-radius);
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.global-presence__card:hover,
.global-presence__card.is-active {
  border-color: var(--agrion-primary);
  box-shadow: 0px 15px 40px 0px rgba(0, 77, 51, 0.12);
  transform: translateX(4px);
}

.global-presence__card-icon {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(130, 194, 77, 0.15);
  transition: background-color 0.35s ease;
}

.global-presence__card-icon span {
  font-size: 20px;
  color: var(--agrion-base);
  transition: color 0.35s ease;
}

.global-presence__card:hover .global-presence__card-icon,
.global-presence__card.is-active .global-presence__card-icon {
  background-color: var(--agrion-base);
}

.global-presence__card:hover .global-presence__card-icon span,
.global-presence__card.is-active .global-presence__card-icon span {
  color: var(--agrion-primary);
}

.global-presence__card-text h3 {
  margin: 0 0 2px;
  color: var(--agrion-black);
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
  font-family: var(--agrion-font);
}

.global-presence__card-text p {
  margin: 0;
  color: var(--agrion-gray);
  font-size: 14px;
  line-height: 22px;
}

/* Responsive */
@media (max-width: 991px) {
  .global-presence__inner {
    flex-direction: column;
  }

  .global-presence__map-col,
  .global-presence__list-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .global-presence__map-col {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .global-presence {
    padding: 80px 0 70px;
  }

  .global-presence__intro {
    margin-top: -15px;
    margin-bottom: 40px;
  }

  .global-presence__card {
    padding: 16px 18px;
  }
}
