/* Solid Pest advertising site. Desktop styling is inline in the templates, copied from the design prototype.
   This file holds the prototype's base rules, its style-hover states and the responsive layer (README breakpoints). */
body{margin:0;background:#f6f5f0;color:#16244a;font-family:'Source Sans 3',sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#263f86;text-decoration:underline;text-underline-offset:3px}
a:hover{color:#16244a}
input,select,textarea,button{font-family:inherit}
[hidden]{display:none!important}
:focus-visible{outline:2px solid #263f86;outline-offset:2px}
.sp-btn{display:inline-block;text-decoration:none;text-align:center}
/* Outline buttons take their height from the row in the design; keep it when they wrap alone. */
.sp-btn-o{min-height:53px}
.sp-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;color:#16244a;padding:12px 16px;font-weight:700}
.sp-skip:focus{left:16px}
.sp-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sp-honeypot{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* style-hover states from the prototype */
.hv-lime:hover{background:#a3c12c!important}
.hv-navy:hover{background:#263f86!important;color:#fff!important}
.hv-bd-white:hover{border-color:#fff!important;color:#fff!important}
.hv-bd-navy:hover{border-color:#16244a!important}
.hv-white:hover{color:#fff!important}
.hv-green:hover{color:#5b7412!important}
.hv-limetext:hover{color:#b4d23c!important}
.hv-tile:hover{background:#16244a!important;color:#fff!important}
.hv-wash:hover{background:#eef3d6!important}
.hv-fade:hover{opacity:.85}
.sp-mtile:active{background:#16244a!important;color:#fff!important}

/* Header navigation */
.sp-nav a{color:inherit;text-decoration:none}
.sp-dd{position:relative}
.sp-dd-menu{display:none;position:absolute;left:-18px;top:100%;padding-top:30px;z-index:20}
.sp-dd:hover .sp-dd-menu,.sp-dd:focus-within .sp-dd-menu{display:block}
.sp-dd-panel{background:#fff;border:1px solid #e2e1da;border-top:3px solid #16244a;min-width:240px;display:flex;flex-direction:column;padding:6px 0}
.sp-dd-panel a{padding:12px 18px;font:600 15px/1 'Source Sans 3',sans-serif}
.sp-menu-btn{display:none}
.sp-mnav{border-top:1px solid #e2e1da;background:#fff;padding:0 32px 24px;max-height:calc(100vh - 76px);overflow:auto}
.sp-mnav-group{display:flex;flex-direction:column;margin-top:20px}
.sp-mnav-group span{font:600 10px/1 'IBM Plex Mono',monospace;letter-spacing:.1em;color:#5b7412;margin-bottom:10px}
.sp-mnav-group a{display:flex;justify-content:space-between;align-items:center;min-height:48px;border-top:1px solid #e2e1da;font:700 16px/1.2 'Archivo',sans-serif;color:#16244a;text-decoration:none}
.sp-mnav-group a b{color:#5b7412}

/* Footer links keep the prototype's plain-text look */
.sp-footer a{color:inherit;text-decoration:none}
.sp-footer a:hover{color:#fff}

/* Selectable chips and tiles (prototype chip(): white / navy selected, lime arrow) */
.sp-chip{background:#fff;color:#16244a;border:1px solid #c9c8be}
.sp-chip:hover{border-color:#16244a}
.sp-chip:has(input:checked){background:#16244a;color:#fff;border-color:#16244a}
.sp-chip:has(input:focus-visible),.sp-upload:has(input:focus-visible){outline:2px solid #263f86;outline-offset:2px}
.sp-arrow{color:#5b7412}
.sp-chip:has(input:checked) .sp-arrow{color:#b4d23c}
.sp-tick{font:800 20px/1 'Archivo',sans-serif}
.sp-tick::after{content:'+'}
.sp-chip:has(input:checked) .sp-tick::after{content:'✓'}

/* Quote flow */
.step-bar{flex:1;height:4px;background:#d6d5cc;transition:background .2s}
.step-bar.is-done{background:#16244a}
#quote-done,#home-done{scroll-margin-top:96px}
[data-form-status]:empty{display:none}
.sp-suggest-item{cursor:pointer;padding:12px 16px;border-top:1px solid #eeede6;font-size:17px}
.sp-suggest-item:hover,.sp-suggest-item[aria-selected="true"]{background:#eef3d6}

/* FAQ accordion and tabs */
.sp-faq summary{list-style:none}
.sp-faq summary::-webkit-details-marker{display:none}
.sp-faq-icon::after{content:'+'}
.sp-faq[open] .sp-faq-icon::after{content:'−'}
.sp-tab{border-bottom:3px solid transparent!important}
.sp-tab[aria-selected="true"]{border-bottom-color:#b4d23c!important}

.sp-only-mobile{display:none}

/* 768–1099: header collapses; dense grids halve */
@media (max-width:1099px){
  .sp-nav{display:none!important}
  .sp-menu-btn{display:block}
  .sp-grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sp-footer-cols{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* Two-column halves stack before the text measure drops below ~420px */
@media (max-width:899px){
  .sp-stack,.sp-split,.sp-hero,.sp-quote{grid-template-columns:minmax(0,1fr)!important}
  .sp-hero,.sp-split{min-height:0!important}
  .sp-hero-text{padding:48px 0 40px!important}
  .sp-hero-photo{margin:0 -32px!important;min-height:280px}
  .sp-split-text{padding:56px 0!important}
  .sp-split-photo{order:2;margin:0 -32px!important;min-height:280px}
  .sp-panel-side{border-left:0!important;padding-left:0!important;border-top:1px solid #34467a;padding-top:32px}
  .sp-grid3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sp-review{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  .sp-review figcaption{border-left:0!important;padding-left:0!important;border-top:1px solid #e2e1da;padding-top:14px}
  .sp-rig-photo{min-height:280px!important}
}
/* <768: single column, mobile homepage composition, sticky action bar */
@media (max-width:767px){
  .sp-wrap{padding-left:16px!important;padding-right:16px!important}
  .sp-only-desktop{display:none!important}
  .sp-only-mobile{display:block}
  .sp-header{position:sticky!important;top:0;z-index:20!important}
  .sp-header-in{height:64px!important;justify-content:space-between}
  .sp-logo{height:28px!important}
  .sp-hphone,.sp-hcta{display:none!important}
  .sp-mnav{padding:0 16px 24px;max-height:calc(100vh - 64px)}
  .sp-hero-text{padding:28px 0 24px!important;gap:14px!important}
  .sp-hero-photo{margin:0 -16px!important;min-height:150px}
  .sp-split-photo{margin:0 -16px!important;min-height:220px}
  .sp-h1-home,.sp-h1-inner{font-size:34px!important}
  .sp-h1-quote{font-size:30px!important}
  .sp-h2{font-size:28px!important}
  .sp-sec{padding-top:56px!important;padding-bottom:56px!important}
  .sp-band{padding:48px 0!important}
  .sp-grid4,.sp-grid3,.sp-grid2,.sp-ind{grid-template-columns:minmax(0,1fr)!important}
  .sp-trust{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sp-trust>div{border-right:0!important;border-bottom:1px solid #e2e1da;padding:16px 12px 16px 0!important}
  .sp-quick>div{border-right:0!important;border-bottom:1px solid #e2e1da;padding:16px 0!important}
  .sp-strip{gap:10px 24px!important}
  .sp-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sp-panel{padding:28px!important}
  .sp-rig-photo{min-height:220px!important}
  .sp-suburbs{columns:2!important}
  .sp-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sp-quote{padding-top:32px!important}
}
/* Pest facts strip: breathing room either side of the dividers; first cell aligns to the page edge. */
.sp-quick>div:first-child{padding-left:0!important}
.sp-quick>div:last-child{border-right:0!important}
/* Home pest tiles: pest image behind a navy wash so the design type stays legible. */
.sp-ptile{position:relative;overflow:hidden;isolation:isolate}
.sp-tile-bg{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.sp-ptile.has-img{background:#16244a!important;color:#fff!important;text-shadow:0 1px 3px rgba(10,18,40,.55)}
.sp-ptile.has-img>span:last-child{text-shadow:none}
.sp-ptile.has-img::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(22,36,74,.18) 0%,rgba(22,36,74,.5) 45%,rgba(22,36,74,.9) 100%);transition:background .15s}
.sp-ptile.has-img:hover .sp-tile-bg{transform:scale(1.06)}
.sp-ptile.has-img:hover::after{background:rgba(22,36,74,.9)}
.sp-mtile.has-img{min-height:72px!important;border-color:#16244a!important}
.sp-mtile.has-img::after{background:linear-gradient(90deg,rgba(22,36,74,.9) 0%,rgba(22,36,74,.55) 100%)}
.sp-mtile.has-img>span{color:#b4d23c!important}
