/* Brand, layout and typography tokens are the rebranding entry point. */
:root {
  color-scheme: light;
  --ink: #1b3030;
  --muted: #536360;
  --brand: #176548;
  --brand-hover: #104c36;
  --brand-soft: #edf5f0;
  --surface: #f5f8f6;
  --line: #dce4df;
  --focus: #245dbb;
  --radius: 16px;
  --content: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.7vw, 3.45rem); letter-spacing: -.045em; font-weight: 700; }
h2 { font-size: 1.75rem; letter-spacing: -.025em; font-weight: 650; }
h3 { font-size: 1.0625rem; font-weight: 650; }
input { min-width: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 20; padding: 12px 18px; color: #fff; background: var(--brand); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 9px; font-weight: 650; line-height: 1.4; text-align: center; }
.button-primary { color: #fff; background: var(--brand); }
.button-primary:hover { background: var(--brand-hover); }
.button-outline { color: var(--brand); border-color: var(--brand); background: #fff; }
.button-outline:hover { background: var(--brand-soft); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--brand-hover); }

/* Navigation is a disclosure on small screens and remains visible without JS. */
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark rect { fill: var(--brand); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.primary-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 550; }
.primary-nav a:hover, .footer-nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-advertise { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* The search is the first-screen activity; the image stays secondary. */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 68px; align-items: center; padding-block: 54px; }
.location-picker { margin-bottom: 18px; }
.location-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.area-label { display: flex; align-items: center; gap: 7px; color: var(--brand); font-size: .9375rem; font-weight: 600; }
.area-label svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.location-toggle { min-height: 44px; padding: 7px 0; border: 0; background: transparent; color: var(--brand); font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.location-panel { min-width: 0; margin: 12px 0 0; padding: 16px; border: 1px solid #becdc4; border-radius: 12px; background: #fff; }
.location-panel legend { padding-inline: 5px; font-size: .9375rem; font-weight: 650; }
.location-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; align-items: end; gap: 12px; }
.location-fields > div { min-width: 0; }
.location-fields label { display: block; margin-bottom: 7px; font-size: .9375rem; font-weight: 600; }
.location-fields select { width: 100%; min-width: 0; min-height: 48px; padding: 8px 10px; border: 1px solid #becdc4; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.location-hint, .location-notice { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.location-notice { padding-left: 12px; border-left: 3px solid var(--brand); }
.page-main > .location-picker { max-width: 760px; margin-top: 20px; }
.hero-copy h1 span { display: block; color: var(--brand); }
.hero-description { max-width: 440px; margin-top: 18px; font-size: 1.125rem; color: var(--muted); }
.search-form { margin-top: 28px; }
.search-form label { display: block; margin-bottom: 9px; font-weight: 650; }
.search-controls { display: flex; gap: 8px; padding: 7px; border: 1px solid #becdc4; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px #1b303007; }
.search-input-wrap { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding-left: 10px; }
.search-input-wrap svg { width: 21px; height: 21px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-input-wrap input { width: 100%; min-height: 48px; padding: 6px 0; border: 0; background: transparent; color: var(--ink); }
.search-input-wrap input::placeholder { color: #61706a; opacity: 1; }
.search-input-wrap input:focus-visible { outline-offset: 1px; border-radius: 3px; }
.search-controls:focus-within { border-color: var(--brand); }
.search-controls .button { flex-shrink: 0; }
.browse-note { margin-top: 12px; color: var(--muted); font-size: .875rem; }
.hero-visual { overflow: hidden; border-radius: 22px; }
.hero-image { width: 100%; height: 338px; object-fit: cover; object-position: center 58%; }

/* Six broad category entry points; detailed service lists live elsewhere. */
.categories-section { padding-top: 44px; }
.section-heading { margin-bottom: 23px; }
.section-heading p { margin-top: 8px; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card { display: flex; align-items: flex-start; gap: 16px; min-height: 126px; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.category-card:hover { background: var(--surface); border-color: #8caf9c; }
.category-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.category-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.category-copy { min-width: 0; padding-top: 2px; }
.category-copy h3 { font-size: 1rem; line-height: 1.35; }
.category-copy p { margin-top: 6px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.browse-all { display: flex; justify-content: center; margin-top: 15px; }

.how-section { padding-block: 36px 42px; }
.how-section h2 { font-size: 1.375rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 24px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; }
.step-number { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #c6d5cb; border-radius: 50%; color: var(--brand); font-size: .9375rem; font-weight: 650; }
.steps h3 { margin-top: 5px; }
.steps p { margin-top: 7px; color: var(--muted); font-size: .9375rem; }

.advertiser-section { padding-bottom: 44px; }
.advertiser-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.eyebrow { margin-bottom: 8px; color: var(--brand); font-size: .875rem; font-weight: 600; }
.advertiser-banner h2 { font-size: 1.375rem; }
.advertiser-banner h2 + p { margin-top: 8px; color: var(--muted); }
.advertiser-banner .button { flex-shrink: 0; }
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-brand { font-size: 1rem; font-weight: 650; }
.brand-domain { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.footer-about p { margin-top: 6px; color: var(--muted); font-size: .875rem; }
.footer-nav { display: grid; grid-template-columns: repeat(4, auto); column-gap: 26px; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; }

/* Shared, honest destination pages for future backend integration. */
.page-main { padding-block: 40px 56px; min-height: 60vh; }
.breadcrumb { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; color: var(--brand); font-size: .9375rem; text-decoration: underline; text-underline-offset: 4px; }
.page-title { max-width: 760px; font-size: clamp(2rem, 4vw, 2.75rem); }
.page-intro { margin-top: 14px; max-width: 660px; color: var(--muted); font-size: 1.0625rem; }
.notice-panel { max-width: 760px; margin-top: 30px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.notice-label { display: inline-block; margin-bottom: 13px; padding: 3px 10px; border: 1px solid #c6d5cb; border-radius: 6px; color: var(--brand); font-size: .875rem; font-weight: 600; }
.notice-panel h2 { font-size: 1.375rem; }
.notice-panel p { margin-top: 14px; color: var(--muted); }
.notice-panel .button { margin-top: 20px; }
.search-context { overflow-wrap: anywhere; }
.directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.directory-group { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.directory-group h2 { font-size: 1.25rem; }
.directory-group ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.directory-group li { max-width: 100%; }
.directory-group a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--brand); font-size: .9375rem; }
.directory-group a:hover { background: var(--brand-soft); }
.page-main .search-form { max-width: 760px; }

@media (max-width: 1050px) {
  .hero-grid { gap: 32px; grid-template-columns: 1.35fr 1fr; }
  .hero-image { height: 330px; }
  .category-card { padding: 21px 16px; gap: 12px; }
  .category-copy h3 { font-size: .9375rem; }
  .steps { gap: 24px; }
  .footer-inner { flex-direction: column; gap: 14px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 12px; flex-wrap: wrap; padding-block: 12px; }
  .brand { font-size: 1.125rem; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-actions { margin-left: auto; order: 1; }
  .header-advertise { padding-inline: 12px; font-size: .875rem; }
  .js .menu-toggle { display: inline-flex; order: 2; }
  .primary-nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; gap: 4px 22px; padding-top: 8px; border-top: 1px solid var(--line); }
  .js .primary-nav[data-open="false"] { display: none; }
  .primary-nav a { min-height: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 30px; }
  .location-picker { margin-bottom: 14px; }
  .location-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .location-fields .button { grid-column: 1 / -1; width: 100%; }
  h1 { font-size: clamp(2rem, 7.8vw, 2.8rem); }
  .hero-description { max-width: 380px; margin-top: 14px; font-size: 1rem; }
  .search-form { margin-top: 23px; }
  .hero-visual { border-radius: 14px; }
  .hero-image { height: 142px; object-position: center 65%; }
  .categories-section { padding-top: 30px; }
  h2 { font-size: 1.375rem; }
  .section-heading { margin-bottom: 18px; }
  .section-heading p { margin-top: 6px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card { min-height: 165px; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px; }
  .category-icon { width: 38px; height: 38px; border-radius: 10px; }
  .category-icon svg { width: 24px; height: 24px; }
  .category-copy { padding: 0; }
  .category-copy h3 { font-size: .9375rem; }
  .category-copy p { font-size: .875rem; }
  .how-section { padding-block: 27px 32px; }
  .steps { grid-template-columns: 1fr; gap: 19px; margin-top: 20px; }
  .steps p { margin-top: 5px; }
  .advertiser-section { padding-bottom: 30px; }
  .advertiser-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .advertiser-banner .button { width: 100%; }
  .advertiser-banner h2 + p { font-size: .9375rem; }
  .footer-nav { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .site-footer { padding-block: 23px; }
  .page-main { padding-block: 25px 36px; }
  .directory { grid-template-columns: 1fr; gap: 16px; }
  .notice-panel { padding: 22px; }
}
@media (max-width: 420px) {
  .location-fields { grid-template-columns: minmax(0, 1fr); }
  .search-controls { flex-wrap: wrap; padding: 8px; gap: 7px; }
  .search-input-wrap { flex-basis: 100%; padding-left: 6px; }
  .search-controls .button { width: 100%; }
  .search-input-wrap input { font-size: 1rem; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 6px; }
  .brand { font-size: 1rem; gap: 6px; }
  .brand-mark { width: 24px; height: 24px; }
  .header-actions { gap: 6px; }
  .header-advertise { padding-inline: 9px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 106px; flex-direction: row; align-items: center; gap: 15px; }
}
/* Rem-based breakpoints also preserve usability with enlarged browser text. */
@media (max-width: 48rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .location-fields { grid-template-columns: minmax(0, 1fr); }
  .location-fields .button { grid-column: 1 / -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .button, .category-card, .category-icon, .step-number { border: 1px solid ButtonText; }
}

/* Local Bootstrap SVGs keep pickers recognisable without a font or CDN. */
.category-icon svg.bi, .area-label svg.bi, .search-input-wrap svg.bi, .menu-toggle svg.bi { fill: currentColor; stroke: none; }
.location-toggle { display: inline-flex; align-items: center; gap: 8px; }
.location-toggle .bi { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.directory-image { width: 100%; height: 160px; margin-bottom: 22px; object-fit: cover; border-radius: 10px; }
@media (max-width: 767px) { .directory-image { height: 140px; margin-bottom: 18px; } }

/* Public results: compact controls, explicit sample view, and cost/review separation. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body[data-page="search"] { background: #f8faf8; }
body[data-page="search"] .page-main { padding-top: 22px; }
body[data-page="search"] .breadcrumb { margin-bottom: 10px; }
.results-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.results-page-heading .page-title { font-size: clamp(1.65rem,3vw,2.3rem); }
.results-page-heading .eyebrow { font-size: .8125rem; margin-bottom: 7px; }
.sample-toggle { font-size: .875rem; min-height: 44px; padding: 9px 15px; flex-shrink: 0; }
body[data-page="search"] .search-context { font-size: .875rem; margin-top: 10px; }
body[data-page="search"] .location-picker { max-width: none; margin-block: 8px 0; }
body[data-page="search"] .results-search { max-width: none; margin-top: 12px; }
body[data-page="search"] .site-footer { background: #fff; }
.search-controls > [data-search-hidden] { display: none; }
.sample-banner { display: flex; align-items: center; gap: 16px; padding: 13px 17px; margin-top: 18px; border: 1px solid #d8caa5; border-radius: 10px; background: #fff9e9; color: #66512c; }
.sample-banner p { font-size: .8125rem; line-height: 1.5; }
.sample-badge { flex-shrink: 0; font-size: .75rem; font-weight: 700; border: 1px solid #d8caa5; padding: 4px 9px; border-radius: 5px; }
.search-workspace { margin-top: 25px; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.results-summary h2 { font-size: 1.375rem; }
.results-summary p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.results-tools { display: flex; align-items: center; gap: 12px; }
.filter-toggle { gap: 8px; min-height: 46px; padding: 10px 16px; border-color: #becdc4; color: var(--brand); background: #fff; font-size: .9375rem; }
.filter-toggle svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.filter-toggle[aria-expanded="true"] { background: var(--brand-soft); border-color: var(--brand); }
.filter-count { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; font-size: .75rem; border-radius: 50%; color: #fff; background: var(--brand); }
.sort-control { display: flex; align-items: center; gap: 8px; }
.sort-control label { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.sort-control select, .filter-field select { width: 100%; min-width: 0; min-height: 46px; padding: 10px; border: 1px solid #becdc4; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: .875rem; }
.sort-control select { width: 210px; }
.search-filter-panel { padding: 22px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.filter-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.filter-field label { display: block; margin-bottom: 7px; font-size: .8125rem; font-weight: 650; }
.filter-field select:disabled { color: #68746c; background: #f5f7f5; }
.field-hint { font-size: .75rem; color: var(--muted); margin-top: 6px; }
.price-filter { min-width: 0; border: 0; padding: 0; margin: 20px 0 0; }
.price-filter legend { padding: 0; font-size: .8125rem; font-weight: 650; }
.price-filter legend span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.price-options { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.price-option { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff; }
.price-option:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); }
.price-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); }
.price-option b, .price-option small { display: block; }
.price-option b { font-size: .9375rem; letter-spacing: .03em; color: var(--brand); }
.price-option small { font-size: .6875rem; color: var(--muted); margin-top: 2px; }
.quote-option b { font-size: .8125rem; letter-spacing: 0; }
.filter-panel-footer { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 18px; }
.clear-filters { min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: var(--brand); font: inherit; font-size: .8125rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.filter-panel-footer .clear-filters { margin-right: auto; }
.filter-panel-footer .button { min-height: 44px; font-size: .875rem; }
.active-filter-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 12px; border: 1px solid #c5d7cb; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font: inherit; font-size: .8125rem; text-align: left; }
.chip-cross { font-size: 1.125rem; line-height: 1; }
.active-filter-row > .clear-filters { white-space: nowrap; }
.sort-explanation { margin-bottom: 15px; font-size: .8125rem; color: var(--muted); }
.search-result-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.search-result-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.result-visual { position: relative; }
.result-visual:hover > img { opacity: .94; }
.result-logo-visual { background: #fff; }
.result-visual.result-logo-visual > img { object-fit: contain; padding: 24px; }
.result-visual > img { width: 100%; height: 155px; object-fit: cover; }
.result-image-label { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 4px; background: #fffffff2; color: #46564d; font-size: .625rem; }
.result-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 19px; }
.sample-card-label { padding: 2px 7px; margin-bottom: 10px; border-radius: 4px; color: #735a26; background: #fff5d9; font-size: .625rem; font-weight: 650; }
.result-category { color: var(--brand); font-size: .6875rem; font-weight: 650; margin-bottom: 7px; }
.result-identity { display: flex; align-items: center; gap: 11px; width: 100%; }
.provider-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; overflow: hidden; border: 1px solid #c6d5cb; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: .875rem; font-weight: 700; }
.provider-avatar img { width: 100%; height: 100%; object-fit: contain; }
.freelancer-avatar { border-radius: 50%; }
.provider-name-block { min-width: 0; }
.provider-name-block .result-category { margin-block: 4px 0; }
.result-profile-name { overflow-wrap: anywhere; }
.result-profile-name:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.provider-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.provider-badge { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid #d5ded8; border-radius: 5px; background: #f5f7f5; color: #47574d; font-size: .6875rem; font-weight: 600; }
.provider-badge-licence { border-color: #a7cbb6; background: var(--brand-soft); color: var(--brand); }
.provider-badge-licence::before { content: '✓'; margin-right: 5px; }
.provider-badge-sample-licence { border-color: #d8caa5; border-style: dashed; color: #735a26; background: #fff9e9; }
.result-services { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 10px 0 0; list-style: none; }
.result-services li { padding: 2px 7px; border-radius: 4px; color: var(--brand); background: #f0f6f2; font-size: .6875rem; }
.result-name { font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.015em; }
.result-description { font-size: .8125rem; color: var(--muted); margin-top: 9px; }
.result-place { display: flex; align-items: flex-start; gap: 6px; margin-top: 14px; font-size: .75rem; }
.result-place img { flex-shrink: 0; margin-top: 2px; width: 14px; height: 14px; }
.result-coverage { font-size: .6875rem; color: var(--muted); margin-top: 3px; }
.result-metrics { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; padding-top: 13px; margin-top: 14px; border-top: 1px solid var(--line); }
.metric-label { display: block; color: var(--muted); font-size: .6875rem; }
.price-symbols { font-size: 1.0625rem; font-weight: 700; letter-spacing: .08em; color: var(--brand); margin-top: 3px; }
.price-muted { color: #c3cdc6; }
.quote-required, .unrated-label { font-size: .8125rem; font-weight: 600; margin-top: 5px; }
.result-review { text-align: right; }
.rating-value { font-size: 1rem; font-weight: 700; margin-top: 3px; }
.rating-star { color: #987324; }
.review-count { display: block; font-size: .6875rem; color: var(--muted); }
.result-price-detail { font-size: .6875rem; color: var(--muted); margin-block: 10px 16px; }
.sample-metric { font-size: .6875rem; color: var(--muted); margin-bottom: 12px; }
.result-card-actions { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: auto; }
.result-card-actions .button { flex-shrink: 0; min-height: 44px; padding: 9px 12px; font-size: .8125rem; }
.result-card-actions button:disabled { opacity: 1; color: #6a7870; background: #f3f6f3; border-color: #d6dfd9; cursor: default; }
.sample-contact-note { font-size: .625rem; color: var(--muted); }
.results-empty { padding: 44px 24px; text-align: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.empty-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 17px; border-radius: 50%; color: var(--brand); background: var(--brand-soft); }
.empty-icon svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.results-empty h3 { font-size: 1.25rem; }
.results-empty > p:not(.eyebrow) { max-width: 520px; margin: 12px auto 0; font-size: .875rem; color: var(--muted); }
.results-empty .empty-footnote { font-size: .8125rem; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.empty-actions .button { min-height: 44px; font-size: .875rem; }
.results-bottom-note, .noscript-note { margin-top: 22px; color: var(--muted); font-size: .75rem; }
@media (max-width: 1050px) {
  .search-result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  body[data-page="search"] .page-main { padding-top: 14px; }
  .results-page-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .results-page-heading .eyebrow { display: none; }
  .sample-toggle { min-height: 36px; font-size: .75rem; padding: 7px 11px; }
  .sample-banner { align-items: flex-start; gap: 8px; flex-direction: column; padding: 12px 14px; }
  .sample-banner p { font-size: .75rem; }
  .sample-badge { font-size: .6875rem; padding: 2px 7px; }
  .search-workspace { margin-top: 20px; }
  .results-toolbar { flex-direction: column; align-items: stretch; gap: 13px; }
  .results-summary { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .results-summary h2 { font-size: 1.125rem; }
  .results-summary p { margin-top: 0; font-size: .8125rem; }
  .results-tools { justify-content: space-between; gap: 9px; }
  .filter-toggle { flex-shrink: 0; padding-inline: 12px; font-size: .8125rem; }
  .sort-control { min-width: 0; flex: 1; }
  .sort-control label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .sort-control select { width: 100%; min-width: 0; font-size: .8125rem; }
  .search-filter-panel { padding: 16px; }
  .filter-fields { grid-template-columns: 1fr; gap: 14px; }
  .price-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); }
  .price-option { padding: 8px 10px; }
  .search-result-grid { grid-template-columns: 1fr; gap: 16px; }
  .result-visual > img { height: 145px; }
  .result-card-body { padding: 18px; }
  .sample-card-label { margin-bottom: 8px; }
  .result-description { margin-top: 7px; }
  .result-place { margin-top: 10px; }
  .active-filter-row { gap: 9px; }
  .filter-chip { font-size: .75rem; padding-inline: 9px; }
  .results-empty { padding: 32px 20px; }
}
@media (max-width: 30rem) {
  .result-card-actions { flex-wrap: wrap; }
  .results-tools { flex-wrap: wrap; }
  .sort-control { flex-basis: 160px; }
}
@media (forced-colors: active) {
  .filter-chip, .price-option, .search-result-card, .filter-toggle { border: 1px solid ButtonText; }
}

/* Provider profiles: useful identity first, service detail beside a compact contact panel. */
body[data-page="provider"] { background: var(--surface); }
body[data-page="provider"] .site-footer { background: #fff; }
body[data-page="provider"] .page-main { padding-top: 22px; }
body[data-page="provider"] .page-main > .breadcrumb { display: none; }
.profile-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.profile-navigation .text-link { font-size: .9375rem; }
.profile-sample-toggle { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.profile-sample-banner { margin: 0 0 20px; }
.profile-sample-banner p { font-size: .875rem; }
.profile-sample-banner .sample-badge { font-size: .875rem; }
.profile-header { padding: 28px 30px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.profile-identity { display: flex; align-items: flex-start; gap: 20px; }
.profile-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 88px; height: 88px; overflow: hidden; border: 1px solid #c6d5cb; border-radius: 16px; background: var(--brand-soft); color: var(--brand); font-size: 1.625rem; font-weight: 700; }
.profile-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.profile-freelancer-avatar { border-radius: 50%; }
.profile-heading { min-width: 0; }
.profile-category { margin-bottom: 8px; color: var(--brand); font-size: .875rem; font-weight: 650; }
.profile-heading h1 { font-size: clamp(1.5rem,3vw,2.25rem); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.profile-content .provider-badges { margin-top: 12px; gap: 8px; }
.profile-content .provider-badge { padding: 5px 9px; font-size: .875rem; }
.profile-content a.provider-badge { min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.profile-place { display: flex; align-items: flex-start; gap: 7px; margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.profile-icon { flex-shrink: 0; width: 20px; height: 20px; object-fit: contain; }
.profile-place .profile-icon { margin-top: 2px; width: 18px; height: 18px; }
.profile-description { max-width: 780px; margin-top: 22px; font-size: 1rem; color: var(--muted); }
.profile-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 26px; padding-block: 20px; border-top: 1px solid var(--line); }
.profile-summary-item { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.profile-summary-item strong { font-size: 1.0625rem; font-weight: 650; line-height: 1.4; }
.profile-summary-label { display: block; color: var(--muted); font-size: .875rem; }
.profile-summary-detail { font-size: .875rem; color: var(--muted); }
.profile-price-level { font-size: 1.0625rem; line-height: 1.4; font-weight: 700; letter-spacing: .06em; color: var(--brand); }
.profile-section-nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 12px 0 24px; }
.profile-section-nav a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: .9375rem; color: var(--muted); }
.profile-section-nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(17rem,20rem); align-items: start; gap: 24px; }
.profile-main-content, .profile-sidebar { min-width: 0; }
.profile-section { padding: 26px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; scroll-margin-top: 20px; }
.profile-section h2 { font-size: 1.375rem; line-height: 1.3; }
.profile-section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.profile-section-heading > span { color: var(--muted); font-size: .875rem; }
.profile-section-intro { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.profile-small-note { margin-top: 14px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.profile-offers { margin-top: 22px; }
.profile-offer { padding: 22px 0; border-top: 1px solid var(--line); }
.profile-offer:first-child { padding-top: 0; border-top: 0; }
.profile-offer:last-child { padding-bottom: 0; }
.profile-offer-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.profile-offer h3 { font-size: 1.0625rem; line-height: 1.4; }
.profile-offer-heading .profile-price-level { font-size: .9375rem; }
.profile-offer-description { margin-top: 9px; color: var(--muted); font-size: 1rem; }
.profile-offer-scope { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 6px 12px; margin: 14px 0 0; font-size: .875rem; }
.profile-offer-scope dt { color: var(--ink); font-weight: 600; }
.profile-offer-scope dd { margin: 0; color: var(--muted); }
.profile-offer-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.profile-offer-price { margin-top: 3px; font-size: 1.125rem; font-weight: 700; color: var(--brand); }
.profile-service-quote { min-height: 44px; padding: 9px 14px; font-size: .875rem; }
.profile-promotions-section { border-color: #cbd9bb; background: #fcfdf7; }
.profile-promotion { padding-top: 18px; }
.profile-promotion-label { margin-bottom: 6px; color: var(--brand); font-size: .875rem; }
.profile-promotion-price { margin-top: 14px; font-size: 1.25rem; font-weight: 700; color: var(--brand); }
.profile-promotion-dates { margin-top: 7px; color: var(--muted); font-size: .875rem; }
.profile-promotion-terms { margin-top: 12px; font-size: .875rem; }
.profile-promotion-terms summary, .profile-credential-details summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 600; }
.profile-promotion-terms p { margin-top: 6px; color: var(--muted); }
.profile-about { margin-top: 14px; font-size: 1rem; }
.profile-subheading { margin-top: 24px; font-size: 1rem; }
.profile-areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.profile-areas li { padding: 7px 11px; border: 1px solid #d5e2d9; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: .9375rem; }
.profile-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.profile-gallery-item { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.profile-gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.profile-gallery-item figcaption { padding: 10px 12px; font-size: .875rem; color: var(--muted); }
.profile-review { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.profile-review-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.profile-review-heading h3 { font-size: 1rem; }
.profile-review-score { font-size: .9375rem; color: #765817; font-weight: 650; }
.profile-review-meta { margin-top: 5px; color: var(--muted); font-size: .875rem; }
.profile-review-text { margin-top: 10px; font-size: 1rem; }
.profile-credential-details { margin-top: 14px; }
.profile-credential-list { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 10px 16px; margin: 16px 0 0; font-size: .9375rem; }
.profile-credential-list dt { color: var(--muted); }
.profile-credential-list dd { margin: 0; }
.profile-sidebar { position: sticky; top: 24px; }
.profile-contact-panel, .profile-links-panel { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.profile-contact-panel { background: var(--brand-soft); border-color: #cbded1; }
.profile-contact-panel h2 { font-size: 1.25rem; line-height: 1.3; }
.profile-contact-description { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.profile-contact-actions { display: grid; gap: 10px; margin-top: 20px; }
.profile-contact-actions .button, .profile-mobile-contact .button { min-width: 0; gap: 9px; font-size: .9375rem; padding-inline: 12px; overflow-wrap: anywhere; }
.profile-whatsapp:not(:disabled) .profile-icon { filter: invert(1); }
.profile-contact-actions .button:disabled, .profile-mobile-contact .button:disabled { opacity: 1; color: #657269; border-color: #cdd8d0; background: #e7ede8; cursor: default; }
.profile-contact-status { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.profile-links-panel { margin-top: 18px; }
.profile-links-panel h2 { font-size: 1.0625rem; line-height: 1.4; }
.profile-links { padding: 0; margin: 12px 0 0; list-style: none; }
.profile-social-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; text-align: left; }
.profile-links li:last-child .profile-social-link { border-bottom: 0; }
.profile-social-link > span { min-width: 0; overflow-wrap: anywhere; }
.profile-social-link strong { display: block; font-size: .9375rem; font-weight: 600; }
.profile-social-domain { display: block; margin-top: 2px; font-size: .875rem; color: var(--muted); }
.profile-social-link:disabled { opacity: 1; cursor: default; }
.profile-social-link:not(:disabled):hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.profile-report-link { margin-top: 12px; padding-inline: 6px; }
.profile-report-link .text-link { font-size: .875rem; font-weight: 500; }
.profile-mobile-contact { display: none; }
.profile-content p, .profile-content dd { overflow-wrap: anywhere; }
.profile-quote-dialog { width: min(540px,calc(100% - 32px)); max-height: calc(100% - 32px); padding: 30px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fff; overflow-y: auto; }
.profile-quote-dialog::backdrop { background: #13282088; }
.profile-quote-dialog > .eyebrow { padding-right: 42px; }
.profile-quote-dialog h2 { margin-top: 14px; font-size: 1.5rem; }
.profile-dialog-close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 1.75rem; }
.profile-quote-service { margin-top: 14px; color: var(--brand); font-weight: 650; overflow-wrap: anywhere; }
#quote-dialog-description { margin-top: 14px; }
.profile-quote-status { margin-top: 16px; padding: 12px; border: 1px solid #e1d6b4; border-radius: 7px; background: #fffbef; color: #665634; font-size: .875rem; }
.profile-quote-account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 52rem) {
  body[data-page="provider"] { padding-bottom: calc(8rem + env(safe-area-inset-bottom)); }
  .profile-layout { grid-template-columns: minmax(0,1fr); }
  .profile-sidebar { position: static; }
  .profile-mobile-contact { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 12px max(16px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -3px 14px #1b30300a; }
}
@media (max-width: 40rem) {
  .profile-header { padding: 20px 20px 0; }
  .profile-identity { gap: 14px; }
  .profile-avatar { width: 60px; height: 60px; border-radius: 12px; font-size: 1.25rem; }
  .profile-freelancer-avatar { border-radius: 50%; }
  .profile-avatar img { padding: 5px; }
  .profile-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
  .profile-summary-item:last-child { grid-column: 1 / -1; }
  .profile-section, .profile-contact-panel, .profile-links-panel { padding: 20px; }
  .profile-section-nav { column-gap: 18px; margin-bottom: 18px; }
  .profile-gallery { grid-template-columns: minmax(0,1fr); }
  .profile-quote-dialog { padding: 24px; }
  .profile-mobile-contact .button { gap: 7px; font-size: .875rem; padding: 10px 8px; }
  .profile-mobile-contact .profile-icon { width: 18px; height: 18px; }
}
@media (max-width: 25rem) {
  .profile-identity { flex-direction: column; }
  .profile-summary { grid-template-columns: minmax(0,1fr); }
  .profile-offer-scope, .profile-credential-list { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .profile-offer-scope dd, .profile-credential-list dd { margin-bottom: 8px; }
}
@media (forced-colors: active) {
  .profile-header, .profile-section, .profile-contact-panel, .profile-links-panel, .profile-mobile-contact { border: 1px solid CanvasText; }
}
.profile-detail-check {display:inline-block;font-size:.75rem;font-weight:600;line-height:1.5;color:#176548;background:#edf6f0;border:1px solid #cadfd0;border-radius:6px;padding:4px 8px;margin:4px 0;}
.profile-place .profile-detail-check {margin-left:8px;}
.profile-checked-item {padding:20px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;}
.profile-checked-item h3 {font-size:1rem;margin:0 0 6px;}
.profile-checked-item:last-of-type {border-bottom:0;}
