/*
 * Pros module — /join-pros/, /pros/ (+ public profiles), /pro/ portal, the service-page pros block and the
 * review / complaint cards on /track/. Extends the shared design system (assets/css/bati.css, tokens --b-*).
 * Logical properties only (RTL). Prefix: .bp-*.
 * Module-local components (promotion candidates): .bp-ico, .bp-avatar, .bp-chip(s), .bp-acc (accordion row),
 * .bp-dl (2-col definition list), .bp-empty (empty state), .bp-status (status pill on navy), .bp-tabs (pill tabs).
 */

/* ---------- full-width shell (templates/pros/page.php) ---------- */
.bati-pros-shell { width: 100%; clear: both; background: #fff; }

/* ---------- theme hardening: Elementor kit / OceanWP style h1-h3, links, legends with equal specificity ---------- */
.bati.bp :where(p, li, dt, dd, label, summary, td, th, legend, small, figcaption, blockquote) { font-family: var(--b-font); }
.bati.bp :where(h1, h2, h3, h4) { font-family: var(--b-font); color: var(--b-navy); font-weight: 800; letter-spacing: 0; text-transform: none; }
.bati.bp :where(h1) { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; }
.bati.bp :where(h2) { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; }
.bati.bp :where(h3) { font-size: 19px; font-weight: 700; line-height: 1.3; }
.bati.bp .bati-hero :where(h1, h2), .bati.bp .bati-cta-banner :where(h2, h3) { color: #fff; }
.bati.bp :where(a:not(.bati-btn)) { color: var(--b-orange-dark); }
.bati.bp :where(a:not(.bati-btn)):hover { color: var(--b-navy); }
.bati.bp .bati-hero :where(a:not(.bati-btn)), .bati.bp .bati-cta-banner :where(a:not(.bati-btn)) { color: #fff; }
.bati.bp fieldset, .bati .bp-review fieldset, .bati .bp-complaint fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bati.bp legend, .bati .bp-review legend, .bati .bp-complaint legend { border: 0; width: auto; float: none; padding: 0; }
.bati.bp :where(button, input[type=submit], summary.bati-btn), .bati .bp-review :where(button), .bati .bp-complaint :where(button) { text-transform: none; letter-spacing: 0; }
.bati.bp [hidden], .bati .bp-review [hidden], .bati .bp-complaint [hidden] { display: none !important; }
/* form controls: the Elementor kit styles `input:not([type=button]):not([type=submit])` at (0,3,1) (45px radius, kit
   font/colour) and OceanWP caps number inputs at 50px and redraws checkboxes — restore the design-system controls. */
body .bati.bp input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), body .bati.bp textarea, body .bati.bp select,
body .bati .bp-review input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), body .bati .bp-review textarea, body .bati .bp-review select,
body .bati .bp-complaint input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), body .bati .bp-complaint textarea, body .bati .bp-complaint select {
	font-family: var(--b-font); font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--b-ink); border-radius: var(--b-radius-input); max-width: none;
}
body .bati.bp input[type=number], body .bati.bp input[type=text], body .bati.bp input[type=email], body .bati.bp input[type=tel], body .bati.bp input[type=password], body .bati.bp input[type=date], body .bati.bp input[type=datetime-local] { padding: 11px 14px; }
body .bati.bp input[type=checkbox], body .bati.bp input[type=radio], body .bati .bp-review input[type=checkbox], body .bati .bp-review input[type=radio], body .bati .bp-complaint input[type=checkbox] {
	-webkit-appearance: auto; appearance: auto; border-radius: 4px; box-shadow: none; background: none; accent-color: var(--b-orange); cursor: pointer;
}
body .bati.bp input[type=checkbox]::before, body .bati.bp input[type=radio]::before { content: none; display: none; }
.bati .bp-ico { display: inline-block; flex: none; vertical-align: middle; }
.bati .bp-narrow { max-width: 880px; }
.bati .bp-muted { color: var(--b-muted); }

