.contact-page { display: flex; flex-direction: column; min-height: 100vh; }
.contact-main {
  flex: 1;
  padding-block: clamp(26px, 5vw, 72px);
  background: #f3f7fb;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
}
.contact-intro {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #182545;
  color: #fff;
}
.contact-intro-copy { padding: clamp(24px, 4vw, 52px); }
.contact-intro h1 {
  margin: 0;
  font-size: clamp(2.05rem, 4vw, 3.4rem);
  line-height: 1.05;
}
.contact-intro p { max-width: 32ch; margin: 15px 0 18px; color: #dbe8f4; }
.contact-address { color: #a8d5fa; font-weight: 650; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-address:hover { color: #fff; }
.contact-intro img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.85;
  object-fit: cover;
  object-position: 65% 52%;
}
.contact-card { background: transparent; scroll-margin-top: 98px; }
.contact-page .contact-card form {
  border-radius: 14px;
  padding: clamp(21px, 3.5vw, 44px);
  box-shadow: 0 12px 36px #1825450b;
}
.contact-card .fields { gap: 16px 18px; }
.contact-card label { gap: 6px; }
.contact-card :is(input, textarea) {
  min-height: 44px;
  border-radius: 6px;
  font-weight: 400;
}
.contact-card textarea { min-height: 130px; }
.contact-note { margin: 14px 0; color: #43566d; font-size: .85rem; }
.contact-card .btn { border-radius: 6px; }
.contact-page .contact-footer { padding-block: 24px; }
.contact-footer .footer-bottom { border-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-intro img { max-height: 170px; }
}
@media (max-width: 540px) {
  .contact-card .btn { width: 100%; }
  .contact-footer .footer-bottom { flex-wrap: wrap; }
}
