/* ===== PREMIUM OFFICE SWITCHER ===== */
.office-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

/* Deep forest pill, distinct from the green "Book a Call" button */
.office-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #1a3d2e 0%, #0f2a20 100%);
  box-shadow: 0 6px 16px rgba(15, 42, 32, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Globe in a lime badge */
.office-toggle > svg:first-child {
  width: 30px;
  height: 30px;
  padding: 7px;
  box-sizing: border-box;
  border-radius: 50%;
  background: linear-gradient(135deg, #b5e05a 0%, #6CA40C 100%);
  color: #0f2a20;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Caret */
.office-toggle > svg:last-child {
  width: 10px;
  height: 10px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.office-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 224, 90, 0.45);
  box-shadow: 0 12px 28px rgba(15, 42, 32, 0.35), 0 0 0 4px rgba(108, 164, 12, 0.12);
}

.office-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(181, 224, 90, 0.35);
}

.office-switcher.is-open .office-toggle > svg:last-child {
  transform: rotate(180deg);
}

/* Dropdown panel */
.office-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(15, 42, 32, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(15, 42, 32, 0.18);
  z-index: 1000;
}

.office-switcher.is-open .office-menu {
  display: block;
  animation: officeFade 0.22s ease;
}

@keyframes officeFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.office-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-radius: 10px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.office-menu a:hover {
  background: rgba(108, 164, 12, 0.08);
  color: #2d6a4f;
}

.office-menu a.is-current {
  background: linear-gradient(135deg, #1a3d2e 0%, #0f2a20 100%);
  color: #ffffff;
  font-weight: 600;
}

/* Country code pill */
.office-menu a span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef4e6;
  color: #4d7c0f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.office-menu a.is-current span {
  background: rgba(181, 224, 90, 0.2);
  color: #b5e05a;
}


/* ===== PREMIUM OFFICE BUTTON REFINEMENTS ===== */

.office-toggle {
  height: 46px;
  padding: 0 18px 0 6px;
}

/* Soft pulse around the globe badge */
@keyframes globePulse {
  0%   { box-shadow: 0 0 0 0 rgba(181, 224, 90, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(181, 224, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(181, 224, 90, 0); }
}

.office-toggle > svg:first-child {
  animation: globePulse 2.6s ease-out infinite;
}

.office-toggle:hover {
  transform: translateY(-2px);
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .office-toggle > svg:first-child {
    animation: none;
  }
}