/* ---------- shared bits ---------- */
.bati .bp-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--b-navy); color: #fff; font-weight: 800; font-size: 21px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.bati .bp-stars { color: var(--b-orange-light); letter-spacing: 1px; font-size: 17px; line-height: 1; }
.bati .bp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 15px; }
.bati .bp-rating b { color: var(--b-navy); font-size: 16px; }
.bati .bp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.bati .bp-badges .bati-badge .bp-ico { width: 14px; height: 14px; }
.bati .bp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.bati .bp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--b-radius-pill); background: var(--b-bg-alt); border: 1px solid var(--b-border); font-size: 14px; font-weight: 600; color: var(--b-navy); line-height: 1.3; }
.bati .bp-card-title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 0 0 16px; }
.bati .bp-card-title .bp-ico { color: var(--b-orange-dark); }
.bati .bp-sub { font-size: 15px; font-weight: 800; color: var(--b-navy); margin: 0 0 10px; }
.bati .bp-sub + .bp-chips + .bp-sub, .bati .bp-chips + .bp-sub { margin-top: 18px; }
.bati .bp-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--b-muted); margin: 0 0 10px; }
.bati .bp-note:last-child { margin-bottom: 0; }
.bati .bp-note .bp-ico { color: var(--b-navy); margin-top: 2px; }
.bati .bp-note--reg { color: var(--b-navy); font-weight: 700; }
.bati .bp-note--reg .bp-ico { color: var(--b-orange-dark); }
.bati .bp-empty { text-align: center; padding: 44px 24px; background: #fff; border: 1px dashed #C3CBD2; border-radius: var(--b-radius-card); }
.bati .bp-empty__ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--b-orange-tint); color: var(--b-orange-dark); display: flex; align-items: center; justify-content: center; }
.bati .bp-empty h2, .bati .bp-empty h3 { margin: 0 0 6px; font-size: 20px; }
.bati .bp-empty p { color: var(--b-muted); margin: 0 auto 18px; max-width: 54ch; }
.bati .bp-empty p:last-child { margin-bottom: 0; }
.bati .bp-empty .bati-actions { justify-content: center; }
.bati .bp-stack { display: grid; gap: 20px; }
.bati .bp-stack > * { margin: 0; min-width: 0; }
.bati .bp-stack > .bati-card + .bati-card { margin-top: 0; }
.bati .bp-hero-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.bati .bp-hero-points li { display: flex; align-items: flex-start; gap: 10px; color: #fff; font-weight: 600; font-size: 16px; }
.bati .bp-hero-points .bp-ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(245,130,31,.2); color: var(--b-orange-light); margin-top: 1px; }

/* accordion row (details/summary) */
.bati .bp-acc { border-top: 1px solid var(--b-border); }
.bati .bp-acc--plain { border-top: 0; }
.bati .bp-acc--spaced { margin-top: 12px; }
.bati .bp-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; font-weight: 800; color: var(--b-navy); }
.bati .bp-acc > summary::-webkit-details-marker { display: none; }
.bati .bp-acc > summary::marker { content: ""; }
.bati .bp-acc > summary::after { content: ""; margin-inline: auto 6px; width: 10px; height: 10px; border-inline-end: 2px solid var(--b-muted); border-bottom: 2px solid var(--b-muted); transform: rotate(45deg); transition: transform .15s ease; flex: none; }
.bati .bp-acc[open] > summary::after { transform: rotate(-135deg); }
.bati .bp-acc > summary:hover .bp-acc__t { color: var(--b-orange-dark); }
.bati .bp-acc__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--b-bg-alt); color: var(--b-navy); display: inline-flex; align-items: center; justify-content: center; }
.bati .bp-acc__t { display: flex; flex-direction: column; font-size: 16px; line-height: 1.35; }
.bati .bp-acc__t small { font-size: 13px; font-weight: 500; color: var(--b-muted); }
.bati .bp-acc__body { padding: 4px 0 18px; }
.bati .bp-acc--danger .bp-acc__ico { background: var(--b-err-tint); color: var(--b-err); }
.bati .bp-acc--brand .bp-acc__ico { background: var(--b-orange-tint); color: var(--b-orange-dark); }

/* 2-column definition list */
.bati .bp-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0 0 14px; }
.bati .bp-dl > div { padding: 10px 0; border-bottom: 1px solid var(--b-border); min-width: 0; }
.bati .bp-dl dt { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--b-muted); margin: 0 0 2px; }
.bati .bp-dl dt .bp-ico { color: var(--b-orange-dark); }
.bati .bp-dl dd { margin: 0; font-weight: 600; color: var(--b-ink); overflow-wrap: anywhere; }
.bati .bp-desc { background: var(--b-bg-alt); border-radius: var(--b-radius-input); padding: 12px 14px; white-space: pre-line; margin: 0 0 14px; overflow-wrap: anywhere; }
.bati .bp-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; list-style: none; padding: 0; }
.bati .bp-photos a { display: block; width: 104px; height: 104px; border-radius: var(--b-radius-input); overflow: hidden; border: 1px solid var(--b-border); background: var(--b-bg-alt); }
.bati .bp-photos img { width: 100%; height: 100%; object-fit: cover; }
.bati .bp-photos a.bp-file { width: auto; height: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; font-weight: 700; text-decoration: none; }

