/* Licensed valuers directory, its two forms and the listing-page box. Scoped under .hzv. */
.hzv { padding-block: 24px 64px; }
.hzv__shell { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.hzv__shell--narrow { max-width: 760px; }
.hzv__crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; color: var(--hz-muted, #5b6577); font-size: 13px; }
.hzv__crumbs a { color: inherit; text-decoration: underline; }
.hzv h1 { margin: 0; font-size: clamp(26px, 4vw, 34px); font-weight: 700; line-height: 1.2; }
.hzv__intro { max-width: 70ch; margin: 12px 0 0; color: var(--hz-muted, #5b6577); font-size: 16px; line-height: 1.65; }
.hzv__notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #f4f6fb; border: 1px solid var(--hz-line, #e2e6ee); font-size: 14px; line-height: 1.55; }
.hzv__notice p { margin: 0; }
.hzv__notice p + p { margin-top: 6px; }
.hzv__notice a { color: var(--hz-accent, #c8102e); text-decoration: underline; }

.hzv__filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin: 22px 0 8px; padding: 16px; border: 1px solid var(--hz-line, #e2e6ee); border-radius: 12px; background: #fff; }
.hzv__filters-title { grid-column: 1 / -1; margin: 0; font-weight: 700; font-size: 15px; }
.hzv__filter label { display: block; margin-bottom: 6px; color: var(--hz-muted, #5b6577); font-size: 12px; font-weight: 600; }
.hzv__filter select { width: 100%; height: 44px; border: 1px solid var(--hz-line, #e2e6ee); border-radius: 10px; background: #fff; padding-inline: 12px; font: inherit; font-size: 15px; }
.hzv__filter-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hzv__filter-actions a { font-size: 14px; color: var(--hz-muted, #5b6577); text-decoration: underline; }
.hzv__count { margin: 10px 0 0; font-weight: 600; }

.hzv__group { margin-top: 28px; }
.hzv__group h2 { margin: 0 0 4px; font-size: 20px; }
.hzv__group-note { margin: 0 0 10px; color: var(--hz-muted, #5b6577); font-size: 13.5px; }
.hzv__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.hzv__card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--hz-line, #e2e6ee); border-radius: 12px; background: #fff; }
.hzv__name { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.hzv__firm { margin: 0; color: var(--hz-muted, #5b6577); font-size: 14px; }
.hzv__facts { display: grid; gap: 4px; margin: 0; font-size: 14px; }
.hzv__facts div { display: flex; gap: 6px; flex-wrap: wrap; }
.hzv__facts dt { color: var(--hz-muted, #5b6577); }
.hzv__facts dd { margin: 0; }
.hzv__facts a { color: inherit; }
.hzv__source { margin: 0; color: var(--hz-muted, #5b6577); font-size: 12.5px; }
.hzv__source a { color: inherit; text-decoration: underline; }
.hzv__card-actions { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.hzv__empty { margin-top: 22px; padding: 16px; border-radius: 12px; background: #fff7ed; border: 1px solid #fcd9a8; }

.hzv__cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.hzv__cta section { padding: 18px; border-radius: 12px; background: #f4f6fb; border: 1px solid var(--hz-line, #e2e6ee); }
.hzv__cta h2 { margin: 0 0 6px; font-size: 18px; }
.hzv__cta p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; }

.hzv__panel { margin-top: 22px; padding: 20px; border: 1px solid var(--hz-line, #e2e6ee); border-radius: 12px; background: #fff; }
.hzv__panel h2 { margin: 0 0 14px; font-size: 18px; }
.hzv__about { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #f4f6fb; font-size: 14.5px; }
.hzv__about a { color: inherit; text-decoration: underline; }
.hzv__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hzv__field { margin-top: 16px; }
.hzv__row .hzv__field { margin-top: 16px; }
.hzv__field > label, .hzv__field > legend { display: block; margin-bottom: 6px; padding: 0; color: var(--hz-muted, #5b6577); font-size: 12.5px; font-weight: 600; }
.hzv__field .req::after { content: " *"; }
.hzv__field fieldset { margin: 0; padding: 0; border: 0; }
.hzv__input, .hzv__textarea, .hzv__select { width: 100%; border: 1px solid var(--hz-line, #e2e6ee); border-radius: 10px; background: #fff; padding: 0 14px; height: 46px; font: inherit; font-size: 15px; color: inherit; }
.hzv__textarea { height: auto; padding-block: 12px; line-height: 1.6; resize: vertical; }
.hzv__input:focus, .hzv__textarea:focus, .hzv__select:focus { outline: none; border-color: var(--hz-accent, #c8102e); box-shadow: 0 0 0 3px rgba(200, 16, 46, .12); }
.hzv__checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hzv__checks label { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: inherit; font-weight: 400; }
.hzv__hint { margin: 6px 0 0; color: var(--hz-muted, #5b6577); font-size: 12.5px; }
.hzv__error { display: block; margin-top: 6px; color: #d92d20; font-size: 12.5px; }
.hzv__steps { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: hzv-step; }
.hzv__steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.hzv__steps li::before { counter-increment: hzv-step; content: counter(hzv-step); flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--hagzi-primary, #0745D9); color: #fff; font-size: 13px; font-weight: 700; }
.hzv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.hzv-bar { display: none; }
@media (max-width: 767.98px) {
    .hzv-bar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--hz-line, #e2e6ee); }
    .hzv-bar .hzp-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; text-decoration: none; }
    body:has(.hz-mobile-nav) .hzv-bar { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); padding-bottom: 10px; }
    body:has(.hzv-bar) { padding-bottom: 72px; }
    body:has(input:focus, textarea:focus, select:focus, #hzv-form:target) .hzv-bar { display: none; }
}
.hzv__note { margin: 0; color: var(--hz-muted, #5b6577); font-size: 12.5px; }
.hzv__privacy { margin: 14px 0 0; color: var(--hz-muted, #5b6577); font-size: 13px; line-height: 1.55; }
.hzv__honeypot { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hzv__done { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: #ecfdf3; border: 1px solid #a9e6c0; color: #0f5132; }
.hzv__done h2 { margin: 0 0 4px; font-size: 16px; }
.hzv__done p { margin: 0; font-size: 14px; }
.hzv__done a { color: inherit; text-decoration: underline; }
.hzv__limited { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: #fff7ed; border: 1px solid #fcd9a8; color: #92400e; font-size: 14px; }

/* Listing page box, under the home-services link in the sidebar. */
.hzv-box { margin-top: 14px; padding: 16px; border: 1px solid var(--hz-line, #e2e6ee); border-radius: 12px; background: #fff; }
.hzv-box h2 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.hzv-box p { margin: 0 0 12px; color: var(--hz-muted, #5b6577); font-size: 14px; line-height: 1.5; }
.hzv-box__links { display: flex; flex-direction: column; gap: 8px; }
.hzv-box__links a.hzv-box__dir { font-size: 13.5px; color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
    .hzv__filters { grid-template-columns: minmax(0, 1fr); }
    .hzv__row, .hzv__cta { grid-template-columns: minmax(0, 1fr); }
    .hzv__list { grid-template-columns: minmax(0, 1fr); }
}
