/* ==========================================================================
   Contact page — page-specific styles
   Mirrors the contact section built on the About page, scoped to
   .contact_page so it never collides with the vendor .contact-section rules.
   ========================================================================== */

/* Section bands */
.contact_page .contact-band {
  padding-top: 48px;
  padding-bottom: 56px;
}
.contact_page .office-band {
  padding-top: 0;
  padding-bottom: 56px;
  background: #f7f7f7;
}

/* --- Header --- */
.contact_page .contact-header { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.contact_page .contact-header h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #021015;
}
.contact_page .contact-header p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a5560;
  margin: 0;
}

.contact_page .contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

/* --- Direct contact methods (left) --- */
.contact_page .contact-methods h3 {
  font-size: 18px;
  margin: 0 0 18px;
  color: #021015;
}
.contact_page .contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6e9ec;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.contact_page a.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(7, 15, 26, .08);
  border-color: #bfe8ef;
}
.contact_page a.contact-method:focus-visible {
  outline: 2px solid #00badb;
  outline-offset: 2px;
}
.contact_page .contact-method__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #00badb, #4ee4ab);
}
.contact_page .contact-method__icon svg { width: 22px; height: 22px; display: block; }
.contact_page .contact-method__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact_page .contact-method__label { font-size: 13px; color: #6b7680; }
.contact_page .contact-method__value {
  font-size: 16px;
  font-weight: 600;
  color: #021015;
  word-break: break-word;
}

/* Support note under the direct-contact cards */
.contact_page .contact-support {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f2fbfd;
  border: 1px solid #d5eef4;
}
.contact_page .contact-support h4 {
  font-size: 15px;
  margin: 0 0 8px;
  color: #021015;
}
.contact_page .contact-support p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a5560;
  margin: 0;
}
.contact_page .contact-support a { color: #0093ad; text-decoration: none; }
.contact_page .contact-support a:hover { text-decoration: underline; }

/* --- Form card (right) --- */
.contact_page .contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 14px rgba(7, 15, 26, .08);
}
.contact_page .cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact_page .cf-field { display: flex; flex-direction: column; gap: 6px; }
.contact_page .cf-field--full { grid-column: 1 / -1; }
.contact_page .cf-field label { font-size: 14px; font-weight: 500; color: #33404a; }
.contact_page .cf-req { color: #e4572e; }
.contact_page .cf-honeypot { display: none; }
.contact_page .cf-field input,
.contact_page .cf-field select,
.contact_page .cf-field textarea {
  width: 100%;
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: #021015;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #d4d9de;
  border-radius: 9px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact_page .cf-field input::placeholder,
.contact_page .cf-field textarea::placeholder { color: #9aa4ad; }
.contact_page .cf-field input:focus,
.contact_page .cf-field select:focus,
.contact_page .cf-field textarea:focus {
  outline: none;
  border-color: #00badb;
  box-shadow: 0 0 0 3px rgba(0, 186, 219, .15);
}
.contact_page .cf-field textarea { resize: vertical; min-height: 120px; }
.contact_page .cf-submit { margin-top: 24px; }
.contact_page .cf-errors {
  background: #fff3f3;
  border: 1px solid #e44;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.contact_page .cf-errors p { margin: 0 0 4px; color: #c00; font-size: 14px; }
.contact_page .cf-errors p:last-child { margin-bottom: 0; }

/* --- Office card --- */
.contact_page .mailing-address.dnd_padd { padding-top: 24px; padding-bottom: 0; }
.contact_page .mailing-address .flex_row { justify-content: center; }

@media (max-width: 860px) {
  .contact_page .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .contact_page .contact-form-card { padding: 24px; }
  .contact_page .cf-grid { grid-template-columns: 1fr; }
  .contact_page .contact-header h1 { font-size: 30px; }
}