/* form helpers */
.bati .bp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.bati .bp-span-2 { grid-column: 1 / -1; }
.bati .bp-years { max-width: 220px; }
.bati input.bp-filein, .bati.bp input[type=file] { width: 100%; min-height: 52px; padding: 9px 10px; border: 2px dashed #C3CBD2; border-radius: var(--b-radius-input); background: #fff; font-family: var(--b-font); font-size: 15px; color: var(--b-muted); cursor: pointer; }
.bati input.bp-filein:hover, .bati.bp input[type=file]:hover { border-color: var(--b-orange-light); }
.bati input.bp-filein::file-selector-button, .bati.bp input[type=file]::file-selector-button { font-family: var(--b-font); font-weight: 700; font-size: 14px; border: 0; border-radius: var(--b-radius-pill); background: var(--b-navy); color: #fff; padding: 8px 16px; margin-inline-end: 12px; cursor: pointer; }
.bati.bp input[type=time] { min-height: 44px; padding: 8px 10px; border: 1px solid #C3CBD2; border-radius: var(--b-radius-input); font-family: var(--b-font); font-size: 15px; background: #fff; color: var(--b-ink); }
.bati.bp .bati-alert ul { margin: 0; padding-inline-start: 18px; }
.bati.bp .bati-notices:empty { display: none; }
.bati.bp .bati-choices label:hover { border-color: #C3CBD2; }
.bati.bp .bati-choices label:has(input:checked):hover { border-color: var(--b-orange); }

/* service category accordions (join form + portal profile) */
.bati .bp-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.bati .bp-cat { border: 1.5px solid var(--b-border); border-radius: var(--b-radius-input); background: #fff; min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.bati .bp-cat[open] { grid-column: 1 / -1; border-color: #C3CBD2; box-shadow: var(--b-shadow-card); }
.bati .bp-cat:has(input:checked) { border-color: var(--b-orange); }
.bati .bp-cat > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; cursor: pointer; font-weight: 700; color: var(--b-navy); }
.bati .bp-cat > summary::-webkit-details-marker { display: none; }
.bati .bp-cat > summary::marker { content: ""; }
.bati .bp-cat > summary:hover .bp-cat__name { color: var(--b-orange-dark); }
.bati .bp-cat__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--b-bg-alt); color: var(--b-navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bati .bp-cat:has(input:checked) .bp-cat__icon { background: var(--b-orange-tint); color: var(--b-orange-dark); }
.bati .bp-cat__name { flex: 1; min-width: 0; line-height: 1.3; font-size: 16px; }
.bati .bp-cat__count { font-size: 13px; font-weight: 700; color: var(--b-orange-dark); background: var(--b-orange-tint); border-radius: var(--b-radius-pill); padding: 2px 10px; white-space: nowrap; }
.bati .bp-cat__chev { color: var(--b-muted); transition: transform .15s ease; }
.bati .bp-cat[open] .bp-cat__chev { transform: rotate(180deg); }
.bati .bp-cat__body { padding: 14px; border-top: 1px solid var(--b-border); }
.bati .bp-cat__body label { font-size: 15px; min-height: 44px; }
.bati .bp-cat__body .bp-reg { margin-inline-start: 4px; color: var(--b-orange-dark); }
.bati .bp-reg-ok { color: var(--b-ok); font-size: 13px; font-weight: 700; margin-inline-start: 6px; }
.bati .bp-reg-need { color: var(--b-muted); font-size: 13px; font-weight: 600; margin-inline-start: 6px; }

/* "all areas" toggle card */
.bati .bp-all { position: relative; display: block; margin: 0 0 14px; cursor: pointer; }
.bati .bp-all input { position: absolute; opacity: 0; inset-inline-start: 16px; top: 18px; margin: 0; width: 20px; height: 20px; }
.bati .bp-all__box { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1.5px solid var(--b-border); border-radius: var(--b-radius-input); background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.bati .bp-all__box > .bp-ico { color: var(--b-navy); }
.bati .bp-all__box b { display: block; color: var(--b-navy); }
.bati .bp-all__box small { display: block; color: var(--b-muted); font-size: 14px; }
.bati .bp-all__box::after { content: ""; margin-inline-start: auto; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #C3CBD2; background: #fff; flex: none; }
.bati .bp-all:hover .bp-all__box { border-color: #C3CBD2; }
.bati .bp-all:has(input:checked) .bp-all__box { border-color: var(--b-orange); background: var(--b-orange-tint); }
.bati .bp-all:has(input:checked) .bp-all__box::after { border-color: var(--b-orange); background: var(--b-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 6.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.bati .bp-all:has(input:focus-visible) .bp-all__box { outline: 3px solid var(--b-orange-light); outline-offset: 2px; }
.bati .bp-areas { transition: opacity .15s ease; }
.bati .bp-areas.is-dim { opacity: .45; }

/* ---------- /join-pros/ ---------- */
.bati .bp-hero { padding-block: 52px; }
.bati .bp-hero h1 { margin-bottom: 12px; }
.bati .bp-hero .bati-lead { margin-bottom: 20px; }

.bati .bp-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bati .bp-how__step { position: relative; background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-radius-card); box-shadow: var(--b-shadow-card); padding: 28px 24px 24px; }
.bati .bp-how__step:not(:last-child)::after { content: ""; position: absolute; top: 57px; inset-inline-end: -25px; width: 26px; border-top: 2px dashed #C3CBD2; }
.bati .bp-how__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--b-orange-tint); color: var(--b-orange-dark); margin-bottom: 16px; }
.bati .bp-how__num { position: absolute; top: -4px; inset-inline-end: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--b-navy); color: #fff; font-size: 13px; font-weight: 800; line-height: 1; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.bati .bp-how__step h3 { margin: 0 0 8px; }
.bati .bp-how__step p { color: var(--b-muted); margin: 0; font-size: 16px; }

.bati .bp-why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bati .bp-why .bati-trust__item { background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-radius-card); box-shadow: var(--b-shadow-card); padding: 20px; gap: 14px; }
.bati .bp-why .bati-trust__icon { color: var(--b-orange-dark); font-size: inherit; }
.bati .bp-why .bati-trust__item b { font-size: 17px; margin-bottom: 4px; line-height: 1.3; }
.bati .bp-why .bati-trust__item div > span { display: block; font-size: 15px; line-height: 1.5; }

.bati .bp-join-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.bati .bp-form { padding: 32px 36px 30px; }
.bati .bp-form__head { padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--b-border); }
.bati .bp-form__head h2 { margin: 0 0 6px; font-size: clamp(24px, 2.4vw, 28px); }
.bati .bp-form__head p { margin: 0; }
.bati .bp-form__notices:focus { outline: none; }
.bati .bp-sec + .bp-sec { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--b-border); }
.bati .bp-sec__title { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 18px; font-size: 21px; font-weight: 800; color: var(--b-navy); line-height: 1.3; }
.bati .bp-sec__num { width: 34px; height: 34px; border-radius: 50%; background: var(--b-orange-tint); color: var(--b-orange-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex: none; }
.bati .bp-sec__title .bati-req { color: var(--b-err); }
.bati .bp-sec__hint { margin: -6px 0 16px; font-size: 14px; line-height: 1.5; }
.bati .bp-sec__hint .bp-ico { color: var(--b-navy); vertical-align: -2px; }
.bati .bp-reg-key { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bati .bp-reg-key .bp-ico { color: var(--b-orange-dark); }
.bati .bp-docs { display: grid; gap: 14px; }
.bati .bp-doc { background: var(--b-bg-alt); border: 1px solid var(--b-border); border-radius: var(--b-radius-card); padding: 16px 18px 2px; }
.bati .bp-doc__title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--b-navy); margin: 0 0 12px; }
.bati .bp-doc__title .bp-ico { color: var(--b-orange-dark); }
.bati .bp-doc-add { margin-top: 12px; }
.bati .bp-doc-add.bati-btn--ghost { padding-inline: 12px 16px; min-height: 44px; }
.bati .bp-sec--last .bati-check { line-height: 1.5; }
.bati .bp-submit { margin-top: 18px; min-height: 54px; font-size: 18px; }

.bati .bp-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.bati .bp-aside .bati-card + .bati-card { margin-top: 0; }
.bati .bp-aside h3 { font-size: 19px; margin: 0 0 14px; }
.bati .bp-aside .bati-checks li { font-size: 15px; }
.bati .bp-aside__phone { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--b-muted); margin: 0; padding: 0 4px; }
.bati .bp-aside__phone .bp-ico { color: var(--b-orange-dark); }
.bati .bp-aside__phone a { font-weight: 800; }

.bati .bp-faq { background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-radius-card); padding: 4px 24px; box-shadow: var(--b-shadow-card); }
.bati .bp-faq details:last-child { border-bottom: 0; }
.bati .bp-faq summary { min-height: 58px; align-items: center; }

.bati .bp-done { text-align: center; padding: 40px 32px 32px; }
.bati .bp-done__icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--b-ok-tint); color: var(--b-ok); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(29,122,70,.07); }
.bati .bp-done h2, .bati .bp-done__title { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 8px; }
.bati .bp-done .bati-actions { justify-content: center; margin-top: 22px; }
.bati .bp-next { list-style: none; counter-reset: bpn; margin: 18px auto 0; padding: 0; max-width: 560px; text-align: start; }
.bati .bp-next li { counter-increment: bpn; position: relative; padding-inline-start: 42px; margin-bottom: 14px; min-height: 28px; }
.bati .bp-next li::before { content: counter(bpn); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--b-orange-tint); color: var(--b-orange-dark); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.bati .bp-next b { color: var(--b-navy); }

