.contact-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 1 44px;
  min-width: 32px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
}

.contact-icon > img {
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.contact-icon:hover,
.contact-icon[aria-expanded="true"] { background: rgba(255, 255, 255, 0.16); }
.contact-icon:focus-visible { outline: 2px solid white; outline-offset: 3px; }

.contact-icon__label {
  position: absolute;
  bottom: calc(100% + 6px);
  padding: 3px 8px;
  border: 1px solid var(--color-white, #fff);
  border-radius: 0;
  background: var(--color-sage, #8EAE91);
  color: var(--color-white, #fff);
  font-size: 11px;
  line-height: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.contact-icon:hover .contact-icon__label,
.contact-icon:focus-visible .contact-icon__label { opacity: 1; }

.pet-popup {
  position: fixed;
  z-index: 10;
  /* Page frame (matches body padding in landing.css) + gap so the card sits inside the green panel. */
  --popup-inset: calc(clamp(20px, 4vw, 56px) + clamp(16px, 3vw, 32px));
  right: var(--popup-inset);
  bottom: var(--popup-inset);
  width: min(320px, calc(100vw - 2 * var(--popup-inset)));
  padding: 36px 36px 32px;
  border: 0;
  border-radius: 0;
  outline: 1px solid var(--color-sage, #8EAE91);
  outline-offset: -10px;
  background: #fff;
  color: var(--color-sage, #8EAE91);
  box-shadow: 0 8px 18px rgba(49, 49, 45, 0.12);
}
.pet-popup[hidden], .pet-popup [hidden] { display: none; }

.pet-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.pet-popup__close:hover { background: var(--color-soft-white); }
.pet-popup__close-icon {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--color-sage, #8EAE91);
  -webkit-mask: url(../icons/lucide/x.svg) center / contain no-repeat;
  mask: url(../icons/lucide/x.svg) center / contain no-repeat;
}
.pet-popup__close:focus-visible,
#contact-popup-link:focus-visible { outline: 2px solid var(--color-dark); outline-offset: 3px; }
.pet-popup__content { text-align: center; }
#contact-popup-title { margin: 0 0 6px; color: var(--color-sage, #8EAE91); font: 600 18px/1.4 'Open Sans', sans-serif; letter-spacing: 0; text-transform: none; }
#contact-popup-detail { margin: 0 0 8px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#contact-popup-link { display: inline-block; color: var(--color-sage, #8EAE91); text-decoration: underline; text-underline-offset: 4px; font-size: 13px; line-height: 1.5; }
#contact-popup-link[hidden] { display: none; }

@media (max-width: 380px) {
  .landing-hero__contact { gap: 0; }
}
