/* CONTACT_COMPACT_20260920 — layout only; do not touch rail PDF / opt-in checkbox */
html body .contact-section {
  padding: 1.1rem 0 1.25rem !important;
}
html body .contact-head {
  margin: 0 auto 0.65rem !important;
  max-width: 42rem;
}
html body .contact-head .section-eyebrow {
  margin-bottom: 0.28rem !important;
  font-size: 0.92rem !important;
}
html body .contact-head .section-title {
  font-size: clamp(1.28rem, 2vw, 1.62rem) !important;
  line-height: 1.18 !important;
}
html body .contact-intro,
html body .contact-section .section-lead.contact-intro {
  margin-top: 0.32rem !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}
html body .contact-engineer {
  margin-bottom: 0.5rem !important;
}
html body .contact-card {
  grid-template-columns: minmax(270px, 0.95fr) minmax(0, 1.25fr) !important;
  border-radius: 0.95rem !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18) !important;
}
html body .contact-aside {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.42rem !important;
  padding: 0.7rem !important;
  align-content: start !important;
}
html body .contact-info-box {
  display: flex !important;
  gap: 0.42rem !important;
  align-items: center !important;
  padding: 0.46rem 0.5rem !important;
  border-radius: 0.62rem !important;
  min-height: 0 !important;
}
html body .contact-ico {
  width: 28px !important;
  height: 28px !important;
  border-radius: 0.48rem !important;
}
html body .contact-ico svg {
  width: 14px !important;
  height: 14px !important;
}
html body .contact-info-box h3 {
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
}
html body .contact-info-box p,
html body .contact-info-box a {
  margin: 0.08rem 0 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.25 !important;
}
html body .contact-aside-note {
  grid-column: 1 / -1 !important;
  margin-top: 0.05rem !important;
  font-size: 0.74rem !important;
  line-height: 1.35 !important;
}
html body .contact-form-wrap {
  padding: 0.75rem 0.95rem 0.7rem !important;
}
html body .contact-form {
  gap: 0.38rem !important;
}
html body .contact-form > label:not(.email-capture-optin) {
  gap: 0.16rem !important;
}
html body .contact-form > label:not(.email-capture-optin) > span {
  font-size: 0.76rem !important;
  line-height: 1.2 !important;
}
html body .contact-row {
  gap: 0.45rem !important;
}
html body .contact-section .contact-form .input:not([type="checkbox"]):not([type="radio"]),
html body .contact-section .contact-form textarea.input {
  padding: 0.34rem 0.62rem !important;
  min-height: 2rem !important;
  border-radius: 0.58rem !important;
}
html body .contact-section .contact-textarea,
html body .contact-section textarea.contact-textarea {
  min-height: 4.25rem !important;
  height: 4.25rem !important;
  max-height: 9rem !important;
  padding-top: 0.4rem !important;
  resize: vertical !important;
}
html body .contact-submit {
  margin-top: 0.08rem !important;
  padding: 0.48rem 1rem !important;
  min-height: 2.25rem !important;
}
html body .contact-legal {
  margin-top: 0.08rem !important;
  font-size: 0.7rem !important;
  line-height: 1.32 !important;
}

@media (max-width: 980px) {
  html body .contact-section {
    padding: 0.95rem 0 1.35rem !important;
  }
  html body .contact-card {
    grid-template-columns: 1fr !important;
  }
  html body .contact-aside {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }
  html body .contact-form-wrap {
    padding: 0.85rem 0.85rem 1rem !important;
  }
}

/* Mobile: stacked (not 2x2 cramped). Keep type readable. */
@media (max-width: 699px) {
  html body .contact-aside {
    grid-template-columns: 1fr !important;
    gap: 0.48rem !important;
    padding: 0.8rem !important;
  }
  html body .contact-info-box {
    align-items: flex-start !important;
    padding: 0.62rem 0.7rem !important;
    gap: 0.55rem !important;
  }
  html body .contact-ico {
    width: 32px !important;
    height: 32px !important;
  }
  html body .contact-ico svg {
    width: 16px !important;
    height: 16px !important;
  }
  html body .contact-info-box h3 {
    font-size: 0.9rem !important;
  }
  html body .contact-info-box p,
  html body .contact-info-box a {
    font-size: 0.82rem !important;
  }
  html body .contact-aside-note {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }
  html body .contact-form {
    gap: 0.55rem !important;
  }
  html body .contact-form > label:not(.email-capture-optin) > span {
    font-size: 0.84rem !important;
  }
  html body .contact-section .contact-form .input:not([type="checkbox"]):not([type="radio"]),
  html body .contact-section .contact-form textarea.input {
    min-height: 2.25rem !important;
    padding: 0.45rem 0.7rem !important;
  }
  html body .contact-section .contact-textarea,
  html body .contact-section textarea.contact-textarea {
    min-height: 5.6rem !important;
    height: 5.6rem !important;
  }
  html body .contact-submit {
    min-height: 2.55rem !important;
    padding: 0.7rem 1rem !important;
  }
  html body .contact-legal {
    font-size: 0.74rem !important;
  }
}
