.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.contact-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.contact-icon-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.section-heading--centered {
  text-align: center;
}

.eyebrow--unbounded {
  max-width: none;
}

.contact-form-lead {
  margin: 0 auto;
}

.tally-embed-card {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tally-embed-card iframe {
  width: 100% !important;
  max-width: 100%;
  height: 760px;
  min-height: 760px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .tally-embed-card {
    width: 100%;
    margin: 0;
    padding: 12px;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .contact-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .contact-card h3 {
    font-size: 0.95rem;
  }

  .contact-card p {
    font-size: 0.88rem;
  }

  .tally-embed-card {
    padding: 16px;
  }

}
