/* Home-only contact cards: the existing links and clinic details stay intact. */
.hp-home .hp-contacts.hgc-deck {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 19px);
  padding: clamp(17px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid #234b56;
  border-radius: 28px;
  background: #10313e;
  color: #f5fcf9;
  box-shadow: 0 18px 44px #102e3a12;
}
.hp-home .hp-contacts.hgc-deck::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 165% at 10% 0%, #4b808877, transparent 75%),
    radial-gradient(ellipse 55% 150% at 88% 115%, #52797655, transparent 80%),
    linear-gradient(114deg, #133c49, #0d2d3a 53%, #113c47);
}
.hp-home .hp-contacts.hgc-deck > .hp-contact {
  --hgc-x: 50%;
  --hgc-y: 35%;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 179px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
  padding: clamp(19px, 1.7vw, 25px);
  overflow: hidden;
  border: 1px solid #d5f2ee38;
  border-radius: 21px;
  color: #f5fcf9;
  background: linear-gradient(146deg, #f2fffc17, #d6f5f308 62%, #e1fffa0f);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 #ffffff26, inset 0 -1px 0 #d4f7ef12, 0 10px 24px #031b2526;
  text-decoration: none;
  transform: none;
  transition: transform .28s cubic-bezier(.2,.65,.3,1), border-color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: #b9e8e42b;
}
.hp-home .hp-contacts.hgc-deck > .hp-contact::before,
.hp-home .hp-contacts.hgc-deck > .hp-contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.hp-home .hp-contacts.hgc-deck > .hp-contact::before {
  background: linear-gradient(132deg, #ffffff12, transparent 37%, transparent 72%, #cbfff90b);
  box-shadow: inset 1px 0 0 #ffffff14, inset -1px 0 0 #b0e1d913;
}
.hp-home .hp-contacts.hgc-deck > .hp-contact::after {
  opacity: 0;
  background: radial-gradient(ellipse 165px 125px at var(--hgc-x) var(--hgc-y), #ffffff1f, #e5fffb0a 45%, transparent 76%);
  transition: opacity .28s;
}
.hp-home .hp-contacts.hgc-deck > .hp-contact.hgc-is-active {
  border-color: #d8faf15b;
  transform: perspective(900px) translate3d(var(--hgc-sx, 0px), var(--hgc-sy, 0px), 0) rotateX(var(--hgc-rx, 0deg)) rotateY(var(--hgc-ry, 0deg));
  box-shadow: inset 0 1px 0 #ffffff38, inset 0 -1px 0 #d4f7ef1a, 0 14px 28px #031b2538;
  will-change: transform;
}
.hp-home .hp-contacts.hgc-deck > .hp-contact.hgc-is-active::after { opacity: 1; }
.hp-home .hp-contacts.hgc-deck .hp-contact-icon {
  display: block;
  width: 31px;
  height: 31px;
  margin: 0;
  padding: 0;
  color: #e5f8f3;
  stroke-width: 1.35;
}
.hp-home .hp-contacts.hgc-deck .hp-contact > div { min-width: 0; }
.hp-home .hp-contacts.hgc-deck .hp-contact h3 {
  margin: 0;
  color: #f5fcf9;
  font: 400 clamp(18px, 1.5vw, 22px)/1.2 Aeonik, Arial, sans-serif;
  letter-spacing: -.025em;
  text-decoration: none;
}
.hp-home .hp-contacts.hgc-deck .hp-contact span {
  display: block;
  margin-top: 8px;
  color: #eff9f7;
  font: 400 clamp(13px, 1vw, 15px)/1.5 Aeonik, Arial, sans-serif;
  letter-spacing: .003em;
  overflow-wrap: anywhere;
}
.hp-home .hp-contacts.hgc-deck .hp-contact .hgc-hours-time {
  display: inline-block;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
.hp-home .hp-contacts.hgc-deck > .hp-contact:focus-visible {
  outline: 2px solid #e4fff6;
  outline-offset: 4px;
  border-color: #e4fff6;
  box-shadow: inset 0 1px 0 #ffffff38, 0 0 0 6px #071e2999;
}
@media (max-width: 1000px) {
  .hp-home .hp-contacts.hgc-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-home .hp-contacts.hgc-deck > .hp-contact { min-height: 177px; }
}
@media (max-width: 600px) {
  .hp-home .hp-contacts.hgc-deck { gap: 11px; padding: 13px; border-radius: 24px; }
  .hp-home .hp-contacts.hgc-deck > .hp-contact { gap: 17px; min-height: 166px; padding: 17px 14px; border-radius: 17px; }
  .hp-home .hp-contacts.hgc-deck .hp-contact-icon { width: 27px; height: 27px; }
  .hp-home .hp-contacts.hgc-deck .hp-contact h3 { font-size: 17px; }
  .hp-home .hp-contacts.hgc-deck .hp-contact span { margin-top: 7px; font-size: 13px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .hp-home .hp-contacts.hgc-deck > .hp-contact { transition: none; }
  .hp-home .hp-contacts.hgc-deck > .hp-contact.hgc-is-active { transform: none; will-change: auto; }
  .hp-home .hp-contacts.hgc-deck > .hp-contact::after { display: none; transition: none; }
}
@media (forced-colors: active) {
  .hp-home .hp-contacts.hgc-deck,
  .hp-home .hp-contacts.hgc-deck > .hp-contact { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .hp-home .hp-contacts.hgc-deck::before,
  .hp-home .hp-contacts.hgc-deck > .hp-contact::before,
  .hp-home .hp-contacts.hgc-deck > .hp-contact::after { display: none; }
  .hp-home .hp-contacts.hgc-deck :is(h3, span, .hp-contact-icon) { color: LinkText; }
}
