.contact-main {
  background: rgb(209 219 223 / 20%);
  padding: 0 0 90px;
}

.contact-intro {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1024px;
  padding: 64px 0;
  width: calc(100% - 48px);
}

.contact-intro-image {
  align-self: stretch;
  border-radius: 16px;
  min-height: 410px;
  overflow: hidden;
}

.contact-intro-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.contact-intro-copy { color: var(--green); }
.contact-intro-copy h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 24px;
}

.contact-intro-copy h1 span { color: var(--orange); }
.contact-intro-copy p {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 22px;
}

.contact-intro-copy p:last-child { margin-bottom: 0; }

.contact-form-section {
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  max-width: 1024px;
  padding: 24px 0;
  width: calc(100% - 48px);
}

.contact-form-heading {
  margin: 0 auto;
  max-width: 560px;
  padding: 0 32px;
  text-align: center;
  width: 100%;
}

.contact-form-heading h2 {
  color: #1a2b3a;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
}

.contact-form-heading p {
  color: #5a6e85;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  max-width: 560px;
  padding: 0 32px 32px;
  width: 100%;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  color: #1a2b3a;
  font-size: 14px;
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #1a2b3a;
  font-family: inherit;
  font-size: 16px;
  outline: 0;
  padding: 14px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.contact-field input { height: 52px; }
.contact-field textarea {
  height: 160px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #9ca3af; opacity: 1; }
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgb(236 101 0 / 12%);
}

.contact-submit {
  background: #e8762b;
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  height: 56px;
  padding: 0 32px;
  transition: background-color .2s ease;
  width: 100%;
}

.contact-submit:hover,
.contact-submit:focus { background: var(--green); }
.contact-status {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  margin: -8px 0 0;
  min-height: 1px;
  text-align: center;
}

.contact-form.was-validated :invalid {
  border-color: #b42318;
}

@media (max-width: 991.98px) {
  .contact-intro { gap: 36px; grid-template-columns: 1fr; }
  .contact-intro-image { min-height: 430px; }
}

@media (max-width: 767.98px) {
  .contact-main { padding-bottom: 60px; }
  .contact-intro { padding: 44px 0; width: calc(100% - 40px); }
  .contact-intro-image { border-radius: 12px; min-height: 330px; }
  .contact-intro-copy h1 { font-size: 34px; }
  .contact-intro-copy p { font-size: 18px; line-height: 1.4; }
  .contact-form-section { gap: 24px; width: calc(100% - 40px); }
  .contact-form-heading { padding: 0 20px; }
  .contact-form-heading h2 { font-size: 34px; }
  .contact-form { padding: 0 20px 20px; }
  .contact-submit { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-field input,
  .contact-field textarea,
  .contact-submit { transition: none; }
}
