/* The directory shares the home page's Medeo, pine, paper and gold. */
.directory-hero-photo { position:relative; isolation:isolate; padding-bottom:46px; }
.directory-hero-photo::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#142d2cf5 10%,#142d2cd9 55%,#142d2c70),url('/assets/roofer-at-work.webp') center 38%/cover; }
.directory-hero-photo h1 { max-width:28ch; font-size:clamp(2.4rem,4.5vw,4.1rem); }
.directory-hero-photo .catalog-search { margin-top:28px; }
.search-feedback { margin-top:12px; color:#f7e5b3; font-size:.9rem; }
.is-searching .find-button { cursor:progress; }
.is-searching .find-button span { animation:search-turn 1s linear infinite; }
.is-searching #directory-results { opacity:.55; transition:opacity .15s; pointer-events:none; }
@keyframes search-turn { to { transform:rotate(360deg); } }
.catalog-body { padding-block:30px 70px; outline:none; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.results-count { font-size:1.35rem; letter-spacing:-.025em; }
.results-count strong { font-weight:700; }
.results-count>span { color:var(--muted); font-size:1rem; letter-spacing:0; }
.catalog-view-switch { display:flex; padding:4px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.catalog-view-switch button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:8px 16px; border:0; border-radius:5px; background:transparent; font-size:.88rem; font-weight:600; }
.catalog-view-switch [aria-pressed=true] { background:var(--pine); color:white; }
.catalog-view-switch svg,.refined-filters summary svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.5; }
.catalog-controls { position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; padding-block:0 20px; border-bottom:1px solid var(--line); margin-bottom:25px; }
.catalog-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:30px; align-items:start; }
.catalog-primary { grid-column:2; grid-row:1; min-width:0; }
.catalog-filter-sidebar { grid-column:1; grid-row:1; position:sticky; top:18px; max-height:calc(100dvh - 36px); overflow:auto; scrollbar-width:thin; scrollbar-color:#a9b9a4 transparent; }
.refined-filters { border:1px solid #c8d1c2; border-radius:7px; background:#fff; overflow:hidden; }
.refined-filters>summary { display:flex; align-items:center; gap:9px; cursor:pointer; list-style:none; font-weight:600; padding:18px 20px; min-height:56px; border:0; background:white; }
.refined-filters>summary::-webkit-details-marker { display:none; }
.refined-filters[open]>summary { border-bottom:1px solid var(--line); }
.filter-count { display:grid; place-items:center; width:23px; height:23px; border-radius:50%; background:var(--pine); color:#fff; font-size:.75rem; }
.refined-filters form { padding:20px; }
.refined-filter-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.refined-filters label,.refined-filters legend { font-size:.82rem; font-weight:600; }
.refined-filter-grid label { display:block; margin-bottom:7px; }
.refined-filter-grid input,.refined-filter-grid select,.results-sort select { width:100%; min-height:45px; padding:9px 11px; border:1px solid #bdc6bc; border-radius:5px; background:var(--paper); font-size:.9rem; }
.property-filter { display:flex; flex-direction:column; gap:7px; padding:0; margin:22px 0; border:0; }
.property-filter legend { margin-bottom:8px; }
.property-filter label { position:relative; display:flex; gap:8px; align-items:center; padding:8px 11px; border:1px solid var(--line); border-radius:5px; cursor:pointer; }
.property-filter label:has(:checked) { border-color:var(--pine); background:#eaf0e8; }
.property-filter input { accent-color:var(--pine); }
.filter-panel-footer { display:flex; flex-direction:column-reverse; gap:15px; align-items:stretch; padding-top:18px; border-top:1px solid var(--line); }
.filter-panel-footer p { color:var(--muted); font-size:.73rem; line-height:1.55; }
.filter-panel-footer .button { padding-inline:10px; font-size:.84rem; }
.active-filter-summary { display:flex; flex:1; flex-wrap:wrap; align-items:center; gap:6px; font-size:.8rem; }
.active-filter-summary>span:not(.browse-description) { padding:5px 10px; border-radius:4px; background:#e7ebe3; }
.active-filter-summary a { padding:8px; }
.browse-description { color:var(--muted); }
.results-sort { display:flex; align-items:center; gap:9px; margin-left:auto; }
.results-sort label { font-size:.8rem; color:var(--muted); }
.results-sort select { min-height:42px; width:auto; background:transparent; border-color:transparent; }
.company-list { display:grid; gap:20px; }
.company-card { display:block; min-width:0; padding:24px; border:1px solid #cdd4ca; border-radius:8px; background:#fff; box-shadow:none; }
.company-card-main { display:flex; gap:26px; }
.company-card-copy { min-width:0; flex:1; }
.company-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.company-card-identity { display:flex; align-items:center; gap:16px; min-width:0; }
.company-logo { display:grid; place-items:center; flex:none; width:84px; height:64px; padding:8px; border:1px solid #e2e5de; border-radius:5px; }
.logo-light { background:white; }
.logo-pine { background:var(--pine); }
.company-logo img { width:100%; height:100%; object-fit:contain; }
.company-card h2 { font-size:1.3rem; line-height:1.2; letter-spacing:-.02em; }
.company-card h2 a { text-decoration:none; }
.company-card h2 a:hover { text-decoration:underline; }
.company-location { margin-top:5px; font-size:.85rem; color:var(--muted); }
.company-card .compare-check { flex:none; gap:7px; margin:0; padding:5px 0; font-size:.76rem; }
.compare-check input { accent-color:var(--pine); width:17px; height:17px; }
.card-address { margin-top:15px; font-size:.82rem; color:var(--muted); }
.company-summary { max-width:76ch; margin-top:13px; color:#3f5047; font-size:.94rem; line-height:1.55; }
.company-card .service-tags { display:flex; flex-wrap:wrap; gap:6px; margin:16px 0 0; padding:0; list-style:none; }
.company-card .service-tags li { border:0; border-radius:4px; padding:4px 8px; background:#eff1eb; font-size:.74rem; color:#465448; }
.card-email { display:inline-block; margin-top:12px; font-size:.82rem; overflow-wrap:anywhere; }
.company-card-photo { position:relative; flex:0 0 260px; min-height:190px; max-height:240px; overflow:hidden; border-radius:5px; }
.company-card-photo img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.company-card-photo:hover img { transform:scale(1.025); }
.company-card-photo>span { position:absolute; right:9px; bottom:9px; padding:4px 9px; border-radius:4px; font-size:.75rem; color:#fff; background:#142d2ce8; }
.company-card-bottom { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:20px; padding-top:16px; border-top:1px solid #e2e6dd; }
.card-estimate { font-size:.8rem; color:var(--muted); }
.company-card-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; }
.company-card-actions .button { padding:10px 18px; min-height:43px; font-size:.84rem; }
.phone-action { font-size:.86rem; font-weight:600; white-space:nowrap; }
.catalog-results-layout { min-width:0; }
.catalog-results-layout.is-map-view { display:grid; grid-template-columns:minmax(330px,.9fr) minmax(0,1.25fr); gap:22px; align-items:start; }
.catalog-map-panel { position:sticky; top:18px; border:1px solid #c2cdbf; border-radius:8px; overflow:hidden; background:white; }
.map-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; }
.map-panel-heading strong { font-size:1rem; }
.map-panel-heading p { color:var(--muted); font-size:.77rem; margin-top:3px; }
.directory-map { height:clamp(390px,62vh,680px); background:#e5e9df; z-index:1; }
.map-legend { display:flex; flex-wrap:wrap; gap:8px 18px; padding:13px 16px; font-size:.72rem; }
.map-legend>span { display:flex; align-items:center; gap:7px; }
.map-legend i { width:11px; height:11px; border-radius:50%; background:var(--pine); }
.map-legend .legend-city { background:#ffcf62; border:1px solid #6d5838; }
.map-legend p { width:100%; color:var(--muted); }
.roofer-map-pin { display:grid; place-items:center; background:transparent; border:0; }
.map-pin-dot { display:block; width:19px; height:19px; border:3px solid white; background:var(--pine); border-radius:50%; box-shadow:0 1px 6px #10252480; }
.pin-city .map-pin-dot { background:#e9b747; }
.roofer-map-cluster { display:grid; place-items:center; border:4px solid #ffffffba; border-radius:50%; background:var(--pine); color:#fff; box-shadow:0 2px 8px #10252440; font:600 14px var(--font); }
.leaflet-container { font-family:var(--font); }
.leaflet-container a { color:#275a44; }
.leaflet-bar a { min-width:36px; min-height:36px; line-height:36px; }
.map-company-popup { width:235px; max-width:100%; }
.map-company-popup>img { width:100%; height:115px; object-fit:cover; border-radius:4px; margin-bottom:12px; }
.map-company-title { display:block; font-size:1.06rem; font-weight:650; line-height:1.2; }
.map-company-popup p { margin:8px 0; font-size:.78rem; }
.map-company-popup .map-point-note { color:#586450; font-size:.71rem; }
.map-profile-link { display:inline-block; padding-block:7px; font-size:.8rem; font-weight:600; }
.is-map-view .company-card { padding:18px; }
.is-map-view .company-card-main { display:block; }
.is-map-view .company-card-photo { display:block; width:100%; height:145px; min-height:0; margin-top:16px; }
.is-map-view .company-card h2 { font-size:1.1rem; }
.is-map-view .company-card-identity { gap:10px; }
.is-map-view .company-logo { width:62px; height:52px; padding:5px; }
.is-map-view .company-card-top { gap:8px; }
.is-map-view .company-card .compare-check { font-size:0; }
.is-map-view .company-card .compare-check input { font-size:1rem; }
.is-map-view .company-card-bottom { flex-wrap:wrap; }
.is-map-view .company-card-actions { gap:12px; justify-content:space-between; width:100%; }
.directory-help { margin-top:32px; font-size:.9rem; }
/* Company profiles */
.company-profile-header { padding-top:25px; }
.profile-brand-row { display:flex; gap:28px; justify-content:space-between; align-items:center; padding-block:32px; }
.profile-brand { display:flex; align-items:center; gap:24px; min-width:0; }
.profile-company-logo { display:grid; place-items:center; width:144px; height:104px; padding:14px; border:1px solid var(--line); border-radius:7px; flex:none; }
.profile-company-logo img { width:100%; height:100%; object-fit:contain; }
.profile-brand h1 { font-size:clamp(2rem,3.5vw,3.5rem); line-height:1.06; letter-spacing:-.035em; overflow-wrap:anywhere; }
.profile-city { color:var(--muted); margin-top:12px; font-size:1rem; }
.profile-quick-facts { display:flex; flex-wrap:wrap; gap:7px 15px; margin-top:13px; color:#3f5949; font-size:.76rem; }
.profile-header-actions { display:grid; gap:9px; flex:0 0 220px; }
.profile-header-actions .button { min-height:45px; padding:11px 14px; font-size:.85rem; }
.profile-media { position:relative; height:365px; display:grid; grid-template-columns:1.65fr 1fr 1fr; gap:8px; border-radius:9px; overflow:hidden; }
.profile-photo { padding:0; border:0; overflow:hidden; background:#e1e6dc; }
.profile-photo img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.profile-photo:hover img { transform:scale(1.035); }
.profile-photo:focus-visible { outline-offset:-6px; }
.media-count-1 { grid-template-columns:1fr; height:400px; }
.media-count-2 { grid-template-columns:1.5fr 1fr; }
.all-photos-button { position:absolute; right:20px; bottom:20px; display:flex; align-items:center; gap:9px; padding:11px 16px; border:1px solid #cdd4ca; border-radius:6px; background:#fff; font-weight:600; box-shadow:0 2px 10px #0002; }
.all-photos-button svg { width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:1.5; }
.photo-provenance { padding-block:9px 3px; font-size:.7rem; color:var(--muted); }
.profile-section-nav { display:flex; flex-wrap:wrap; gap:6px 28px; padding-block:19px; margin-top:8px; border-bottom:1px solid var(--line); }
.profile-section-nav a { display:flex; align-items:center; min-height:36px; font-size:.86rem; font-weight:600; text-decoration:none; }
.profile-section-nav a:hover { text-decoration:underline; }
.profile-rich-layout { grid-template-columns:minmax(0,1fr) 330px; gap:65px; padding-top:32px; }
.profile-rich-layout .detail-section { padding-block:22px 30px; }
.profile-rich-layout .detail-section h2 { margin-bottom:18px; font-size:1.7rem; letter-spacing:-.02em; }
.profile-rich-layout .detail-section>p { line-height:1.7; }
.profile-subheading { font-size:1rem; margin:24px 0 12px; }
.material-tags { display:flex; flex-wrap:wrap; gap:8px; padding:0; list-style:none; }
.material-tags li { border:1px solid #cbd5c7; border-radius:4px; padding:6px 12px; font-size:.85rem; background:#eef1e9; }
.credential-list { padding-left:20px; line-height:1.8; }
.profile-services { display:grid; grid-template-columns:1fr 1fr; gap:9px 25px; list-style:none; padding:0; margin:0 0 18px; }
.profile-services li { padding:10px 0 10px 18px; position:relative; border-bottom:1px solid #dfe4da; font-size:.93rem; }
.profile-services li::before { content:""; width:5px; height:5px; border-radius:50%; background:#6c866b; position:absolute; left:0; top:20px; }
.estimate-explainer { background:#eaf0e5; border-left:3px solid #697e51; padding:22px; margin-bottom:20px; }
.estimate-explainer h3 { margin:0 0 10px; font-size:1.2rem; }
.estimate-explainer p { font-size:.92rem; color:#42503e; line-height:1.6; }
.quote-facts>div { display:grid; grid-template-columns:120px 1fr; gap:20px; padding-block:13px; border-bottom:1px solid var(--line); font-size:.9rem; }
.quote-facts dt { font-weight:650; }
.pricing-question { margin-block:20px !important; font-size:.9rem; }
.pricing-section>.button { max-width:100%; white-space:normal; text-align:center; }
.office-map-disclosure { margin-top:24px; border:1px solid #cbd4c7; border-radius:5px; overflow:hidden; }
.office-map-disclosure summary { padding:15px 18px; cursor:pointer; font-weight:600; }
.office-map { height:310px; position:relative; z-index:1; }
.office-map-disclosure .field-help { padding:12px 16px; margin:0; }
.rich-contact-panel { top:22px; padding:26px; background:#fff; border:1px solid #c7d1c2; border-radius:8px; box-shadow:0 5px 20px #142d2c08; }
.rich-contact-panel h2 { font-size:1.55rem; line-height:1.15; }
.rich-contact-panel>p { font-size:.9rem; line-height:1.6; margin:14px 0 22px; }
.rich-contact-panel .button { margin-top:9px; min-height:47px; font-size:.88rem; }
.rich-contact-panel .contact-website,.rich-contact-panel .contact-email { display:block; font-size:.83rem; margin-top:14px; overflow-wrap:anywhere; }
.rich-contact-panel .compare-check { padding:18px 0; margin:14px 0 0; border-top:1px solid var(--line); }
.call-prep { border-top:1px solid var(--line); padding-top:20px; }
.call-prep h3 { margin:0 0 9px; font-size:.95rem; }
.call-prep p { font-size:.82rem; color:var(--muted); line-height:1.6; }
.call-prep a { display:inline-block; margin-top:13px; font-size:.82rem; }
.related-grid .company-card-main { display:block; }
.related-grid .company-card-top { flex-wrap:wrap; }
.related-grid .company-card-photo { display:block; height:170px; min-height:0; margin-top:18px; }
.related-grid .company-card-bottom { flex-wrap:wrap; }
.related-grid .company-card-actions { gap:12px; }
.photo-viewer { width:min(1120px,96vw); max-width:96vw; height:min(850px,94dvh); max-height:94dvh; padding:22px; border:1px solid #52635b; border-radius:9px; background:#102524; color:white; }
.photo-viewer::backdrop { background:#081918ed; }
.photo-viewer[open] { display:flex; flex-direction:column; }
.photo-viewer-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:16px; }
.photo-viewer-toolbar p { font-size:.95rem; }
#photo-counter { color:#b5c6b5; padding-left:12px; }
.photo-viewer button { padding:10px 17px; min-height:44px; border:1px solid #81978a; border-radius:5px; background:#1a3833; color:#fff; }
.photo-viewer figure { flex:1; min-height:0; display:flex; flex-direction:column; }
.photo-viewer figure>img { width:100%; flex:1; min-height:0; object-fit:contain; }
.photo-viewer figcaption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; margin-top:12px; font-size:.75rem; color:#c4d2c4; }
.photo-viewer-controls { display:flex; justify-content:center; gap:12px; margin-top:16px; }
/* Roofing business pages and clear, explicit pricing. */
.business-hero,.guide-page-hero { display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:center; padding-block:30px 65px; }
.business-hero h1,.guide-page-hero h1 { font-size:clamp(2.6rem,4.2vw,4.3rem); line-height:1.04; letter-spacing:-.04em; margin-top:32px; }
.business-hero-copy>p,.guide-page-hero>div>p { color:var(--muted); line-height:1.65; max-width:53ch; margin-top:24px; font-size:1.05rem; }
.business-hero .button-row,.guide-page-hero .button-row { margin-top:26px; gap:20px; }
.business-hero .business-hero-note { font-size:.78rem; max-width:48ch; margin-top:25px; }
.business-hero-photo,.guide-page-hero figure { position:relative; align-self:stretch; min-height:430px; overflow:hidden; border-radius:7px; }
.business-hero-photo img,.guide-page-hero figure img { width:100%; height:100%; position:absolute; object-fit:cover; }
.business-hero-photo figcaption,.guide-page-hero figcaption { position:absolute; bottom:0; inset-inline:0; padding:50px 25px 23px; background:linear-gradient(transparent,#142d2ce6); color:white; font-size:.85rem; }
.business-value { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; border-top:1px solid var(--line); padding-block:30px 60px; }
.business-value h2 { font-size:1.3rem; letter-spacing:-.02em; margin-bottom:12px; }
.business-value p { font-size:.93rem; color:var(--muted); line-height:1.65; }
.claim-business-band { background:var(--pine); color:#fff; padding-block:45px; }
.claim-business-inner { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:70px; }
.claim-business-inner h2 { font-size:2rem; line-height:1.12; letter-spacing:-.025em; }
.claim-business-inner p { margin-top:17px; color:#cbd9cb; font-size:.93rem; line-height:1.6; }
.claim-business-inner label { display:block; font-size:.8rem; margin-bottom:8px; }
.claim-business-inner form>div { display:flex; gap:8px; }
.claim-business-inner input { min-width:0; flex:1; min-height:48px; padding:12px; color:var(--ink); background:#fff; border:1px solid #c4cdbf; border-radius:5px; }
.claim-business-inner form>a { display:inline-block; font-size:.8rem; margin-top:14px; color:#ffdd88; }
.plans-section { padding-block:70px; }
.plans-heading { display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:32px; }
.plans-heading h2,.promotion-heading h2,.business-faq>h2,.guide-section-heading h2,.guide-estimate-inner h2,.project-brief-section h2 { font-size:clamp(2rem,3vw,2.9rem); line-height:1.09; letter-spacing:-.035em; }
.plans-heading p { margin-top:13px; color:var(--muted); font-size:.95rem; }
.billing-toggle { display:flex; align-items:stretch; background:#e6eadf; padding:4px; border:1px solid #c6cfbf; border-radius:7px; flex:none; }
.billing-toggle button { border:0; padding:10px 15px; border-radius:4px; font-size:.85rem; background:transparent; }
.billing-toggle [aria-pressed=true] { background:var(--pine); color:#fff; }
.billing-toggle span { display:block; font-size:.65rem; opacity:.85; }
.plan-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch; }
.plan-card { border:1px solid #c6cfbf; border-radius:8px; padding:28px; background:#fff; }
.plan-featured { border:2px solid #45664b; padding:27px; background:#f2f5ed; }
.plan-card h3 { font-size:1.65rem; line-height:1.2; margin:0; }
.plan-card-title { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.plan-card-title>span { padding:4px 7px; background:#dce6d3; font-size:.65rem; font-weight:600; border-radius:3px; }
.plan-purpose { min-height:45px; margin-top:13px; color:var(--muted); font-size:.9rem; }
.plan-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px; margin-block:20px 24px; }
.plan-price strong { font-size:3.4rem; line-height:1; letter-spacing:-.04em; }
.plan-price>span { font-size:.8rem; color:var(--muted); }
.plan-card>.button { display:flex; width:100%; padding-inline:12px; }
.plan-includes { margin-top:26px; font-size:.82rem; font-weight:650; }
.plan-card ul { margin:24px 0 0; padding:0; list-style:none; }
.plan-card li { position:relative; padding:9px 0 9px 19px; border-bottom:1px solid #e4e8df; font-size:.86rem; line-height:1.45; }
.plan-card li::before { content:'✓'; position:absolute; left:0; color:#376347; font-size:.85rem; }
.plan-card .plan-includes+ul { margin-top:10px; }
.plan-limits { margin-top:20px; color:var(--muted); font-size:.76rem; line-height:1.6; }
.plan-availability { max-width:106ch; margin-top:24px; font-size:.8rem; color:var(--muted); line-height:1.6; }
.promotion-details { display:grid; grid-template-columns:.8fr 1.3fr; gap:90px; padding-block:20px 65px; }
.promotion-heading p { margin-top:18px; color:var(--muted); line-height:1.65; }
.promotion-details dl>div { display:grid; grid-template-columns:100px 1fr; gap:25px; padding:20px 0; border-top:1px solid var(--line); }
.promotion-details dt { font-weight:650; font-size:.85rem; }
.promotion-details dd { font-size:.92rem; color:var(--muted); line-height:1.6; }
.business-faq { display:grid; grid-template-columns:.8fr 1.3fr; gap:90px; padding-block:20px 70px; }
.business-faq details,.guide-question-grid details { padding:19px 0; border-top:1px solid var(--line); }
.business-faq summary,.guide-question-grid summary { cursor:pointer; font-size:1rem; font-weight:600; }
.business-faq details p,.guide-question-grid details p { font-size:.9rem; color:var(--muted); line-height:1.7; padding:15px 0 5px; }
.business-final-cta,.guide-final-cta { background:var(--pine); color:#fff; padding:55px 0; }
.business-final-cta h2,.guide-final-cta h2 { font-size:clamp(2rem,3.5vw,3.3rem); letter-spacing:-.03em; line-height:1.1; }
.business-final-cta p,.guide-final-cta p { color:#c8d9cb; margin:17px 0 25px; }
.business-final-cta .button-row { gap:26px; }
/* A working hiring guide, rather than a wall of text. */
.guide-page-hero { grid-template-columns:1.15fr .85fr; }
.guide-page-hero figure { min-height:425px; }
.guide-project-section { padding-block:15px 65px; }
.guide-section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:28px; }
.guide-section-heading h2 { max-width:19ch; }
.guide-section-heading p { max-width:36ch; color:var(--muted); font-size:.95rem; }
.guide-project-tabs { display:flex; gap:8px; margin-bottom:24px; }
.guide-project-tabs button { padding:11px 19px; min-height:46px; border:1px solid #c0cbbb; border-radius:5px; font-weight:600; font-size:.88rem; background:#fff; }
.guide-project-tabs [aria-pressed=true] { color:white; background:var(--pine); border-color:var(--pine); }
.guide-project-layout { display:grid; grid-template-columns:1.4fr .8fr; gap:28px; }
.guide-checklist { padding:30px; background:white; border:1px solid #cbd3c6; border-radius:7px; }
.guide-checklist h3 { font-size:1.5rem; margin:0 0 14px; letter-spacing:-.02em; }
.guide-checklist>p:not(.guide-completion) { font-size:.93rem; color:var(--muted); line-height:1.65; }
#project-checklist-items { margin-top:22px; }
#project-checklist-items label { display:flex; gap:14px; align-items:start; padding-block:15px; border-top:1px solid #e0e5da; font-size:.96rem; cursor:pointer; }
#project-checklist-items input { width:20px; height:20px; margin:2px 0 0; accent-color:var(--pine); flex:none; }
#project-checklist-items label:has(:checked) span { color:#667660; text-decoration:line-through; }
.guide-completion { margin-block:17px 8px; color:#416244; font-size:.8rem; font-weight:600; }
.guide-prep-note { background:#e9eddf; padding:30px; border-radius:7px; align-self:start; }
.guide-prep-note h3 { font-size:1.3rem; margin:0; }
.guide-prep-note ul { padding-left:18px; margin-block:20px; }
.guide-prep-note li { padding-block:6px; font-size:.93rem; }
.guide-prep-note p { border-top:1px solid #c8d0be; padding-top:18px; color:#53604b; font-size:.85rem; line-height:1.6; }
.guide-estimate-section { background:#e8ece1; padding-block:55px; }
.guide-estimate-inner { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; }
.guide-estimate-inner>div>p { margin-block:22px; color:var(--muted); font-size:.97rem; line-height:1.65; }
.guide-estimate-inner a { font-size:.9rem; font-weight:600; }
.estimate-check-table>div { display:grid; grid-template-columns:125px 1fr; gap:25px; padding-block:18px; border-top:1px solid #bdc8b5; }
.estimate-check-table strong { font-size:.9rem; }
.estimate-check-table p { color:var(--muted); font-size:.93rem; }
.guide-questions { padding-block:65px; }
.guide-question-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 50px; align-items:start; }
.guide-source { margin-top:24px; color:var(--muted); font-size:.76rem; }
.project-brief-section { display:grid; grid-template-columns:.8fr 1fr; gap:100px; padding-block:10px 75px; }
.project-brief-section>div>p { margin-top:20px; color:var(--muted); font-size:.96rem; line-height:1.65; }
.project-brief-section .field-help { font-size:.8rem; }
#project-brief-form { background:#fff; border:1px solid #cbd3c6; border-radius:7px; padding:30px; }
#project-brief-form label { display:block; font-weight:600; font-size:.83rem; margin:0 0 8px; }
#project-brief-form input,#project-brief-form select,#project-brief-form textarea { width:100%; padding:12px; border:1px solid #bbc7b5; border-radius:5px; margin-bottom:19px; background:#fafbf7; font:inherit; }
#project-brief-form textarea { resize:vertical; }
#project-brief-form .field-help { margin-top:13px; }
.selected-plan { margin-top:25px; padding:24px; background:#e9efdf; border:1px solid #c6d1bb; border-radius:7px; }
.selected-plan h2 { font-size:1.2rem; }
.selected-plan p { margin-top:10px; font-size:.87rem; }
.selected-plan .selected-plan-price { font-size:2rem; font-weight:650; }
.admin-media { padding-block:40px; }
.admin-media-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:20px 0; }
.admin-media-grid figure { padding:12px; border:1px solid var(--line); background:white; border-radius:5px; }
.admin-media-grid img { width:100%; height:135px; object-fit:contain; }
.admin-media-grid figcaption { font-size:.75rem; margin-top:10px; }
.admin-media-grid button { font-size:.8rem; margin-top:10px; padding:8px 12px; }
@media(min-width:1500px) { .is-map-view .company-card-photo { height:180px; } }
@media(max-width:1100px) {
 .company-card-photo { flex-basis:220px; }
 .profile-rich-layout { gap:32px; grid-template-columns:minmax(0,1fr) 300px; }
 .profile-brand-row { align-items:start; }
 .profile-brand { gap:17px; }
 .profile-company-logo { width:110px; height:90px; }
 .profile-header-actions { flex-basis:190px; }
 .business-hero,.guide-page-hero { gap:35px; }
 .plan-card { padding:22px; } .plan-featured { padding:21px; }
 .plans-heading { align-items:start; }
 .promotion-details,.business-faq { gap:45px; }
 .project-brief-section { gap:50px; }

}
@media(max-width:850px) {
 .company-card-photo { flex-basis:190px; }
 .profile-brand-row { flex-direction:column; gap:22px; }
 .profile-header-actions { flex-basis:auto; display:flex; }
 .profile-media { height:300px; }
 .profile-rich-layout { grid-template-columns:minmax(0,1fr); }
 .rich-contact-panel { position:static; grid-row:1; display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
 .rich-contact-panel h2,.rich-contact-panel>p,.rich-contact-panel .call-prep { grid-column:1/-1; }
 .rich-contact-panel .compare-check { border:0; margin:0; }
 .rich-contact-panel .call-prep { margin-top:15px; }

 .is-map-view .company-card-top { flex-wrap:wrap; }
 .is-map-view .company-card .compare-check { font-size:.76rem; }
 .is-map-view .company-card-actions { align-items:start; flex-direction:column; }
 .business-hero,.guide-page-hero { grid-template-columns:1.15fr .85fr; gap:30px; }
 .business-hero h1,.guide-page-hero h1 { font-size:2.75rem; }
 .business-hero-photo,.guide-page-hero figure { min-height:440px; }
 .business-value { gap:24px; }
 .claim-business-inner { gap:35px; }
 .claim-business-inner form>div { flex-direction:column; }
 .plans-heading { flex-direction:column; gap:20px; }
 .plan-grid { gap:12px; }
 .plan-card { padding:18px; } .plan-featured { padding:17px; }
 .plan-card h3 { font-size:1.4rem; }
 .plan-purpose { min-height:65px; }
 .plan-price strong { font-size:2.8rem; }
 .guide-project-layout { grid-template-columns:1.3fr .8fr; gap:18px; }
 .guide-checklist,.guide-prep-note { padding:24px; }
 .guide-estimate-inner { gap:35px; }
}
@media(max-width:660px) {
 .directory-hero-photo { padding-block:22px 30px; }
 .directory-hero-photo::before { background:linear-gradient(90deg,#142d2cf0,#142d2cbf),url('/assets/roofer-at-work.webp') 60% center/cover; }
 .directory-hero-photo h1 { font-size:2.45rem; margin-top:22px; }
 .catalog-toolbar { gap:12px; margin-bottom:16px; }
 .results-count { font-size:1.13rem; } .results-count>span { display:block; font-size:.75rem; }
 .catalog-view-switch button { padding:7px 10px; font-size:.78rem; gap:6px; }
 .catalog-view-switch svg { width:16px; }
 .catalog-controls { gap:12px; }
 .results-sort { order:2; } .active-filter-summary { flex-basis:100%; order:3; }
 .refined-filters form { padding:20px; }
 .refined-filter-grid { gap:16px; grid-template-columns:1fr; }

 .company-card { padding:18px; } .company-card-top { gap:10px; }
 .company-card-identity { gap:10px; align-items:start; }
 .company-logo { width:62px; height:51px; padding:5px; }
 .company-card h2 { font-size:1.15rem; }
 .company-card .compare-check { font-size:0; }
 .company-card-main { display:block; }
 .company-card-photo { display:block; height:185px; min-height:0; margin-top:18px; }
 .company-card-bottom { flex-wrap:wrap; }
 .company-card-actions { width:100%; justify-content:space-between; gap:12px; }
 .company-card-actions .button { padding-inline:14px; }
 .phone-action { font-size:.78rem; }
 .catalog-results-layout.is-map-view { display:flex; flex-direction:column; }
 .catalog-map-panel { order:-1; position:relative; top:auto; width:100%; margin-bottom:8px; }
 .directory-map { height:350px; }
 .catalog-list { width:100%; }
 .is-map-view .company-card-top { flex-wrap:nowrap; }
 .is-map-view .company-card .compare-check { font-size:0; }
 .is-map-view .company-card-actions { flex-direction:row; align-items:center; }
 .is-map-view .company-card-photo { height:185px; }
 .profile-brand { align-items:start; gap:15px; }
 .profile-company-logo { width:86px; height:74px; padding:8px; }
 .profile-brand h1 { font-size:2rem; }
 .profile-city { font-size:.88rem; }
 .profile-brand-row { padding-block:25px; }
 .profile-header-actions { width:100%; flex-wrap:wrap; }
 .profile-header-actions .button { flex:1; white-space:normal; text-align:center; }
 .profile-media { height:280px; grid-template-columns:1.7fr 1fr; grid-template-rows:1fr 1fr; }
 .profile-media .photo-1 { grid-row:1/3; }
 .media-count-1 { display:block; height:260px; } .media-count-1 .profile-photo { height:100%; width:100%; }
 .media-count-2 { grid-template-rows:1fr; } .media-count-2 .photo-1 { grid-row:auto; }
 .all-photos-button { bottom:12px; right:12px; font-size:.8rem; padding:9px 11px; }
 .profile-section-nav { gap:4px 20px; }
 .profile-section-nav a { font-size:.8rem; }
 .profile-rich-layout { gap:10px; padding-top:25px; }
 .rich-contact-panel { padding:22px; display:block; }
 .rich-contact-panel .button { display:flex; width:100%; }
 .rich-contact-panel .compare-check { margin-top:14px; padding-bottom:5px; }
 .profile-rich-layout .detail-section h2 { font-size:1.5rem; }
 .profile-services { grid-template-columns:1fr; gap:0; }
 .quote-facts>div { grid-template-columns:1fr; gap:7px; }
 .photo-viewer { padding:14px; width:96vw; }
 .photo-viewer-toolbar { gap:12px; align-items:start; }
 .photo-viewer-toolbar p { font-size:.82rem; }
 #photo-counter { display:block; padding:5px 0 0; }
 .photo-viewer button { font-size:.82rem; }
 .business-hero,.guide-page-hero { grid-template-columns:1fr; padding-block:22px 35px; gap:28px; }
 .business-hero h1,.guide-page-hero h1 { font-size:2.8rem; margin-top:25px; }
 .business-hero-copy>p,.guide-page-hero>div>p { font-size:1rem; margin-top:19px; }
 .business-hero-photo,.guide-page-hero figure { min-height:270px; }
 .business-value { grid-template-columns:1fr; gap:23px; padding-bottom:35px; }
 .business-value article { border-bottom:1px solid var(--line); padding-bottom:22px; }
 .claim-business-inner { grid-template-columns:1fr; gap:24px; }
 .claim-business-inner form>div { flex-direction:row; }
 .claim-business-inner button { padding-inline:13px; font-size:.8rem; }
 .claim-business-band { padding-block:35px; }
 .plans-section { padding-block:45px; }
 .plan-grid { grid-template-columns:1fr; gap:18px; }
 .plan-card { padding:26px; } .plan-featured { padding:25px; }
 .plan-purpose { min-height:0; }
 .plan-price strong { font-size:3.4rem; }
 .promotion-details,.business-faq { grid-template-columns:1fr; gap:25px; padding-block:0 45px; }
 .promotion-details dl>div { grid-template-columns:90px 1fr; gap:15px; }
 .business-final-cta,.guide-final-cta { padding-block:40px; }
 .guide-section-heading { flex-direction:column; align-items:start; gap:17px; }
 .guide-section-heading h2 { max-width:none; }
 .guide-project-tabs { gap:6px; }
 .guide-project-tabs button { padding:9px 10px; flex:1; font-size:.76rem; }
 .guide-project-layout { grid-template-columns:1fr; }
 .guide-estimate-inner { grid-template-columns:1fr; gap:30px; }
 .estimate-check-table>div { grid-template-columns:95px 1fr; gap:15px; }
 .guide-question-grid { grid-template-columns:1fr; }
 .guide-questions { padding-block:40px; }
 .project-brief-section { grid-template-columns:1fr; gap:25px; padding-bottom:45px; }
 #project-brief-form { padding:24px; }
 .admin-media-grid { grid-template-columns:1fr 1fr; }
}
@media(prefers-reduced-motion:reduce) { .is-searching .find-button span { animation:none; } .company-card-photo img,.profile-photo img,.is-searching #directory-results { transition:none; } }
@media print {
 body:has(.hiring-guide-page) .site-header,body:has(.hiring-guide-page) .site-footer,.hiring-guide-page .guide-page-hero,.hiring-guide-page .guide-estimate-section,.hiring-guide-page .guide-questions,.hiring-guide-page .project-brief-section,.hiring-guide-page .guide-final-cta,.hiring-guide-page .guide-project-tabs,.hiring-guide-page [data-print-guide] { display:none!important; }
 .hiring-guide-page .frame { width:100%; } .guide-project-section { padding:0; } .guide-checklist,.guide-prep-note { break-inside:avoid; }
}
/* Leaflet's stylesheet loads after shared styles; keep pin labels centered. */
.leaflet-marker-icon.roofer-map-cluster,.leaflet-marker-icon.roofer-map-pin { display:flex; align-items:center; justify-content:center; }
.claim-business-inner>* { min-width:0; }
.claim-business-inner input { width:0; }
@media(max-width:850px) and (min-width:661px) { .claim-business-inner input { width:100%; } }
body.gallery-is-open { overflow:hidden; }
.card-address { display:block; text-decoration:none; }
.card-address:hover { text-decoration:underline; }
.is-searching .find-button span { width:17px; height:17px; border:2px solid #142d2c40; border-top-color:var(--pine); border-radius:50%; background:none; }
.is-searching .find-button span::after { display:none; }
@media print { body:has(.hiring-guide-page) .compare-tray { display:none!important; } }
.directory-map,.office-map { background:#e3eeed; }
.leaflet-marker-icon.state-overview-label { display:flex; align-items:center; justify-content:center; color:#667e69; font:600 10px var(--font); letter-spacing:.04em; }
.map-retry { padding:0; min-height:28px; font-size:.74rem; }

/* Keep the desktop filter panel on the left of the company results. */
@media (min-width:901px) {
 .catalog-primary .company-card-photo { flex-basis:210px; }
}
@media (min-width:901px) and (max-width:1200px) {
 .catalog-primary .company-card-main { gap:18px; }
 .catalog-primary .company-card-photo { flex-basis:170px; }
 .catalog-primary .company-card-top { flex-wrap:wrap; }
 .catalog-primary .company-card-bottom { flex-wrap:wrap; }
 .catalog-results-layout.is-map-view { display:flex; flex-direction:column; }
 .catalog-results-layout.is-map-view .catalog-map-panel { order:-1; position:relative; top:auto; width:100%; }
}
@media (max-width:900px) {
 .catalog-layout { grid-template-columns:minmax(0,1fr); gap:22px; }
 .catalog-primary { grid-column:1; grid-row:2; }
 .catalog-filter-sidebar { grid-column:1; grid-row:1; position:static; max-height:none; overflow:visible; }
 .refined-filters>summary { padding:12px 17px; min-height:48px; }
 .refined-filters>summary::after { content:""; width:7px; height:7px; margin-left:auto; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
 .refined-filters[open]>summary::after { transform:rotate(225deg); }
 .refined-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .property-filter { flex-direction:row; flex-wrap:wrap; }
 .filter-panel-footer { flex-direction:row; align-items:center; justify-content:space-between; gap:24px; }
 .filter-panel-footer p { max-width:48ch; }
}
@media (max-width:660px) {
 .refined-filter-grid { grid-template-columns:minmax(0,1fr); }
 .filter-panel-footer { flex-direction:column-reverse; align-items:stretch; gap:15px; }
}
.rich-contact-panel .contact-website.button,.rich-contact-panel .contact-email.button { display:flex; width:100%; margin-top:9px; font-size:.88rem; }
.refined-filter-grid select {
 appearance:none;
 -webkit-appearance:none;
 height:45px;
 padding-right:34px;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23465448' stroke-width='1.5'/%3E%3C/svg%3E");
 background-repeat:no-repeat;
 background-position:right 12px center;
 background-size:12px 8px;
}

.business-page .business-hero h1,.hiring-guide-page .guide-page-hero h1 { margin-top:0; }
@media(max-width:660px) {
 .breadcrumbs { font-size:.75rem; }
 .breadcrumbs li+li::before { margin-inline:8px; margin-top:12px; }
}