/* ---------- /pros/ directory ---------- */
.bati .bp-dir-hero { padding-block: 48px; }
.bati .bp-dir-hero .bati-container { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
.bati .bp-dir-hero h1 { margin-bottom: 12px; }
.bati .bp-dir-hero .bp-hero-points { margin: 0; }
.bati .bp-filter { background: #fff; color: var(--b-ink); border-radius: var(--b-radius-card); padding: 24px; box-shadow: var(--b-shadow-raised); }
.bati .bp-filter__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--b-navy); margin: 0 0 16px; }
.bati .bp-filter__title .bp-ico { color: var(--b-orange-dark); }
.bati .bp-filter .bati-field { margin-bottom: 14px; }
.bati .bp-filter .bati-actions { margin-top: 4px; flex-wrap: nowrap; }
.bati .bp-filter .bati-actions .bati-btn:first-child { flex: 1; }
.bati .bati-hero .bp-filter a.bati-btn--ghost { color: var(--b-navy); }
.bati .bp-results__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 22px; }
.bati .bp-results__head h2 { margin: 0; }
.bati .bp-results__count { color: var(--b-muted); font-weight: 600; margin: 0; }
.bati .bp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.bati .bp-cards > li { display: flex; min-width: 0; }

/* pro card */
.bati .bp-card { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 22px; transition: box-shadow .2s ease, border-color .2s ease; }
.bati .bp-card:hover { box-shadow: var(--b-shadow-raised); border-color: #D3D8DC; }
.bati .bp-card__head { display: flex; align-items: center; gap: 14px; }
.bati .bp-card__who { min-width: 0; }
.bati .bp-card .bp-card__name { margin: 0; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.bati .bp-card .bp-card__name a { color: var(--b-navy); text-decoration: none; }
.bati .bp-card .bp-card__name a:hover { color: var(--b-orange-dark); text-decoration: underline; }
.bati .bp-card__sub { margin: 2px 0 0; color: var(--b-muted); font-size: 14px; }
.bati .bp-facts { display: grid; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--b-border); }
.bati .bp-fact { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 0; line-height: 1.45; }
.bati .bp-fact > .bp-ico { color: var(--b-orange-dark); margin-top: 2px; }
.bati .bp-fact__k { display: block; font-size: 13px; font-weight: 700; color: var(--b-muted); }
.bati .bp-card__cta { margin-top: auto; }

/* ---------- public profile ---------- */
.bati .bp-crumbs { background: #fff; border-bottom: 1px solid var(--b-border); }
.bati .bp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 12px 0; font-size: 14px; color: var(--b-muted); }
.bati .bp-crumbs li { display: inline-flex; align-items: center; }
.bati .bp-crumbs li + li::before { content: "›"; margin-inline: 8px; color: #9AA4AE; }
.bati .bp-crumbs a { color: var(--b-muted); text-decoration: none; display: inline-block; padding-block: 4px; }
.bati .bp-crumbs a:hover { color: var(--b-orange-dark); }
.bati .bp-crumbs [aria-current] { color: var(--b-ink); font-weight: 600; }
.bati .bp-prof-hero { padding-block: 44px; }
.bati .bp-prof-hero .bati-container { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.bati .bp-prof-hero .bp-avatar { width: 104px; height: 104px; font-size: 38px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.3); }
.bati .bp-prof-hero h1 { margin: 0 0 4px; overflow-wrap: anywhere; }
.bati .bp-prof-hero__sub { color: var(--b-on-navy); margin: 0 0 12px; font-size: 17px; }
.bati .bp-prof-hero .bp-rating { color: var(--b-on-navy); margin-bottom: 12px; }
.bati .bp-prof-hero .bp-rating b { color: #fff; }
.bati .bp-prof-hero .bati-badge { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.bati .bp-prof-hero__cta { display: grid; gap: 10px; min-width: 220px; }
.bati .bp-prof-body { padding-block: 40px 56px; }
.bati .bp-prof-main, .bati .bp-prof-aside { display: grid; gap: 20px; align-content: start; min-width: 0; }
.bati .bp-prof-main .bati-card + .bati-card, .bati .bp-prof-aside .bati-card + .bati-card { margin-top: 0; }
.bati .bp-bio { white-space: pre-line; margin: 0; }
.bati .bp-facts-dl { margin: 0; display: grid; }
.bati .bp-facts-dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--b-border); }
.bati .bp-facts-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.bati .bp-facts-dl > div:first-child { padding-top: 0; }
.bati .bp-facts-dl dt { color: var(--b-muted); font-size: 15px; }
.bati .bp-facts-dl dd { margin: 0; font-weight: 800; color: var(--b-navy); }
.bati .bp-howto p { font-size: 15px; color: var(--b-muted); }
.bati .bp-portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.bati .bp-work { margin: 0; border: 1px solid var(--b-border); border-radius: var(--b-radius-card); overflow: hidden; background: #fff; height: 100%; }
.bati .bp-work__imgs { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--b-border); }
.bati .bp-work__imgs--pair { grid-template-columns: 1fr 1fr; }
.bati .bp-work__img { position: relative; background: var(--b-bg-alt); }
.bati .bp-work__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.bati .bp-work__lbl { position: absolute; top: 8px; inset-inline-start: 8px; background: rgba(16,30,41,.78); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: var(--b-radius-pill); }
.bati .bp-work figcaption { padding: 12px 14px; font-size: 15px; }
.bati .bp-work figcaption b { color: var(--b-navy); }
.bati .bp-work figcaption span { display: block; color: var(--b-muted); font-size: 14px; margin-top: 2px; }
.bati .bp-reviews { list-style: none; margin: 0; padding: 0; }
.bati .bp-review-item { padding: 16px 0; border-bottom: 1px solid var(--b-border); }
.bati .bp-review-item:first-child { padding-top: 0; }
.bati .bp-review-item__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 6px; }
.bati .bp-review-item__head b { color: var(--b-navy); }
.bati .bp-review-item__head .bati-muted { font-size: 14px; }
.bati .bp-review-item__body { white-space: pre-line; margin: 0; }
.bati .bp-reply { margin: 12px 0 0; padding: 12px 14px; background: var(--b-bg-alt); border-inline-start: 3px solid var(--b-orange-light); border-start-end-radius: var(--b-radius-input); border-end-end-radius: var(--b-radius-input); font-size: 15px; }
.bati .bp-reply b { color: var(--b-navy); }
.bati .bp-reviews-note { margin: 16px 0 0; font-size: 14px; }

/* ---------- service-page block (inside the catalog card; passes wp_kses_post → no inline SVG) ---------- */
.bati .bp-sp__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 16px; }
.bati.bp .bp-sp__head h2 { margin: 0; font-size: 22px; }
.bati .bp-sp__all { font-weight: 700; }
.bati .bp-sp .bp-cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.bati .bp-sp .bp-card { padding: 18px; box-shadow: none; gap: 12px; }
.bati .bp-sp .bp-avatar { width: 46px; height: 46px; font-size: 18px; }
.bati .bp-sp .bp-card .bp-card__name { font-size: 17px; }

