/* Service collections: /services, /services/{slug}, and the home-page section.
   Uses the --discover-* tokens from discovery.css and helpers from growth.css. */

.svc-hero { position: relative; overflow: hidden; padding: 30px 0 34px; color: #fff; background: var(--svc-grad, linear-gradient(135deg, #7c2d12, #be185d)); }
.svc-hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,10,10,.55), rgba(15,10,10,.1)); }
.svc-hero .business-profile-shell { position: relative; z-index: 1; }
.svc-hero-icon { position: absolute; right: 4%; top: 50%; z-index: 1; transform: translateY(-50%); font-size: clamp(90px, 14vw, 190px); opacity: .2; line-height: 1; pointer-events: none; }
.svc-hero h1 { margin: 6px 0 8px; font: 800 clamp(30px, 4vw, 50px)/1.02 "Baloo 2", sans-serif; }
.svc-tagline { max-width: 640px; margin: 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.55; }
.svc-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-hero-meta span { padding: 6px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 800; }
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-ghost-light { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 11px; color: #fff; font-weight: 900; font-size: 13px; text-decoration: none; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }

.svc-chips-wrap { position: sticky; top: 68px; z-index: 40; border-bottom: 1px solid var(--discover-line); background: rgba(255,253,248,.95); backdrop-filter: blur(12px); }
.svc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.svc-chips::-webkit-scrollbar { display: none; }
.svc-chips a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 8px 13px; border: 1px solid var(--discover-line); border-radius: 999px; background: #fff; color: var(--discover-ink); font-size: 12px; font-weight: 800; white-space: nowrap; }
.svc-chips a:hover { border-color: var(--discover-saffron); }
.svc-chips a.active { border-color: var(--discover-ink); background: var(--discover-ink); color: #fff; }
.svc-chips a small { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--discover-cream); color: var(--discover-ink-soft); font-size: 10px; }
.svc-chips a.active small { background: rgba(255,255,255,.2); color: #fff; }

.svc-content { padding-block: 28px 70px; }
.svc-intro { max-width: 820px; margin: 0 0 26px; color: var(--discover-ink-soft); font-size: 15px; line-height: 1.7; }
.svc-group { margin-bottom: 40px; scroll-margin-top: 140px; }
.svc-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.svc-group-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--discover-ink); font: 800 26px/1.1 "Baloo 2", sans-serif; }
.svc-group-head h2 span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: 0 3px 10px rgba(42,51,43,.08); font-size: 21px; }
.svc-group-head small { color: var(--discover-muted); font-size: 12px; font-weight: 800; }

