.contact-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgb(229 229 229 / 0.8);
  background: rgb(255 255 255);
}

.contact-card__hero {
  border-bottom: 1px solid rgb(245 245 245);
  background: linear-gradient(180deg, rgb(250 250 250) 0%, rgb(255 255 255) 100%);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
}

.contact-card__hero img {
  margin-inline: auto;
  height: auto;
  max-height: 11rem;
  width: 100%;
  max-width: 20rem;
  object-fit: contain;
}

.contact-card__body {
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
}

.contact-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(23 23 23);
}

.contact-card__lead {
  margin-top: 0.75rem;
  max-width: 28rem;
  margin-inline: auto;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgb(82 82 82);
}

.contact-email {
  display: inline-flex;
  margin-top: 1.75rem;
  align-items: center;
  gap: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(229 229 229);
  background: rgb(250 250 250);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgb(23 23 23);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.contact-email:hover {
  border-color: rgb(212 212 212);
  background: rgb(255 255 255);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.06);
  transform: translateY(-1px);
}

.contact-email:focus-visible {
  outline: 2px solid rgb(23 23 23);
  outline-offset: 3px;
}

.contact-email__icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: rgb(23 23 23);
  color: rgb(250 250 250);
}

.contact-email__icon svg {
  height: 1.35rem;
  width: 1.35rem;
}

.contact-email__text {
  text-align: left;
}

.contact-email__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(115 115 115);
}

.contact-email__address {
  display: block;
  margin-top: 0.125rem;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.contact-card__note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: rgb(115 115 115);
}

@media (max-width: 479px) {
  .contact-card__hero {
    padding: 1.5rem 1rem 1.25rem;
  }

  .contact-card__body {
    padding: 1.5rem 1rem 1.75rem;
  }

  .contact-card__title {
    font-size: 1.375rem;
  }

  .contact-email {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .contact-email__address {
    font-size: 0.9375rem;
    overflow-wrap: anywhere;
  }
}