/* ---------- /pro/ portal ---------- */
.bati .bp-portal-hero { padding-block: 36px; }
.bati .bp-portal-hero .bati-container { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.bati .bp-portal-hero h1 { margin: 0 0 10px; }
.bati .bp-portal-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--b-on-navy); font-size: 15px; margin: 0; }
.bati .bp-portal-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.bati .bp-portal-hero__actions .bati-btn { min-height: 44px; }
.bati .bp-status { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--b-navy); font-weight: 800; font-size: 14px; padding: 5px 14px; border-radius: var(--b-radius-pill); }
.bati .bp-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--b-orange-light); box-shadow: 0 0 0 3px rgba(245,130,31,.2); }
.bati .bp-status--ok::before { background: var(--b-ok); box-shadow: 0 0 0 3px rgba(29,122,70,.18); }
.bati .bp-status--err::before { background: var(--b-err); box-shadow: 0 0 0 3px rgba(180,35,24,.18); }
.bati .bp-portal-body { background: var(--b-bg-alt); padding-block: 28px 64px; }
.bati .bp-portal-body .bati-alert { margin-bottom: 14px; }
.bati .bp-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 0 24px; padding: 6px; background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-radius-pill); box-shadow: var(--b-shadow-card); }
.bati .bp-tabs::-webkit-scrollbar { display: none; }
.bati .bp-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: var(--b-radius-pill); color: var(--b-muted); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.bati .bp-tabs a:hover { color: var(--b-navy); background: var(--b-bg-alt); }
.bati .bp-tabs a[aria-current] { background: var(--b-navy); color: #fff; }
.bati .bp-tabs a .bp-ico { opacity: .85; }
.bati .bp-tabs__n { min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 11px; background: var(--b-orange); color: #fff; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }
.bati .bp-panel__intro { color: var(--b-muted); margin: -6px 0 18px; }
.bati .bp-panel__title { font-size: 22px; margin: 0 0 6px; }

/* offer card */
.bati .bp-offer { padding: 0; overflow: hidden; }
.bati .bp-offer__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--b-border); }
.bati .bp-offer__ico, .bati .bp-job__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--b-orange-tint); color: var(--b-orange-dark); display: inline-flex; align-items: center; justify-content: center; }
.bati .bp-offer__t { flex: 1; min-width: 0; }
.bati .bp-offer .bp-offer__title { margin: 0; font-size: 19px; }
.bati .bp-offer__ref { display: block; color: var(--b-muted); font-size: 14px; font-weight: 600; }
.bati .bp-offer__head .bati-badge { white-space: nowrap; }
.bati .bp-offer__body { padding: 18px 22px; }
.bati .bp-offer__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; padding: 16px 22px; background: var(--b-bg-alt); border-top: 1px solid var(--b-border); }
.bati .bp-offer__foot form { margin: 0; }
.bati .bp-decline > summary { list-style: none; }
.bati .bp-decline > summary::-webkit-details-marker { display: none; }
.bati .bp-decline > summary::marker { content: ""; }
.bati .bp-decline[open] { flex-basis: 100%; }
.bati .bp-decline[open] > summary { display: none; }
.bati .bp-decline__form { padding: 16px; background: #fff; border: 1px solid var(--b-border); border-radius: var(--b-radius-input); max-width: 460px; }
.bati .bp-decline__form .bati-actions { margin-top: 4px; }

/* job view */
.bati .bp-back { color: var(--b-navy); padding-inline: 10px 16px; min-height: 44px; margin: -6px 0 14px; }
.bati .bp-job__head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.bati .bp-job__head h2 { margin: 0; font-size: 21px; }
.bati .bp-job__head .bp-muted { display: block; font-size: 14px; font-weight: 600; }
.bati .bp-job__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 6px; }
.bati .bp-job__status .bp-ico { color: var(--b-orange-dark); }
.bati .bp-contact { border-color: var(--b-orange); box-shadow: 0 0 0 1px var(--b-orange) inset, var(--b-shadow-card); }
.bati .bp-contact .bati-actions { margin-top: 14px; }
.bati .bp-actions-list > .bp-action + .bp-action { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--b-border); }
.bati .bp-actions-list > .bp-acc { margin-top: 20px; }
.bati .bp-action__t { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--b-navy); margin: 0 0 10px; font-size: 16px; }
.bati .bp-action__t .bp-ico { color: var(--b-orange-dark); }
.bati .bp-action .bati-field:last-of-type { margin-bottom: 12px; }
.bati .bp-inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.bati .bp-inline-form .bati-field { margin: 0; flex: 1 1 240px; }
.bati .bp-list { list-style: none; margin: 0; padding: 0; }
.bati .bp-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--b-border); font-size: 15px; }
.bati .bp-list > li:last-child { border-bottom: 0; }
.bati .bp-list small { flex-basis: 100%; color: var(--b-muted); }
.bati .bp-card-flush { padding: 8px 22px 12px; }
.bati .bp-card-flush .bp-card-title { margin: 14px 0 6px; }
.bati .bp-table-note { margin: 12px 0 0; font-size: 14px; }
.bati.bp .bati-table td .bati-btn { white-space: nowrap; }
.bati .bp-kpis .bati-kpi { box-shadow: var(--b-shadow-card); }
.bati .bp-kpis .bati-kpi b { margin-bottom: 4px; }
.bati .bp-kpis .bati-kpi b .bp-stars { font-size: 16px; vertical-align: 3px; margin-inline-start: 4px; }

