/* ==========================================================================
   About page — page-specific styles
   ========================================================================== */

/* Tighten section spacing — this page's HubSpot padding overrides were lost
   in the export, so rows fall back to the theme's 96px .dnd-section padding,
   and the module wrappers (.dnd_padd) add ANOTHER 96px of their own. */
.about-page .header_area-row-0-padding {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.about-page .main_area-row-0-padding {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
/* Contact section — light full-width band */
.about-page .main_area-row-1-padding {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
  background: #f7f7f7;
}
/* Office section */
.about-page .main_area-row-2-padding {
  padding-top: 0 !important;
  padding-bottom: 48px !important;
}
/* Hero two-column module: kill its extra built-in 96px padding */
.about-page .two-col-content.dnd_padd {
  padding-top: 24px;
  padding-bottom: 0;
}
/* Mission card gallery: same built-in 96px padding */
.about-page .custom-card-gallery.dnd_padd {
  padding-top: 0;
  padding-bottom: 48px;
}
/* Office card gallery */
.about-page .mailing-address.dnd_padd {
  padding-top: 24px;
  padding-bottom: 48px;
}
/* Gap between the mission paragraph and the four cards (vendor default 96px) */
.about-page .custom-card-gallery .top_sec .top_content p {
  margin-bottom: 40px;
}

/* ==========================================================================
   Contact our team
   ========================================================================== */
.about-page .contact-section .contact-header { max-width: 640px; margin: 0 0 36px; }
.about-page .contact-section .contact-header h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #021015;
}
.about-page .contact-section .contact-header p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a5560;
  margin: 0;
}

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

/* --- Direct contact methods (left) --- */
.about-page .contact-methods h3 {
  font-size: 18px;
  margin: 0 0 18px;
  color: #021015;
}
.about-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;
}
.about-page a.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(7, 15, 26, .08);
  border-color: #bfe8ef;
}
.about-page a.contact-method:focus-visible {
  outline: 2px solid #00badb;
  outline-offset: 2px;
}
.about-page .contact-method--static { cursor: default; }
.about-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);
}
.about-page .contact-method__icon svg { width: 22px; height: 22px; display: block; }
.about-page .contact-method__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.about-page .contact-method__label { font-size: 13px; color: #6b7680; }
.about-page .contact-method__value {
  font-size: 16px;
  font-weight: 600;
  color: #021015;
  word-break: break-word;
}

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

@media (max-width: 860px) {
  .about-page .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-page .contact-form-card { padding: 24px; }
  .about-page .cf-grid { grid-template-columns: 1fr; }
}

/* Single office card — keep it centered */
.about-page .mailing-address .flex_row { justify-content: center; }
