/* SL-HERO */
.sl-hero{background:linear-gradient(180deg,var(--sl-pale) 0%,var(--sl-pale) 50%,var(--pb-surface) 100%)}
/* Background photo with a light wash, so the dark heading stays easy to read. */
.sl-hero.has-bg{position:relative;overflow:hidden;border-radius:0 0 40px 40px;background:var(--sl-hero-bg) center 60%/cover no-repeat}
@media (max-width:640px){.sl-hero.has-bg{border-radius:0 0 24px 24px}}
/* A soft shade over the photo (strongest behind the text) so white type stays readable. */
.sl-hero.has-bg:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 75% 80% at 50% 48%,rgba(8,17,29,.58) 0%,rgba(8,17,29,.42) 55%,rgba(8,17,29,.22) 100%)}
.sl-hero.has-bg .sl-hero__in{position:relative}
.sl-hero.has-bg .sl-hero__h,.sl-hero.has-bg .sl-hero__sub,.sl-hero.has-bg .sl-hero__note{color:#fff;text-shadow:0 2px 14px rgba(8,17,29,.45)}
.sl-hero.has-bg .sl-hero__box{border-color:#fff;box-shadow:0 12px 34px rgba(8,17,29,.3)}
.sl-hero__in{padding:88px 0 96px;display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.sl-hero__h{font-size:clamp(40px,5.4vw,76px);max-width:900px}
.sl-hero__sub{margin:0;font-size:19px;line-height:1.45;color:var(--pb-muted);max-width:580px}

/* One-line search: what needs fixing | ZIP | go */
.sl-hero__box{width:100%;max-width:720px;background:var(--pb-surface);border:2px solid var(--pb-primary);border-radius:999px;box-shadow:0 10px 30px rgba(14,27,44,.12);margin-top:8px;text-align:left;overflow:hidden;transition:box-shadow .15s}
.sl-hero__box:focus-within{box-shadow:0 12px 36px rgba(14,27,44,.18)}
.sl-hero__form{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;padding:6px;margin:0}
.sl-hero__field{display:flex;align-items:center;gap:10px;min-width:0;color:var(--pb-primary)}
.sl-hero__field--q{flex:1 1 auto;padding:0 6px 0 18px}
.sl-hero__field--zip{flex:0 0 160px;padding:0 6px 0 14px;border-left:2px solid var(--pb-border)}
.sl-hero__field svg{flex:none;width:20px;height:20px}
.sl-hero__field input{flex:1;height:50px;border:0;background:transparent;font:inherit;font-size:17px;min-width:0;width:100%;padding:0;color:var(--pb-text)}
.sl-hero__go{min-height:50px;height:50px;padding:0 24px;font-size:17px}
.sl-hero__field input:focus{outline:none}
.sl-hero__field input::placeholder{color:var(--pb-muted);opacity:1}
.sl-hero__go{flex:none}
.sl-hero__go-icon{display:none}
.sl-hero__note{margin:0;font-size:16px;color:var(--pb-muted)}

/* Sticky search bar, shown after the hero search scrolls away */
.sl-sticky{position:fixed;top:0;left:0;right:0;z-index:1000;padding:12px 0;background:var(--pb-surface);box-shadow:0 6px 24px rgba(14,27,44,.10);transform:translateY(-110%);opacity:0;transition:transform .25s ease,opacity .2s ease;pointer-events:none}
.sl-sticky.is-on{transform:none;opacity:1;pointer-events:auto}
.sl-sticky__form{max-width:860px;margin:0 auto;border:2px solid var(--pb-primary);border-radius:999px;background:var(--pb-surface);padding:5px}
.sl-sticky .sl-hero__field input{height:48px;font-size:18px}
.sl-sticky .sl-hero__go{min-height:48px;height:48px}
.admin-bar .sl-sticky{top:32px}
@media (max-width:782px){.admin-bar .sl-sticky{top:46px}}
@media (prefers-reduced-motion:reduce){.sl-sticky{transition:none}}

@media (max-width:640px){
  .sl-sticky{padding:8px 0}
  .sl-sticky .sl-hero__field input{height:42px;font-size:16px}
  .sl-sticky .sl-hero__go{width:42px;min-height:42px;height:42px}
  .sl-hero__in{padding:40px 0 48px;gap:18px}
  .sl-hero__sub{font-size:17px}
  .sl-hero__box{border-width:2px}
  .sl-hero__form{gap:2px;padding:4px}
  .sl-hero__field{gap:8px}
  .sl-hero__field--q{padding:0 2px 0 16px}
  .sl-hero__field--q svg{display:none}
  .sl-hero__field--zip{flex:0 0 80px;padding:0 2px 0 10px}
  .sl-hero__field--zip svg{display:none}
  .sl-hero__field input{height:50px;font-size:16px}
  .sl-hero__go{width:48px;min-height:48px;height:48px;padding:0}
  .sl-hero__go-text{display:none}
  .sl-hero__go-icon{display:block}
}
