/* HomeCall – public website pages of builder A (home, listing, service, provider, become a pro, help, search, CMS
   pages). base.css is the approved design; this file only adds what the live pages need. Tokens only, light + dark. */
.eb-amb{color:var(--amb)}
.err{display:block;margin-top:4px;font-size:.8rem;font-weight:600;color:var(--bad)}
.f>span:first-child b{color:var(--ink)}

/* ZIP check answer + "tell me when you serve my area" */
.zip-res a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.zip-res .ic{flex:none}
.zip-res:empty{display:none}
.zip-notify{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;max-width:520px}
.zip-notify .inp{flex:1;min-width:0}
.zip-notify .btn{flex:none}

/* static map fallback: zoom marks look like the design's buttons */
.mctl span{width:36px;height:36px;border-radius:10px;background:var(--surface);border:1px solid var(--line);display:grid;place-items:center;color:var(--ink-2);box-shadow:var(--shadow)}
.live-map .m-fallback{display:none}

/* listing: filters become a toggled panel below 1100 px */
.filt-t{display:none}
.cat-links{display:flex;flex-wrap:wrap;gap:8px;align-content:center}
.svc-l{display:flex;flex-direction:column;gap:14px}
.pagination,nav[role=navigation]{margin-top:18px}
@media (max-width:1099px){
  .filt-t{display:inline-flex}
  .filt.on{display:block}
}

/* service page */
.gal.one{grid-template-columns:1fr;grid-template-rows:1fr}
.gal.one .ph:first-child{grid-row:auto}
.buy .f .tiny{font-weight:400}
.buy.busy [data-s]{opacity:.55;transition:opacity .2s}

/* provider page */
.pp-cover{height:220px;background:linear-gradient(120deg,var(--pc),var(--pri));position:relative;overflow:hidden;color:var(--pri-ink)}
.pp-cover svg{position:absolute;inset:0;width:100%;height:100%;opacity:.25}
.pp-cover img{width:100%;height:100%;object-fit:cover}
.pp-head{display:flex;gap:20px;flex-wrap:wrap;align-items:flex-end}
.pp-logo{width:110px;height:110px;border-radius:28px;font-size:2rem;border:5px solid var(--surface);object-fit:cover;flex:none}
.pp-socs a{background:var(--surface-3);color:var(--ink)}
.pp-socs a:hover{color:var(--pri-ink)}
.pp-num{box-shadow:none;padding:12px;min-width:0}
.pp-num b{font-size:1.2rem}
@media (max-width:979px){#pp{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:640px){.pp-logo{width:84px;height:84px;border-radius:22px;font-size:1.5rem}.pp-cover{height:160px}#pp .g4{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* help center */
.help-ic{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--pri-soft);color:var(--pri-soft-ink);flex:none}
.help-g{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
@media (max-width:979px){.help-g{grid-template-columns:minmax(0,1fr)}}

/* search type-ahead */
.srch{position:relative}
.sugg{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;padding:6px;max-height:360px;overflow:auto;text-align:left}
.sugg a{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border-radius:10px;color:var(--ink)}
.sugg a small{margin-left:auto;color:var(--muted);font-size:.78rem}
.sugg a:hover,.sugg a.on{background:var(--surface-3)}

/* become a pro */
.drop{position:relative;cursor:pointer}
.hc-file{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.drop:focus-within{border-color:var(--pri)}
.bs-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.bs-steps li{display:flex;gap:12px;align-items:flex-start;color:var(--muted)}
.bs-steps li div{display:flex;flex-direction:column;gap:2px;min-width:0}
.bs-steps li b{color:var(--ink)}
.bs-steps li.done>.ic{color:var(--ok)}
.bs-steps li.now>.ic{color:var(--amb-deep)}
.bs-steps li.bad>.ic{color:var(--bad)}

/* CMS pages */
.cms-body{line-height:1.7;color:var(--ink-2);overflow-wrap:anywhere}
.cms-body h2,.cms-body h3{color:var(--ink);margin:1.4em 0 .5em}
.cms-body h2:first-child,.cms-body h3:first-child{margin-top:0}
.cms-body p,.cms-body ul,.cms-body ol{margin:0 0 1em}
.cms-body ul,.cms-body ol{padding-left:1.3em}
.cms-body a{color:var(--pri);text-decoration:underline}
.cms-body img{max-width:100%;height:auto;border-radius:12px}
.cms-body table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.cms-body td,.cms-body th{border:1px solid var(--line);padding:8px}
.svc-g[hidden],[data-help-empty][hidden],.faq[hidden],[data-s-taxrow][hidden]{display:none!important}
/* covered ZIP centres on the live maps: small dots instead of numbered pins */
.m-pin2.k-dot{min-width:14px;width:14px;height:14px;padding:0;border-width:2.5px}
/* install banner: the long iPhone hint wraps instead of widening the column past the card on phones */
.appb>div{min-width:0}
@media (max-width:640px){.appb .row .btn{white-space:normal;text-align:left;height:auto;min-height:48px;padding-top:10px;padding-bottom:10px}}
