:root{
  --kc-campaign-red:#d12c06;
  --kc-campaign-red-dark:#a92305;
  --kc-campaign-charcoal:#171717;
  --kc-campaign-panel:#1d1d1d;
  --kc-campaign-white:#fff;
  --kc-campaign-muted:#c8c8c8;
}

.kc-spring-overlay,
.kc-spring-overlay *{
  box-sizing:border-box;
}

.kc-spring-overlay{
  position:fixed;
  inset:0;
  z-index:1000000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(5,5,5,.84);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}

.kc-spring-overlay.is-open{
  display:flex;
  animation:kcSpringFade .2s ease-out both;
}

.kc-spring-popup{
  position:relative;
  display:grid;
  grid-template-columns:minmax(300px,39%) minmax(0,61%);
  width:min(1000px,calc(100vw - 36px));
  max-height:calc(100dvh - 36px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  background:var(--kc-campaign-charcoal);
  color:var(--kc-campaign-white);
  box-shadow:0 34px 90px rgba(0,0,0,.52);
  animation:kcSpringEnter .32s cubic-bezier(.2,.75,.25,1) both;
  isolation:isolate;
}

.kc-spring-popup__close{
  position:absolute;
  top:13px;
  right:13px;
  z-index:10;
  width:42px;
  height:42px;
  margin:0;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  background:var(--kc-campaign-red);
  color:#fff;
  font:700 27px/1 Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 7px 18px rgba(0,0,0,.24);
  transition:background .18s ease,transform .18s ease;
}

.kc-spring-popup__close:hover,
.kc-spring-popup__close:focus-visible{
  background:var(--kc-campaign-red-dark);
  transform:scale(1.04);
  outline:2px solid #fff;
  outline-offset:2px;
}

.kc-spring-popup__visual{
  position:relative;
  min-height:590px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(0,0,0,.08) 45%,rgba(0,0,0,.76) 100%),
    url('/assets/images/gallery/kowski-construction-modern-patio-fire-table-800.webp') center center/cover no-repeat;
}

.kc-spring-popup__visual::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset -26px 0 48px rgba(0,0,0,.22);
}

.kc-spring-popup__visual-copy{
  position:absolute;
  z-index:2;
  left:24px;
  right:24px;
  bottom:24px;
}

