/* SKY-SAT V23.5.3 — final reference banner alignment.
   V23 layout retained: navy copy panel on the left, single embedded hero photo on the right.
   The photo asset is 1195x331 and already contains the SkySat dish logo and Google rating card. */
:root{--ss-v2353-navy:#071b3a;--ss-v2353-orange:#ff8700;}

@media (min-width:1001px){
  .ss-home-hero,
  .ss-subhero{
    position:relative!important;
    display:block!important;
    width:100vw!important;
    max-width:none!important;
    height:auto!important;
    min-height:clamp(270px,16.2vw,338px)!important;
    max-height:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    padding:0!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background:var(--ss-v2353-navy)!important;
  }
  .ss-home-hero .ss-home-hero-grid,
  .ss-subhero .ss-subhero-grid{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:clamp(270px,16.2vw,338px)!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:var(--ss-v2353-navy)!important;
  }
  /* The left copy stays in normal flow and defines the final height of the hero. */
  .ss-home-hero .ss-home-hero-grid .ss-hero-copy,
  .ss-subhero .ss-subhero-grid .ss-subhero-copy{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    z-index:2!important;
    align-self:stretch!important;
    box-sizing:border-box!important;
    width:54%!important;
    max-width:930px!important;
    min-height:clamp(270px,16.2vw,338px)!important;
    height:auto!important;
    margin:0!important;
    padding:22px 28px 20px clamp(36px,6.8vw,140px)!important;
    background:transparent!important;
  }
  /* Image occupies only the right side. Its native aspect ratio nearly matches this panel. */
  .ss-home-hero-grid .ss-hero-visual,
  .ss-subhero-grid .ss-subhero-visual{
    display:block!important;
    position:absolute!important;
    z-index:0!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:40.8%!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    background:var(--ss-v2353-navy)!important;
  }
  .ss-home-hero-grid .ss-hero-visual>img,
  .ss-subhero-grid .ss-subhero-visual>img{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
  /* A soft seam blends the photograph into the solid navy copy panel without hiding the dish. */
  .ss-home-hero-grid .ss-hero-visual:before,
  .ss-subhero-grid .ss-subhero-visual:before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:1!important;
    inset:0 auto 0 0!important;
    width:17%!important;
    height:100%!important;
    background:linear-gradient(90deg,#071b3a 0%,rgba(7,27,58,.68) 34%,rgba(7,27,58,.20) 72%,rgba(7,27,58,0) 100%)!important;
    pointer-events:none!important;
  }
  .ss-home-hero h1{
    width:100%!important;
    max-width:780px!important;
    font-size:clamp(34px,2.52vw,52px)!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
    margin:0 0 10px!important;
    text-wrap:balance!important;
  }
  .ss-home-hero h1 br{display:block!important;}
  .ss-home-hero .ss-hero-services{
    width:100%!important;
    max-width:710px!important;
    font-size:clamp(14px,.88vw,17px)!important;
    line-height:1.34!important;
    margin:0 0 14px!important;
  }
  .ss-home-hero .ss-hero-buttons,
  .ss-subhero .ss-hero-buttons{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
    width:auto!important;
    margin:0!important;
  }
  .ss-home-hero .ss-hero-buttons .ss-btn,
  .ss-subhero .ss-hero-buttons .ss-btn{
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    min-height:46px!important;
    height:46px!important;
    max-height:none!important;
    padding:0 17px!important;
    border-radius:9px!important;
    font-size:13px!important;
    line-height:1.1!important;
    font-weight:850!important;
    white-space:nowrap!important;
  }
  .ss-home-hero .ss-hero-buttons .ss-btn-outline,
  .ss-subhero .ss-hero-buttons .ss-quote-cta{
    color:#fff!important;
    background:rgba(5,24,52,.28)!important;
    border:1.5px solid rgba(255,255,255,.92)!important;
    box-shadow:none!important;
  }
  .ss-home-hero .ss-hero-points,
  .ss-subhero .ss-hero-points{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:10px clamp(10px,1vw,18px)!important;
    width:100%!important;
    max-width:790px!important;
    margin:12px 0 0!important;
    padding:0!important;
    color:#f2f4fb!important;
    font-size:10px!important;
    line-height:1.15!important;
  }
  .ss-home-hero .ss-hero-points span,
  .ss-subhero .ss-hero-points span{
    display:flex!important;
    flex:0 1 auto!important;
    align-items:center!important;
    gap:6px!important;
    white-space:nowrap!important;
    margin:0!important;
  }
  .ss-home-hero .ss-hero-points b,
  .ss-subhero .ss-hero-points b{
    display:flex!important;
    flex:0 0 26px!important;
    align-items:center!important;
    justify-content:center!important;
    width:26px!important;
    height:26px!important;
    font-size:18px!important;
  }
  .ss-home-hero .ss-hero-points b svg,
  .ss-subhero .ss-hero-points b svg{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;}
  /* The rating card is baked into the approved photo; prevent a second overlay. */
  .ss-home-hero>.ss-google-rating-badge,
  .ss-subhero>.ss-google-rating-badge{display:none!important;}

  /* Service subpages keep their own SEO titles and breadcrumbs, but share the exact same banner geometry. */
  .ss-subhero{margin-top:0!important;}
  .ss-subhero-copy{max-width:960px!important;padding-top:24px!important;padding-bottom:24px!important;}
  .ss-subhero .ss-breadcrumb{display:block!important;position:relative!important;font-size:11px!important;line-height:1.25!important;margin:0 0 7px!important;}
  .ss-subhero .ss-eyebrow{display:inline-flex!important;font-size:10px!important;line-height:1.2!important;margin:0 0 7px!important;}
  .ss-subhero h1{
    width:100%!important;
    max-width:900px!important;
    font-size:clamp(31px,2.35vw,47px)!important;
    line-height:1.03!important;
    letter-spacing:-.04em!important;
    margin:0 0 10px!important;
    text-wrap:balance!important;
  }
  .ss-subhero .ss-subhero-services,
  .ss-subhero .ss-hero-services{
    width:100%!important;
    max-width:740px!important;
    font-size:clamp(13px,.78vw,15px)!important;
    line-height:1.34!important;
    margin:0 0 13px!important;
  }
  .ss-subhero .ss-hero-points{margin-top:11px!important;}
}

/* Keep the subpage photo at the same brightness as the homepage; old mobile CSS dimmed it to 34%. */
.ss-home-hero .ss-home-hero-grid .ss-hero-visual,
.ss-subhero .ss-subhero-grid .ss-subhero-visual{opacity:1!important;filter:none!important;}
.ss-home-hero .ss-home-hero-grid .ss-hero-visual>img,
.ss-subhero .ss-subhero-grid .ss-subhero-visual>img{opacity:1!important;filter:none!important;}

/* At narrow tablet widths, stack copy over the same photo rather than crushing the desktop columns. */
@media (min-width:701px) and (max-width:1000px){
  .ss-home-hero,.ss-subhero{width:100%!important;max-width:100%!important;margin:0!important;}
  .ss-home-hero-grid,.ss-subhero-grid{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;}
  .ss-hero-copy,.ss-subhero-copy{order:1!important;width:100%!important;max-width:none!important;min-height:0!important;padding:28px 34px 22px!important;}
  .ss-home-hero-grid .ss-hero-visual,.ss-subhero-grid .ss-subhero-visual{position:relative!important;order:2!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:1195/331!important;min-height:0!important;}
  .ss-home-hero-grid .ss-hero-visual>img,.ss-subhero-grid .ss-subhero-visual>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;}
  .ss-home-hero .ss-hero-points,.ss-subhero .ss-hero-points{flex-wrap:wrap!important;}
  .ss-home-hero>.ss-google-rating-badge,.ss-subhero>.ss-google-rating-badge{display:none!important;}
}

/* Phones keep the approved stacked V23 mobile design; prevent desktop absolute positioning from leaking in. */
@media (max-width:700px){
  .ss-home-hero,.ss-subhero{width:100%!important;max-width:100%!important;margin:0!important;min-height:0!important;height:auto!important;}
  .ss-home-hero-grid,.ss-subhero-grid{display:flex!important;flex-direction:column!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important;}
  .ss-hero-copy,.ss-subhero-copy{order:1!important;position:relative!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;padding:24px 18px 20px!important;margin:0!important;}
  .ss-home-hero h1{font-size:clamp(30px,8vw,39px)!important;line-height:1.05!important;}
  .ss-subhero h1{font-size:clamp(27px,7vw,36px)!important;line-height:1.06!important;}
  .ss-home-hero .ss-home-hero-grid .ss-hero-visual,.ss-subhero .ss-subhero-grid .ss-subhero-visual{display:block!important;box-sizing:border-box!important;position:relative!important;order:2!important;inset:auto!important;flex:0 0 auto!important;width:100%!important;height:calc(100vw * 331 / 1195)!important;min-height:0!important;max-height:none!important;aspect-ratio:1195/331!important;padding:0!important;margin:0!important;overflow:hidden!important;}
  .ss-home-hero .ss-home-hero-grid .ss-hero-visual>img,.ss-subhero .ss-subhero-grid .ss-subhero-visual>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;}
  .ss-home-hero-grid .ss-hero-visual:before,.ss-subhero-grid .ss-subhero-visual:before{display:none!important;}
  .ss-home-hero .ss-hero-buttons,.ss-subhero .ss-hero-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;flex-wrap:nowrap!important;width:100%!important;}
  .ss-home-hero .ss-hero-buttons .ss-btn,.ss-subhero .ss-hero-buttons .ss-btn{width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:0 8px!important;font-size:11px!important;white-space:normal!important;text-align:center!important;}
  .ss-home-hero .ss-hero-points,.ss-subhero .ss-hero-points{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 10px!important;flex-wrap:wrap!important;width:100%!important;max-width:none!important;margin-top:13px!important;font-size:10px!important;}
  .ss-home-hero .ss-hero-points span,.ss-subhero .ss-hero-points span{white-space:normal!important;}
  .ss-home-hero>.ss-google-rating-badge,.ss-subhero>.ss-google-rating-badge{display:none!important;}
}