.svc-open-title { margin: 8px 0 6px; color: var(--discover-ink); font: 800 24px/1.1 "Baloo 2", sans-serif; }
.svc-open-sub { margin: 0 0 14px; color: var(--discover-muted); font-size: 13px; }
.svc-open-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.svc-open-tile { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px dashed #e0cfb6; border-radius: 14px; background: #fffaf2; color: var(--discover-ink); text-align: left; cursor: pointer; font: inherit; }
.svc-open-tile:hover { border-color: var(--discover-saffron); background: #fff3e6; }
.svc-open-tile > span:first-child { font-size: 22px; }
.svc-open-tile strong { display: block; font-size: 13px; }
.svc-open-tile small { color: var(--discover-saffron-dark); font-size: 11px; font-weight: 800; }

.svc-empty { padding: 34px 22px; border: 1px dashed #e0cfb6; border-radius: 18px; background: #fffaf2; text-align: center; }
.svc-empty > div { font-size: 42px; }
.svc-empty h2 { margin: 8px 0 6px; font: 800 24px/1.1 "Baloo 2", sans-serif; }
.svc-empty p { max-width: 460px; margin: 0 auto 16px; color: var(--discover-ink-soft); font-size: 14px; line-height: 1.6; }

.svc-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; margin-top: 30px; padding: 28px; border-radius: 22px; background: var(--discover-ink); color: #fff; scroll-margin-top: 140px; }
.svc-join h2 { margin: 6px 0 8px; font: 800 30px/1.08 "Baloo 2", sans-serif; }
.svc-join-pitch > p { color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.6; }
.svc-price { display: inline-flex; align-items: baseline; gap: 6px; margin: 6px 0 14px; padding: 8px 14px; border-radius: 12px; background: rgba(232,100,36,.2); color: #ffcfaa; font-size: 12px; font-weight: 900; }
.svc-price strong { color: #fff; font-size: 20px; }
.svc-join ol { margin: 0; padding-left: 20px; color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.9; }
.svc-join-card { padding: 20px; border-radius: 16px; background: #fff; color: var(--discover-ink); }
.svc-biz-search { position: relative; }
.svc-biz-results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; overflow: hidden; border: 1px solid var(--discover-line); border-radius: 12px; background: #fff; box-shadow: var(--discover-shadow); }
.svc-biz-results button { display: block; width: 100%; padding: 10px 13px; border: 0; border-bottom: 1px solid #f1ebe0; background: #fff; text-align: left; cursor: pointer; font: inherit; }
.svc-biz-results button:hover, .svc-biz-results button:focus { background: #fff7ef; outline: none; }
.svc-biz-results strong { display: block; font-size: 13px; }
.svc-biz-results small { color: var(--discover-muted); font-size: 11px; }
.svc-selected { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; border: 1px solid #bfe3cc; border-radius: 11px; background: #e9f6ee; }
.svc-selected strong { font-size: 13px; }
.svc-selected button { border: 0; background: none; color: #b42318; font-weight: 900; cursor: pointer; }

/* Collection cards (/services and home page) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.svc-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--discover-line); border-radius: 20px; background: var(--discover-paper); color: var(--discover-ink); box-shadow: 0 3px 12px rgba(42,51,43,.04); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--discover-shadow); color: var(--discover-ink); }
.svc-card-top { position: relative; display: flex; align-items: flex-end; min-height: 128px; padding: 18px; overflow: hidden; background: var(--svc-grad); color: #fff; }
.svc-card-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.svc-card-top > span { position: absolute; right: 14px; top: 6px; font-size: 64px; opacity: .32; }
.svc-card-top h3 { position: relative; margin: 0; font: 800 26px/1.05 "Baloo 2", sans-serif; }
.svc-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.svc-card-body p { margin: 0; color: var(--discover-ink-soft); font-size: 13px; line-height: 1.55; }
.svc-card-subs { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card-subs span { padding: 4px 9px; border-radius: 999px; background: var(--discover-cream); color: var(--discover-ink-soft); font-size: 11px; font-weight: 800; }
.svc-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--discover-saffron-dark); font-size: 12px; font-weight: 900; }

.svc-index-hero { padding: 30px 0 32px; background: var(--discover-ink); color: #fff; }
.svc-index-hero h1 { margin: 6px 0 8px; font: 800 clamp(30px, 4vw, 46px)/1.05 "Baloo 2", sans-serif; }
.svc-index-hero p { max-width: 640px; margin: 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.55; }

.home-svc-section { margin-top: 56px; }

@media (max-width: 860px) {
  .svc-join { grid-template-columns: 1fr; padding: 20px; }
  .svc-chips-wrap { top: 60px; }
  .svc-group-head h2 { font-size: 22px; }
}


/* ── Home-page service finder ─────────────────────────────── */
.finder { margin-top: 44px; }
.finder-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.finder-panel { padding: 18px; border: 1px solid var(--discover-line, #e7dfd1); border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgba(45, 52, 43, .07); }
.finder-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding: 4px; border-radius: 14px; background: #f6f1e8; width: fit-content; max-width: 100%; scrollbar-width: none; }
.finder-tabs[hidden] { display: none; }
.finder-tabs button { flex: 0 0 auto; padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; color: #4b5563; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.finder-tabs button.active { background: #fff; color: #b84416; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.finder-search { position: relative; margin-bottom: 14px; }
.finder-search svg { position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: #8a8f87; stroke-width: 2; }
.finder-search input { width: 100%; height: 52px; padding: 0 16px 0 46px; border: 1.5px solid #e7dfd1; border-radius: 14px; background: #fffdf8; color: #17221d; font-family: inherit; font-size: 15px; font-weight: 600; outline: none; }
.finder-search input:focus { border-color: #e86424; background: #fff; box-shadow: 0 0 0 4px rgba(232,100,36,.12); }

.finder-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.finder-chips button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid #e7dfd1; border-radius: 999px; background: #fff; color: #17221d; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.finder-chips button:hover { border-color: #e86424; }
.finder-chips button.active { border-color: #17221d; background: #17221d; color: #fff; }
.finder-chips button span { font-size: 16px; }
.finder-chips button small { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #f6f1e8; color: #4b5563; font-size: 10px; }
.finder-chips button.active small { background: rgba(255,255,255,.2); color: #fff; }
.finder-none { margin: 6px 0; color: #6f786f; font-size: 13px; }

.finder-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.finder-results-head h3 { margin: 0; color: #17221d; font: 800 22px/1.1 "Baloo 2", sans-serif; }
.finder-results-head h3 small { color: #6f786f; font: 700 12px/1 Inter, sans-serif; }
.finder-results-head a { color: #b84416; font-size: 12px; font-weight: 900; white-space: nowrap; }
.finder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }

.fv-card { display: flex; flex-direction: column; gap: 14px; padding: 15px; border: 1px solid #eee8dc; border-radius: 16px; background: #fffdf8; transition: border-color .15s, box-shadow .15s; }
.fv-card:hover { border-color: #e0cfb6; box-shadow: 0 8px 22px rgba(42,51,43,.07); }
.fv-top { display: flex; gap: 12px; min-width: 0; }
.fv-avatar { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; font: 800 22px/1 "Baloo 2", sans-serif; }
.fv-info { min-width: 0; }
.fv-info h4 { margin: 0 0 3px; font: 800 17px/1.2 "Baloo 2", sans-serif; }
.fv-info h4 a { color: #17221d; }
.fv-verified { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #247153; color: #fff; font: 900 10px/1 Inter, sans-serif; vertical-align: 2px; }
.fv-info p { margin: 0; overflow: hidden; color: #6f786f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fv-rating { display: inline-block; margin-top: 4px; color: #b45309; font-size: 12px; font-weight: 900; }
.fv-rating small { color: #6f786f; font-weight: 700; }
.fv-actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; margin-top: auto; }
.fv-actions:not(:has(.fv-wa)) { grid-template-columns: 1fr auto; }
.fv-call, .fv-wa, .fv-profile { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 11px; font-family: inherit; font-size: 12px; font-weight: 900; text-decoration: none; cursor: pointer; white-space: nowrap; }
.fv-call { background: #e86424; color: #fff; }
.fv-call:hover { background: #b84416; color: #fff; }
.fv-wa { background: #16a34a; color: #fff; }
.fv-wa:hover { background: #128a3e; color: #fff; }
.fv-profile { border: 1px solid #e7dfd1; background: #fff; color: #17221d; }
.fv-profile:hover { border-color: #17221d; color: #17221d; }
.fv-more { display: grid; place-items: center; min-height: 100px; border: 1px dashed #e0cfb6; border-radius: 16px; color: #b84416; font-size: 13px; font-weight: 900; }

.fv-empty { display: flex; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px dashed #e0cfb6; border-radius: 16px; background: #fffaf2; }
.fv-empty strong { display: block; color: #17221d; font-size: 15px; }
.fv-empty p { margin: 4px 0 0; color: #35453c; font-size: 13px; }
.fv-empty-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 640px) {
  .finder-head { flex-direction: column; align-items: flex-start; }
  .finder-panel { padding: 12px; border-radius: 18px; }
  .finder-search input { height: 48px; font-size: 14px; }
  .finder-grid { grid-template-columns: 1fr; }
  .finder-results-head h3 { font-size: 19px; }
}

/* Finder now sits directly under the hero; give the stats row below it breathing room. */
.finder + .stats-section { margin-top: 20px; }
.finder { margin-top: 28px; scroll-margin-top: 80px; }


/* ── Get-quotes page (/services/{slug}/quote) ─────────────── */
.quote-hero { padding: 24px 0 26px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.quote-card { padding: 22px; border: 1px solid #e7dfd1; border-radius: 20px; background: #fff; box-shadow: 0 18px 48px rgba(45,52,43,.07); }
.quote-card .g-label { font-size: 14px; }
.quote-services { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-service { position: relative; cursor: pointer; }
.quote-service input { position: absolute; opacity: 0; pointer-events: none; }
.quote-service > span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid #e7dfd1; border-radius: 999px; background: #fff; color: #17221d; font-size: 13px; font-weight: 800; transition: all .15s; }
.quote-service:hover > span { border-color: #e86424; }
.quote-service input:checked + span { border-color: #e86424; background: #fff1e6; color: #b84416; }
.quote-service input:checked + span::after { content: "✓"; font-weight: 900; }
.quote-service input:focus-visible + span { outline: 2px solid #e86424; outline-offset: 2px; }
.quote-consent { align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #f6f1e8; font-size: 12.5px; line-height: 1.5; }
.quote-consent input { flex: 0 0 auto; margin-top: 2px; }
.quote-vendors { display: grid; gap: 8px; }
.quote-vendor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid #eee8dc; border-radius: 14px; background: #fffdf8; }
.quote-vendor strong { display: block; color: #17221d; font-size: 14px; }
.quote-vendor small { color: #6f786f; font-size: 12px; }
.quote-vendor-actions { display: flex; gap: 6px; }
.finder-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #fff1e6, #fdf2f8); }
.finder-cta strong { display: block; color: #17221d; font-size: 15px; }
.finder-cta span { color: #35453c; font-size: 13px; }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { order: 2; }
  .quote-card { padding: 16px; }
}
