/* Below the existing menus and form notifications (50-60). */
.ggc-floating-dock {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(86vw, 420px);
  max-width: calc(100% - 28px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(201, 154, 74, 0.62);
  border-radius: 24px;
  background: #10171f;
  box-shadow: 0 8px 28px rgba(7, 11, 16, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ggc-contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 50px;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.ggc-contact-pill--whatsapp {
  background: #176b46;
  border-color: #318660;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ggc-contact-pill--call {
  background: #1b2430;
  border-color: #8a703f;
}

.ggc-contact-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: none;
}

.ggc-contact-pill__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.ggc-contact-pill__label {
  white-space: nowrap;
}

.ggc-contact-pill:focus-visible {
  outline: 2px solid #f0c979;
  outline-offset: 3px;
  box-shadow: 0 0 0 1px #10171f;
}

/* Reserve room for the dock without changing footer content or page CTAs. */
.ggc-dock-clearance {
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

/* Only the two audited email links that overflow narrow content columns. */
.ggc-contact-email-wrap {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

@media (min-width: 768px) {
  .ggc-floating-dock {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    padding: 9px 10px;
    border-radius: 26px;
  }

  .ggc-contact-pill {
    height: 52px;
    font-size: 15px;
  }

  .ggc-dock-clearance {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
}

@media (hover: hover) and (pointer: fine) {
  .ggc-contact-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.18);
  }

  .ggc-contact-pill--whatsapp:hover {
    background: #1c7a50;
  }

  .ggc-contact-pill--call:hover {
    background: #283341;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ggc-contact-pill {
    transition: none;
  }

  .ggc-contact-pill:hover {
    transform: none;
  }
}

@media print {
  .ggc-floating-dock {
    display: none;
  }
}
