/* SKY-SAT V23.4 — restore the lower homepage composition from the approved reference while preserving V23 page content. */
:root{--ss-v23-4-navy:#071a35;--ss-v23-4-orange:#ff8700;}

/* The original V23 realization row has three columns: copy, four project images, and the quick estimate card. */
@media (min-width:981px){
  .ss-home-projects-layout{display:grid!important;grid-template-columns:minmax(155px,.72fr) minmax(0,2.15fr) minmax(310px,1.25fr)!important;grid-template-rows:auto!important;gap:14px!important;align-items:stretch!important;width:min(1440px,calc(100% - 64px))!important;max-width:1440px!important;margin:0 auto!important;}
  .ss-home-projects-layout>.ss-project-lead{grid-column:1!important;grid-row:1!important;}
  .ss-home-projects-layout>.ss-home-project-grid{grid-column:2!important;grid-row:1!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:138px!important;}
  .ss-home-projects-layout>.ss-v19-quote-card{grid-column:3!important;grid-row:1!important;}
}
.ss-home-projects-layout>.ss-v19-quote-card{display:block!important;visibility:visible!important;opacity:1!important;align-self:stretch!important;justify-self:stretch!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:14px 13px 12px!important;position:relative!important;inset:auto!important;transform:none!important;overflow:hidden!important;z-index:1!important;box-sizing:border-box!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:12px!important;background:linear-gradient(145deg,#071a37,#112e57)!important;color:#fff!important;box-shadow:0 6px 18px rgba(7,26,55,.15)!important;}
.ss-home-quote-card:after{content:""!important;position:absolute!important;right:0!important;top:0!important;width:0!important;height:0!important;border-top:36px solid #ff8700!important;border-left:36px solid transparent!important;pointer-events:none!important;}
.ss-home-quote-card-head{position:relative!important;z-index:1!important;margin:0 0 9px!important;}
.ss-home-quote-kicker{display:block!important;margin:0 0 4px!important;color:#ffb13a!important;font-size:8px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.1em!important;text-transform:uppercase!important;}
.ss-home-quote-card-head h2{margin:0 0 3px!important;padding:0!important;color:#fff!important;font-size:17px!important;line-height:1.16!important;font-weight:950!important;letter-spacing:-.02em!important;}
.ss-home-quote-card-head p{margin:0!important;color:#e5edf8!important;font-size:10px!important;line-height:1.35!important;}
.ss-home-quick-form{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;min-width:0!important;position:relative!important;z-index:1!important;margin:0!important;padding:0!important;}
.ss-quick-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 8px!important;min-width:0!important;}
.ss-home-quick-form .ss-quick-field{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;margin:0!important;color:#fff!important;}
.ss-home-quick-form .ss-quick-field>span{display:block!important;color:#f1f5fb!important;font-size:9px!important;line-height:1.2!important;font-weight:800!important;}
.ss-home-quick-form .ss-quick-field>span b{color:#ffad32!important;font-weight:900!important;}
.ss-home-quick-form .ss-quick-field input,.ss-home-quick-form .ss-quick-field select,.ss-home-quick-form .ss-quick-field textarea{display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;height:31px!important;min-height:31px!important;padding:6px 8px!important;border:1px solid #dbe4f0!important;border-radius:6px!important;background:#fff!important;color:#172a52!important;font-family:inherit!important;font-size:10px!important;line-height:1.25!important;box-shadow:none!important;}
.ss-home-quick-form .ss-quick-field textarea{height:42px!important;min-height:42px!important;resize:vertical!important;}
.ss-home-quick-form .ss-quick-field input::placeholder,.ss-home-quick-form .ss-quick-field textarea::placeholder{color:#8391a6!important;opacity:1!important;}
.ss-home-quick-form .ss-quick-field-full{grid-column:1/-1!important;}
.ss-home-quick-consent{display:flex!important;align-items:flex-start!important;gap:6px!important;margin:0!important;padding:7px 8px!important;border:1px solid rgba(227,236,248,.26)!important;border-radius:7px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;font-size:9px!important;line-height:1.35!important;font-weight:650!important;}
.ss-home-quick-consent input{appearance:auto!important;display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;margin:1px 0 0!important;accent-color:#ff8700!important;opacity:1!important;}
.ss-home-quick-consent span{display:block!important;min-width:0!important;color:#f4f7fc!important;}
.ss-home-quick-consent a{color:#fff!important;text-decoration:underline!important;text-underline-offset:2px!important;font-weight:850!important;}
.ss-home-quick-consent b{color:#ffb13a!important;}
.ss-home-quick-privacy{margin:0!important;color:#cbd8e8!important;font-size:8px!important;line-height:1.3!important;}
.ss-home-quick-submit{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:34px!important;height:34px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:7px!important;background:#ff8700!important;color:#fff!important;font-family:inherit!important;font-size:10px!important;font-weight:900!important;line-height:1.1!important;cursor:pointer!important;}
.ss-home-quick-submit:hover{background:#e97800!important;}
.ss-home-quick-submit b{font-size:17px!important;font-weight:500!important;}
.ss-home-quick-status{display:none!important;margin:0!important;padding:0!important;color:#ffe0ae!important;font-size:9px!important;line-height:1.35!important;}
.ss-home-quick-status:not(:empty){display:block!important;}
.ss-project-lead .ss-project-quote-cta{display:none!important;}

/* Subpages use the same hero action hierarchy as the homepage: services first, quote second. */
.ss-subhero .ss-hero-buttons .ss-btn-primary{min-width:184px!important;background:#ff8700!important;color:#fff!important;border:1px solid #ff8700!important;}
.ss-subhero .ss-hero-buttons .ss-btn-outline.ss-quote-cta{min-width:162px!important;background:rgba(5,24,52,.35)!important;color:#fff!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:none!important;}
.ss-subhero .ss-hero-buttons .ss-btn svg{display:block!important;width:17px!important;height:17px!important;flex:0 0 17px!important;fill:none!important;stroke:#fff!important;stroke-width:2!important;}
.ss-subhero .ss-hero-buttons .ss-btn-outline.ss-quote-cta:hover{background:rgba(255,255,255,.12)!important;border-color:#fff!important;color:#fff!important;}

/* Keep the reference composition responsive: stack the quote form below the gallery before it becomes cramped. */
@media (max-width:980px){
  .ss-home-projects-layout{display:grid!important;grid-template-columns:minmax(150px,.72fr) minmax(0,2fr)!important;grid-template-rows:auto auto!important;width:calc(100% - 48px)!important;gap:14px!important;}
  .ss-home-projects-layout>.ss-project-lead{grid-column:1!important;grid-row:1!important;}
  .ss-home-projects-layout>.ss-home-project-grid{grid-column:2!important;grid-row:1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:138px!important;}
  .ss-home-projects-layout>.ss-v19-quote-card{grid-column:1/-1!important;grid-row:2!important;width:min(760px,100%)!important;justify-self:end!important;}
}
@media (max-width:760px){
  .ss-home-projects-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;width:calc(100% - 28px)!important;gap:12px!important;}
  .ss-home-projects-layout>.ss-project-lead,.ss-home-projects-layout>.ss-home-project-grid,.ss-home-projects-layout>.ss-v19-quote-card{grid-column:1!important;grid-row:auto!important;width:100%!important;max-width:none!important;justify-self:stretch!important;}
  .ss-home-projects-layout>.ss-home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:140px!important;}
  .ss-home-quote-card{padding:15px!important;}
  .ss-home-quote-card-head h2{font-size:19px!important;}
  .ss-home-quick-form .ss-quick-field>span{font-size:11px!important;}
  .ss-home-quick-form .ss-quick-field input,.ss-home-quick-form .ss-quick-field select,.ss-home-quick-form .ss-quick-field textarea{font-size:13px!important;height:40px!important;min-height:40px!important;padding:8px 10px!important;}
  .ss-home-quick-form .ss-quick-field textarea{height:64px!important;min-height:64px!important;}
  .ss-home-quick-consent{font-size:11px!important;line-height:1.45!important;padding:10px!important;}
  .ss-home-quick-privacy{font-size:10px!important;line-height:1.4!important;}
  .ss-home-quick-submit{height:44px!important;min-height:44px!important;font-size:13px!important;}
}
@media (max-width:420px){
  .ss-home-projects-layout>.ss-home-project-grid{grid-template-columns:1fr!important;}
  .ss-quick-fields{grid-template-columns:1fr!important;}
  .ss-home-quick-form .ss-quick-field-full{grid-column:1!important;}
}


/* V23.5.5 — homepage quick estimate is a real independent submit form. */
.ss-home-quick-captcha{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0!important;margin:0!important;padding:5px 0 0!important;}
.ss-home-quick-captcha .ss-v9-recaptcha-help{margin:0!important;color:#e5edf8!important;font-size:9px!important;line-height:1.3!important;font-weight:650!important;}
.ss-home-quick-captcha .g-recaptcha{display:block!important;width:304px!important;max-width:100%!important;min-height:78px!important;height:78px!important;overflow:visible!important;transform:none!important;transform-origin:left top!important;}
.ss-home-quick-captcha .g-recaptcha iframe{display:block!important;width:304px!important;max-width:100%!important;height:78px!important;max-height:78px!important;border:0!important;transform:none!important;}
.ss-home-quick-submit:disabled{opacity:.72!important;cursor:wait!important;}
.ss-home-quick-status[data-state="success"]{color:#b9f5ce!important;}
.ss-home-quick-status[data-state="error"]{color:#ffd0c9!important;}
@media(max-width:760px){.ss-home-quick-captcha .ss-v9-recaptcha-help{font-size:10px!important;}.ss-home-quick-captcha .g-recaptcha{max-width:100%!important;}}
