/* Desktop consultation bar appears after the hero. */
.desktop-cta{display:none}
@media(min-width:1001px){
  html body{padding-bottom:calc(56px + env(safe-area-inset-bottom))}
  .desktop-cta:not([hidden]){position:fixed;z-index:30;bottom:0;left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;box-shadow:0 -3px 16px #173b351f;background:#075fc9}
  .desktop-cta a{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));color:#fff;font-size:18px;line-height:1.4;white-space:nowrap;box-sizing:border-box}
  .desktop-cta-phone{background:#ff4d4d}
  .desktop-cta-mail{background:#075fc9}
  .desktop-cta a strong{font-weight:800}
  .desktop-cta-number{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
  .desktop-cta a:hover{filter:brightness(.95)}
  .desktop-cta a:focus-visible{outline:3px solid #ffdc00;outline-offset:-4px}
}
/* Scoped form styles take precedence over the existing mobile typography. */
#contact .contact-layout{align-items:start;gap:clamp(24px,5vw,72px)}
#estimate-form{min-width:0;padding:clamp(20px,4vw,36px);border:1px solid #d8e7f5;border-radius:20px;background:#fff;box-shadow:0 12px 36px #075fc914;text-align:left!important}
#estimate-form h3{font-size:26px;line-height:1.5;color:#075fc9;margin:0 0 8px;text-align:center}
#estimate-form .form-intro{text-align:center}
#estimate-form .form-intro,#estimate-form .field-help{font-size:13px;line-height:1.75;color:#526a7c;margin:0 0 16px}
#estimate-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#estimate-form .full-width{grid-column:1/-1}
#estimate-form label{display:block;text-align:left!important;font-size:15px;font-weight:700;line-height:1.6;margin:0}
#estimate-form .required{display:inline-block;margin-left:6px;padding:1px 5px;background:#e8f2ff;color:#075fc9;font-size:11px;border-radius:4px;vertical-align:middle}
#estimate-form .optional{font-size:12px;font-weight:400;color:#526a7c}
#estimate-form input:not([type=checkbox]),#estimate-form select,#estimate-form textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin-top:7px;padding:12px;border:1px solid #b8cada;border-radius:8px;background:#fff;color:#173b59;font:400 16px/1.6 var(--sans);text-align:left!important}
#estimate-form textarea{min-height:144px;resize:vertical}
#estimate-form :is(input,select,textarea):focus-visible{outline:3px solid #a5ceff;outline-offset:2px;border-color:#075fc9}
#estimate-form .field-help{margin:7px 0 0}
#estimate-form .consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;margin:20px 0}
#estimate-form input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:2px 0;accent-color:#075fc9}
#estimate-form .form-submit{width:100%;min-height:54px;border-radius:10px;background:#075fc9;color:#fff;font-size:16px;letter-spacing:0}
#estimate-form .form-submit:disabled{opacity:.55;cursor:wait;transform:none}
#estimate-form .form-status{font-size:14px;line-height:1.8;overflow-wrap:anywhere;margin:12px 0 0;color:#526a7c;text-align:center}
#estimate-form .form-status[data-state=error]{color:#b42318}
#estimate-form .form-status[data-state=success]{padding:16px;background:#eaf5ff;border:1px solid #a5ceff;border-radius:8px;color:#075fc9}
#estimate-form .form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#estimate-form .form-assurance{font-size:12px;text-align:center;color:#526a7c;margin:8px 0}
#contact{scroll-margin-top:90px}
#contact .contact-guide-column{min-width:0;align-self:stretch}
#contact .contact-followup{margin:28px auto 0;padding:24px;max-width:460px;border:1px solid #d8e7f5;border-radius:20px;background:linear-gradient(180deg,#f7fbff 0%,#fff 48%);box-shadow:0 10px 30px #075fc90d;text-align:left!important}
#contact .contact-followup-heading{text-align:center;margin-bottom:18px}
#contact .contact-followup-eyebrow{margin:0 0 4px;color:#d7a600;font-size:11px;font-weight:900;letter-spacing:.12em;line-height:1.4}
#contact .contact-followup h3{margin:0;color:#075fc9;font-size:22px;font-weight:800;line-height:1.4;text-align:center}
#contact .contact-flow{margin:0;padding:0;list-style:none}
#contact .contact-flow li{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;padding:0 0 28px;color:#12334c;text-align:center!important}
#contact .contact-flow li:last-child{padding-bottom:0}
#contact .contact-flow li:not(:last-child)::after{content:"↓";position:absolute;left:50%;bottom:3px;transform:translateX(-50%);color:#55badc;font-size:17px;font-weight:900;line-height:1}
#contact .contact-flow-marker{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border:1px solid #ffc928;border-radius:50%;background:#fff8d9;color:#075fc9;font-size:14px;font-weight:900;line-height:1}
#contact .contact-flow-card{width:100%;min-width:0;box-sizing:border-box;padding:12px 14px;border:1px solid #e1edf7;border-radius:12px;background:#fff;box-shadow:0 4px 12px #075fc90a;text-align:center}
#contact .contact-flow-title{display:flex;align-items:center;justify-content:center;gap:8px}
#contact .contact-flow-card h4{margin:0;color:#075fc9;font-size:16px;font-weight:800;line-height:1.5;text-align:center}
#contact .contact-flow-card p{margin:3px 0 0;color:#42576a;font-size:13px;font-weight:500;line-height:1.6;text-align:center}
#contact .contact-flow-note{margin:16px 0 0;padding:10px 12px;border-radius:10px;background:#fff7d6;color:#5c4a09;font-size:13px;font-weight:700;line-height:1.5;text-align:center}
@media(min-width:1001px){
  #contact .contact-heading{position:sticky;top:var(--contact-guide-top,104px)}
}
@media(max-width:650px){
  #contact .contact-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}
  #contact .contact-guide-column,#contact .contact-heading{display:contents}
  #contact #estimate-form{order:10;width:100%;margin-top:26px}
  #contact .contact-followup{margin-top:24px;padding:18px;border-radius:16px}
  #contact .contact-followup{order:20;width:100%;max-width:100%}
  #contact .contact-followup-heading{margin-bottom:14px}
  #contact .contact-followup h3{font-size:20px}
  #contact .contact-flow li{gap:8px;padding-bottom:25px}
  #contact .contact-flow-marker{flex-basis:24px;width:24px;height:24px;font-size:13px}
  #contact .contact-flow-card{padding:10px 11px}
  #contact .contact-flow-card h4{font-size:15px}
  #contact .contact-flow-card p{font-size:12px}
  #contact .contact-flow-note{margin-top:14px;font-size:12px}
  #estimate-form .form-grid{grid-template-columns:1fr}
  #estimate-form h3{font-size:24px}
  #estimate-form{padding:22px 16px}
}
