/* /search/ : search up front, "how we read it" line, count bars, three-call steps. Widths via classes (CSP blocks inline styles). */
.sx-intro{padding-bottom:30px}
.sx-intro>.shell>p:not(.eyebrow){max-width:640px}
.sx-search{max-width:760px;margin-top:22px;padding:6px 6px 6px 16px;box-shadow:0 8px 24px #2443670d;position:relative}
.sx-search input{font-size:16px;min-height:44px}
.sx-search .button{min-height:44px}
.sx-read{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;font-size:13px}
.sx-read .filter-tag{font-size:13px}
.sx-label{color:var(--slate)}
.sx-match{display:inline-flex;align-items:center;padding:5px 10px;border-radius:4px;background:var(--blue);color:#fff;font-weight:700;font-size:13px}
a.sx-match:hover{background:#104cbe}
.sx-fell{flex-basis:100%;color:#7a5a12;font-weight:600}

.sx-side{position:sticky;top:20px;display:grid;gap:18px}
.sx-side .filter-sidebar{position:static}
.sx-steps{border:1px solid var(--line);border-radius:6px;padding:20px 20px 8px;background:var(--pale)}
.sx-steps h2{font-size:15px;letter-spacing:-.2px;line-height:1.3;margin-bottom:14px}
.sx-steps ol{list-style:none;margin:0;padding:0;counter-reset:sx}
.sx-steps li{position:relative;padding:0 0 16px 38px;counter-increment:sx}
.sx-steps li::before{content:counter(sx);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font:700 13px Sora,sans-serif}
.sx-steps li:not(:last-child)::after{content:"";position:absolute;left:12px;top:30px;bottom:4px;width:2px;background:#c9d8ee}
.sx-steps strong{display:block;font-size:13px;line-height:1.35;margin-top:3px}
.sx-steps span{display:block;font-size:12px;line-height:1.5;color:var(--slate);margin-top:3px}

.sx-start{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:8px}
.sx-split:has(>.sx-panel:only-child){grid-template-columns:1fr}
.sx-panel{border:1px solid var(--line);border-radius:7px;padding:20px 20px 12px;background:#fff}
.sx-panel h2{font-size:19px;letter-spacing:-.4px;line-height:1.3}
.sx-panel>p{font-size:13px;color:var(--slate);margin:4px 0 12px}
.sx-bars{list-style:none;margin:0;padding:0}
.sx-bars a{display:grid;grid-template-columns:1fr auto;grid-template-areas:"name n" "bar bar";gap:4px 10px;padding:7px 8px;margin-inline:-8px;border-radius:6px;color:var(--ink)}
.sx-bars a:hover,.sx-bars a:focus-visible{background:#f0f5fd}
.sx-bars a:hover .sx-name{color:var(--blue)}
.sx-name{grid-area:name;font-size:14px;font-weight:650;line-height:1.3}
.sx-bars b{grid-area:n;font:600 14px Sora,sans-serif;font-variant-numeric:tabular-nums;color:var(--blue)}
.sx-bar{grid-area:bar;height:6px;border-radius:3px;background:#e8eef6;overflow:hidden}
.sx-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#185bd5,#6f9fe8)}
.sx-split .sx-panel:only-child .sx-bars{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
/* browsing: two full-width panels, bars flow in columns so the listings start near the fold */
.sx-start:not(.sx-split){grid-template-columns:1fr}
.sx-start:not(.sx-split) .sx-bars{display:grid;grid-template-columns:repeat(3,1fr);column-gap:28px}

.sx-empty-lead{margin-top:22px!important;font-weight:700;color:var(--ink)!important}
.sx-empty-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px auto 24px;max-width:560px}
.sx-empty-links a{display:inline-flex;gap:7px;align-items:center;border:1px solid #d9e4f3;background:#fff;padding:6px 11px;border-radius:4px;font-size:13px;color:#2a5284}
.sx-empty-links a:hover{border-color:var(--blue)}
.sx-empty-links b{color:var(--blue)}

@media(max-width:1100px){.sx-start{grid-template-columns:1fr}.sx-split .sx-panel:only-child .sx-bars{grid-template-columns:1fr}.sx-start:not(.sx-split) .sx-bars{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.sx-start:not(.sx-split) .sx-bars{grid-template-columns:1fr}}
@media(max-width:800px){
  .sx-side{display:contents}
  .sx-filters{order:1}
  .search-results{order:2}
  .sx-steps{order:3}
}
@media(max-width:560px){
  .sx-search{padding-left:10px}
  .sx-search input{font-size:15px}
  .sx-read{font-size:12px}
  .sx-panel{padding:16px 16px 8px}
  .sx-panel h2{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.sx-bars a{transition:none}}
.sx-bar i.w5{width:5%}.sx-bar i.w10{width:10%}.sx-bar i.w15{width:15%}.sx-bar i.w20{width:20%}.sx-bar i.w25{width:25%}
.sx-bar i.w30{width:30%}.sx-bar i.w35{width:35%}.sx-bar i.w40{width:40%}.sx-bar i.w45{width:45%}.sx-bar i.w50{width:50%}
.sx-bar i.w55{width:55%}.sx-bar i.w60{width:60%}.sx-bar i.w65{width:65%}.sx-bar i.w70{width:70%}.sx-bar i.w75{width:75%}
.sx-bar i.w80{width:80%}.sx-bar i.w85{width:85%}.sx-bar i.w90{width:90%}.sx-bar i.w95{width:95%}.sx-bar i.w100{width:100%}

/* Search results as compact rows: small photo, details, call button. Scoped to /search/; hubs keep the photo cards. */
.sx-layout .results-grid{grid-template-columns:1fr;gap:12px}
.sx-layout .pro-card{display:grid;grid-template-columns:150px minmax(0,1fr) 220px;border-top-width:1px;border-radius:10px}
.sx-layout .pro-card-sponsored{border-left:3px solid #d8a93b}
.sx-layout .pro-photo{aspect-ratio:auto;height:100%;min-height:132px}
.sx-layout .pro-badge{top:8px;left:8px;padding:4px 7px;font-size:9px;letter-spacing:.08em}
.sx-layout .pro-body{padding:16px 20px 14px}
.sx-layout .pro-name{font-size:19px;min-height:0;margin-top:8px}
.sx-layout .pro-line{min-height:0;-webkit-line-clamp:2;font-size:14px;margin-top:6px}
.sx-layout .pro-proof{margin-top:6px;font-size:12px}
.sx-layout .pro-foot{margin:0;padding:16px 18px;border-top:0;border-left:1px solid #edf1f5;display:flex;flex-direction:column;justify-content:center}
.sx-layout .pro-call{font-size:14.5px;padding:11px 12px}
.sx-layout .pro-links{margin-top:10px;font-size:12.5px;gap:10px}
.sx-layout .pro-links a{white-space:nowrap}
.sx-more{text-align:center;margin-top:26px}
.sx-more p{font-size:13px;color:var(--slate);margin-top:10px}
@media(max-width:1100px){.sx-layout .pro-card{grid-template-columns:120px minmax(0,1fr) 200px}}
@media(max-width:700px){
  .sx-layout .pro-card{grid-template-columns:96px minmax(0,1fr)}
  .sx-layout .pro-photo{min-height:0;height:auto;aspect-ratio:1/1;margin:14px 0 0 14px;border-radius:8px}
  .sx-layout .pro-badge{top:auto;bottom:4px;left:4px;right:4px;justify-content:center;padding:3px 4px;font-size:7.5px;letter-spacing:.04em}
  .sx-layout .pro-body{padding:14px 14px 4px}
  .sx-layout .pro-name{font-size:17px}
  .sx-layout .pro-foot{grid-column:1/-1;border-left:0;border-top:1px solid #edf1f5;margin-top:10px;padding:12px 14px 14px}
}

/* Hero: copy + search on the left, "how the search reads it" card on the right. No overflow:hidden (data-suggest dropdown). */
.sx-intro{background:radial-gradient(900px 380px at 88% 0%,#e3ecfb 0%,transparent 70%),#f3f6fb}
.sx-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:56px;align-items:center}
.sx-hero .eyebrow{margin-bottom:12px}
.sx-hero h1{font-size:clamp(36px,3.6vw,50px);letter-spacing:-2px;line-height:1.08}
.sx-problems{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;font-size:13px}
.sx-problems a{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d6e0ec;border-radius:999px;background:#fff;color:var(--ink);font-weight:650}
.sx-problems a:hover{border-color:var(--blue);color:var(--blue)}
.sx-problems b{font:600 12px Sora,sans-serif;color:var(--blue);background:#eaf1ff;border-radius:999px;padding:1px 7px}
.sx-ico{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--blue)}
.sx-flow{margin:0;background:#fff;border:1px solid #dbe4ef;border-radius:14px;padding:22px 24px 18px;box-shadow:0 18px 40px #1a3a6614}
.sx-flow figcaption{font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#5b7186;margin-bottom:14px}
.sx-flow ol{list-style:none;margin:0;padding:0}
.sx-flow li{position:relative;display:grid;grid-template-columns:40px 1fr;gap:14px;align-items:center;padding-bottom:18px}
.sx-flow li:not(:last-child)::after{content:"";position:absolute;left:19px;top:42px;bottom:2px;border-left:2px dashed #b9cbe6}
.sx-step{width:40px;height:40px;border-radius:10px;background:#eaf1ff;display:grid;place-items:center}
.sx-step .sx-ico{width:19px;height:19px}
.sx-flow-end .sx-step{background:var(--blue)}
.sx-flow-end .sx-step .sx-ico{color:#fff}
.sx-flow small{display:block;font-size:12px;color:var(--slate);line-height:1.3}
.sx-flow strong{display:block;font:600 16px/1.35 Sora,sans-serif;color:var(--ink);overflow-wrap:anywhere}
.sx-flow-end strong{color:var(--blue)}
.sx-flow>p{border-top:1px solid #edf1f5;padding-top:12px;margin:0!important;font-size:12.5px!important;color:var(--slate)}
@media(max-width:1000px){.sx-hero{grid-template-columns:1fr;gap:26px}.sx-flow{max-width:520px}}
@media(max-width:560px){.sx-hero h1{font-size:34px;letter-spacing:-1.4px}.sx-problems a{padding:6px 9px;font-size:12px}.sx-flow{padding:18px}.sx-flow strong{font-size:15px}}

/* Service hubs: towns panel + three-call steps under the hero; "Before you call" as a numbered checklist (hubs and combos). */
.sx-hub{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;padding-top:38px;align-items:start}
.sx-hub .sx-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.project-advice ul{list-style:none;padding:0;counter-reset:adv;display:grid;gap:10px}
.project-advice ul li{counter-increment:adv;position:relative;margin:0!important;padding:12px 16px 12px 52px;background:#fff;border:1px solid var(--line);border-radius:8px;line-height:1.6}
.project-advice ul li::before{content:counter(adv);position:absolute;left:14px;top:12px;width:26px;height:26px;border-radius:50%;background:#eaf1ff;color:var(--blue);display:grid;place-items:center;font:700 13px Sora,sans-serif}
@media(max-width:900px){.sx-hub{grid-template-columns:1fr}.sx-hub .sx-steps ol{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.sx-hub .sx-steps li::after{display:none}}
@media(max-width:600px){.sx-hub .sx-bars,.sx-hub .sx-steps ol{grid-template-columns:1fr}.sx-hub{padding-top:26px}.project-advice ul li{padding-left:48px;font-size:15px}}

.page-updated{font-size:13px;color:var(--slate);padding-bottom:34px}
.sx-problems-panel{margin-top:4px}
.sx-areas-map{margin-top:0}

/* Profiles: trade photo hero (reuses .service-hero), call + website up top, numbered steps in the contact card. */
.sx-pro-hero{min-height:360px}
.sx-pro-hero .profile-title-row{max-width:640px}
.sx-pro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}
.sx-pro-actions .button{min-height:46px}
.sx-pro-tier{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:#142d47;color:#fff;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.sx-pro-tier::before{content:"★";color:#e6b84a;margin-right:6px}
.sx-card-steps{list-style:none;margin:18px 0 0;padding:0;counter-reset:cs;display:grid;gap:10px}
.sx-card-steps li{counter-increment:cs;position:relative;padding-left:36px;font-size:14px;line-height:1.5;color:var(--slate)}
.sx-card-steps li::before{content:counter(cs);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:#eaf1ff;color:var(--blue);display:grid;place-items:center;font:700 12px Sora,sans-serif}
.sx-card-steps strong{color:var(--ink)}
@media(max-width:767px){.sx-pro-hero{min-height:0}.sx-pro-actions{display:none}}
.sx-hero h1 br{display:none}
.blog-hire-steps{margin:16px 0 18px}
.blog-local-links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}
.blog-local-links a{display:inline-flex;padding:6px 11px;border:1px solid #d6e0ec;border-radius:999px;background:#fff;font-size:13px}
