.gfe-office-map {
  --gfe-office-map-bg-start: #080c28;
  --gfe-office-map-bg-mid: #0d1545;
  --gfe-office-map-bg-end: #090e30;
  --gfe-office-map-grid-color: #6482ff;
  --gfe-office-map-grid-opacity: 0.08;
  --gfe-office-map-panel-border: rgba(255, 255, 255, 0.08);
  --gfe-office-map-radius: 28px;
  --gfe-office-map-sidebar-width: 340px;
  --gfe-office-map-min-height: 560px;
  --gfe-office-map-marker-size: 9px;
  position: relative;
  overflow: hidden;
  border-radius: var(--gfe-office-map-radius);
  background: linear-gradient(135deg, var(--gfe-office-map-bg-start) 0%, var(--gfe-office-map-bg-mid) 50%, var(--gfe-office-map-bg-end) 100%);
  color: #fff;
}

.gfe-office-map__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, var(--gfe-office-map-sidebar-width));
  min-height: var(--gfe-office-map-min-height);
}

.gfe-office-map__map-column {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
}

.gfe-office-map__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gfe-office-map-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--gfe-office-map-grid-color) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: var(--gfe-office-map-grid-opacity);
  pointer-events: none;
}

.gfe-office-map__glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(6px);
  animation: gfe-office-map-breathe 8s ease-in-out infinite;
}

.gfe-office-map__glow--indigo {
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 57, 144, 0.28) 0%, transparent 70%);
}

.gfe-office-map__glow--pink {
  bottom: 5%;
  left: 16%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(236, 0, 140, 0.18) 0%, transparent 70%);
  animation-duration: 9s;
  animation-delay: 1.4s;
}

.gfe-office-map__map-stage {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}

.gfe-office-map__map-canvas {
  position: relative;
  flex: 1 1 auto;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
  touch-action: none;
}

.gfe-office-map--dragging .gfe-office-map__map-canvas {
  cursor: grabbing;
}

.gfe-office-map input[type="file"] {
  display: none !important;
}

.gfe-office-map__map-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 28%, rgba(102, 45, 145, 0.22), transparent 30%),
    radial-gradient(circle at 68% 58%, rgba(236, 0, 140, 0.12), transparent 34%);
}

.gfe-office-map__svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.gfe-office-map__nav {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gfe-office-map__nav-button {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 13, 43, 0.6);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gfe-office-map__nav-button:hover,
.gfe-office-map__nav-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(17, 25, 77, 0.88);
  transform: translateY(-1px);
}

.gfe-office-map__nav-button--reset {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gfe-office-map__country {
  fill: #0e1540;
  stroke: #2a3875;
  stroke-width: 0.4;
  vector-effect: non-scaling-stroke;
}

.gfe-office-map__country.is-highlighted {
  fill: #1b2660;
}

.gfe-office-map__connection {
  fill: none;
  stroke: var(--gfe-office-connection-color, #ec008c);
  stroke-width: 1.4;
  stroke-dasharray: 4 6;
  opacity: 0.42;
  vector-effect: non-scaling-stroke;
}

.gfe-office-map__particle {
  pointer-events: none;
}

.gfe-office-map__marker {
  cursor: pointer;
  outline: none;
}

.gfe-office-map__pulse,
.gfe-office-map__marker-core {
  transform-box: fill-box;
  transform-origin: center;
}

.gfe-office-map__pulse {
  fill: none;
  stroke: var(--gfe-office-color, #ec008c);
  stroke-width: 1.6;
  opacity: 0;
}

.gfe-office-map__pulse--outer {
  animation: gfe-office-map-marker-pulse 2.4s ease-out infinite;
}

.gfe-office-map__pulse--inner {
  stroke-width: 2;
  animation: gfe-office-map-marker-pulse 2.4s ease-out infinite 0.4s;
}

.gfe-office-map__marker.is-active .gfe-office-map__pulse--outer,
.gfe-office-map__marker.is-active .gfe-office-map__pulse--inner {
  animation-duration: 1.4s;
}

.gfe-office-map__marker-halo {
  fill: var(--gfe-office-color, #ec008c);
  opacity: 0.18;
}

.gfe-office-map__marker-core {
  fill: var(--gfe-office-color, #ec008c);
  stroke: #fff;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px var(--gfe-office-color, #ec008c));
  animation: gfe-office-map-core-breathe 1.8s ease-in-out infinite;
}

.gfe-office-map__marker-center {
  fill: rgba(255, 255, 255, 0.95);
}

.gfe-office-map__marker.is-active .gfe-office-map__marker-halo {
  transform: scale(1.42);
}

.gfe-office-map__marker.is-active .gfe-office-map__marker-core {
  transform: scale(1.16);
}

.gfe-office-map__marker-label {
  fill: rgba(255, 255, 255, 0.65);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
  pointer-events: none;
}

.gfe-office-map__marker-label.is-active {
  fill: var(--gfe-office-color, #ec008c);
}

.gfe-office-map__hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.gfe-office-map__hint-icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 0;
  overflow: visible;
}

.gfe-office-map__hint-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gfe-office-map__hint-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.2;
}

.gfe-office-map__sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--gfe-office-map-panel-border);
  background: linear-gradient(180deg, rgba(11, 18, 56, 0.34), rgba(8, 12, 36, 0.18));
}

.gfe-office-map__sidebar-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--gfe-office-map-panel-border);
}

