/* Contact page only. Everything shared — the header, the footer, the card and
   form surfaces in gshvac.css, the Bootstrap 3 grid — is reused; the rules
   below retune that system for this page in the same way process.css and
   blog.css do for theirs. */

.contact-page { background: #fff; color: var(--gshvac-primary); }
.contact-page .container, #footer .container { width: 100%; max-width: 1210px; }
.contact-page a:focus-visible,
.contact-page button:focus-visible,
.contact-page input:focus-visible,
.contact-page textarea:focus-visible { outline: 3px solid var(--gshvac-primary); outline-offset: 3px; }

/* --- Hero ---------------------------------------------------------------- */

/* Same left-weighted overlay, height and copy column as .process-hero and
   .blog-hero, so the three inner-page heroes read as one set: the copy sits
   in a left column over the dark end of the gradient and the photograph is
   left to carry the right-hand side. */
.contact-hero { background: linear-gradient(90deg, rgba(35,42,53,.96), rgba(35,42,53,.86) 45%, rgba(35,42,53,.2)), url('../images/resized/webp/hvac-hero-1920d.webp') center / cover; }
.contact-hero > .container { min-height: 460px; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 48px; }
.contact-hero > .container::before, .contact-hero > .container::after { content: none; }
.contact-hero-copy { max-width: 735px; }
.contact-hero .gs-hero-eyebrow { color: var(--gshvac-accent); font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; }
.contact-hero h1 { color: #fff; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; text-transform: uppercase; font-weight: 700; letter-spacing: -.6px; margin: 0 0 16px; }
.contact-hero h1 span { display: block; color: var(--gshvac-primary); }
.contact-hero-lead { max-width: 520px; color: var(--gshvac-on-dark); font-size: 18px; line-height: 1.5; margin: 0; }

/* Pills: the padding lives on the link so the whole chip is the tap target
   (44px tall), not just the text inside a padded <li>. */
.contact-hero-pills { justify-content: flex-start; margin: 30px 0 0; gap: 12px; }
.contact-hero-pills li { padding: 0; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); overflow: hidden; }
.contact-hero-pills li > a, .contact-hero-pills li > span { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; line-height: 20px; color: #fff; font-size: 14px; font-weight: 600; }
.contact-hero-pills li > a:hover, .contact-hero-pills li > a:focus { background: rgba(255,255,255,.18); color: #fff; }

/* --- Contact section ----------------------------------------------------- */

.contact-main { background: var(--gshvac-cream); }
.contact-page section > .container.gs-section { padding-top: 76px; padding-bottom: 76px; }
.contact-alert { border-radius: 6px; margin-bottom: 26px; }
.contact-page .gs-contact-card, .contact-page .gs-form-card { border-color: var(--gshvac-line); border-radius: 8px; box-shadow: 0 3px 16px rgba(35,42,53,.05); padding: 32px 30px; }
.contact-card-title { font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--gshvac-primary-dark); margin: 0 0 14px; }
.contact-page .gs-form-eyebrow { letter-spacing: 2px; margin-bottom: 10px; }
.contact-info-lead, .contact-form-lead { font-size: 15px; line-height: 1.65; color: var(--gshvac-primary); margin: 0 0 24px; }
.contact-form-lead { margin-bottom: 26px; }

/* Left column, icon rows. The circle replaces .gs-contact-list's bare orange
   glyph so the four rows read as one scannable set. */
.contact-info-card { display: flex; flex-direction: column; }
.contact-info-list { border-top: 1px solid var(--gshvac-line); padding-top: 22px; }
.contact-info-list > li { align-items: flex-start; gap: 16px; padding-bottom: 20px; font-size: 15px; line-height: 1.6; color: var(--gshvac-primary); }
.contact-info-list > li:last-child { padding-bottom: 0; }
.contact-info-list { margin-bottom: 28px; }
.contact-info-list > li > .contact-info-icon { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gshvac-cta); color: var(--gshvac-primary); font-size: 17px; }
.contact-info-label { display: block; font-weight: 700; color: var(--gshvac-primary-dark); margin-bottom: 2px; }
.contact-info-list a { color: var(--gshvac-primary-dark); font-weight: 600; }
.contact-info-list a:hover, .contact-info-list a:focus { color: var(--gshvac-primary); }

/* Trust close. margin-top:auto pins it to the foot of the card so it still
   lines up when the flex row stretches this column to the form's height. */
.contact-trust { display: flex; align-items: center; gap: 16px; margin: auto 0 0; padding: 20px 22px; border-radius: 8px; background: var(--gshvac-cream); font-size: 15px; line-height: 1.45; color: var(--gshvac-primary-dark); }
.contact-trust-icon { flex: 0 0 52px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--gshvac-primary); font-size: 25px; }
.contact-trust strong { display: block; color: var(--gshvac-primary-dark); }

/* --- Form ---------------------------------------------------------------- */

