/* Shared contact sections: the redesign's simple form with the Work with Me panel. */
.home-contact {
  padding-block: clamp(40px, 6vw, 72px);
  background: #fff;
}
.home-contact > .container { max-width: 1120px; }
.home-contact .home-contact-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d9e0e3;
}
.home-contact-header :is(h1, h2) {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 40px);
}
.home-contact-header p { margin: 0; font-size: 18px; line-height: 1.6; }
.home-contact .form-field { margin-bottom: 18px; }
.home-contact .field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
}
.home-contact .form-input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #8b989e;
  border-radius: 2px;
  background: #fff;
  color: var(--default-color);
  font: 400 16px/1.5 var(--default-font);
}
.home-contact textarea.form-input { min-height: 150px; resize: vertical; }
.home-contact .form-status > div { margin-bottom: 16px; }
.home-contact .error-message { color: #95232e; }
.home-contact .home-contact-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--accent-color);
  border-radius: 0;
  background: var(--accent-color);
  color: #fff;
  font: 500 16px/1.4 var(--default-font);
  cursor: pointer;
}
.home-contact .home-contact-send:hover { background: #9f0e19; border-color: #9f0e19; }
.home-contact :is(a, input, textarea, button):focus-visible {
  outline: 2px solid #003049;
  outline-offset: 3px;
}
.home-contact .contact-sidebar {
  padding: clamp(24px, 3vw, 36px);
  background: #e3ebf0;
  color: #222;
}
.home-contact .contact-header { margin-bottom: 28px; }
.home-contact .contact-header :is(h2, h3) { margin: 0 0 16px; font-size: 28px; }
.home-contact .contact-header p { margin: 0; font-size: 16px; line-height: 1.7; }
.home-contact .contact-method { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.home-contact .contact-method:last-child { margin-bottom: 0; }
.home-contact .contact-icon { display: flex; justify-content: center; flex: 0 0 28px; font-size: 20px; color: #003049; }
.home-contact .contact-details { min-width: 0; }
.home-contact .method-label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #003049; }
.home-contact .contact-details p { margin: 0; font-size: 16px; line-height: 1.6; }
.home-contact .contact-sidebar a { color: #003049; overflow-wrap: anywhere; }
.home-contact .contact-sidebar a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .home-contact .home-contact-header { padding-inline: 12px; }
  .home-contact-header p { font-size: 17px; }
}