.kc-spring-popup__kicker{
  display:inline-flex;
  align-items:center;
  margin:0 0 10px;
  padding:7px 10px 6px;
  background:var(--kc-campaign-red);
  color:#fff;
  font-size:10px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.kc-spring-popup__visual-title{
  margin:0;
  max-width:280px;
  color:#fff;
  font-size:29px;
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.03em;
  text-transform:uppercase;
  text-shadow:0 3px 16px rgba(0,0,0,.5);
}

.kc-spring-popup__content{
  min-width:0;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  padding:31px 38px 27px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(135deg,rgba(255,255,255,.025),transparent 46%),
    var(--kc-campaign-charcoal);
}

.kc-spring-popup__logo-wrap{
  width:min(258px,70%);
  margin:0 0 14px;
  padding:6px 9px 5px;
  background:#fff;
  border:1px solid rgba(255,255,255,.9);
  border-radius:7px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.kc-spring-popup__logo{
  display:block;
  width:100%;
  height:auto;
  max-height:61px;
  object-fit:contain;
  object-position:left center;
}

.kc-spring-popup__eyebrow{
  margin:0 0 7px;
  color:var(--kc-campaign-red);
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.kc-spring-popup__title{
  margin:0;
  max-width:520px;
  color:#fff;
  font-size:clamp(39px,3.2vw,51px);
  line-height:.9;
  letter-spacing:-.042em;
  font-weight:900;
  text-transform:uppercase;
}

.kc-spring-popup__title span{
  display:block;
  color:var(--kc-campaign-red);
}

.kc-spring-popup__subhead{
  margin:14px 0 5px;
  color:#fff;
  font-size:18px;
  line-height:1.2;
  font-weight:800;
}

.kc-spring-popup__body{
  margin:0;
  max-width:560px;
  color:var(--kc-campaign-muted);
  font-size:14px;
  line-height:1.52;
}

.kc-spring-popup__trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin:15px 0 0;
}

.kc-spring-popup__trust span{
  min-width:0;
  min-height:47px;
  padding:8px 6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.025);
  color:#cfcfcf;
  text-align:center;
  font-size:8.5px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.035em;
  text-transform:uppercase;
}

.kc-spring-popup__trust strong{
  color:#fff;
  font-size:9.5px;
  line-height:1.2;
}

.kc-spring-popup__cta{
  width:100%;
  min-height:54px;
  margin:15px 0 0;
  padding:13px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-radius:7px;
  background:var(--kc-campaign-red);
  color:#fff!important;
  text-decoration:none!important;
  text-align:center;
  font-size:13px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  box-shadow:0 12px 28px rgba(209,44,6,.26);
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}

.kc-spring-popup__cta:hover,
.kc-spring-popup__cta:focus-visible{
  background:var(--kc-campaign-red-dark);
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(209,44,6,.34);
  outline:2px solid #fff;
  outline-offset:2px;
}

.kc-spring-popup__cta span{
  font-size:19px;
  line-height:1;
}

.kc-spring-popup__fineprint{
  margin:8px 0 0;
  color:#999;
  text-align:center;
  font-size:10.5px;
  line-height:1.35;
}

@keyframes kcSpringFade{
  from{opacity:0}
  to{opacity:1}
}

@keyframes kcSpringEnter{
  from{opacity:0;transform:translateY(16px) scale(.988)}
  to{opacity:1;transform:none}
}

/* Short desktop/laptop displays: keep the entire conversion path in view. */
@media (min-width:761px) and (max-height:760px){
  .kc-spring-overlay{padding:12px}
  .kc-spring-popup{
    width:min(940px,calc(100vw - 24px));
    max-height:calc(100dvh - 24px);
    grid-template-columns:minmax(285px,37%) minmax(0,63%);
  }
  .kc-spring-popup__visual{min-height:0}
  .kc-spring-popup__visual-title{font-size:25px}
  .kc-spring-popup__content{padding:22px 34px 20px;justify-content:flex-start}
  .kc-spring-popup__logo-wrap{width:218px;margin-bottom:10px;padding:5px 8px 4px}
  .kc-spring-popup__logo{max-height:49px}
  .kc-spring-popup__eyebrow{margin-bottom:5px;font-size:10px}
  .kc-spring-popup__title{font-size:39px;line-height:.89}
  .kc-spring-popup__subhead{margin:10px 0 4px;font-size:16px}
  .kc-spring-popup__body{font-size:13px;line-height:1.42}
  .kc-spring-popup__trust{margin-top:11px}
  .kc-spring-popup__trust span{min-height:40px;padding:6px 4px;font-size:7.8px}
  .kc-spring-popup__trust strong{font-size:8.8px}
  .kc-spring-popup__cta{min-height:48px;margin-top:11px;padding:11px 15px}
  .kc-spring-popup__fineprint{margin-top:6px;font-size:9.5px}
}

/* True mobile layout: one column, internally scrollable, no clipped CTA. */
@media (max-width:760px){
  .kc-spring-overlay{
    align-items:center;
    padding:8px;
  }

  .kc-spring-popup{
    display:block;
    width:min(540px,calc(100vw - 16px));
    max-height:calc(100dvh - 16px);
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    border-radius:15px;
  }

  .kc-spring-popup__close{
    position:sticky;
    float:right;
    top:10px;
    right:10px;
    width:38px;
    height:38px;
    margin:10px 10px -48px 0;
    font-size:25px;
  }

  .kc-spring-popup__visual{
    min-height:0;
    height:clamp(132px,24dvh,185px);
    background-position:center 58%;
  }

  .kc-spring-popup__visual::after{
    box-shadow:inset 0 -46px 55px rgba(0,0,0,.42);
  }

  .kc-spring-popup__visual-copy{
    left:15px;
    right:58px;
    bottom:12px;
  }

  .kc-spring-popup__kicker{
    margin:0;
    padding:6px 8px 5px;
    font-size:8.5px;
  }

  .kc-spring-popup__visual-title{display:none}

  .kc-spring-popup__content{
    overflow:visible;
    padding:19px 18px 17px;
    justify-content:flex-start;
  }

  .kc-spring-popup__logo-wrap{
    width:200px;
    max-width:64%;
    margin-bottom:10px;
    padding:5px 8px 4px;
  }

  .kc-spring-popup__logo{max-height:44px}

  .kc-spring-popup__eyebrow{
    margin-bottom:5px;
    font-size:9px;
    letter-spacing:.14em;
  }

  .kc-spring-popup__title{
    max-width:none;
    font-size:clamp(29px,9.2vw,37px);
    line-height:.91;
  }

  .kc-spring-popup__subhead{
    margin:10px 0 4px;
    font-size:15px;
  }

  .kc-spring-popup__body{
    max-width:none;
    font-size:12.8px;
    line-height:1.43;
  }

  .kc-spring-popup__trust{
    gap:4px;
    margin-top:11px;
  }

  .kc-spring-popup__trust span{
    min-height:42px;
    padding:6px 4px;
    font-size:7.3px;
    letter-spacing:.02em;
  }

  .kc-spring-popup__trust strong{font-size:8.3px}

  .kc-spring-popup__cta{
    min-height:50px;
    margin-top:11px;
    padding:11px 14px;
    font-size:12px;
  }

  .kc-spring-popup__fineprint{
    margin-top:6px;
    font-size:9.5px;
  }
}

@media (max-width:390px){
  .kc-spring-popup__visual{height:125px}
  .kc-spring-popup__content{padding:16px 15px 15px}
  .kc-spring-popup__logo-wrap{width:180px;margin-bottom:8px;padding:4px 7px 3px}
  .kc-spring-popup__title{font-size:28px}
  .kc-spring-popup__body{font-size:12.3px}
  .kc-spring-popup__trust span{font-size:6.9px}
  .kc-spring-popup__trust strong{font-size:7.8px}
}

@media (max-width:760px) and (max-height:650px){
  .kc-spring-popup__visual{height:105px}
  .kc-spring-popup__content{padding-top:14px}
  .kc-spring-popup__logo-wrap{width:170px;margin-bottom:7px;padding:4px 7px 3px}
  .kc-spring-popup__eyebrow{margin-bottom:4px}
  .kc-spring-popup__title{font-size:27px}
  .kc-spring-popup__subhead{margin-top:8px}
}

@media (prefers-reduced-motion:reduce){
  .kc-spring-overlay.is-open,
  .kc-spring-popup{animation:none}
}