/* Cookie panel is hidden only when the script sets the hidden attribute after a stored choice. */
#ss-cookie-banner[hidden],#ss-cookie-settings[hidden]{display:none!important;}
#ss-cookie-banner:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;}
#ss-cookie-banner{z-index:200000!important;}
#ss-cookie-settings{z-index:200001!important;}

/* Direct links to the real policy documents: also work on hosts without directory-index rewriting. */
.ss-cookie-links a[href*="polityka-prywatnosci"],
.ss-cookie-links a[href*="polityka-cookies"],
a[href*="polityka-prywatnosci"],a[href*="polityka-cookies"]{text-underline-offset:3px;}


/* SKY-SAT V23.5.4 — heading clearance + active Google rating card.
   Keeps the approved V23.5.3 layout; fixes the hidden/wrapped hero copy and
   restores the real clickable Google review card above the matching artwork. */
@media (min-width:1001px){
  .ss-topbar{position:relative!important;z-index:1001!important;}
  .ss-header{position:sticky!important;top:0!important;z-index:1000!important;}
  .ss-home-hero,
  .ss-subhero{
    margin-top:0!important;
    scroll-margin-top:120px!important;
  }
  .ss-home-hero .ss-home-hero-grid .ss-hero-copy,
  .ss-subhero .ss-subhero-grid .ss-subhero-copy{
    width:60%!important;
    max-width:1120px!important;
    min-height:338px!important;
    padding:30px 32px 26px clamp(42px,6.6vw,136px)!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    justify-content:center!important;
    align-items:flex-start!important;
  }
  .ss-home-hero h1{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:3!important;
    width:100%!important;
    max-width:900px!important;
    font-size:clamp(39px,2.42vw,50px)!important;
    line-height:1.04!important;
    letter-spacing:-.043em!important;
    white-space:normal!important;
    overflow:visible!important;
    margin:0 0 10px!important;
  }
  .ss-home-hero h1 br{display:block!important;visibility:visible!important;}
  .ss-home-hero h1 span{display:inline!important;}
  .ss-home-hero .ss-hero-services{
    max-width:760px!important;
    font-size:clamp(14px,.82vw,16px)!important;
    line-height:1.34!important;
    margin:0 0 14px!important;
  }
  .ss-home-hero .ss-hero-buttons,
  .ss-subhero .ss-hero-buttons{gap:12px!important;}
  .ss-home-hero .ss-hero-buttons .ss-btn,
  .ss-subhero .ss-hero-buttons .ss-btn{
    min-height:48px!important;
    height:48px!important;
    padding:0 19px!important;
    font-size:13px!important;
  }
  .ss-home-hero .ss-hero-points,
  .ss-subhero .ss-hero-points{
    flex-wrap:nowrap!important;
    gap:10px clamp(12px,1.1vw,20px)!important;
    max-width:850px!important;
    margin-top:13px!important;
    font-size:10px!important;
    line-height:1.18!important;
  }
  .ss-home-hero .ss-hero-points span,
  .ss-subhero .ss-hero-points span{white-space:nowrap!important;}
  .ss-home-hero .ss-hero-points b,
  .ss-subhero .ss-hero-points b{flex-basis:27px!important;width:27px!important;height:27px!important;}
  .ss-home-hero .ss-hero-points b svg,
  .ss-subhero .ss-hero-points b svg{width:27px!important;height:27px!important;}
  .ss-subhero .ss-subhero-copy{
    padding-top:30px!important;
    padding-bottom:26px!important;
  }
  .ss-subhero h1{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:3!important;
    width:100%!important;
    max-width:940px!important;
    font-size:clamp(35px,2.22vw,46px)!important;
    line-height:1.05!important;
    letter-spacing:-.038em!important;
    white-space:normal!important;
    overflow:visible!important;
    margin:0 0 10px!important;
  }
  .ss-subhero .ss-subhero-services,
  .ss-subhero .ss-hero-services{font-size:clamp(14px,.78vw,15px)!important;line-height:1.34!important;margin-bottom:13px!important;}
}

