/* Contact — RedDent "Contact Section": full-bleed photo, form in a light rounded card
   (40px padding, 2-column grid), and a cut-out portrait on the right that rises 110px
   and overflows the top of the row. */
.contact {
  position: relative;
  padding: 120px var(--gutter);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
}
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--shadow-tint), .35);
}
.contact__container {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 549px;
}
.contact__form {
  width: 590px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 40px;
  border-radius: 16px;
  background: var(--bg);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.field--full { grid-column: 1 / -1; }
.field__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 27.2px;
  letter-spacing: -0.3px;
  color: var(--navy);
}
.field__box {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(11, 41, 93, .25);
  transition: border-color .3s ease;
}
.field__box:focus-within { border-color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 16px/27.2px var(--font);
  letter-spacing: -0.3px;
  outline: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field__box--area { align-items: stretch; }

.contact__person {
  position: absolute;
  right: 0;
  bottom: -120px;
  width: 547px;
  height: 734px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.contact__person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

@media (max-width: 1199.98px) {
  .contact__person { width: 380px; height: 560px; }
}
@media (max-width: 809.98px) {
  .contact { padding: 80px var(--gutter); }
  .contact__container { flex-direction: column; min-height: 0; }
  .contact__form { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; }
  .contact__person { display: none; }
}

.contact__status { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.contact__status:empty { display: none; }

/* the home CTA scrolls here (#request): clear the fixed header */
.contact { scroll-margin-top: 72px; }
