.contact-has-form .contact-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-has-form .contact-layout > h2 {
  padding-top: 12px;
}
.contact-has-form .contact-copy {
  min-width: 0;
  border: 0;
  padding: 0;
}
.contact-has-form .contact-copy > p:first-child {
  max-width: 600px;
  margin-bottom: 26px;
}
.patient-contact {
  position: relative;
  padding: clamp(22px, 3vw, 38px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  overflow-wrap: anywhere;
  margin-bottom: 26px;
}
.patient-contact h3 {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--header-height) + 26px);
}
.patient-contact h3:focus {
  outline: none;
}
.patient-contact p {
  font-size: 14px;
}
.patient-contact p + p {
  margin-top: 10px;
}
.contact-progress {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0 0 21px;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.contact-progress li {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.contact-progress li > span {
  display: block;
  margin-bottom: 5px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
.contact-progress li[aria-current="step"] {
  color: var(--berry);
  font-weight: 600;
}
.contact-fields {
  display: grid;
  gap: 18px;
  margin: 20px 0 24px;
}
.contact-location-fields {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 14px;
  margin-bottom: 18px;
}
.contact-geolocation {
  margin-bottom: 23px;
}
.patient-contact .contact-locate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #d9d5e4;
  border-radius: 8px;
  background: #f7f5fa;
  color: var(--navy);
  font:
    500 13px/1.5 Inter,
    system-ui,
    sans-serif;
  cursor: pointer;
}
.patient-contact .contact-locate:hover:not(:disabled) {
  border-color: var(--berry);
  background: #fcf2f7;
}
.patient-contact .contact-locate:disabled {
  opacity: 0.65;
  cursor: wait;
}
.contact-locate svg {
  flex: 0 0 19px;
}
.patient-contact .contact-geolocation .contact-field-hint {
  max-width: 410px;
  font-size: 11px;
}
.patient-contact .contact-manual-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.contact-manual-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.patient-contact label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
}
.patient-contact label > span {
  font-weight: 400;
}
.patient-contact input:not([type="checkbox"]),
.patient-contact select {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  border: 1px solid #bdbdcc;
  border-radius: 8px;
  padding: 11px 13px;
  background: var(--white);
  color: var(--ink);
  font:
    400 16px/1.5 Inter,
    system-ui,
    sans-serif;
}
.patient-contact input:disabled,
.patient-contact select:disabled {
  background: var(--paper);
  color: var(--muted);
}
.patient-contact input[aria-invalid="true"],
.patient-contact select[aria-invalid="true"] {
  border-color: #9d2447;
}
.patient-contact .contact-field-hint,
.patient-contact .contact-field-error {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 7px;
}
.patient-contact .contact-field-hint {
  color: var(--muted);
}
.patient-contact .contact-field-error {
  color: #9d2447;
}
.patient-contact [data-contact-locality] {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}
.patient-contact [data-contact-locality] .contact-field {
  margin: 15px 0 20px;
}
.patient-contact .button {
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
  padding: 13px 22px;
  min-height: 48px;
  white-space: normal;
}
.patient-contact button.text-link,
.patient-contact a {
  color: var(--navy);
  font-size: 13px;
}
.patient-contact .text-link {
  min-height: 44px;
  padding-block: 9px;
}
.patient-contact :is(a, button, input, select):focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 4px;
}
.patient-contact .contact-origin {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}
.contact-surgeon {
  border-left: 3px solid var(--berry);
  padding: 3px 0 3px 19px;
  margin-bottom: 20px;
}
.patient-contact .contact-surgeon-name {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}
.patient-contact .contact-distance {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin: 24px 0 14px;
}
.patient-contact .contact-recipient {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}
.patient-contact .contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.65;
  cursor: pointer;
}
.contact-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--berry);
}
.patient-contact .contact-privacy-link {
  display: inline-block;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
}
.contact-website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.patient-contact .contact-feedback {
  margin-top: 22px;
  padding: 15px 17px;
  border-left: 3px solid #9d2447;
  color: #79223b;
  background: #fcf2f5;
  font-size: 13px;
}
.patient-contact .contact-feedback:focus {
  outline: 2px solid var(--berry);
  outline-offset: 3px;
}
.patient-contact .contact-service {
  color: var(--muted);
}
.patient-contact .contact-reference {
  color: var(--muted);
  font-size: 11px;
  margin-top: 24px;
}
.contact-reference span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
}
.contact-success h3 {
  color: var(--berry);
}
@media (max-width: 1050px) {
  .contact-has-form .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-has-form .contact-copy {
    max-width: 680px;
  }
}
@media (max-width: 420px) {
  .patient-contact {
    padding: 22px 18px;
    border-radius: 13px;
  }
  .contact-location-fields {
    grid-template-columns: 1fr;
  }
  .contact-progress {
    gap: 9px;
  }
  .contact-actions {
    display: grid;
    justify-items: start;
  }
}
@media print {
  .patient-contact form,
  .contact-progress,
  .patient-contact [data-contact-reload] {
    display: none !important;
  }
}
.contact-city-search {
  width: min(100%, 260px);
  margin: 0 0 24px;
}
.patient-contact .contact-city-search label {
  font-size: 12px;
}
.patient-contact .contact-city-search label span {
  color: var(--muted);
}
.patient-contact .contact-city-search input {
  min-height: 42px;
  padding-block: 8px;
  background: #fafafe;
}
.patient-contact .contact-city-search .contact-field-hint {
  font-size: 11px;
}
.patient-contact .contact-attribution,
.patient-contact .contact-attribution a {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.patient-contact .contact-attribution {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 15px;
}
.contact-attribution a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