.contact-form-card .form-group { margin-bottom: 18px; }
.contact-field { position: relative; }
.contact-field-icon { position: absolute; left: 17px; top: 17px; z-index: 2; color: var(--gshvac-primary); font-size: 16px; pointer-events: none; }
.contact-field-message .contact-field-icon { top: 16px; }
.contact-page .gs-form-card .form-control { padding: 12px 16px 12px 46px; border-color: var(--gshvac-line); border-radius: 6px; background-color: var(--gshvac-cream); font-size: 15px; }
.contact-page .gs-form-card input.form-control { height: 50px; }
.contact-page .gs-form-card textarea.form-control { min-height: 118px; line-height: 1.6; resize: vertical; }
.contact-page .gs-form-card .form-control:focus { background-color: #fff; border-color: var(--gshvac-primary); box-shadow: 0 0 0 3px rgba(242,201,76,.14); }
.contact-page .gs-form-card .form-control::placeholder { color: var(--gshvac-primary); opacity: 1; }
.contact-field:focus-within .contact-field-icon { color: var(--gshvac-primary); }

/* reCAPTCHA renders a fixed-size iframe; the margin is what separates it from
   the fields above and the buttons below. The widget has its own .form-group
   here, so the shared .gs-captcha gap would only double it. */
.contact-captcha { margin-bottom: 22px; }
.contact-captcha .gs-captcha { margin-bottom: 0; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-page .gs-form-card .contact-actions .btn { height: 52px; line-height: 52px; padding: 0 28px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: .6px; }
.contact-actions .btn-dark { background: var(--gshvac-ink); border-color: var(--gshvac-ink); color: #fff; }
.contact-actions .btn-dark:hover, .contact-actions .btn-dark:focus { background: var(--gshvac-ink); border-color: var(--gshvac-ink); color: #fff; }
.contact-privacy { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 13px; color: var(--gshvac-primary); }
.contact-privacy .fa { margin-top: 2px; color: var(--gshvac-primary); font-size: 15px; }

/* --- Phone CTA band ------------------------------------------------------ */

.contact-cta { background: linear-gradient(90deg, var(--gshvac-primary), var(--gshvac-primary)); }
.contact-cta > .container { padding-top: 0; padding-bottom: 0; }
.contact-cta > .container::before, .contact-cta > .container::after { content: none; }
.contact-cta-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; padding: 48px 0; }
.contact-cta-icon { display: grid; place-items: center; width: 62px; height: 62px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; font-size: 27px; }
.contact-cta-copy { border-left: 1px solid rgba(255,255,255,.3); padding-left: 28px; }
.contact-cta-kicker { margin: 0 0 4px; color: var(--gshvac-on-dark); font-size: 17px; line-height: 1.3; }
.contact-cta h2 { margin: 0; color: #fff; font-size: 28px; line-height: 1.25; font-weight: 700; }
.contact-cta-button { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 6px; background: #fff; color: var(--gshvac-primary-dark); font-size: 16px; font-weight: 700; white-space: nowrap; }
.contact-cta-button:hover, .contact-cta-button:focus { background: var(--gshvac-cream); color: var(--gshvac-primary-dark); }
.contact-cta-button .fa { color: var(--gshvac-primary); }
.contact-cta-script { font-family: "Crimson Text", Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.4; color: rgba(255,255,255,.8); text-align: right; pointer-events: none; }

/* --- Footer (same retuning the other inner pages apply) ------------------ */

#footer > .container > .row { display: flex; flex-wrap: wrap; }
#footer .visible-sm-block { display: none !important; }
#footer .footer-logo { width: 216px; max-width: 100%; height: auto; }
#header .nav-logo { height: auto; }

/* --- Responsive ---------------------------------------------------------- */

/* 36/64 rather than Bootstrap's 41.7/58.3. Only from 992px, which is where
   gshvac.css turns #contact's row into the equal-height flex row. */
@media (min-width: 992px) {
  #contact > .container > .row > .col-md-5 { flex: 0 0 36%; max-width: 36%; margin-bottom: 0 !important; }
  #contact > .container > .row > .col-md-7 { flex: 0 0 64%; max-width: 64%; }
}

/* Between 992 and 1199 the 36% column gets tight enough to break the hours
   line in two; a couple of points back off the form keeps every row on one. */
@media (min-width: 992px) and (max-width: 1199px) {
  #contact > .container > .row > .col-md-5 { flex: 0 0 39%; max-width: 39%; }
  #contact > .container > .row > .col-md-7 { flex: 0 0 61%; max-width: 61%; }
}

@media (max-width: 991px) {
  .contact-page section > .container.gs-section { padding-top: 56px; padding-bottom: 56px; }
  .contact-cta-inner { grid-template-columns: auto 1fr; row-gap: 22px; padding: 38px 0; }
  .contact-cta-button { grid-column: 1 / -1; justify-self: start; }
  .contact-cta-script { display: none; }
}

@media (max-width: 767px) {
  .contact-page .container { padding-left: 22px; padding-right: 22px; }
  .contact-hero { background-position: 65% center; background-image: linear-gradient(90deg, rgba(35,42,53,.96), rgba(35,42,53,.8)), url('../images/resized/webp/hvac-hero-1920d.webp'); }
  .contact-hero > .container { min-height: 420px; padding-top: 48px; padding-bottom: 40px; }
  .contact-hero-lead { font-size: 17px; }
  .contact-hero-pills { gap: 10px; }
  .contact-hero-pills li > a, .contact-hero-pills li > span { padding: 12px 16px; font-size: 13px; }
  .contact-hero-pills { row-gap: 10px; }
  .contact-page .gs-contact-card, .contact-page .gs-form-card { padding: 26px 22px; }
  .contact-card-title { font-size: 23px; }
  .contact-cta h2 { font-size: 23px; }
  #footer > .container > .row > [class*='col-'] { width: 100%; }
}

@media (max-width: 480px) {
  .contact-hero h1 { font-size: 32px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-page .gs-form-card .contact-actions .btn { width: 100%; }
  .contact-cta-inner { grid-template-columns: 1fr; gap: 18px; }
  .contact-cta-copy { border-left: 0; padding-left: 0; }
  .contact-cta-button { width: 100%; justify-content: center; }
  .contact-trust { flex-direction: column; text-align: center; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *, .contact-page *::before, .contact-page *::after { transition: none !important; animation: none !important; }
  .contact-page .btn:hover { transform: none; }
}
