/* v4-1118: homepage look for package cards, CTAs, social icons and service areas.
   Presentation only. Does not change form behaviour or copy. */
:root{
  --gc-btn:#699B50;
  --gc-btn-hover:#5F8E48;
  --gc-btn-active:#5B8844;
  --gc-btn-ink:#111111;
  --gc-btn-radius:999px;
  --gc-btn-shadow:0 1px 2px rgba(11,15,13,.16);
}

/* ---- Package cards (AF / EN residential) ----
   Images are 1:1 packshots. The captured CSS used object-fit:contain in a wide
   16:10 box with a light-grey background, which left white bands on both sides
   and made the card feel too wide. Fill the card, clip to its radius, and keep
   a tighter width at every breakpoint. */
.gcst-t,
ul.gcst-t{
  padding-left:calc((100% - 250px) / 2) !important;
  padding-right:calc((100% - 250px) / 2) !important;
  column-gap:10px !important;
  row-gap:10px !important;
}
.gcst-c,
li.gcst-c{
  flex:0 0 250px !important;
  flex-basis:250px !important;
  width:250px !important;
  max-width:250px !important;
}
.gcst-c .gcst-a,
a.gcst-a{
  height:auto !important;
  background-color:#151d18 !important;
  border-radius:14px !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
.gcst-i,
img.gcst-i{
  aspect-ratio:1 / 1 !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:50% 50% !important;
  background-color:#151d18 !important;
  display:block !important;
  border-radius:0 !important;
}
@media (min-width:768px){
  .gcst-t,
  ul.gcst-t{
    padding-left:calc((100% - 300px) / 2) !important;
    padding-right:calc((100% - 300px) / 2) !important;
  }
  .gcst-c,
  li.gcst-c{
    flex:0 0 300px !important;
    flex-basis:300px !important;
    width:300px !important;
    max-width:300px !important;
  }
}
/* Kill the short-viewport 72px strip so the image still fills the card. */
@media (max-height:700px){
  html[data-gcp="q"] .gcst-i{
    aspect-ratio:1 / 1 !important;
    height:auto !important;
    object-fit:cover !important;
  }
}

/* ---- Homepage CTA buttons ---- */
button.gc-home-cta,
a.gc-home-cta{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  width:auto !important;
  max-width:100% !important;
  min-height:44px !important;
  height:auto !important;
  max-height:none !important;
  padding:10px 20px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  background:#699B50 !important;
  background-image:none !important;
  color:#111111 !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:0 1px 2px rgba(11,15,13,.16) !important;
  font:600 14px/1.2 Nunito,Inter,Arial,sans-serif !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  text-decoration:none !important;
  transform:none !important;
  cursor:pointer !important;
  white-space:nowrap !important;
}
button.gc-home-cta:hover,
a.gc-home-cta:hover,
button.gc-home-cta:focus-visible,
a.gc-home-cta:focus-visible{
  background:#5F8E48 !important;
  color:#111111 !important;
  box-shadow:0 2px 6px rgba(11,15,13,.18) !important;
  outline:none !important;
  text-decoration:none !important;
}
button.gc-home-cta:active,
a.gc-home-cta:active{
  background:#5B8844 !important;
  box-shadow:0 1px 1px rgba(11,15,13,.2) !important;
}
button.gc-home-cta > *,
a.gc-home-cta > *{
  color:inherit !important;
  fill:currentColor !important;
  background:none transparent !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  font:inherit !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
}
/* Hide empty decorative children used as button chrome on some pages. */
button.gc-home-cta > :empty,
a.gc-home-cta > :empty{display:none !important}
@media (max-width:767px){
  button.gc-home-cta,
  a.gc-home-cta{
    min-height:46px !important;
    padding:10px 18px !important;
  }
}

/* ---- Social icons (homepage circles) ---- */
.gc-soc{
  margin:4px 0 0;
  font-family:Nunito,Inter,Arial,sans-serif;
  text-align:center;
}
.gc-soc-t{
  color:#f3f6f4;
  font-size:17px;
  font-weight:800;
  line-height:1.25;
  margin:0 !important;
}
.gc-soc-s{
  color:#d6dfd9;
  font-size:14px;
  line-height:1.45;
  margin:2px 0 12px !important;
}
.gc-soc-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
.gc-soc-row > li{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.gc-soc-b{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#1c2620;
  border:1px solid #3e5a45;
  color:#9bd873 !important;
  text-decoration:none !important;
  transition:background .15s,color .15s,transform .15s;
}
.gc-soc-b svg{
  width:22px;
  height:22px;
  display:block;
  fill:currentColor;
  color:inherit;
}
.gc-soc-b:hover,
.gc-soc-b:focus-visible{
  background:#7dc855;
  color:#0d1310 !important;
  transform:translateY(-1px);
  outline:none;
}

/* ---- Service areas (homepage chips) ---- */
.gc-areas{
  max-width:1100px;
  margin:0 auto;
  text-align:center;
  font-family:Nunito,Inter,Arial,sans-serif;
}
.gc-areas-t{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:#f3f6f4;
  font-weight:800;
  font-size:15px;
  margin:0 0 10px !important;
}
.gc-areas-t svg{color:#9bd873;flex:0 0 auto}
.gc-areas-l{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
.gc-areas-l li{
  padding:6px 12px;
  border-radius:999px;
  background:#1c2620;
  border:1px solid #2c3a31;
  color:#d6dfd9;
  font-size:13.5px;
  line-height:1.2;
  margin:0 !important;
  list-style:none !important;
}
@media (max-width:767px){
  .gc-areas-l{gap:6px}
  .gc-areas-l li{padding:6px 10px;font-size:13px}
}

/* v6 footer rhythm (18 Nov): one homepage-like gap under the credit line
   and between the install/social heading and the icons; no stacked section pads. */
.gc-credit{margin-bottom:0 !important;}
*:has(.gc-credit):not(:has(.gc-foot-soc)):not(body):not(html){padding-bottom:0 !important;margin-bottom:0 !important;}
.gc-foot-soc{
  padding-top:32px !important;
  padding-bottom:24px !important;
  margin-top:0 !important;
}
.gc-foot-soc > *,
.gc-foot-soc > * > *,
.gc-foot-soc > * > * > *,
.gc-foot-soc > * > * > * > *,
.gc-foot-soc > * > * > * > * > *,
.gc-foot-soc > * > * > * > * > * > *,
.gc-foot-soc > * > * > * > * > * > * > *,
.gc-foot-soc > * > * > * > * > * > * > * > *{
  padding-top:0 !important;
  margin-top:0 !important;
}
.gc-soc{margin:0 0 0 !important;}
.gc-soc-t{margin:0 0 14px !important;}
.gc-soc + .gc-areas,
.gc-soc + * > .gc-areas{
  margin-top:28px !important;
}
/* After the mail icon is removed, drop the 44px left pad reserved for it. */
input[type=email]{padding-left:14px !important;}

/* v7-1118 (18 Nov): desktop centering + footer legal/empty-band.
   Mobile (max-width 767) layout is unchanged. */

/* Package cards: the v4 desktop pad centred a single 300px card, so the
   remaining cards spilled to the right. Centre a 3-card cluster instead
   (300 + 10 + 300 + 10 + 300). Mobile still centres one 250px card. */
@media (min-width:768px){
  .gcst-t,
  ul.gcst-t{
    padding-left:max(16px, calc((100% - 920px) / 2)) !important;
    padding-right:max(16px, calc((100% - 920px) / 2)) !important;
  }
}

/* Hero overlay was captured at 1280px; fill the hero at 1440 and up. */
@media (min-width:768px){
  .p18::after{
    width:100% !important;
    max-width:none !important;
    height:100% !important;
    left:0 !important;
    right:0 !important;
  }
}

/* COMM/GLP legal: left column is a fully transparent 240x55 logo in a 50%
   row, which right-aligns the legal/credit copy and leaves a hollow band. */
.gc-foot-legal{
  padding-left:16px !important;
  padding-right:16px !important;
}
.gc-foot-legal .c14,
.gc-foot-legal .c12{
  flex-direction:column !important;
  align-items:center !important;
}
.gc-foot-legal-logo{display:none !important;}
.gc-foot-legal-copy{
  width:100% !important;
  max-width:760px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  flex:1 1 auto !important;
  text-align:center !important;
}
.gc-foot-legal-copy,
.gc-foot-legal-copy h2,
.gc-foot-legal-copy p,
.gc-foot-legal-copy .gc-credit{
  text-align:center !important;
}

/* Broken install-photo mosaic (12 images at width 0 inside a fixed
   3480px / 580px overflow box) sitting directly above the legal block. */
.gc-dead-gallery{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  overflow:hidden !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
}

/* Footer rhythm after reorder: credit, then social, then service areas.
   ~32px phone / ~40px desktop, matching the homepage. */
.gc-credit + .gc-soc,
.gc-credit + .gc-foot-soc{
  padding-top:32px !important;
  margin-top:0 !important;
}
@media (min-width:768px){
  .gc-foot-soc{padding-top:40px !important;padding-bottom:24px !important;}
  .gc-credit + .gc-soc,
  .gc-credit + .gc-foot-soc{padding-top:40px !important;}
  .gc-soc + .gc-areas,
  .gc-soc + * > .gc-areas{margin-top:32px !important;}
}

/* polish-1118 (Elard 11:28-11:35 via Vega). Shared by every LP and thank-you page. */
/* footer legal links: centred, page font */
p:has(>a[href*="privacy-policy"]){display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 24px;width:100%;margin:12px auto 0!important;padding:0!important;text-align:center!important}
p:has(>a[href*="privacy-policy"])>a{font-family:Nunito,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:24px!important;color:#9bd873!important;text-decoration:none!important;padding:6px 0!important;margin:0!important;letter-spacing:normal!important}
p:has(>a[href*="privacy-policy"])>a:hover{text-decoration:underline!important}
/* reviews carousel: same centred column on every page */
[id^=hp-carousel]{max-width:1150px;margin-left:auto!important;margin-right:auto!important}
/* quick-form note: one style for all four LPs (residential look) */
html .gc-qf{margin:0;font-family:Nunito,sans-serif;font-size:14px;font-weight:400;line-height:25.2px;color:#607179;text-align:start}
/* commercial install photo */
.gcx-ph{max-width:1150px;margin:0 auto;padding:28px 16px 0}
.gcx-ph img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px;border:1px solid #2c3a2f;background:#121815}
@media(min-width:768px){.gcx-ph{padding:40px 24px 0}}

/* hannelie-1118: province select 16px on every page (iOS zoom) */
select.gcsel,form[data-lp] select{font-size:16px!important}

/* lazy-ratio-1121:start (generated by src/lazy-ratio-1121.py; reserve lazy image space, no CLS) */
img[src="/assets/img/v2/0f1e72f0b629.webp"]{aspect-ratio:740/555}
img[src="/assets/img/v2/0fdedbc40a5f.webp"]{aspect-ratio:180/95}
img[src="/assets/img/v2/10b66ac97936.webp"]{aspect-ratio:96/96}
img[src="/assets/img/v2/2eee2e6c55a7.webp"]{aspect-ratio:740/416}
img[src="/assets/img/v2/2f1a4400d1a5.webp"]{aspect-ratio:166/101}
img[src="/assets/img/v2/37d2d29391c3.webp"]{aspect-ratio:740/555}
img[src="/assets/img/v2/3ed292dcfc7b.webp"]{aspect-ratio:740/416}
img[src="/assets/img/v2/616a258e0950.webp"]{aspect-ratio:720/1600}
img[src="/assets/img/v2/631d9a36267f.webp"]{aspect-ratio:740/987}
img[src="/assets/img/v2/965948ad9c2e.webp"]{aspect-ratio:240/74}
img[src="/assets/img/v2/9a52694073f3.webp"]{aspect-ratio:740/555}
img[src="/assets/img/v2/9cb88a379b6c.webp"]{aspect-ratio:240/55}
img[src="/assets/img/v2/9d1db9ccf9db.webp"]{aspect-ratio:740/997}
img[src="/assets/img/v2/a992a51ededd.webp"]{aspect-ratio:740/1315}
img[src="/assets/img/v2/b9fd244e10e1.webp"]{aspect-ratio:740/1523}
img[src="/assets/img/v2/d16387b152d0.webp"]{aspect-ratio:740/997}
img[src="/assets/img/v2/de0fe83e34c2.webp"]{aspect-ratio:740/555}
img[src="/assets/img/v2/f92f40d36fe1.webp"]{aspect-ratio:768/580}
/* lazy-ratio-1121:end */

/* live-1118: 16px text/email/tel (GLP email was 12px); hide residual 100vw overflow */
input[type=email],input[type=text],input[type=tel]{font-size:16px!important}
html,body{overflow-x:hidden}