/* profile tab */
.bati .bp-pf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -6px 0 18px; color: var(--b-muted); font-size: 15px; }
.bati .bp-pf-sec { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--b-border); }
.bati .bp-pf-sec__t { display: block; width: 100%; font-size: 18px; font-weight: 800; color: var(--b-navy); margin: 0 0 14px; }
.bati .bp-toggles { display: grid; gap: 4px; margin: 4px 0 0; }
.bati .bp-hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.bati .bp-hours th, .bati .bp-hours td { text-align: start; padding: 8px 8px; border-bottom: 1px solid var(--b-border); vertical-align: middle; }
.bati .bp-hours th { color: var(--b-muted); font-weight: 700; font-size: 13px; }
.bati .bp-hours td:first-child { font-weight: 700; color: var(--b-navy); }
.bati .bp-hours input[type=checkbox] { width: 22px; height: 22px; margin: 0; accent-color: var(--b-orange); vertical-align: middle; }
.bati .bp-save { margin-top: 22px; min-width: 220px; }
.bati .bp-portfolio-list { list-style: none; margin: 0 0 8px; padding: 0; }
.bati .bp-portfolio-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--b-border); font-weight: 600; }
.bati .bp-portfolio-list li:last-child { border-bottom: 0; }
.bati .bp-public-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* logged-out portal */
.bati .bp-login-hero { padding-block: 44px 100px; text-align: center; }
.bati .bp-login-hero .bati-container { grid-template-columns: 1fr; justify-items: center; }
.bati .bp-login-hero .bati-lead { margin-inline: auto; }
.bati .bp-login-body { padding-block: 0 64px; }
.bati .bp-login { max-width: 480px; margin: -68px auto 0; position: relative; padding: 32px; box-shadow: var(--b-shadow-raised); }
.bati .bp-login__ico { width: 52px; height: 52px; border-radius: 50%; background: var(--b-orange-tint); color: var(--b-orange-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.bati .bp-login h2 { margin: 0 0 16px; }
.bati .bp-login form p { margin: 0 0 14px; }
.bati .bp-login form label { display: block; font-weight: 700; font-size: 15px; color: var(--b-navy); margin: 0 0 6px; }
.bati .bp-login .login-remember label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--b-ink); cursor: pointer; }
.bati .bp-login .login-remember input { width: 20px; height: 20px; margin: 0; accent-color: var(--b-orange); }
.bati .bp-login input[type=submit] { width: 100%; min-height: 52px; border: 2px solid var(--b-orange); border-radius: var(--b-radius-pill); background: var(--b-orange); color: #fff; font-family: var(--b-font); font-weight: 700; font-size: 17px; cursor: pointer; transition: background-color .15s ease; }
.bati .bp-login input[type=submit]:hover, .bati .bp-login input[type=submit]:focus-visible { background: var(--b-orange-dark); border-color: var(--b-orange-dark); }
.bati .bp-login__links { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--b-border); font-size: 15px; text-align: center; display: grid; gap: 6px; }
.bati .bp-login__links p { margin: 0; }
.bati .bp-login__links a { font-weight: 700; }