.gfe-office-map__eyebrow {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gfe-office-map__title {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
}

.gfe-office-map__offices {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
}

.gfe-office-map__office-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(var(--gfe-office-map-radius) - 8px);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gfe-office-map__office-card.is-active {
  border-color: rgba(var(--gfe-office-accent-rgb, 236, 0, 140), 0.36);
  background:
    linear-gradient(135deg, rgba(var(--gfe-office-accent-rgb, 236, 0, 140), 0.16), rgba(var(--gfe-office-accent-rgb, 236, 0, 140), 0.06));
}

.gfe-office-map__office-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.gfe-office-map__office-flag {
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
}

.gfe-office-map__office-main {
  flex: 1 1 auto;
  min-width: 0;
}

.gfe-office-map__office-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gfe-office-map__office-city {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.gfe-office-map__office-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(var(--gfe-office-accent-rgb, 236, 0, 140), 0.2);
  color: var(--gfe-office-accent, #ec008c);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: scale(0.76);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gfe-office-map__office-card.is-active .gfe-office-map__office-badge {
  opacity: 1;
  transform: scale(1);
}

.gfe-office-map__office-country {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.3;
}

.gfe-office-map__office-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 0;
  transition: transform 180ms ease, color 180ms ease;
}

.gfe-office-map__office-card.is-active .gfe-office-map__office-chevron {
  color: var(--gfe-office-accent, #ec008c);
  transform: rotate(90deg);
}

.gfe-office-map__office-chevron svg,
.gfe-office-map__contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gfe-office-map__office-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 220ms ease;
}

.gfe-office-map__office-card.is-active .gfe-office-map__office-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.gfe-office-map__office-panel-inner {
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(var(--gfe-office-accent-rgb, 236, 0, 140), 0.16);
  padding: 14px 16px 16px;
}

.gfe-office-map__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gfe-office-map__contact-row + .gfe-office-map__contact-row {
  margin-top: 12px;
}

.gfe-office-map__contact-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--gfe-office-accent, #ec008c);
  line-height: 0;
  overflow: visible;
}

.gfe-office-map__contact-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.55;
}

.gfe-office-map__contact-link {
  text-decoration: none;
}

.gfe-office-map__contact-link:hover,
.gfe-office-map__contact-link:focus-visible {
  color: #fff;
}

.gfe-office-map__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--gfe-office-map-panel-border);
}

.gfe-office-map__stat {
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--gfe-office-map-radius) - 12px);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.gfe-office-map__stat-value {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.gfe-office-map__stat-label {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gfe-office-map--reduced-motion .gfe-office-map__glow,
.gfe-office-map--reduced-motion .gfe-office-map__pulse,
.gfe-office-map--reduced-motion .gfe-office-map__marker-core {
  animation: none;
}

.gfe-office-map--reduced-motion .gfe-office-map__particle {
  display: none;
}

@media (max-width: 1024px) {
  .gfe-office-map__grid {
    grid-template-columns: 1fr;
  }

  .gfe-office-map__sidebar {
    border-left: 0;
    border-top: 1px solid var(--gfe-office-map-panel-border);
  }

  .gfe-office-map__map-column,
  .gfe-office-map__map-stage,
  .gfe-office-map__map-canvas,
  .gfe-office-map__svg {
    min-height: var(--gfe-office-map-min-height);
  }
}

@media (max-width: 767px) {
  .gfe-office-map__map-column,
  .gfe-office-map__map-stage,
  .gfe-office-map__map-canvas,
  .gfe-office-map__svg {
    min-height: var(--gfe-office-map-min-height);
  }

  .gfe-office-map__sidebar-header {
    padding: 18px 18px 16px;
  }

  .gfe-office-map__offices,
  .gfe-office-map__stats {
    padding: 12px;
  }

  .gfe-office-map__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfe-office-map__hint {
    right: 14px;
    left: 14px;
    justify-content: center;
  }
}

@keyframes gfe-office-map-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
}

@keyframes gfe-office-map-marker-pulse {
  0% {
    opacity: 0.75;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes gfe-office-map-core-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

