.contact-refresh { background: #fff; color: var(--brand-charcoal); }
.contact-hero { padding: 66px 0 72px; background: #f5f6f8; }
.contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); gap: 9%; align-items: end; }
.contact-hero-grid > * { min-width: 0; }
.contact-hero h1 { max-width: 900px; margin: 20px 0 26px; font-size: clamp(48px, 5.4vw, 82px); line-height: .98; letter-spacing: -.045em; }
.contact-hero h1 em { color: var(--brand-blue); font-style: normal; }
.contact-intro { max-width: 780px; margin: 0; color: #4f4f52; font-size: 19px; line-height: 1.65; }
.contact-hero-aside { display: grid; gap: 10px; padding: 30px; border-top: 4px solid var(--brand-blue); background: #fff; }
.contact-hero-aside .hf-label { margin-bottom: 4px; color: var(--brand-blue); }
.contact-hero-aside a { width: fit-content; color: var(--brand-charcoal); font-weight: 700; }
.contact-hero-aside a:not(.contact-phone) { overflow-wrap: anywhere; }
.contact-hero-aside .contact-phone { color: var(--brand-blue); font-size: 27px; }
.contact-hero-aside address { margin-top: 12px; font-style: normal; line-height: 1.55; }

.contact-trust { border-top: 1px solid #d8dbe1; border-bottom: 1px solid #d8dbe1; background: #fff; }
.contact-trust-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.contact-trust-grid > a, .contact-trust-grid > div { display: flex; min-height: 126px; gap: 18px; align-items: center; padding: 24px 28px; color: var(--brand-charcoal); border-right: 1px solid #d8dbe1; }
.contact-trust-grid > :last-child { border-right: 0; }
.contact-trust-grid img { width: 96px; height: auto; }
.contact-trust-grid span:not(.contact-step) { display: grid; gap: 4px; }
.contact-trust-grid strong { font-size: 17px; }
.contact-trust-grid small { color: #5f6064; line-height: 1.4; }
.contact-step { color: var(--brand-blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; }

.contact-main { padding-top: 100px; padding-bottom: 110px; }
.contact-form-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: end; margin-bottom: 48px; }
.contact-form-intro .hf-eyebrow { grid-column: 1 / -1; }
.contact-form-intro h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); letter-spacing: -.035em; }
.contact-form-intro > p:last-child { max-width: 520px; margin: 0; color: #626367; line-height: 1.65; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-section { min-width: 0; margin: 0; padding: 34px; border: 1px solid #d8dbe1; }
.quote-section-wide { grid-column: 1 / -1; }
.quote-section > legend { width: auto; padding: 0 12px 0 0; color: var(--brand-charcoal); font-size: 23px; font-weight: 800; }
.quote-section > legend > span { margin-right: 9px; color: var(--brand-blue); font-size: 13px; letter-spacing: .08em; vertical-align: middle; }
.quote-field { display: grid; gap: 8px; margin-top: 22px; }
.quote-field label, .service-options > legend { font-weight: 750; }
.required { color: var(--brand-blue); }
.form-context { margin: 18px 0 4px; padding: 14px 16px; border-left: 4px solid var(--brand-blue); background: #eef4ff; color: #243246; font-weight: 700; }
.quote-field input:not([type="file"]), .quote-field select, .quote-field textarea { width: 100%; border: 1px solid #aeb2ba; border-radius: 0; background: #fff; color: var(--brand-charcoal); font: inherit; }
.quote-field input:not([type="file"]), .quote-field select { height: 52px; padding: 0 14px; }
.quote-field textarea { min-height: 170px; padding: 14px; resize: vertical; }
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus { outline: 3px solid rgba(0,57,165,.2); border-color: var(--brand-blue); }
.quote-field input[type="file"] { width: 100%; padding: 13px; border: 1px dashed #8e929a; background: #f8f9fb; font: inherit; }
.quote-field small { color: #66686d; line-height: 1.45; }
.service-options { margin: 30px 0 0; padding: 0; border: 0; }
.service-options > legend { margin-bottom: 14px; }
.service-options > legend span { color: #6a6b70; font-size: 14px; font-weight: 400; }
.service-groups { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; }
.service-group { min-width: 0; }
.service-group > strong { display: block; margin-bottom: 10px; color: #5c5e63; font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.service-grid label { position: relative; display: flex; min-height: 76px; cursor: pointer; }
.service-grid input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.service-grid span { display: flex; width: 100%; align-items: center; padding: 14px 16px; border: 1px solid #c9ccd2; color: #3f4044; font-size: 14px; font-weight: 650; line-height: 1.35; transition: border-color .15s, background .15s, color .15s; }
.service-grid input:checked + span { border-color: var(--brand-blue); background: var(--brand-blue); color: #fff; }
.service-grid input:focus-visible + span { outline: 3px solid rgba(0,57,165,.25); outline-offset: 2px; }
.quote-submit { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; padding: 30px 34px; background: #f5f6f8; }
.quote-submit > p:first-child { max-width: 760px; margin: 0; color: #5c5e63; font-size: 14px; line-height: 1.55; }
.quote-submit .hf-button { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.quote-submit .hf-button:disabled { cursor: wait; opacity: .65; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 700; }
.form-status.success { color: #16753a; }
.form-status.error { color: #b42318; }

.contact-visit { padding: 86px 0; background: var(--brand-blue); color: #fff; }
.contact-visit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; }
.contact-visit .hf-eyebrow { color: #fff; }
.contact-visit h2 { margin: 16px 0 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.03; letter-spacing: -.035em; }
.contact-visit-grid > div:last-child > p { max-width: 680px; margin: 0 0 28px; font-size: 17px; line-height: 1.7; }
.contact-visit-links { display: flex; flex-wrap: wrap; gap: 22px 30px; }
.contact-visit .hf-text-link { color: #fff; border-color: rgba(255,255,255,.6); }

@media (max-width: 980px) {
  .contact-hero-grid, .contact-form-intro, .contact-visit-grid { grid-template-columns: 1fr; gap: 38px; }
  .contact-trust-grid { grid-template-columns: 1fr; }
  .contact-trust-grid > a, .contact-trust-grid > div { min-height: 0; border-right: 0; border-bottom: 1px solid #d8dbe1; }
  .contact-trust-grid > :last-child { border-bottom: 0; }
  .service-groups { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .contact-hero { padding: 38px 0 48px; }
  .contact-hero h1 { margin-top: 14px; font-size: clamp(43px, 13vw, 58px); }
  .contact-intro { font-size: 17px; }
  .contact-hero-aside { padding: 24px; }
  .contact-main { padding-top: 68px; padding-bottom: 72px; }
  .contact-form-intro { margin-bottom: 34px; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-section-wide { grid-column: auto; }
  .quote-section { padding: 25px 20px; }
  .quote-section > legend { font-size: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid label { min-height: 58px; }
  .quote-submit { grid-template-columns: 1fr; padding: 25px 20px; }
  .quote-submit .hf-button { justify-self: stretch; }
  .contact-visit { padding: 66px 0; }
}
