/* =========================================================
   HEADER BUTTONS: unified premium set
   Overrides header.css and office-switcher.css.
   ========================================================= */

:root {
  --gc-forest-900: #0f2a20;
  --gc-forest-700: #1f4d3a;
  --gc-forest-600: #2d6a4f;
  --gc-line: rgba(31, 77, 58, 0.16);
  --gc-btn-h: 44px;
}

/* Shared base: same height, radius, and type for all three */
.office-toggle,
.lang-toggle,
.nav-cta-btn {
  height: var(--gc-btn-h);
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* ---------- UAE office button ---------- */
.office-switcher {
  margin-right: 0;
}

.office-toggle {
  gap: 8px;
  padding: 0 14px 0 10px;
  background: #ffffff;
  color: var(--gc-forest-900);
  border: 1px solid var(--gc-line);
  box-shadow: 0 1px 2px rgba(15, 42, 32, 0.06);
  animation: none;
}

/* Globe: plain icon, no badge, no pulse */
.office-toggle > svg:first-child {
  width: 16px;
  height: 16px;
  padding: 0;
  background: none;
  border-radius: 0;
  color: var(--gc-forest-600);
  stroke-width: 1.8;
  animation: none;
}

.office-toggle > svg:last-child {
  width: 10px;
  height: 10px;
  opacity: 0.55;
}

.office-toggle:hover {
  transform: none;
  background: #f5f9f3;
  border-color: rgba(45, 106, 79, 0.35);
  box-shadow: 0 6px 16px rgba(15, 42, 32, 0.08);
}

.office-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.25);
}

/* ---------- EN language button ---------- */
.lang-toggle {
  gap: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--gc-forest-900);
  border: 1px solid var(--gc-line);
  box-shadow: 0 1px 2px rgba(15, 42, 32, 0.06);
}

.lang-toggle .lang-globe {
  color: var(--gc-forest-600);
}

.lang-toggle .lang-caret {
  opacity: 0.55;
}

.lang-toggle:hover {
  transform: none;
  background: #f5f9f3;
  border-color: rgba(45, 106, 79, 0.35);
  box-shadow: 0 6px 16px rgba(15, 42, 32, 0.08);
}

.lang-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.25);
}

/* ---------- Book a Call: the one filled, primary button ---------- */
.nav-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 0 22px;
  background: var(--gc-forest-600);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Remove the old sweep effect */
.nav-cta-btn::before {
  content: none;
}

/* Arrow sits in a small circle on the right */
.nav-cta-btn::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-cta-btn:hover {
  background: var(--gc-forest-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(45, 106, 79, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-cta-btn:hover::after {
  transform: translateX(2px);
  background-color: rgba(255, 255, 255, 0.24);
}

.nav-cta-btn:active {
  transform: translateY(0);
}

.nav-cta-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.3);
}

/* Keep all three aligned in the bar */
.nav-actions {
  align-items: center;
  gap: 10px;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .office-toggle,
  .lang-toggle,
  .nav-cta-btn,
  .nav-cta-btn::after {
    transition: none;
  }
}