/* ---------- /track/ cards: review + complaint (rendered inside the leads track page) ---------- */
.bati .bp-review__head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.bati .bp-review__head h2 { margin: 0; font-size: 21px; }
.bati .bp-review__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--b-orange-tint); color: var(--b-orange-dark); display: inline-flex; align-items: center; justify-content: center; }
.bati .bp-review__ico--ok { background: var(--b-ok-tint); color: var(--b-ok); }
.bati .bp-review__lead { color: var(--b-muted); margin: 0 0 18px; }
.bati .bp-stars-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.bati .bp-stars-pick label { min-height: 46px; padding: 8px 14px; font-size: 15px; gap: 6px; }
.bati .bp-stars-pick .bp-stars { font-size: 15px; letter-spacing: 0; }
.bati .bp-crit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.bati .bp-review legend.bati-label { margin-bottom: 8px; }
.bati .bp-review textarea { min-height: 100px; }
.bati .bp-review .bati-btn, .bati .bp-complaint .bati-btn { min-width: 200px; }
.bati .bp-complaint { padding-block: 6px; }
.bati .bp-complaint .bp-acc { border-top: 0; }
.bati .bp-complaint .bp-acc__body > p { margin-top: 0; }
.bati .bp-complaint .bati-notices { margin-top: 12px; }
.bati .bp-complaint .bp-list { margin: 0 0 12px; padding-top: 4px; border-top: 1px solid var(--b-border); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.bati .bp-join-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
	.bati .bp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bati .bp-dir-hero .bati-container { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 900px) {
	.bati .bp-join-layout { grid-template-columns: minmax(0, 1fr); }
	.bati .bp-aside { position: static; }
	.bati .bp-how { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.bati .bp-how__step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 20px; }
	.bati .bp-how__step::after { display: none; }
	.bati .bp-how__icon { grid-row: span 2; margin: 0; width: 54px; height: 54px; }
	.bati .bp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bati .bp-dir-hero .bati-container, .bati .bp-portal-hero .bati-container { grid-template-columns: minmax(0, 1fr); }
	.bati .bp-portal-hero__actions { justify-content: flex-start; }
	.bati .bp-prof-hero .bati-container { grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; }
	.bati .bp-prof-hero__cta { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; min-width: 0; }
}
@media (max-width: 720px) {
	.bati .bp-hero, .bati .bp-dir-hero, .bati .bp-prof-hero { padding-block: 28px 32px; }
	.bati .bp-portal-hero { padding-block: 24px 26px; }
	.bati .bp-hero-points li { font-size: 15px; }
	.bati .bp-form { padding: 22px 16px 20px; }
	.bati .bp-join-sec > .bati-container { padding-inline: 12px; }
	.bati .bp-sec__title { font-size: 19px; }
	.bati .bp-grid-2, .bati .bp-cats, .bati .bp-why, .bati .bp-cards, .bati .bp-dl, .bati .bp-crit { grid-template-columns: minmax(0, 1fr); }
	.bati .bp-doc { padding: 14px 14px 2px; }
	.bati .bp-faq { padding: 2px 16px; }
	.bati .bp-done { padding: 30px 18px 24px; }
	.bati .bp-filter { padding: 18px; }
	.bati .bp-prof-hero .bp-avatar { width: 72px; height: 72px; font-size: 28px; }
	.bati .bp-prof-hero__cta { grid-template-columns: 1fr; }
	.bati .bp-prof-body { padding-block: 24px 40px; }
	.bati .bp-portal-body { padding-block: 18px 40px; }
	.bati .bp-portal-body > .bati-container { padding-inline: 12px; }
	.bati .bp-tabs { border-radius: var(--b-radius-card); }
	.bati .bp-tabs a { padding-inline: 14px; }
	.bati .bp-offer__head, .bati .bp-offer__body, .bati .bp-offer__foot { padding-inline: 16px; }
	.bati .bp-offer__head { flex-wrap: wrap; }
	.bati .bp-offer__foot > form, .bati .bp-offer__foot > form .bati-btn, .bati .bp-decline, .bati .bp-decline > summary { width: 100%; }
	.bati .bp-card-flush { padding-inline: 16px; }
	.bati .bp-hours thead { display: none; }
	.bati .bp-hours tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--b-border); }
	.bati .bp-hours td { border: 0; padding: 0; }
	.bati .bp-hours td:first-child { flex: 1 1 auto; }
	.bati .bp-hours td:nth-child(3), .bati .bp-hours td:nth-child(4) { flex: 1 1 40%; }
	.bati .bp-hours input[type=time] { width: 100%; }
	.bati .bp-save, .bati .bp-review .bati-btn, .bati .bp-complaint .bati-btn { width: 100%; min-width: 0; }
	.bati .bp-login { padding: 24px 18px; margin-top: -60px; }
	.bati .bp-login-hero { padding-bottom: 84px; }
	.bati.bp .bati-btn--sm, .bati .bp-review .bati-btn--sm, .bati .bp-complaint .bati-btn--sm { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.bati .bp-cat, .bati .bp-cat__chev, .bati .bp-acc > summary::after, .bati .bp-card { transition: none; }
}
