/* Hodinoví.cz: katalog hodinových manželů. Čisté CSS, žádný build. Vzhled sdílí zásady s ukázkovým webem. */
:root {
  --bg: #fff; --bg-alt: #f5f4f0; --ink: #1c1c1e; --ink-2: #3f3f43; --muted: #68686e;
  --line: rgba(0, 0, 0, .1); --line-strong: rgba(0, 0, 0, .24);
  --accent-deep: #16395a; --accent: #1f4e79; --accent-hover: #173c5e; --accent-soft: #e9f0f6; --star: #b26a00;
  --r-s: 10px; --r-m: 14px; --r-l: 20px; --header-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font: 400 1.0625rem/1.5 var(--font); letter-spacing: -.011em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
h1, h2 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.028em; }
h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.12; letter-spacing: -.022em; }
.h-profile { font-size: clamp(1.875rem, 3.4vw, 2.5rem); }
.h-small { margin: 44px 0 14px; font-size: 1.1875rem; letter-spacing: -.014em; }
.wrap { width: min(1120px, 100% - 44px); margin-inline: auto; }
.narrow { max-width: 720px; }
.narrow p + p { margin-top: 12px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-s); background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
p, li, dd { text-wrap: pretty; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-s); border: 1px solid transparent; font-size: 1.0625rem; font-weight: 500; line-height: 1; white-space: nowrap; transition: transform .1s ease-out, background-color .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-invert { background: #fff; color: var(--accent-deep); }
.btn-invert:hover { background: var(--accent-soft); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .9375rem; }
.link-arrow::after { content: "\00a0›"; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: #fff; }
.brand-mark svg { width: 17px; height: 17px; }
.brand-text { font-weight: 600; letter-spacing: -.016em; }
.brand-sub { margin-left: 8px; font-weight: 400; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: .9375rem; }
.main-nav a:not(.btn) { color: var(--ink-2); }

.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); }
.lead { max-width: 640px; margin-top: 16px; font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.45; color: var(--ink-2); }
.search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin-top: 28px; padding: 6px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -18px rgba(22, 57, 90, .35); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 78, 121, .16); }
.search-icon { flex: none; width: 20px; height: 20px; margin-left: 12px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: inherit; }
.search input:focus { outline: none; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search .btn { flex: none; }
.search-sm { flex: 1; max-width: 300px; margin: 0; padding: 0 4px; border-color: var(--line); border-radius: var(--r-s); background: var(--bg-alt); box-shadow: none; }
.search-sm .search-icon { width: 16px; height: 16px; margin-left: 8px; }
.search-sm input { min-height: 34px; font-size: .9375rem; }
.search-sm .search-results { min-width: 340px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.letters a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); font-size: .9375rem; font-weight: 500; }
.letters a:hover { border-color: var(--ink); text-decoration: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 12px 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #2e8b57; }
.quick { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 16px; font-size: .9375rem; }
.quick a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.quick a:hover { text-decoration-color: var(--ink); }
.search-results { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); z-index: 30; max-height: 420px; overflow-y: auto; padding: 6px; border-radius: var(--r-m); background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(0, 0, 0, .3); }
.search-results a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 8px; color: var(--ink); }
.search-results a:hover, .search-results a.is-active { background: var(--accent-soft); text-decoration: none; }
.search-results .empty { padding: 10px 14px; color: var(--muted); }
.search-results small { color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.hero-copy .search { max-width: none; }
.map { margin: 0; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map path { stroke: var(--bg); stroke-width: 1.6; stroke-linejoin: round; transition: fill .15s var(--ease); }
.map text { font-size: 15px; font-weight: 600; text-anchor: middle; fill: var(--ink); pointer-events: none; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.d0 path, .sw.d0 { fill: #eeede8; background: #eeede8; }
.d1 path, .sw.d1 { fill: #dbe6f0; background: #dbe6f0; }
.d2 path, .sw.d2 { fill: #b3cbe0; background: #b3cbe0; }
.d3 path, .sw.d3 { fill: #7fa6c8; background: #7fa6c8; }
.d4 path, .sw.d4 { fill: #3f74a3; background: #3f74a3; }
.d5 path, .sw.d5 { fill: #16395a; background: #16395a; }
.d4 text, .d5 text { fill: #fff; }
.map a:hover path, .map a:focus-visible path { fill: var(--ink); }
.map a:hover text, .map a:focus-visible text { fill: #fff; }
.map a:focus-visible { outline: none; }
.map a:focus-visible path { stroke: var(--ink); }
/* Popisek a legenda mají pevné řádky, aby se výška úvodu při najetí na okres neměnila. */
.map figcaption { display: grid; gap: 8px; margin-top: 14px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.map-info { height: 1.5em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.map-info strong { color: var(--ink); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-variant-numeric: tabular-nums; }
.legend li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sw { width: 12px; height: 12px; border-radius: 3px; }
.tiles-top { margin-top: 28px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.facts li { padding-top: 14px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-size: 1.3125rem; font-weight: 600; letter-spacing: -.018em; font-variant-numeric: tabular-nums; }
.facts span { display: block; font-size: .9375rem; color: var(--muted); }
.facts a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-top { padding-top: 28px; }
.section-alt { background: var(--bg-alt); }
.section h2 + .tiles, .section h2 + .rows { margin-top: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 28px; }
.section-head .section-lead { margin: 0; color: var(--muted); font-size: .9375rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; gap: 14px 12px; padding: 18px; border-radius: var(--r-m); background: var(--bg); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.card:hover { box-shadow: 0 0 0 1px var(--line-strong), 0 18px 36px -24px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.card > :not(.avatar):not(.card-id) { grid-column: 1 / -1; }
.card-id { display: grid; align-content: center; min-width: 0; min-height: 4.2em; font-size: .875rem; line-height: 1.35; }
.card-name { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 1rem; font-weight: 600; color: var(--ink); }
.card-name::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); }
.card-name:hover { text-decoration: none; }
.card-rating { font-size: .875rem; }
.card-rating strong { font-size: 1rem; }
.card .tags { align-self: start; }
.card-phone { position: relative; z-index: 1; align-self: end; display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 2px; border-radius: var(--r-s); background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .15s var(--ease), color .15s var(--ease); }
.card-phone:hover { background: var(--accent); color: #fff; text-decoration: none; }
.city-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city-card { display: grid; gap: 22px; padding: 18px; border-radius: var(--r-m); background: var(--bg-alt); color: var(--ink); transition: background-color .15s var(--ease); }
.city-card:hover { background: var(--accent-soft); text-decoration: none; }
.city-card strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -.018em; }
.city-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tiles.tiles-bars { grid-template-columns: 1fr; }
.tiles.tiles-bars a { display: grid; grid-template-columns: minmax(0, 13em) 1fr 3em; align-items: center; gap: 16px; }
.tiles.tiles-bars .muted { text-align: right; }
.bar { width: 100%; height: 4px; overflow: visible; }
.bar rect { fill: var(--accent); }
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.job { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 0 20px 20px; overflow: hidden; border-radius: var(--r-m); background: var(--bg); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.job:hover { box-shadow: 0 0 0 1px var(--line-strong), 0 18px 36px -24px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.job-photo { display: block; width: calc(100% + 40px); max-width: none; height: auto; margin: 0 -20px 4px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-alt); }
.job h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.016em; }
.job h3 a { color: var(--ink); }
.job h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); }
.job h3 a:hover { text-decoration: none; }
.job-list { display: grid; gap: 5px; font-size: .9375rem; color: var(--ink-2); }
.job-list li { position: relative; padding-left: 16px; }
.job-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.job-count { display: grid; gap: 8px; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.jobs-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jobs-mini a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-s); color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease); }
.jobs-mini a:hover { box-shadow: 0 0 0 1px var(--line-strong); text-decoration: none; }
.jobs-mini span { display: grid; gap: 1px; min-width: 0; }
.jobs-mini strong { font-weight: 600; font-size: .9375rem; }
.jobs-mini .muted { font-size: .8125rem; }
.mini-photo { display: block; width: 72px; height: 54px; border-radius: 6px; object-fit: cover; background: var(--bg-alt); }
.job-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.job-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); background: var(--bg-alt); }
.tags a { color: inherit; }
.tags a:hover { text-decoration: underline; }
.more-jobs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 24px; font-size: .9375rem; }
.more-jobs a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.more-jobs a:hover { text-decoration-color: var(--ink); }
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line-strong); }
.problems a { display: grid; gap: 2px; height: 100%; padding: 13px 28px 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); position: relative; transition: background-color .15s var(--ease); }
.problems a::after { content: "›"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; color: var(--muted); }
.problems a:hover { background: rgba(0, 0, 0, .05); text-decoration: none; }
.problems span:first-child { font-weight: 500; }
.problems .muted { font-size: .875rem; }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; counter-reset: tip; }
.tips li { counter-increment: tip; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.tips li::before { content: "0" counter(tip); display: block; margin-bottom: 8px; font-size: .8125rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.tips h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; }
.tips p { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); }
.callout { margin-top: 32px; padding: 16px 18px; border-radius: var(--r-s); background: var(--bg-alt); font-size: .9375rem; color: var(--ink-2); }
.callout strong { color: var(--ink); font-weight: 600; }
.tags-lg { gap: 8px; }
.tags-lg li { padding: 6px 12px; border-radius: 8px; font-size: .9375rem; }
/* Metr: tenká stupnice jako dělicí linka, společný znak s nabídkou a ukázkovým webem. */
.rule { height: 12px; background:
  repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 40px) left bottom / 100% 12px no-repeat;
  border-bottom: 1px solid var(--ink); opacity: .55; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: how; }
.how li { counter-increment: how; }
.how h3 { margin-top: 20px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.014em; }
.how h3::before { content: "0" counter(how); margin-right: 10px; font-size: .8125rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; vertical-align: 2px; }
.how p { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); }
.how-art { display: grid; align-content: center; gap: 8px; height: 168px; padding: 0 28px; border-radius: var(--r-m); background: var(--accent-soft); }
.mock { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px rgba(22, 57, 90, .45); font-size: .875rem; }
.mock b { font-weight: 600; }
.mock svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.mock-search span { flex: 1; }
.mock-search b, .mock-call b { padding: 6px 12px; border-radius: 8px; background: var(--accent); color: #fff; font-size: .8125rem; }
.mock-row i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font-style: normal; font-size: .6875rem; font-weight: 600; }
.mock-row span { flex: 1; display: grid; min-width: 0; }
.mock-row em { font-style: normal; font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row u { text-decoration: none; font-weight: 600; color: var(--star); font-variant-numeric: tabular-nums; }
.mock-dim { opacity: .6; }
.mock-call span { flex: 1; font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.rating-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: -12px 0 28px; padding: 14px 18px; border-radius: var(--r-s); background: var(--bg-alt); }
.rating-sum strong { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.018em; font-variant-numeric: tabular-nums; }
.rating-sum strong::before { content: "★ "; color: var(--star); }
.rating-sum span { font-size: .9375rem; color: var(--muted); }
.band { padding: clamp(44px, 6vw, 72px) 0; background: var(--accent-deep); color: #fff; }
.band-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; }
.band p { max-width: 520px; margin-top: 10px; color: rgba(255, 255, 255, .78); }
.band-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.band-link { color: #fff; }
.section-lead { margin-top: 10px; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.note { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.letter { margin: 36px 0 12px; font-size: 1.1875rem; color: var(--muted); }
.plain { margin: 0 0 0 1.2em; list-style: disc; color: var(--ink-2); }
.plain li { padding: 2px 0; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; border-top: 1px solid var(--line-strong); }
.tiles-wide { grid-template-columns: repeat(2, 1fr); }
.tiles a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-variant-numeric: tabular-nums; transition: background-color .15s var(--ease); }
.tiles a:hover { background: var(--accent-soft); text-decoration: none; }
.section-alt .tiles a:hover { background: rgba(0, 0, 0, .05); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-s); color: var(--ink); font-size: .9375rem; }
.chips a:hover { border-color: var(--ink); text-decoration: none; }

/* Dlouhé seznamy: řádky pod prvním oknem se vykreslí až při posunu. */
.rows .row:nth-child(n+16) { content-visibility: auto; contain-intrinsic-size: auto none auto 68px; }
.crumbs { margin-bottom: 20px; font-size: .9375rem; color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 4px; }
.rows { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.filters + .rows { margin-top: 0; }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 7.5em auto; align-items: center; gap: 8px 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background-color .15s var(--ease); }
.row:hover { background: var(--bg-alt); }
.row.is-featured { background: var(--accent-soft); padding-inline: 14px; margin-inline: -10px; border-radius: var(--r-s); border-bottom-color: transparent; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.is-featured .avatar { background: var(--accent); color: #fff; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.375rem; }
.row-name { font-weight: 600; color: var(--ink); }
.row-name:hover { color: var(--accent); }
.badge { margin-left: 10px; padding: 3px 9px; border-radius: 6px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 5px; font-size: .9375rem; color: var(--muted); }
.row-place { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags li { padding: 2px 8px; border-radius: 6px; background: var(--bg-alt); color: var(--ink-2); font-size: .8125rem; line-height: 1.5; white-space: nowrap; }
.row:hover .tags li { background: rgba(0, 0, 0, .06); }
.tags .more { background: none; padding-inline: 2px; color: var(--muted); }
.rating { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rating span[aria-hidden] { color: var(--star); }
.row-contact { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 13em; font-variant-numeric: tabular-nums; }
.row-phone { font-weight: 600; color: var(--ink); white-space: nowrap; }
.row-web { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); color: var(--ink); font-size: .9375rem; white-space: nowrap; }
.row-web:hover { border-color: var(--ink); text-decoration: none; }
.is-featured .row-web { background: var(--accent); border-color: var(--accent); color: #fff; }
.rows-empty { padding: 28px 4px; color: var(--muted); }

.filters { display: flex; align-items: center; gap: 12px 24px; margin-top: 28px; padding: 12px 0; }
.filters-count { flex: none; min-width: 8.5em; font-weight: 600; font-variant-numeric: tabular-nums; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips button { min-height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); font: inherit; font-size: .875rem; color: var(--ink-2); cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.filter-chips button:hover { border-color: var(--ink); color: var(--ink); }
.filter-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.profile { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 56px; align-items: start; }
.profile-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: center; }
.profile-head .h-profile { overflow-wrap: anywhere; }
.profile-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; color: var(--ink-2); }
.profile-sub a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.profile-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.profile .tags { margin-top: 28px; gap: 8px; }
.profile .tags li { padding: 6px 12px; border-radius: 8px; font-size: .9375rem; }
.facts-list { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.facts-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { color: var(--muted); }
.facts-list dd { overflow-wrap: anywhere; }
.side { display: grid; gap: 16px; }
.score-box { padding: 22px; border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); }
.score-box h2 { font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.score { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.score strong { font-size: 3rem; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stars-bar { width: 110px; height: 20px; }
.stars-bar .off { fill: #dedcd5; }
.stars-bar .on { fill: var(--star); }
.score-box p { margin: 6px 0 14px; font-size: .9375rem; color: var(--ink-2); }
.owner-box { padding: 22px; border-radius: var(--r-l); background: var(--bg-alt); }
.owner-box h2 { font-size: 1.0625rem; letter-spacing: -.011em; }
.owner-box p { margin: 8px 0 12px; font-size: .9375rem; color: var(--ink-2); }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 14px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 40px 18px 0; color: var(--ink-2); }

.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.band + .site-footer, .section-alt + .site-footer { border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 3fr 6fr 3fr; gap: 28px 40px; }
.footer-grid strong { display: block; margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.footer-grid div:first-child p { max-width: 320px; }
.footer-grid li { padding: 3px 0; }
.footer-grid a { color: var(--ink-2); }
.foot-2 { columns: 2; column-gap: 28px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8125rem; }

@media (max-width: 1040px) {
  .brand-sub, .main-nav a:not(.btn) { display: none; }
  .search-sm { margin-left: auto; }
  .main-nav { margin-left: 0; }
  .split, .profile { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy .search { max-width: 640px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .cards, .city-cards { grid-template-columns: repeat(2, 1fr); }
  .jobs, .jobs-mini { grid-template-columns: repeat(2, 1fr); }
  .job-hero { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .search-sm { display: none; }
  .main-nav { margin-left: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .map text { display: none; }
  .map-info { height: 3em; white-space: normal; }
  .map path { stroke-width: 2.4; }
  .tiles, .tiles-wide { grid-template-columns: 1fr; }
  .row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px 12px; align-items: start; }
  .avatar { width: 40px; height: 40px; }
  .row-rating { grid-column: 3; grid-row: 1; text-align: right; }
  .row-contact { grid-column: 2 / -1; justify-content: flex-start; min-width: 0; }
  .row .tags li:nth-child(n+3):not(.more) { display: none; }
  .filters { display: block; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; margin: 10px -22px 0; padding: 0 22px 4px; scrollbar-width: none; }
  .filter-chips button { flex: none; }
  .facts-list div { grid-template-columns: 96px 1fr; }
  .profile-head { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .avatar-lg { width: 56px; height: 56px; font-size: 1.125rem; }
  .profile-cta .btn { flex: 1 1 auto; }
  .cards { grid-template-columns: 1fr; }
  .jobs, .jobs-mini, .problems, .tips, .how { grid-template-columns: 1fr; }
  .tiles.tiles-bars a { grid-template-columns: minmax(0, 1fr) 72px 2.5em; gap: 12px; }
  .search .btn { padding: 0 14px; }
  .foot-2 { columns: 1; }
  .faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .btn:active, .card:hover, .job:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --muted: #3f3f43; --line: rgba(0, 0, 0, .4); --line-strong: #1c1c1e; } }
