.contact-page main { overflow: hidden; }

.contact-hero {
  min-height: 455px;
  padding: 160px 0 185px;
  color: #fff;
  background: #b60027 url("../images/contact-red-bg.png") center / cover no-repeat;
}
.contact-hero h1 { margin-bottom: 18px; color: #fff; font-size: clamp(2.35rem, 4vw, 3.45rem); line-height: 1.03; }
.contact-hero p { margin: 0; color: #fff; font-size: clamp(1rem, 1.7vw, 1.28rem); font-weight: 600; line-height: 1.35; }

.contact-form-section { position: relative; z-index: 2; margin-top: -110px; }
.contact-form-card { max-width: 1100px; min-height: 520px; margin: 0 auto; padding: 58px 78px 66px; background: #fff; border-radius: 12px; box-shadow: 0 30px 52px rgba(25, 28, 34, .18); }
.contact-form-card h2 { margin-bottom: 40px; color: #0d0e11; font-size: clamp(2rem, 3vw, 2.65rem); }
.contact-form-card .form-control { min-height: 52px; padding: .8rem 1rem; color: #30333b; border-color: #e0e1e5; border-radius: 7px; font-size: 1rem; }
.contact-form-card textarea.form-control { min-height: 116px; resize: vertical; }
.contact-form-card .form-control::placeholder { color: #9a9ca3; opacity: 1; }
.contact-consent { max-width: 650px; padding-left: 2rem; }
.contact-consent .form-check-input { width: 20px; height: 20px; margin-left: -2rem; border-color: #a9abb2; border-radius: 0; }
.contact-consent .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.contact-consent .form-check-label { color: #2f3138; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.contact-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.contact-submit { min-width: 135px; padding: .72rem 1.4rem; font-size: 1.05rem; }
.contact-team-section { padding: 115px 0 135px; }
.contact-team-section h2 { margin: 0; color: #3a3c42; font-size: clamp(2.15rem, 4vw, 3.35rem); line-height: 1.08; }
.contact-team-section h2 span { color: var(--brand); }
.contact-team-image { display: block; width: 100%; max-width: 1120px; height: auto; margin: 72px auto 0; }

@media (max-width: 991.98px) {
  .contact-hero { min-height: 420px; padding: 150px 0 170px; }
  .contact-form-section { margin-top: -92px; }
  .contact-form-card { min-height: auto; padding: 48px 46px 54px; }
  .contact-team-section { padding: 90px 0 105px; }
  .contact-team-image { margin-top: 55px; }
}

@media (max-width: 767.98px) {
  .contact-hero { min-height: 390px; padding: 140px 0 145px; }
  .contact-hero p br { display: none; }
  .contact-form-section { margin-top: -70px; }
  .contact-form-card { padding: 38px 25px 44px; border-radius: 10px; }
  .contact-form-card h2 { margin-bottom: 28px; }
  .contact-submit { width: 100%; }
  .contact-team-section { padding: 78px 0 90px; }
}

@media (max-width: 480px) {
  .contact-hero h1 { font-size: 2.35rem; }
  .contact-team-section h2 { font-size: 2.05rem; }
}
