[data-testid="brand-card-cta"] {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}

/* Icon boxes only align their glyph — the SVG itself carries width/height
   attributes so a cached copy of this file can never resize it. */
.contact-phone-icon,
.contact-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contact-phone-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 220ms ease;
}

.contact-phone-link::after {
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 1px;
  content: "";
  background: #0096c7;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.contact-phone-link:hover,
.contact-phone-link:focus-visible {
  color: #0096c7;
  outline: none;
}

.contact-phone-link:hover::after,
.contact-phone-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-whatsapp-chip {
  padding: 0.32rem 0.7rem 0.32rem 0.55rem;
  color: #8bc9ad;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  background: rgba(139, 201, 173, 0.09);
  border: 1px solid rgba(139, 201, 173, 0.3);
  border-radius: 999px;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.contact-whatsapp-chip:hover,
.contact-whatsapp-chip:focus-visible {
  color: #b7e3cd;
  background: rgba(139, 201, 173, 0.18);
  border-color: rgba(139, 201, 173, 0.55);
}

.contact-whatsapp-chip:focus-visible {
  outline: 2px solid #0096c7;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-phone-link,
  .contact-phone-link::after,
  .contact-whatsapp-chip {
    transition: none;
  }
}
