/* Biogas Directory — Blue Flame. No drop shadows: separate with Line borders and Mist panels. */
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
	--ink: #0B1B3A; --flame: #1F5BFF; --flame-deep: #1A4FE0; --flame-light: #8DB4FF; --lime: #C6F24E;
	--ember: #C2412D; --slate: #4B5872; --line: #D8E1F2; --mist: #EEF3FF; --paper: #FFFFFF;
	--ink-2: #13284F;
	--r-s: 8px; --r-m: 12px; --r-l: 20px; --pill: 999px;
	--display: "Manrope", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1240px; --gutter: clamp(16px, 4vw, 32px);
	--header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--paper); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--flame); text-decoration: none; }
a:hover { color: var(--flame-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--slate); }
.tnum { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s); z-index: 1000; }
.skip-link:focus { top: 8px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 15px/1 var(--body); padding: 13px 18px; border-radius: var(--r-s); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; text-decoration: none; }
.btn-primary { background: var(--flame); color: #fff; }
.btn-primary:hover { background: var(--flame-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 10px; }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-sm { padding: 9px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Badges & chips */
.badge { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/1 var(--body); padding: 5px 8px 5px 6px; border-radius: var(--pill); white-space: nowrap; }
.badge .ico { width: 14px; height: 14px; }
.badge-verified { background: var(--lime); color: var(--ink); }
.badge-featured { background: var(--ink); color: #fff; }
.badge-featured .ico { color: var(--lime); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--mist); color: var(--ink); font: 500 13px/1.2 var(--body); padding: 6px 10px; border-radius: var(--pill); }
a.chip:hover { background: #E1E9FF; color: var(--ink); }
.chip-x { border: 0; cursor: pointer; }
.chip-x .ico { width: 14px; height: 14px; opacity: .6; }
.chip-x:hover .ico { opacity: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand svg { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a, .nav button { font: 500 15px/1 var(--body); color: var(--ink); padding: 10px 12px; border-radius: var(--r-s); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav a:hover, .nav button:hover, .nav button[aria-expanded="true"] { background: var(--mist); }
.nav .ico { width: 16px; height: 16px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.shortlist-link { position: relative; }
.shortlist-link .count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--flame); color: #fff; font: 700 11px/18px var(--body); text-align: center; padding: 0 5px; }
.shortlist-link .count:empty, .shortlist-link .count[data-n="0"] { display: none; }
.menu-toggle { display: none; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); display: none; }
.mega.open { display: block; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 24px; padding-top: 20px; padding-bottom: 24px; height: auto; align-items: start; }
.mega a { display: flex; gap: 10px; padding: 10px; border-radius: var(--r-s); color: var(--ink); align-items: flex-start; }
.mega a:hover { background: var(--mist); }
.mega .ico { color: var(--flame); margin-top: 2px; }
.mega strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega small { color: var(--slate); font-size: 13px; }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; display: flex; justify-content: space-between; color: var(--slate); font-size: 14px; }

/* Search box (hero + header) */
.searchbox { position: relative; display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 6px; gap: 6px; }
.searchbox:focus-within { border-color: var(--flame); }
.searchbox .field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-width: 0; }
.searchbox .field + .field { border-left: 1px solid var(--line); }
.searchbox .field .ico { color: var(--slate); }
.searchbox input { border: 0; outline: 0; font: 500 16px var(--body); color: var(--ink); width: 100%; padding: 12px 0; background: transparent; min-width: 0; }
.searchbox input::placeholder { color: #7A869E; }
.searchbox .field-loc { flex: 0 0 34%; }
.locate-btn { background: none; border: 0; color: var(--flame); cursor: pointer; padding: 6px; border-radius: 6px; display: flex; }
.locate-btn:hover { background: var(--mist); }
.searchbox-lg { padding: 8px; border-radius: 14px; }
.searchbox-lg input { font-size: 17px; padding: 14px 0; }
.searchbox-lg .btn { padding-inline: 24px; font-size: 16px; }

/* Autocomplete */
.ac { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 6px; z-index: 60; max-height: 440px; overflow: auto; display: none; text-align: left; }
.ac.open { display: block; }
.ac-group { padding: 4px 0; }
.ac-group + .ac-group { border-top: 1px solid var(--line); }
.ac-label { font: 600 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); padding: 10px 10px 6px; }
.ac a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-s); color: var(--ink); }
.ac a[aria-selected="true"], .ac a:hover { background: var(--mist); }
.ac a .ico { color: var(--flame); }
.ac .ac-meta { margin-left: auto; color: var(--slate); font-size: 13px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.ac mark { background: none; color: var(--flame); font-weight: 600; }
.ac .mini-logo { width: 28px; height: 28px; font-size: 11px; border-radius: 6px; }

/* Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 10%, rgba(31,91,255,.55), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(31,91,255,.28), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { max-width: 15ch; color: #fff; }
.hero h1 em { font-style: normal; color: var(--flame-light); }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #C9D5EE; max-width: 52ch; margin-bottom: 28px; }
.hero .searchbox { max-width: 860px; border-color: transparent; }
.hero-popular { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; font-size: 14px; color: #A9B8D6; }
.hero-popular a { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: var(--pill); font-size: 14px; }
.hero-popular a:hover { background: rgba(255,255,255,.16); color: #fff; }
.hero-stats { display: flex; gap: clamp(24px, 5vw, 56px); margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero-stats div { font-size: 14px; color: #A9B8D6; }
.hero-stats strong { display: block; font: 800 clamp(1.75rem, 3vw, 2.25rem)/1 var(--display); color: #fff; margin-bottom: 6px; letter-spacing: -.02em; }
.hero-flame { position: absolute; right: clamp(-60px, 2vw, 40px); bottom: -70px; width: min(34vw, 420px); opacity: .08; pointer-events: none; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-mist { background: var(--mist); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--slate); max-width: 60ch; }
.eyebrow { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--flame); margin-bottom: 12px; display: block; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: var(--ink); transition: border-color .15s, transform .15s; position: relative; }
.cat-card:hover { border-color: var(--flame); color: var(--ink); }
.cat-card .cat-ico { width: 44px; height: 44px; border-radius: var(--r-m); background: var(--mist); color: var(--flame); display: grid; place-items: center; }
.cat-card .cat-ico .ico { width: 22px; height: 22px; }
.cat-card h3 { font-size: 1.1rem; margin: 0; }
.cat-card p { font-size: 14px; color: var(--slate); margin: 0; flex: 1; }
.cat-card .cat-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--slate); border-top: 1px solid var(--line); padding-top: 12px; }
.cat-card .cat-meta strong { color: var(--ink); }
.cat-card .arrow { color: var(--flame); transition: transform .15s; }
.cat-card:hover .arrow { transform: translateX(3px); }

/* Value chain strip */
.chain { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.chain a { padding: 18px 16px; color: var(--ink); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; position: relative; }
.chain a:last-child { border-right: 0; }
.chain a:hover { background: var(--mist); }
.chain .step { font: 700 11px/1 var(--body); color: var(--flame); letter-spacing: .06em; text-transform: uppercase; }
.chain strong { font: 700 15px/1.25 var(--display); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.steps .ico { width: 28px; height: 28px; color: var(--flame); margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--slate); margin: 0; font-size: 15px; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-l); padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(31,91,255,.5), transparent); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9D5EE; margin: 0; }
.cta-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.cta-band li { display: flex; gap: 10px; align-items: center; color: #E3EAF8; }
.cta-band li .ico { color: var(--lime); }
.cta-band .btn { position: relative; z-index: 1; }

/* Supplier cards */
.cards { display: grid; gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: start; position: relative; transition: border-color .15s; }
.card:hover, .card.is-hover { border-color: var(--flame); }
.card.tier-featured { border-color: var(--ink); }
.card .logo { width: 56px; height: 56px; }
.logo, .mini-logo { border-radius: var(--r-m); background: var(--mist); color: var(--ink); display: grid; place-items: center; font: 800 18px/1 var(--display); overflow: hidden; flex: none; border: 1px solid var(--line); letter-spacing: -.02em; }
.logo img, .mini-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.card h3 { font-size: 1.1rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card h3 a { color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.card .tagline { color: var(--slate); font-size: 15px; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--slate); margin-bottom: 10px; }
.card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.card .meta .ico { width: 15px; height: 15px; }
.card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.card .actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; position: relative; z-index: 2; }
.save-btn { width: 40px; height: 40px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; color: var(--slate); display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.save-btn:hover { border-color: var(--ink); color: var(--ink); }
.save-btn[aria-pressed="true"] { color: var(--flame); border-color: var(--flame); background: var(--mist); }
.save-btn[aria-pressed="true"] .ico { fill: var(--flame); }
.cards-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-grid .card { grid-template-columns: 48px 1fr; }
.cards-grid .card .logo { width: 48px; height: 48px; font-size: 16px; }
.cards-grid .card .actions { position: absolute; top: 14px; right: 14px; }
.cards-grid .card h3 { padding-right: 44px; }
.cards-grid .card .tagline { padding-right: 8px; }
.cards-grid .card > div:nth-child(2) { min-width: 0; padding-right: 36px; }

/* Search layout */
.search-head { border-bottom: 1px solid var(--line); background: #fff; }
.search-head .wrap { padding-top: 22px; padding-bottom: 18px; }
.crumbs { font-size: 13px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--flame); }
.crumbs .ico { width: 14px; height: 14px; }
.search-head h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 6px; }
.search-head .intro { color: var(--slate); max-width: 70ch; margin-bottom: 16px; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.subcats .chip .n { color: var(--slate); font-variant-numeric: tabular-nums; }
.subcats .chip.zero { opacity: .55; }
.subcats .chip.on { background: var(--ink); color: #fff; }
.subcats .chip.on .n { color: var(--flame-light); }

.search-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; padding-top: 24px; padding-bottom: 64px; }
.search-layout.with-map { grid-template-columns: 290px minmax(0, 1fr) minmax(0, 1fr); max-width: none; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: 1.05rem; margin: 0; }
.link-btn { background: none; border: 0; color: var(--flame); font: 500 14px var(--body); cursor: pointer; padding: 4px; }
.link-btn:hover { text-decoration: underline; }
.facet { border-top: 1px solid var(--line); padding: 14px 0; }
.facet > button { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; font: 700 14px var(--body); color: var(--ink); }
.facet > button .ico { width: 18px; height: 18px; transition: transform .15s; color: var(--slate); }
.facet[data-open="false"] > button .ico { transform: rotate(-90deg); }
.facet[data-open="false"] .facet-body { display: none; }
.facet-body { margin-top: 10px; }
.facet-search { width: 100%; border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px 10px; font: 14px var(--body); margin-bottom: 8px; }
.facet-search:focus { border-color: var(--flame); outline: 0; }
.opt { display: flex; align-items: flex-start; gap: 10px; padding: 5px 6px; border-radius: 6px; cursor: pointer; font-size: 14px; line-height: 1.35; }
.opt:hover { background: var(--mist); }
.opt input { appearance: none; width: 18px; height: 18px; border: 1.5px solid #AEBBD3; border-radius: 5px; margin: 0; flex: none; display: grid; place-items: center; background: #fff; cursor: pointer; }
.opt input:checked { background: var(--flame); border-color: var(--flame); }
.opt input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.opt input:indeterminate { border-color: var(--flame); }
.opt input:indeterminate::after { content: ""; width: 8px; height: 2px; background: var(--flame); }
.opt .lbl { flex: 1; }
.opt .n { color: var(--slate); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.opt.zero { opacity: .45; }
.opt-children { margin-left: 18px; border-left: 1px solid var(--line); padding-left: 6px; }
.opt-row { display: flex; align-items: center; }
.opt-row .opt { flex: 1; }
.expander { background: none; border: 0; cursor: pointer; color: var(--slate); padding: 4px; border-radius: 4px; display: flex; }
.expander:hover { background: var(--mist); }
.expander .ico { width: 16px; height: 16px; transition: transform .15s; }
.expander[aria-expanded="true"] .ico { transform: rotate(90deg); }
.show-more { margin-top: 4px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px; font-size: 14px; cursor: pointer; }
.switch { appearance: none; width: 38px; height: 22px; border-radius: 11px; background: #C5CFE3; position: relative; cursor: pointer; flex: none; transition: background .15s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch:checked { background: var(--flame); }
.switch:checked::after { transform: translateX(16px); }
.radius-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 14px; }
.radius-row select, .sort select { border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px 30px 8px 10px; font: 500 14px var(--body); color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%234B5872' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; cursor: pointer; }
.near-input { display: flex; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.near-input:focus-within { border-color: var(--flame); }
.near-input input { flex: 1; border: 0; padding: 9px 10px; font: 14px var(--body); outline: 0; min-width: 0; }
.near-input button { border: 0; background: var(--mist); color: var(--flame); padding: 0 10px; cursor: pointer; }
.near-status { font-size: 12px; color: var(--slate); margin-top: 6px; min-height: 1em; }
.near-status.err { color: var(--ember); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.results-count { font-size: 15px; color: var(--slate); }
.results-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.results-tools { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-s); padding: 3px; background: #fff; }
.seg button { border: 0; background: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; color: var(--slate); display: inline-flex; align-items: center; gap: 6px; font: 500 14px var(--body); }
.seg button[aria-pressed="true"] { background: var(--mist); color: var(--ink); }
.seg .ico { width: 16px; height: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.results { transition: opacity .15s; }
.results.loading { opacity: .5; pointer-events: none; }
.map-pane { position: sticky; top: calc(var(--header-h) + 16px); height: calc(100vh - var(--header-h) - 32px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); display: none; background: var(--mist); }
.with-map .map-pane { display: block; }
#map { width: 100%; height: 100%; }
.empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line); border-radius: 14px; background: #fff; }
.empty .ico { width: 40px; height: 40px; color: var(--flame-light); margin: 0 auto 12px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--slate); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-s); cursor: pointer; font: 500 14px var(--body); color: var(--ink); }
.pager button[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:hover:not([aria-current]) { border-color: var(--ink); }
.skeleton { background: linear-gradient(90deg, var(--mist) 25%, #F6F8FF 50%, var(--mist) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.mobile-filter-btn, .filters-close, .filters-apply { display: none; }

/* Map markers */
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--flame); border: 2px solid #fff; display: grid; place-items: center; }
.pin::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.pin.featured { background: var(--ink); }
.pin.featured::after { background: var(--lime); }
.pin.hl { background: var(--ink); transform: rotate(-45deg) scale(1.2); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(31,91,255,.22) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--flame) !important; color: #fff; font: 700 12px var(--body) !important; }
.leaflet-popup-content-wrapper { border-radius: var(--r-m); box-shadow: none; border: 1px solid var(--line); }
.leaflet-popup-content { margin: 12px 14px; font: 14px/1.4 var(--body); }
.leaflet-popup-content a.pop-title { font: 700 15px var(--display); color: var(--ink); display: block; margin-bottom: 2px; }
.leaflet-container { font-family: var(--body); }

/* Profile */
.profile-hero { background: var(--mist); border-bottom: 1px solid var(--line); }
.profile-hero .wrap { padding-top: 24px; padding-bottom: 28px; }
.profile-top { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; }
.profile-top .logo { width: 96px; height: 96px; font-size: 30px; border-radius: 18px; background: #fff; }
.profile-top h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin: 0 0 6px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.profile-top .tagline { color: var(--slate); font-size: 1.05rem; margin: 0 0 10px; max-width: 65ch; }
.profile-top .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--slate); }
.profile-top .meta span { display: inline-flex; align-items: center; gap: 6px; }
.profile-top .meta .ico { width: 16px; height: 16px; }
.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.profile-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding-top: 32px; padding-bottom: 64px; }
.profile-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; position: sticky; top: var(--header-h); background: #fff; z-index: 5; overflow-x: auto; }
.profile-tabs a { padding: 12px 14px; color: var(--slate); font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.profile-tabs a:hover, .profile-tabs a.on { color: var(--ink); border-bottom-color: var(--flame); }
.profile-section { margin-bottom: 40px; }
.profile-section h2 { font-size: 1.4rem; margin-bottom: 14px; }
.prose { font-size: 16.5px; }
.prose p { margin-bottom: 1em; }
.service-groups { display: grid; gap: 14px; }
.service-group { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.service-group h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.service-group h3 .ico { color: var(--flame); }
.service-group h3 a { color: var(--ink); }
.service-group h3 a:hover { color: var(--flame); }
.service-group .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.facts div { padding: 14px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-size: 12px; color: var(--slate); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; background: #fff; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; }
.contact-list a, .contact-list span { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-s); color: var(--ink); word-break: break-word; }
.contact-list a:hover { background: var(--mist); }
.contact-list .ico { color: var(--flame); }
.mini-map { height: 200px; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; background: var(--mist); }
.sticky-side { position: sticky; top: calc(var(--header-h) + 16px); }
.claim-card { background: var(--mist); border-color: var(--mist); }
.claim-card p { font-size: 14px; color: var(--slate); }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-m); font-size: 14px; background: var(--mist); color: var(--ink); align-items: flex-start; }
.notice .ico { color: var(--flame); margin-top: 2px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label.f { display: grid; gap: 6px; font: 600 14px var(--body); }
.form label.f small { font-weight: 400; color: var(--slate); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=url], .form textarea, .form select {
	width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 11px 12px; font: 400 15px var(--body); color: var(--ink); background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--flame); outline: 0; }
.form .err { color: var(--ember); font-size: 13px; font-weight: 500; }
.form .has-err input, .form .has-err textarea { border-color: var(--ember); }
.form label.check { display: flex; grid-template-columns: none; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--slate); font-weight: 400; }
.form label.check input { margin-top: 3px; accent-color: var(--flame); }
.form-msg { padding: 14px 16px; border-radius: var(--r-m); font-size: 15px; }
.form-msg.ok { background: #F1FBD8; color: var(--ink); border: 1px solid var(--lime); }
.form-msg.bad { background: #FBEDEA; color: var(--ember); border: 1px solid #F0C2B9; }
.bgd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 12px; max-height: 340px; overflow: auto; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 10px; }
.checks-grid .grp { grid-column: 1 / -1; font: 700 13px var(--body); margin-top: 8px; color: var(--ink); }
.checks-grid label { font-weight: 400; font-size: 14px; display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.checks-grid input { accent-color: var(--flame); margin-top: 4px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(11,27,58,.55); }
.modal-box { position: relative; background: #fff; border-radius: var(--r-l); width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 28px; }
.modal-close { position: absolute; right: 14px; top: 14px; }
.modal-box h2 { font-size: 1.5rem; padding-right: 40px; }

/* Page */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-hero p { color: var(--slate); max-width: 60ch; font-size: 1.1rem; margin: 0; }
.page-body { padding: 40px 0 72px; }
.narrow { max-width: 780px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 12px; }
.benefits .ico { color: var(--flame); margin-top: 3px; }

/* Footer */
.site-footer { background: var(--ink); color: #A9B8D6; padding: 56px 0 28px; font-size: 14px; }
.site-footer a { color: #D6E0F5; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { color: #fff; font: 700 14px var(--body); letter-spacing: 0; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand svg { height: 32px; width: auto; margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-m); font-size: 14px; opacity: 0; transition: all .2s; z-index: 200; pointer-events: none; display: flex; gap: 10px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--flame-light); }

/* Responsive */
@media (max-width: 1180px) {
	.search-layout.with-map { grid-template-columns: 270px minmax(0, 1fr); }
	.with-map .map-pane { display: none; }
	.with-map.map-only .map-pane { display: block; }
}
@media (max-width: 980px) {
	.nav, .header-actions .hide-md { display: none; }
	.menu-toggle { display: inline-flex; }
	.mega .wrap { grid-template-columns: 1fr 1fr; }
	.chain { grid-template-columns: repeat(3, 1fr); }
	.chain a:nth-child(3) { border-right: 0; }
	.chain a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
	.steps { grid-template-columns: 1fr; }
	.cta-band { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.search-layout, .search-layout.with-map { grid-template-columns: minmax(0, 1fr); }
	.filters { position: fixed; inset: 0; z-index: 90; background: #fff; max-height: none; padding: 16px var(--gutter) 88px; transform: translateX(-100%); transition: transform .2s; }
	.filters.open { transform: none; }
	.filters-close { display: inline-flex; }
	.filters-apply { display: flex; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter); background: #fff; border-top: 1px solid var(--line); }
	.filters:not(.open) .filters-apply { display: none; }
	.mobile-filter-btn { display: inline-flex; }
	.map-pane, .with-map .map-pane { display: none; }
	.map-only .map-pane { display: block; position: relative; top: 0; height: 70vh; }
	.map-only .results { display: none; }
	.profile-body, .two-col { grid-template-columns: minmax(0, 1fr); }
	.profile-top { grid-template-columns: 72px 1fr; }
	.profile-top .logo { width: 72px; height: 72px; font-size: 24px; }
	.profile-actions { grid-column: 1 / -1; justify-content: flex-start; }
	.hero-flame { display: none; }
}
@media (max-width: 640px) {
	:root { --header-h: 60px; }
	.brand svg { height: 28px; }
	.searchbox { flex-direction: column; }
	.searchbox .field + .field { border-left: 0; border-top: 1px solid var(--line); }
	.searchbox .field-loc { flex: auto; }
	.searchbox .btn { width: 100%; }
	.mega .wrap { grid-template-columns: 1fr; }
	.chain { grid-template-columns: 1fr 1fr; }
	.chain a { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
	.chain a:nth-child(2n) { border-right: 0 !important; }
	.card { grid-template-columns: 44px 1fr; padding: 14px; gap: 12px; }
	.card .logo { width: 44px; height: 44px; font-size: 15px; }
	.card .actions { position: absolute; top: 12px; right: 12px; }
	.card .actions .btn { display: none; }
	.card h3 { padding-right: 44px; }
	.card > div:nth-child(2) { min-width: 0; }
	.card .tagline { padding-right: 36px; }
	.form .row2 { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr; }
	.results-tools .seg-view { display: none; }
	.hero-stats { gap: 20px 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
