.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.contact-action {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 0.9rem;
  min-height: 82px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(254, 243, 234, 0.18);
  border-radius: 8px;
  background: #0b2027;
  color: #fef3ea;
  box-shadow: 0 8px 24px rgba(11, 32, 39, 0.14);
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  border-color: rgba(254, 243, 234, 0.5);
  background: #17bcbd;
  box-shadow: 0 12px 28px rgba(23, 188, 189, 0.22);
  color: #0b2027;
  transform: translateY(-2px);
}

.contact-action:focus-visible {
  outline: 3px solid rgba(23, 188, 189, 0.35);
  outline-offset: 3px;
}

.contact-action__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #fef3ea;
  color: #163945;
}

.contact-action__icon svg {
  width: 22px;
  height: 22px;
}

.contact-action__content {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.contact-action__eyebrow {
  color: rgba(254, 243, 234, 0.66);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-action__title {
  color: inherit;
  font-size: 1rem;
  line-height: 1.25;
}

.contact-action__detail {
  min-width: 0;
  color: rgba(254, 243, 234, 0.8);
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-action__detail-compact {
  display: none;
}

.contact-action__title-compact {
  display: none;
}

.contact-action__arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.contact-action:hover .contact-action__arrow,
.contact-action:focus-visible .contact-action__arrow {
  transform: translateX(3px);
}

.contact-action:hover .contact-action__eyebrow,
.contact-action:focus-visible .contact-action__eyebrow,
.contact-action:hover .contact-action__detail,
.contact-action:focus-visible .contact-action__detail {
  color: rgba(11, 32, 39, 0.78);
}

.contact-action--quote {
  border-color: rgba(23, 188, 189, 0.5);
  background: #163945;
}

.contact-action--quote .contact-action__icon {
  background: #17bcbd;
  color: #0b2027;
}

@media (max-width: 1024px) {
  .contact-info {
    padding-right: 0;
  }

  .contact-action {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 0.6rem;
    min-height: 68px;
    padding: 0.6rem 0.7rem;
  }

  .contact-action__icon {
    grid-column: 1;
    grid-row: 1;
    width: 36px;
    height: 36px;
  }

  .contact-action__icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-action__content {
    grid-column: 2;
    grid-row: 1;
    gap: 0.04rem;
  }

  .contact-action__eyebrow,
  .contact-action__arrow {
    display: none;
  }

  .contact-action__title {
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .contact-action__detail {
    overflow: hidden;
    font-size: 0.7rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .contact-action__detail-full,
  .contact-action__title-full {
    display: none;
  }

  .contact-action__detail-compact,
  .contact-action__title-compact {
    display: inline;
  }
}

@media (min-width: 680px) and (max-width: 1024px) {
  .contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (max-width: 679px) {
  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .contact-action--phone,
  .contact-action--email {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    text-align: center;
  }

  .contact-action--phone .contact-action__icon,
  .contact-action--email .contact-action__icon {
    position: static;
    transform: none;
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
  }

  .contact-action--phone .contact-action__content,
  .contact-action--email .contact-action__content {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: max-content;
    max-width: 100%;
    transform: translateX(10px);
  }

  .contact-action--phone .contact-action__detail,
  .contact-action--email .contact-action__detail {
    display: none;
  }

  .contact-action--quote {
    grid-column: 1 / -1;
    width: calc((100% - 0.5rem) / 2);
    justify-self: center;
  }

}

@media (max-width: 344px) {
  .contact-actions {
    gap: 0.4rem;
  }

  .contact-action {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.45rem;
    min-height: 64px;
    padding: 0.5rem 0.55rem;
  }

  .contact-action--phone,
  .contact-action--email {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .contact-action__icon {
    width: 32px;
    height: 32px;
  }

  .contact-action--phone .contact-action__icon,
  .contact-action--email .contact-action__icon {
    width: 28px;
    height: 28px;
  }

  .contact-action--phone .contact-action__icon svg,
  .contact-action--email .contact-action__icon svg {
    width: 16px;
    height: 16px;
  }

  .contact-action__title {
    font-size: 0.74rem;
  }

  .contact-action__detail {
    font-size: 0.63rem;
  }

  .contact-action--quote {
    width: calc((100% - 0.4rem) / 2);
  }

  .contact-action--quote .contact-action__detail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-action,
  .contact-action__arrow {
    transition: none;
  }
}
