/* QA round 1 fixes. Linked after the theme CSS; loaded before overrides.css, so selectors carry a body prefix. */

/* Home hero (replaces the Revolution Slider): full-width photo, heading, Call Now button, quote form. */
body .cpa-hero { position: relative; width: 100%; background-color: #2b2b2b; background-size: cover; background-position: center center; background-repeat: no-repeat; color: #fff; }
body .cpa-hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.25) 100%); }
body .cpa-hero-inner { position: relative; box-sizing: border-box; max-width: 1170px; margin: 0 auto; padding: 56px 30px; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 560px; }
body .cpa-hero-text { flex: 1 1 auto; min-width: 0; text-shadow: 0 2px 6px rgba(0,0,0,.55); }
body .cpa-hero-big { font-family: Montserrat, Arial, Helvetica, sans-serif; font-weight: 700; font-size: 76px; line-height: 1; letter-spacing: 4px; color: #fff; }
body .cpa-hero-mid { font-family: Montserrat, Arial, Helvetica, sans-serif; font-size: 22px; line-height: 1.3; letter-spacing: 3px; margin: 14px 0 10px; color: #fff; }
body .cpa-hero-city { font-family: Montserrat, Arial, Helvetica, sans-serif; font-weight: 700; font-size: 58px; line-height: 1.05; color: #fff; }
body .cpa-hero-call { display: inline-block; margin-top: 28px; padding: 15px 30px; border-radius: 4px; background: #0353a0; color: #fff !important; font-family: Montserrat, Arial, Helvetica, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; text-decoration: none; text-shadow: none; }
body .cpa-hero-call:hover { background: #02407c; }
body .cpa-hero-form { flex: 0 0 360px; max-width: 100%; box-sizing: border-box; }
body .cpa-hero-form .form-slider-new { box-sizing: border-box; width: 100% !important; float: none !important; background: rgba(16,16,16,.78); padding: 28px; color: #fff; }
body .cpa-hero-form .row { margin: 0; }
body .cpa-hero-form h3.slider-form-title { line-height: 1.2 !important; margin-top: 6px !important; }
body .cpa-hero-form p { margin: 0 0 10px; }
body .cpa-hero-form .slider-form-bottom-title { margin: 10px 0 14px !important; }
body .cpa-hero-form input[type=text], body .cpa-hero-form input[type=tel], body .cpa-hero-form input[type=email], body .cpa-hero-form textarea { display: block; box-sizing: border-box; width: 100%; padding: 11px 12px; border: 0; border-radius: 3px; background: #fff; color: #222; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.3; }
body .cpa-hero-form textarea { height: 84px; }
body .cpa-hero-form input[type=submit] { display: block; width: 100%; padding: 13px 12px; border: 0; border-radius: 3px; background: #00ad17; color: #fff; font-family: Montserrat, Arial, Helvetica, sans-serif; font-weight: 700; font-size: 16px; cursor: pointer; }
body .cpa-hero-form .wpcf7-response-output { margin-top: 10px; }
@media (max-width: 1024px) {
  body .cpa-hero::before { background: rgba(0,0,0,.5); }
  body .cpa-hero-inner { flex-direction: column; align-items: stretch; gap: 28px; min-height: 0; padding: 36px 20px 28px; }
  body .cpa-hero-text { text-align: center; }
  body .cpa-hero-big { font-size: 48px; letter-spacing: 3px; }
  body .cpa-hero-mid { font-size: 15px; letter-spacing: 2px; }
  body .cpa-hero-city { font-size: 38px; }
  body .cpa-hero-call { margin-top: 20px; font-size: 18px; padding: 14px 22px; }
  body .cpa-hero-form { flex: 1 1 auto; width: 100%; }
  body .cpa-hero-form .form-slider-new { padding: 20px; }
}

/* Phone menu button: big enough to tap, dark enough to see, off the screen edge. */
body .fusion-mobile-menu-icons a { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 10px; font-size: 26px !important; line-height: 1 !important; color: #222 !important; }
body .fusion-mobile-menu-icons a:hover, body .fusion-mobile-menu-icons a:focus { color: #0353a0 !important; }
body .fusion-mobile-nav-holder .fusion-mobile-current-nav-item > a, body .fusion-mobile-nav-holder .fusion-mobile-current-nav-item > a .menu-text { color: #0353a0; font-weight: 700; }

/* Footer column headings were blue on charcoal (1.97:1). */
body .fusion-footer-widget-area .widget-title, body .fusion-footer-widget-area h4 { color: #fff !important; }

/* Form fields at 16px so iPhones don't zoom in on focus. */
@media (max-width: 800px) { body .wpcf7 input[type=text], body .wpcf7 input[type=tel], body .wpcf7 input[type=email], body .wpcf7 textarea { font-size: 16px !important; } }