/* The rating card is an actual anchor, not part of the bitmap. It overlays the
   card-shaped artwork already printed in hero-sky-sat-banner.webp, keeping the
   reference look while restoring keyboard focus and click-through to Google. */
.ss-home-hero>.ss-google-rating-badge,
.ss-subhero>.ss-google-rating-badge{
  display:flex!important;
  position:absolute!important;
  z-index:12!important;
  right:clamp(18px,4.85vw,100px)!important;
  bottom:clamp(9px,.72vw,15px)!important;
  width:clamp(186px,12.95vw,266px)!important;
  min-width:clamp(186px,12.95vw,266px)!important;
  max-width:clamp(186px,12.95vw,266px)!important;
  height:clamp(68px,4.7vw,96px)!important;
  min-height:clamp(68px,4.7vw,96px)!important;
  max-height:clamp(68px,4.7vw,96px)!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:clamp(7px,.55vw,11px)!important;
  padding:clamp(7px,.62vw,13px)!important;
  border:1px solid #e8ecf3!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#14213d!important;
  text-decoration:none!important;
  box-shadow:0 10px 26px rgba(3,17,40,.22)!important;
  cursor:pointer!important;
  opacity:1!important;
  visibility:visible!important;
  transform:translateZ(0)!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease!important;
}
.ss-home-hero>.ss-google-rating-badge:hover,
.ss-subhero>.ss-google-rating-badge:hover{
  transform:translateY(-3px)!important;
  border-color:#d4ddeb!important;
  box-shadow:0 14px 30px rgba(3,17,40,.28)!important;
  text-decoration:none!important;
}
.ss-home-hero>.ss-google-rating-badge:focus-visible,
.ss-subhero>.ss-google-rating-badge:focus-visible{
  outline:3px solid #ff8700!important;
  outline-offset:3px!important;
}
.ss-home-hero>.ss-google-rating-badge .ss-google-g-img,
.ss-subhero>.ss-google-rating-badge .ss-google-g-img{
  display:block!important;
  flex:0 0 clamp(32px,1.95vw,40px)!important;
  width:clamp(32px,1.95vw,40px)!important;
  height:clamp(32px,1.95vw,40px)!important;
  min-width:clamp(32px,1.95vw,40px)!important;
  min-height:clamp(32px,1.95vw,40px)!important;
  object-fit:contain!important;
}
.ss-home-hero>.ss-google-rating-badge .ss-google-rating-copy,
.ss-subhero>.ss-google-rating-badge .ss-google-rating-copy{
  display:grid!important;
  gap:2px!important;
  min-width:0!important;
  line-height:1.08!important;
}
.ss-home-hero>.ss-google-rating-badge .ss-google-rating-copy>strong,
.ss-subhero>.ss-google-rating-badge .ss-google-rating-copy>strong{
  display:block!important;
  color:#14213d!important;
  font-size:clamp(9px,.63vw,13px)!important;
  line-height:1.12!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
.ss-home-hero>.ss-google-rating-badge .ss-rating-line,
.ss-subhero>.ss-google-rating-badge .ss-rating-line{
  display:flex!important;
  align-items:center!important;
  gap:clamp(4px,.35vw,7px)!important;
  white-space:nowrap!important;
}
.ss-home-hero>.ss-google-rating-badge .ss-rating-line>b,
.ss-subhero>.ss-google-rating-badge .ss-rating-line>b{
  color:#14213d!important;
  font-size:clamp(17px,1.16vw,24px)!important;
  line-height:1.05!important;
  font-weight:900!important;
}
.ss-home-hero>.ss-google-rating-badge .ss-rating-stars,
.ss-subhero>.ss-google-rating-badge .ss-rating-stars{
  color:#f18a00!important;
  font-size:clamp(10px,.78vw,16px)!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.ss-home-hero>.ss-google-rating-badge small,
.ss-subhero>.ss-google-rating-badge small{
  display:block!important;
  color:#58657a!important;
  font-size:clamp(7px,.47vw,9.5px)!important;
  line-height:1.1!important;
  font-weight:650!important;
  white-space:nowrap!important;
}

@media (min-width:701px) and (max-width:1000px){
  .ss-home-hero>.ss-google-rating-badge,
  .ss-subhero>.ss-google-rating-badge{
    right:14px!important;bottom:12px!important;
    width:196px!important;min-width:196px!important;max-width:196px!important;
    height:72px!important;min-height:72px!important;max-height:72px!important;
    padding:8px 10px!important;gap:8px!important;
  }
  .ss-home-hero>.ss-google-rating-badge .ss-google-g-img,
  .ss-subhero>.ss-google-rating-badge .ss-google-g-img{width:34px!important;height:34px!important;flex-basis:34px!important;}
  .ss-home-hero>.ss-google-rating-badge .ss-rating-line>b,
  .ss-subhero>.ss-google-rating-badge .ss-rating-line>b{font-size:19px!important;}
  .ss-home-hero>.ss-google-rating-badge .ss-rating-stars,
  .ss-subhero>.ss-google-rating-badge .ss-rating-stars{font-size:12px!important;}
  .ss-home-hero>.ss-google-rating-badge small,
  .ss-subhero>.ss-google-rating-badge small{font-size:8px!important;}
}
@media (max-width:700px){
  .ss-home-hero>.ss-google-rating-badge,
  .ss-subhero>.ss-google-rating-badge{
    right:10px!important;bottom:8px!important;
    width:174px!important;min-width:174px!important;max-width:calc(100% - 20px)!important;
    height:64px!important;min-height:64px!important;max-height:64px!important;
    padding:7px 9px!important;gap:7px!important;
    border-radius:10px!important;
  }
  .ss-home-hero>.ss-google-rating-badge .ss-google-g-img,
  .ss-subhero>.ss-google-rating-badge .ss-google-g-img{width:31px!important;height:31px!important;flex-basis:31px!important;}
  .ss-home-hero>.ss-google-rating-badge .ss-google-rating-copy>strong,
  .ss-subhero>.ss-google-rating-badge .ss-google-rating-copy>strong{font-size:9px!important;}
  .ss-home-hero>.ss-google-rating-badge .ss-rating-line>b,
  .ss-subhero>.ss-google-rating-badge .ss-rating-line>b{font-size:17px!important;}
  .ss-home-hero>.ss-google-rating-badge .ss-rating-stars,
  .ss-subhero>.ss-google-rating-badge .ss-rating-stars{font-size:10px!important;}
  .ss-home-hero>.ss-google-rating-badge small,
  .ss-subhero>.ss-google-rating-badge small{font-size:7px!important;}
}
