/* Homepage contact shortcuts; keep the official WhatsApp asset unchanged. */
.contact-toolbar {
  position: fixed;
  z-index: 90;
  top: 50%;
  right: env(safe-area-inset-right, 0px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px;
  border: 1px solid var(--line, #d6e0e8);
  border-radius: 10px 0 0 10px;
  background: var(--white, #fff);
  box-shadow: 0 4px 20px rgba(7, 25, 43, .13);
}
.contact-toolbar__item {
  --action-color: #305e87;
  --action-tint: #edf3f8;
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--action-color);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.contact-toolbar__item--email {
  --action-color: var(--blue, #1478ed);
  --action-tint: var(--sky, #eaf4ff);
}
.contact-toolbar__item--whatsapp {
  --action-tint: #edf9f0;
}
.contact-toolbar__item--inquiry {
  --action-color: #c97820;
  --action-tint: #fff3e5;
}
.contact-toolbar__item--email svg > rect,
.contact-toolbar__item--inquiry svg > path:first-child {
  fill: var(--action-tint);
}
.contact-toolbar__item + .contact-toolbar__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--line, #d6e0e8);
  opacity: .6;
}
.contact-toolbar__item:hover {
  background: var(--action-tint);
}
.contact-toolbar__item:focus-visible {
  outline: 2px solid var(--ink, #07192b);
  outline-offset: -2px;
  background: var(--action-tint);
}
.contact-toolbar__item > svg,
.contact-toolbar__item > img { display: block; width: 26px; height: 26px; }
.contact-toolbar__item > img { width: 28px; height: 28px; object-fit: contain; }
/* Balance the visible artwork, accounting for each SVG's internal whitespace. */
.contact-toolbar__item--email > svg { width: 25px; height: 25px; }
.contact-toolbar__item--inquiry > svg { width: 30px; height: 30px; }
.contact-toolbar__item[data-contact-back-to-top] > svg { width: 32px; height: 32px; }
.contact-toolbar__item > svg > * {
  vector-effect: non-scaling-stroke;
  stroke-width: 1.8px;
}
.contact-toolbar__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 14px;
  border-radius: 3px;
  background: var(--navy, #06182d);
  color: var(--white, #fff);
  font: 500 13px/1.4 Arial, sans-serif;
  white-space: nowrap;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .18s ease, visibility .18s ease;
}
.contact-toolbar__label::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  left: 100%;
  border: 5px solid transparent;
  border-left-color: var(--navy, #06182d);
}
.contact-toolbar__item:focus-visible .contact-toolbar__label { visibility: visible; opacity: 1; }
@media (hover: hover) {
  .contact-toolbar__item:hover .contact-toolbar__label { visibility: visible; opacity: 1; }
}
@media (max-width: 767px), (max-height: 480px) {
  .contact-toolbar {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: env(safe-area-inset-right, 0px);
    transform: none;
    padding: 3px;
  }
  .contact-toolbar__item { width: 44px; height: 44px; }
  .contact-toolbar__label { max-width: calc(100vw - 80px); white-space: normal; overflow-wrap: anywhere; }
  body.menu-open .contact-toolbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-toolbar__item, .contact-toolbar__label { transition: none; }
}
