/* Onest – локално (без Google Fonts) */
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/onest-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/onest-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/onest-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/onest-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/onest-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/onest-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/onest-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/onest-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/onest-cyrillic-800-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/onest-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* =========================================================
   НамериГТП – основни стилове
   Тъмносиньо (пътни табели) + жълто (стикер за ГТП); Onest
   ========================================================= */

:root {
	--navy: #0e2747;
	--navy-2: #163762;
	--navy-3: #23508a;
	--ink: #142033;
	--slate: #4d5b70;
	--muted: #6f7c90;
	--line: #dbe2ec;
	--mist: #f2f5f9;
	--paper: #ffffff;
	--sun: #ffc72c;
	--sun-2: #ffd75e;
	--sun-ink: #7a5600;
	--sun-soft: #fff6d9;
	--orange: #f28c18;
	--ok: #1d7a4c;
	--ok-soft: #e3f4ea;
	--warn: #a24b0e;
	--warn-soft: #fdeee2;
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 18px;
	--shadow: 0 1px 2px rgba(14, 39, 71, .06), 0 8px 24px -12px rgba(14, 39, 71, .22);
	--font: "Onest", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--paper); }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
figure { margin: 0; }
a { color: var(--navy-3); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .86em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }
.req { color: var(--warn); }
.muted { color: var(--muted); }
.mt0 { margin-top: 0; } .mt12 { margin-top: 12px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.pad60 { padding-top: 60px; padding-bottom: 60px; }

/* ---------- Бутони ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .6em 1.15em; border-radius: var(--r-sm);
	font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	border: 1px solid var(--line); background: var(--paper); color: var(--navy);
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { border-color: var(--navy-3); color: var(--navy); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--sun { background: var(--sun); border-color: var(--sun); color: var(--navy); }
.btn--sun:hover { background: var(--sun-2); border-color: var(--sun-2); color: var(--navy); }
.btn--sm { min-height: 38px; padding: .4em .85em; font-size: .92rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-3); cursor: pointer; text-decoration: underline; text-underline-offset: .18em; display: inline-flex; align-items: center; gap: .4em; }
.link-btn svg { width: 18px; height: 18px; }

/* ---------- Хедър ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand svg { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: #dfe8f5; text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav .current-menu-item > a { background: rgba(255,255,255,.08); color: #fff; }
.header-search { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--sun); cursor: pointer; color: var(--navy); font: 700 .95rem var(--font); }
.header-search svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
@media (max-width: 1020px) {
	.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-sm); background: transparent; color: #fff; }
	.menu-toggle svg { width: 22px; height: 22px; }
	.nav { position: fixed; inset: 70px 0 auto 0; background: var(--navy); box-shadow: var(--shadow); display: none; margin: 0; }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; padding: 8px var(--gutter) 18px; }
	.nav a { padding: 14px 12px; font-size: 1.05rem; }
	.header-search { margin-left: auto; }
}
@media (max-width: 420px) { .header-search span { display: none; } .brand svg { height: 36px; } }

/* ---------- Бързо търсене ---------- */
.qs { position: fixed; inset: 0; z-index: 90; background: rgba(14, 39, 71, .55); display: none; padding: 70px var(--gutter) 20px; }
.qs.is-open { display: block; }
.qs__box { max-width: 680px; margin: 0 auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.qs__field { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.qs__field svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.qs__field input { flex: 1; border: 0; font: 500 1.1rem var(--font); padding: 8px 0; outline: none; min-width: 0; }
.qs__close { border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.qs__results { max-height: 60vh; overflow: auto; }
.qs__results h4, .hero__suggest h4 { margin: 0; padding: 12px 18px 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.qs__results a, .hero__suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; color: var(--ink); text-decoration: none; }
.qs__results a:hover, .qs__results a.is-active, .hero__suggest a:hover, .hero__suggest a.is-active { background: var(--sun-soft); }
.qs__results small, .hero__suggest small { color: var(--muted); }
.qs__empty { padding: 16px 18px; color: var(--muted); margin: 0; }

/* ---------- Трохи, заглавия ---------- */
.crumbs { margin: 18px 0 8px; font-size: .9rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #a7b2c3; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { margin: 10px 0 22px; }
.page-head__lead { font-size: 1.1rem; color: var(--slate); max-width: 820px; }
.summary { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--slate); font-size: .95rem; margin-top: 10px; }
.summary b { color: var(--navy); font-size: 1.15rem; }

/* ---------- Таг-ове, чипове ---------- */
.tag { display: inline-flex; align-items: center; gap: .35em; padding: 3px 9px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: .82rem; font-weight: 600; line-height: 1.5; white-space: nowrap; text-decoration: none; }
.tag svg { width: 14px; height: 14px; }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--sun { background: var(--sun-soft); color: var(--sun-ink); }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--feat { background: var(--sun); color: var(--navy); margin-left: 8px; vertical-align: middle; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.hoods, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.hoods a, .chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .93rem; background: var(--paper); }
.hoods a span, .chip span { color: var(--muted); font-size: .85em; }
.hoods a[aria-current], .hoods a:hover, .chip:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.hoods a[aria-current] span, .hoods a:hover span, .chip:hover span { color: #c9d6ea; }
.chip svg { width: 16px; height: 16px; }

/* ---------- Оформление ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; margin-bottom: 40px; }
.layout--rev { grid-template-columns: minmax(0, 1fr) 320px; }
.layout aside > * + * { margin-top: 18px; }
@media (max-width: 960px) { .layout, .layout--rev { grid-template-columns: minmax(0, 1fr); } }
.block { margin: 36px 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: 36px 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Панели ---------- */
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--paper); }
.panel h2 { font-size: 1.2rem; }
.panel h3 { font-size: 1.08rem; }
.panel > :last-child { margin-bottom: 0; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: #dfe8f5; }
.panel--navy h2, .panel--navy h3 { color: #fff; }
.panel--navy a:not(.btn) { color: var(--sun); }
.panel--sun { background: var(--sun-soft); border-color: #f5dd92; }
.panel--big { padding: 28px; border-radius: var(--r-lg); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 10px; padding: 7px 0; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; color: var(--navy-3); flex: none; margin-top: 4px; }

/* ---------- Филтри ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--mist); margin-bottom: 16px; }
.filters input[type="search"], .filters select, .input { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font: 400 .97rem var(--font); background: var(--paper); color: var(--ink); }
.filters input[type="search"] { flex: 1 1 220px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; cursor: pointer; padding: 6px 4px; }
.chk input { width: 18px; height: 18px; accent-color: var(--navy); }
.filters__count { margin-left: auto; color: var(--muted); font-size: .9rem; }
.input { width: 100%; }

/* ---------- Карти на пунктове ---------- */
.list { display: grid; gap: 12px; }
.card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #b8c6d9; box-shadow: var(--shadow); }
.card--feat { border-color: var(--sun); box-shadow: inset 4px 0 0 var(--sun); }
.card__badge { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; }
.card__badge svg { width: 22px; height: 22px; stroke-width: 2.6; }
.card__title { font-size: 1.08rem; margin: 0 0 2px; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__addr { margin: 0 0 8px; color: var(--slate); font-size: .94rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.card__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.card__phone svg { width: 16px; height: 16px; }
.card__km { font-size: .85rem; color: var(--muted); }
.price { display: flex; flex-direction: column; font-weight: 800; font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.price small { font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 600px) {
	.card { grid-template-columns: 36px minmax(0, 1fr); }
	.card__badge { width: 36px; height: 36px; }
	.card__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; }
}
.list--ranked { counter-reset: r; }
.list--ranked .card__badge { font-weight: 800; }
.list--ranked .card__badge svg { display: none; }
.list--ranked .card__badge::before { counter-increment: r; content: counter(r); }
.empty { padding: 20px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--slate); }

/* ---------- Карта ---------- */
.map { height: 520px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--mist); position: relative; }
.map--sticky { position: sticky; top: 90px; }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #eaf0f7 25%, #f4f7fb 25%, #f4f7fb 50%, #eaf0f7 50%, #eaf0f7 75%, #f4f7fb 75%) 0 0 / 28px 28px; }
@media (max-width: 960px) { .map { height: 360px; } .map--sticky { position: relative; top: 0; } }
.map-embed { position: relative; height: 340px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed__btn { position: absolute; inset: 0; border: 0; background: inherit; cursor: pointer; display: grid; place-items: center; font: 600 1rem var(--font); color: var(--navy); }
.map-embed__btn span { display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; background: var(--paper); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.map-embed__btn svg { width: 20px; height: 20px; }
.leaflet-popup-content { font: 400 .92rem/1.4 var(--font); }
.leaflet-popup-content b { color: var(--navy); }

/* ---------- Профил ---------- */
.profile-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin: 12px 0 20px; }
.sticker { width: 96px; height: 96px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; position: relative; box-shadow: inset 0 0 0 6px var(--sun), inset 0 0 0 8px rgba(14,39,71,.55); }
.sticker svg { width: 44px; height: 44px; stroke-width: 2.8; }
.sticker span { position: absolute; bottom: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.profile-head h1 { margin-bottom: 6px; }
.profile-head__role { color: var(--slate); margin: 0 0 10px; }
.profile-head__tags { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .profile-head { grid-template-columns: minmax(0, 1fr); } .sticker { width: 72px; height: 72px; } .sticker svg { width: 32px; height: 32px; } .sticker span { bottom: 9px; } }
.status { display: inline-flex; align-items: center; gap: .45em; padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: .86rem; background: var(--mist); color: var(--slate); }
.status--open { background: var(--ok-soft); color: var(--ok); }
.status--closed { background: var(--warn-soft); color: var(--warn); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 30px; overflow: hidden; }
.facts div { padding: 14px 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.checks { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--mist); }
.checks li b { margin-left: auto; font-size: .85rem; }
.checks svg { width: 18px; height: 18px; flex: none; }
.checks .is-yes { background: var(--ok-soft); }
.checks .is-yes svg, .checks .is-yes b { color: var(--ok); }
.checks .is-no { color: var(--muted); }
@media (max-width: 600px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.price-table, .hours { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td, .hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.price-table td, .hours td { text-align: right; font-weight: 700; color: var(--navy); }
.price-table td { font-size: 1.15rem; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ok); font-weight: 700; }
.sources { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

/* ---------- Таблици ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; }
.rules, .prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.rules th, .rules td, .prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rules thead th, .prose thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .88rem; }
.rules thead th:first-child { border-radius: var(--r-sm) 0 0 0; } .rules thead th:last-child { border-radius: 0 var(--r-sm) 0 0; }
.rules tbody th { font-weight: 600; color: var(--navy); }
.rules tbody tr:nth-child(even) { background: var(--mist); }

/* ---------- Текст ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.callout { padding: 14px 16px; border-left: 4px solid var(--navy-3); background: var(--mist); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 1.2em 0; }
.callout--warn { border-color: var(--orange); background: var(--warn-soft); }
.callout strong { display: block; color: var(--navy); }
.answer-box { padding: 16px 18px; background: var(--sun-soft); border-radius: var(--r); border: 1px solid #f5dd92; font-size: 1.04rem; }
.toc { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); margin: 20px 0; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.post-meta { color: var(--muted); font-size: .92rem; }
.art-cover img { border-radius: var(--r); width: 100%; margin: 0 0 20px; }
.art-sources ul { color: var(--slate); font-size: .94rem; }
.link-grid { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.link-grid a { display: block; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 500; background: var(--paper); }
.link-grid a:hover { border-color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { margin: 40px 0; max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--navy-3); font-weight: 400; }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 14px; color: var(--slate); }

/* ---------- Начална страница ---------- */
.hero { background: radial-gradient(1200px 400px at 85% 0%, #1d4a80 0%, transparent 60%), var(--navy); color: #dfe8f5; padding: 48px 0 60px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; }
.hero h1 { color: #fff; max-width: 760px; }
.hero__lead { font-size: 1.12rem; max-width: 680px; color: #c7d5ea; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sun); font-size: .95rem; margin-bottom: 14px; }
.eyebrow svg { width: 18px; height: 18px; stroke-width: 2.6; }
.hero__search { position: relative; display: flex; gap: 8px; max-width: 640px; background: var(--paper); padding: 6px; border-radius: var(--r); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); margin-top: 22px; }
.hero__search input { flex: 1; min-width: 0; border: 0; font: 500 1.08rem var(--font); padding: 10px 12px; outline: none; color: var(--ink); background: transparent; }
.hero__search--plain { border: 1px solid var(--line); box-shadow: none; margin-top: 10px; }
.hero__suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); z-index: 20; overflow: hidden; max-height: 60vh; overflow-y: auto; }
.hero__near { color: var(--sun); margin-top: 14px; }
.hero__near-out { margin-top: 14px; max-width: 640px; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 6px 0; }
.hero__near-out a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; text-decoration: none; color: var(--ink); }
.hero__near-out a:hover { background: var(--sun-soft); }
.hero__near-out small { color: var(--muted); white-space: nowrap; }
.hero__sticker svg { width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.35)); transform: rotate(-8deg); }
@media (max-width: 860px) { .hero__in { grid-template-columns: minmax(0, 1fr); } .hero__sticker { display: none; } .hero { padding: 30px 0 40px; } }
.city-grid { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.city-grid a { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--paper); transition: border-color .15s, transform .15s; }
.city-grid a:hover { border-color: var(--navy); transform: translateY(-1px); }
.city-grid strong { color: var(--navy); font-size: 1.05rem; }
.city-grid span { color: var(--muted); font-size: .88rem; }
.city-grid--sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tiles a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 16px; border-radius: var(--r); background: var(--mist); text-decoration: none; }
.tiles a:hover { background: var(--sun-soft); }
.tiles svg { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--navy); color: var(--sun); }
.tiles strong { color: var(--navy); line-height: 1.25; }
.tiles span { color: var(--muted); font-size: .88rem; }

/* ---------- Калкулатор ---------- */
.calc__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.calc select, .calc input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); font: 400 1rem var(--font); background: var(--paper); color: var(--ink); }
.calc small { display: block; margin-top: 3px; font-size: .78rem; }
.panel--navy .calc label { color: #fff; }
.panel--navy .calc small { color: #aebfd8; }
.calc__out { margin-top: 18px; padding: 18px; border-radius: var(--r); background: var(--sun-soft); color: var(--ink); border: 1px solid #f5dd92; }
.calc__out strong.big { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.calc__out.is-late { background: var(--warn-soft); border-color: #f2c39a; }
.calc__out ul { margin: 8px 0 0; padding-left: 1.2em; }
@media (max-width: 760px) { .calc__row { grid-template-columns: minmax(0, 1fr); } }
.split .calc__row { grid-template-columns: minmax(0, 1fr); }

/* ---------- Статии ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.post-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 16px; }
.post-card h3 { font-size: 1.05rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card p { color: var(--slate); font-size: .94rem; margin: 0; }
.art-links { list-style: none; margin: 0; padding: 0; }
.art-links li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pagination { margin: 30px 0; display: flex; gap: 6px; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Списък градове / области ---------- */
.oblasts { columns: 3 280px; column-gap: 32px; }
.oblast-block { break-inside: avoid; margin-bottom: 24px; }
.oblast-block h2 { font-size: 1.1rem; border-bottom: 2px solid var(--sun); padding-bottom: 6px; }
.oblast-block h2 a { color: var(--navy); text-decoration: none; }
.oblast-block ul { list-style: none; margin: 0; padding: 0; }
.oblast-block li { display: flex; justify-content: space-between; padding: 4px 0; }
.oblast-block li span { color: var(--muted); font-size: .9rem; }
.changes { list-style: none; margin: 0; padding: 0; }
.changes__item { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.changes__item time { color: var(--muted); font-size: .9rem; min-width: 90px; }
.changes__item--new .tag { background: var(--ok-soft); color: var(--ok); }
.changes__item--removed .tag { background: var(--warn-soft); color: var(--warn); }

/* ---------- Отзиви и форми ---------- */
.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; color: #d6dce6; letter-spacing: 1px; }
.stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: #f2a900; }
.reviews-sum { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reviews-sum__avg { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.bars { max-width: 420px; margin-bottom: 20px; }
.bars__row { display: grid; grid-template-columns: 170px 1fr 30px; gap: 10px; align-items: center; font-size: .9rem; padding: 3px 0; }
.bars__bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--sun) var(--w), var(--mist) var(--w)); }
.review-list { list-style: none; margin: 0 0 28px; padding: 0; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review .children { list-style: none; padding-left: 20px; border-left: 3px solid var(--sun); margin-top: 12px; }
.review__head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.review__head time { color: var(--muted); font-size: .88rem; }
.review__subs { color: var(--slate); font-size: .88rem; margin: 6px 0; }
.review__pending { color: var(--warn); font-size: .9rem; }
.comment-respond { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--mist); }
.comment-respond h3 { margin-top: 0; }
.comment-form label, .form label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="number"], .comment-form textarea, .comment-form select,
.form input, .form select, .form textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font: 400 1rem var(--font); background: var(--paper); color: var(--ink); }
.form input[type="checkbox"], .comment-form input[type="checkbox"] { width: auto; min-height: 0; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.form__consent label, .comment-form-cookies-consent label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.rate, .subrate { border: 0; padding: 0; margin: 0 0 14px; }
.rate legend, .subrate legend { font-weight: 600; font-size: .94rem; margin-bottom: 4px; padding: 0; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { font-size: 2rem; color: #c8d0dc; cursor: pointer; line-height: 1; margin: 0; }
.rate__stars--sm label { font-size: 1.3rem; }
.rate__stars input:checked ~ label, .rate__stars label:hover, .rate__stars label:hover ~ label { color: #f2a900; }
.rate__stars input:focus-visible + label { outline: 2px solid var(--navy); border-radius: 3px; }
.subrate__row { display: flex; align-items: center; justify-content: space-between; max-width: 380px; gap: 12px; }
.notice { padding: 14px 16px; border-radius: var(--r-sm); margin: 0 0 18px; }
.notice--ok { background: var(--ok-soft); color: #134f33; }
.notice--warn { background: var(--warn-soft); color: #6e3409; }

/* ---------- Реклама ---------- */
.ad { margin: 24px auto; text-align: center; max-width: var(--wrap); padding: 0 var(--gutter); }
.ad__label { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

/* ---------- Футър ---------- */
.site-footer { background: var(--navy); color: #b9c8de; margin-top: 60px; padding: 44px 0 20px; font-size: .94rem; }
.site-footer a { color: #e3ebf7; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 3px 0; }
.footer-brand svg { height: 46px; width: auto; margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

@media print { .site-header, .site-footer, .ad, .map, .actions, .comment-respond { display: none !important; } }
@media (max-width: 600px) {
	.city-grid, .city-grid--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.city-grid a { padding: 11px 12px; }
	.filters select { flex: 1 1 100%; min-width: 0; max-width: 100%; }
}
.filters select { max-width: 100%; }
