.legalmed-contact { margin-block-end: clamp(32px, 4vw, 64px); }
.legalmed-contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
  padding: clamp(24px, 4.5vw, 78px);
  background: #f7f5f4;
  border-radius: 24px;
}
.legalmed-contact h2 { margin: 0 0 16px; color: var(--legalmed-accent); font: 400 clamp(42px, 5vw, 76px)/1.06 Georgia, serif; }
.legalmed-contact-offices { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 30px; }
.legalmed-contact-offices a { color: inherit; font-weight: 650; }
.legalmed-contact-offices span { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 450; }
.legalmed-contact-compose form:not([hidden]) { display: grid; gap: 8px; }
.legalmed-contact-compose label { font-size: 14px; font-weight: 650; }
.legalmed-contact-compose :is(input, textarea) { width: 100%; padding: 12px 16px; border: 1px solid #cec8c8; border-radius: 10px; background: white; color: inherit; font: inherit; margin-bottom: 8px; }
.legalmed-contact-compose textarea { resize: vertical; }
.legalmed-contact-compose :focus-visible { outline: 2px solid var(--legalmed-accent); outline-offset: 2px; }
.legalmed-contact-compose button { justify-self: start; padding: 14px 24px; border: 1px solid var(--legalmed-accent); border-radius: 30px; background: var(--legalmed-accent); color: white; font: inherit; cursor: pointer; transition: color .45s, background-color .45s; }
.legalmed-contact-compose button:hover { background: white; color: var(--legalmed-accent); }
.legalmed-contact-compose > a { display: inline-block; margin-top: 12px; color: var(--legalmed-accent); font-size: 14px; }
@media (max-width: 760px) {
  .legalmed-contact-panel { grid-template-columns: minmax(0, 1fr); }
}
