/* Бизнес Каталог: нов облик. Mobile-first: основата е за телефон, @media (min-width) добавя таблет и компютър. */

:root {
  --ink: #0b1a33;
  --ink-2: #26344f;
  --muted: #5a6680;
  --faint: #8a94a8;
  --line: #e0e5ee;
  --line-2: #eaeef4;
  --bg: #f3f5f9;
  --surface: #fff;
  --surface-2: #f6f8fb;

  /* цветовете на логото: тъмносиньо „KATALOG“ и оранжево „BIZNES“ */
  --brand: #1d56c4;
  --brand-700: #164299;
  --brand-50: #edf3ff;
  --brand-100: #d8e5fd;
  --orange: #ee6a14;
  --orange-700: #d4570a;
  --orange-50: #fff1e6;
  --gold: #f2a516;
  --gold-50: #fff5dd;
  --gold-ink: #8a5300;

  --t1: #1d56c4; --t1-50: #edf3ff;
  --t2: #0e9f6e; --t2-50: #e3f6ee;
  --t3: #d9822b; --t3-50: #fdf0e3;
  --t4: #d93f6a; --t4-50: #fdebf0;
  --t5: #7a4fd8; --t5-50: #f1ebfd;
  --t6: #0b8fa3; --t6-50: #e1f4f7;

  --r-xs: 8px; --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(13, 21, 48, .05);
  --sh-2: 0 1px 2px rgba(13, 21, 48, .05), 0 12px 30px -16px rgba(13, 21, 48, .25);
  --sh-3: 0 30px 70px -24px rgba(5, 10, 30, .55);

  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-disp: "Manrope", system-ui, sans-serif;

  --hdr-h: 64px;
  --hdr-vis: var(--hdr-h);
  --tabbar-h: 64px;
  --gut: 16px;
}

/* Кирилица: без локализираните (наклонени) форми, иначе „д“ излиза като „g“ */
*, *::before, *::after { box-sizing: border-box; font-feature-settings: "locl" 0 !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  font: 400 16px/1.55 var(--f-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.sheet-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
:focus-visible { outline: 3px solid rgba(36, 72, 216, .45); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: var(--brand-100); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 24px; height: 24px; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Бутони, чипове, значки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1.1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -12px rgba(36, 72, 216, .9); }
.btn--primary:hover { background: var(--brand-700); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1c2747; }
.btn--soft { background: var(--brand-50); color: var(--brand-700); }
.btn--soft:hover { background: var(--brand-100); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #c9d0e0; background: var(--surface-2); }
.btn--gold { background: var(--gold); color: #2b1a00; }
.btn--gold:hover { background: #e39806; }
.btn--light { background: #fff; color: var(--ink); }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .i { width: 18px; height: 18px; }

.icon-btn {
  width: 44px; height: 44px; flex: none; display: inline-grid; place-items: center;
  border-radius: 999px; border: 0; background: transparent; color: var(--ink); text-decoration: none;
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn--line { border: 1px solid var(--line); background: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
a.chip:hover, button.chip:hover { border-color: #c4cbe0; color: var(--ink); }
.chip.is-on, .chip[aria-selected="true"], .chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #e4e9ff; }
a.chip--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.chip--sm { min-height: 30px; padding: 0 11px; font-size: 13px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
}
.badge .i { width: 13px; height: 13px; }
.badge--vip { background: var(--gold-50); color: var(--gold-ink); box-shadow: inset 0 0 0 1px #f6dc9d; }
.badge--vip .i { color: var(--gold); }

.ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--t1-50); color: var(--t1); }
.ico .i { width: 20px; height: 20px; }
.ico--t2 { background: var(--t2-50); color: var(--t2); }
.ico--t3 { background: var(--t3-50); color: var(--t3); }
.ico--t4 { background: var(--t4-50); color: var(--t4); }
.ico--t5 { background: var(--t5-50); color: var(--t5); }
.ico--t6 { background: var(--t6-50); color: var(--t6); }
.ico--lg { width: 48px; height: 48px; border-radius: 14px; }
.ico--lg .i { width: 24px; height: 24px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1); }

/* Логата на обектите: винаги цели, на бял фон */
.logo-box { display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ---------- Горна лента ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
}
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(13, 21, 48, .5); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; gap: 8px; height: var(--hdr-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.brand__mark { width: 42px; height: 44px; flex: none; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(13, 21, 48, .45); background: #e9e4d8; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.24); filter: sepia(.25) contrast(1.05); }
.brand__txt { display: grid; line-height: 1.1; min-width: 0; }
.brand__txt b { font: 800 17px/1.1 var(--f-disp); letter-spacing: -.01em; white-space: nowrap; }
.brand__txt b span { color: var(--brand); }
.brand__txt small { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.nav { display: none; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 0; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav a:hover, .nav button:hover { background: var(--surface-2); color: var(--ink); }
.nav [aria-current="page"], .nav button[aria-expanded="true"] { background: var(--brand-50); color: var(--brand-700); }
.nav .i { width: 16px; height: 16px; }
.nav button[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav .i { transition: transform .2s; }

.hdr__act { display: flex; align-items: center; gap: 4px; }
.hdr__search, .hdr__login { display: none; }

@media (min-width: 768px) {
  :root { --gut: 24px; --hdr-h: 72px; }
  .hdr__search { display: inline-grid; }
  .hdr__login { display: inline-flex; }
  .brand__mark { width: 46px; height: 48px; }
  .brand__txt b { font-size: 19px; }
  .brand__txt small { font-size: 12px; }
}
@media (min-width: 1140px) {
  .nav { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
  .hdr__menu { display: none; }
}
@media (min-width: 1240px) { :root { --gut: 32px; } }

/* ---------- Долна лента (телефон) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -24px rgba(13, 21, 48, .5);
}
.tabbar a, .tabbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: transparent; color: var(--muted); font-size: 11.5px; font-weight: 600; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.tabbar .i { width: 23px; height: 23px; }
.tabbar [aria-current="page"], .tabbar [aria-expanded="true"] { color: var(--brand); }
@media (min-width: 768px) {
  .tabbar { display: none; }
}

/* ---------- Листове (търсене, категории, меню) ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.sheet__bg { position: absolute; inset: 0; background: rgba(8, 12, 30, .52); animation: fade .22s ease both; }
.sheet__panel {
  position: relative; width: 100%; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 24px 24px 0 0; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom));
  animation: sheet-up .32s cubic-bezier(.2, .8, .2, 1) both;
  box-shadow: var(--sh-3);
}
.sheet.is-closing .sheet__bg { animation: fade .18s ease reverse both; }
.sheet.is-closing .sheet__panel { animation: sheet-up .18s ease-in reverse both; }
.sheet__head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0 12px; background: #fff;
}
.sheet__head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }
.sheet__title { font: 800 18px/1.2 var(--f-disp); }
.sheet__sub { margin: 18px 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

.sheet--side { justify-content: flex-end; align-items: stretch; }
.sheet--side .sheet__panel { width: min(88vw, 400px); max-height: none; height: 100%; border-radius: 24px 0 0 24px; animation-name: slide-in; }
.sheet--side.is-closing .sheet__panel { animation-name: slide-in; }
.sheet--side .sheet__head::before { display: none; }

@media (min-width: 1024px) {
  .sheet--drop { align-items: flex-start; }
  .sheet--drop .sheet__panel {
    width: calc(100% - 48px); max-width: 780px; max-height: calc(100dvh - var(--hdr-h) - 40px);
    margin-top: calc(var(--hdr-h) + 12px); border-radius: var(--r-xl); padding: 0 28px 28px;
    animation-name: drop;
  }
  .sheet--drop.is-closing .sheet__panel { animation-name: drop; }
  #p-search .sheet__panel { overflow: visible; }
  .sheet--drop .sheet__head::before { display: none; }
  .sheet--mega .sheet__panel { max-width: 1180px; }
}

.mnav { display: grid; gap: 2px; }
.mnav a {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; border-radius: 14px;
  color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none;
}
.mnav a:hover { background: var(--surface-2); }
.mnav a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.mnav .i { color: var(--muted); }
.mnav a[aria-current="page"] .i { color: var(--brand); }
.mnav__ext { margin-left: auto; width: 16px; height: 16px; }
.mmeta { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--surface-2); font-size: 14.5px; }
.mmeta a { color: var(--ink); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.mmeta .i { color: var(--brand); }

/* ---------- Дървото на категориите ---------- */
.tree { list-style: none; margin: 0; padding: 0; }
.tree__row { display: flex; align-items: center; gap: 2px; }
.tree__a {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 5px 8px;
  border-radius: 14px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.25;
}
.tree__a:hover { background: var(--surface-2); }
.tree__a .ico { width: 34px; height: 34px; border-radius: 10px; }
.tree__a .ico .i { width: 18px; height: 18px; }
.tree__a[aria-current] { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.tree__tg { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--muted); }
.tree__tg:hover { background: var(--surface-2); }
.tree__tg .i { transition: transform .22s; }
.tree__tg[aria-expanded="true"] .i { transform: rotate(180deg); }
.tree__sub { list-style: none; margin: 0 0 6px 25px; padding: 2px 0 2px 21px; border-left: 2px solid var(--line-2); }
.tree__sub a { display: block; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.tree__sub a:hover { background: var(--surface-2); color: var(--ink); }
.tree__sub a[aria-current] { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }

@media (min-width: 1024px) {
  .sheet--mega .tree { columns: 3; column-gap: 28px; }
  .sheet--mega .tree > li { break-inside: avoid; }
  .sheet--mega .tree__tg { display: none; }
  .sheet--mega .tree__sub[hidden] { display: block !important; }
}

/* ---------- Търсачката ---------- */
.finder { background: #fff; border-radius: var(--r-lg); padding: 8px; box-shadow: var(--sh-3); color: var(--ink); text-align: left; }
.finder--flat { box-shadow: none; padding: 0; background: transparent; }
.finder__q {
  display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.finder__q:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(36, 72, 216, .12); }
.finder__q > .i { color: var(--muted); }
.finder__q input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 16px; outline: none; }
.finder__q input::placeholder { color: var(--faint); }
.finder__q .btn { min-height: 46px; padding: 0 18px; border-radius: 14px; }
.finder__f { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.finder__or { display: none; }
@media (min-width: 640px) {
  .finder { padding: 10px; }
  .finder__f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__q .btn { padding: 0 26px; }
}

.fsel { position: relative; }
.fsel > label, .fsel > .fsel__label {
  position: absolute; left: 15px; top: 9px; z-index: 1; pointer-events: none;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted);
}
.fsel select, .combo__input {
  width: 100%; height: 58px; padding: 24px 42px 6px 14px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 16px; font-weight: 500; color: var(--ink);
  appearance: none; -webkit-appearance: none; outline: none; text-overflow: ellipsis;
  transition: border-color .2s, box-shadow .2s;
}
.fsel select:focus, .combo__input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36, 72, 216, .12); }
.fsel::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -6px; pointer-events: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.combo { position: relative; }
.combo__input::placeholder { color: var(--ink); opacity: 1; }
.combo__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  max-height: min(320px, 46dvh); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2);
}
@media (max-width: 1023px) { .sheet .combo__list { position: static; margin-top: 6px; max-height: 38dvh; box-shadow: none; } }
.combo__list li { padding: 11px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.combo__list li[aria-selected="true"], .combo__list li:hover { background: var(--brand-50); color: var(--brand-700); }
.combo__list .combo__empty { color: var(--muted); cursor: default; background: none !important; }
.combo__list mark { background: none; color: inherit; font-weight: 700; }

.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchips__label { width: 100%; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Начало: герой ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(52, 92, 255, .55), transparent 62%),
    radial-gradient(60% 60% at 0% 100%, rgba(242, 165, 22, .2), transparent 60%),
    linear-gradient(180deg, #0d1530, #111c3d);
  padding: 34px 0 30px;
}
.hero__abc { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__abc span {
  position: absolute; font: 700 var(--s, 140px)/1 var(--f-disp); color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .08); transform: rotate(var(--r, 0deg));
  animation: floaty 9s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.hero__in { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 12.5px; font-weight: 600; color: #cfd8ff;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hero h1 {
  font: 800 clamp(1.7rem, 1.05rem + 3.3vw, 3.4rem)/1.12 var(--f-disp); letter-spacing: -.025em;
  max-width: 21ch; margin: 16px auto 12px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #ffc54d; }
.hero__lead { max-width: 60ch; margin: 0 auto 22px; font-size: clamp(15px, 14px + .4vw, 18px); color: #c3cbe6; text-wrap: pretty; }
.hero .finder { max-width: 820px; margin-inline: auto; }
.hero .qchips { justify-content: center; margin-top: 18px; }
.hero .qchips__label { color: #9aa6cc; text-align: center; }
.stats { list-style: none; margin: 26px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 640px; }
.stats li { padding: 12px 6px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.stats b { display: block; font: 800 clamp(18px, 15px + 1vw, 26px)/1.1 var(--f-disp); color: #fff; }
.stats span { display: block; margin-top: 4px; font-size: 12px; color: #a9b3d6; line-height: 1.3; }
@media (min-width: 768px) {
  .hero { padding: 70px 0 64px; }
  .stats { gap: 14px; }
  .stats span { font-size: 13.5px; }
}

/* ---------- Раздели ---------- */
.sec { padding: 36px 0; }
.sec--white { background: #fff; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec__title { font: 800 clamp(1.3rem, 1rem + 1.3vw, 2rem)/1.15 var(--f-disp); letter-spacing: -.015em; margin-top: 6px; }
.sec__sub { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 62ch; }
.sec__more { display: none; }
@media (min-width: 768px) {
  .sec { padding: 64px 0; }
  .sec__head { margin-bottom: 26px; }
  .sec__more { display: inline-flex; }
}

/* ---------- Въртележки (Топ банери, Прием) ---------- */
.promo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { .promo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.car { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 14px; min-width: 0; }
.car__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.car__title { display: flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 700; }
.car__title small { font-size: 12px; font-weight: 600; color: var(--muted); }
.car__nav { margin-left: auto; display: flex; gap: 6px; }
.car__btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.car__btn:hover { background: var(--surface-2); }
.car__btn .i { width: 18px; height: 18px; }
.car__track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0; padding: 0; list-style: none;
}
.car__track::-webkit-scrollbar { display: none; }
.car__slide { scroll-snap-align: start; min-width: 0; position: relative; }
.slide__img { display: block; aspect-ratio: 485 / 170; border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.slide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car__slide:hover .slide__img img { transform: scale(1.03); }
.slide__name { display: block; margin: 12px 0 4px; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--ink); text-decoration: none; }
.slide__name::after { content: ""; position: absolute; inset: 0; }
.slide__text { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__go { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--brand-700); }
.slide__go .i { width: 15px; height: 15px; }
.car__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.car__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); transition: width .25s, background-color .25s; }
.car__dots button[aria-current="true"] { width: 22px; background: var(--brand); }
@media (min-width: 640px) {
  .car { padding: 18px; }
  .car__track { grid-auto-columns: calc(50% - 6px); }
}
@media (min-width: 1024px) { .car__track { grid-auto-columns: 100%; } }
/* по-сбит вариант в категориите и търсенето */
.car--compact { padding: 12px; }
.car--compact .car__head { margin-bottom: 10px; }
.car--compact .car__title { font-size: 15px; }
.car--compact .car__slide { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; align-items: center; }
.car--compact .slide__img { border-radius: 10px; }
.car--compact .slide__name { margin-top: 0; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car--compact .slide__text { font-size: 13px; }
.car--compact .slide__go { display: none; }
.car--compact .car__dots { margin-top: 10px; }

/* ---------- Категории на началната страница ---------- */
.cx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.cx__list { list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.cx__item + .cx__item { border-top: 1px solid var(--line-2); }
.cx__row {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px; border-radius: 14px;
  color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.25; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: background-color .2s, color .2s;
}
.cx__row:hover { background: var(--surface-2); }
.cx__row > .i { margin-left: auto; color: var(--faint); transition: transform .25s; }
.cx__n { font-size: 12.5px; font-weight: 600; color: var(--faint); margin-left: auto; }
.cx__n + .i { margin-left: 4px; }
.cx__item.is-open > .cx__row > .i { transform: rotate(90deg); }
.cx__panel { padding: 4px 10px 18px 60px; }
.cx__stage { display: none; }

.cxp__head { display: none; }
.cxp__label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cxp__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -10px 14px 0; padding: 2px 10px 2px 0; }
.cxp__tabs::-webkit-scrollbar { display: none; }
.cxp__feat { display: grid; gap: 12px; }
.cxp__lead { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--surface-2); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.cxp__lead .logo-box { width: 92px; height: 60px; flex: none; padding: 4px; }
.cxp__list { list-style: none; margin: 0; padding: 0; }
.cxp__list a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-size: 14.5px; text-decoration: none; line-height: 1.35; }
.cxp__list a:hover { color: var(--brand-700); }
.cxp__list a::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--brand-100); }
.cxp__all { margin-top: 4px; }

@media (min-width: 1024px) {
  .cx { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
  .cx__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; padding: 10px; }
  .cx__item + .cx__item { border-top: 0; }
  .cx__row { min-height: 54px; font-size: 15px; }
  .cx__item.is-active > .cx__row { background: var(--brand-50); color: var(--brand-700); }
  .cx__item.is-active > .cx__row > .i { color: var(--brand); transform: translateX(3px); }
  .cx__list .cx__panel { display: none !important; }
  .cx__stage {
    display: block; position: sticky; top: calc(var(--hdr-vis) + 20px); transition: top .32s;
    min-height: 460px; padding: 26px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-2);
  }
  .cx__stage .cx__panel { padding: 0; animation: fade-up .3s ease both; }
  .cx__stage .cxp__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
  .cx__stage .cxp__tabs { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; }
  .cxp__head h3 { font: 800 20px/1.2 var(--f-disp); }
  .cx__stage .cxp__feat { grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 20px; }
  .cx__stage .cxp__lead { flex-direction: column; align-items: stretch; text-align: center; padding: 14px; }
  .cx__stage .cxp__lead .logo-box { width: 100%; height: 120px; }
  .cx__stage .cxp__all { grid-column: 1 / -1; justify-self: start; }
  .cx__stage .cxp__list a:first-child { padding-top: 0; }
}

/* ---------- Препоръчани ---------- */
.rgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.rcard {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--sh-1);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.rcard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--brand-100); }
.rcard .logo-box { width: 104px; height: 64px; flex: none; padding: 6px; }
.rcard__body { min-width: 0; }
.rcard__name { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); text-decoration: none; }
.rcard__name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rcard__text { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__ext { position: absolute; top: 10px; right: 10px; color: var(--faint); }
@media (min-width: 640px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) {
  .rgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .rcard { flex-direction: column; align-items: stretch; padding: 14px; }
  .rcard .logo-box { width: 100%; height: 108px; }
}

/* ---------- Новини ---------- */
.ngrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.ncard {
  position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--sh-1);
  transition: box-shadow .2s, transform .2s;
}
.ncard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.ncard__img { aspect-ratio: 120 / 82; border-radius: 10px; overflow: hidden; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; }
.ncard__img .i { grid-area: 1 / 1; width: 28px; height: 28px; opacity: .6; }
.ncard:has(.is-empty) { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
.ncard__img.is-empty { width: 48px; height: 48px; aspect-ratio: auto; border-radius: 14px; }
.ncard__img.is-empty .i { width: 22px; height: 22px; opacity: 1; }
.nlist li:has(.is-empty) { grid-template-columns: 40px minmax(0, 1fr); }
.nlist .ncard__img.is-empty { width: 40px; height: 40px; border-radius: 12px; }
.ncard__src { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.ncard__t { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__t::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (min-width: 640px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) {
  .ngrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .ncard { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 12px; }
  .ncard__body { padding: 2px 4px 4px; }
}

/* ---------- Полезно ---------- */
.useful { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; }
.ucard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 16px; box-shadow: var(--sh-1); }
.ucard > summary { display: flex; align-items: center; gap: 12px; min-height: 60px; font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; }
.ucard > summary::-webkit-details-marker { display: none; }
.ucard > summary > .i { margin-left: auto; color: var(--faint); transition: transform .22s; }
.ucard[open] > summary > .i { transform: rotate(180deg); }
.ucard ul { list-style: none; margin: 0 0 12px; padding: 0; }
.ucard a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.ucard a:hover { color: var(--brand-700); }
.ucard a .i { width: 15px; height: 15px; color: var(--faint); }
.ucard a.ucard__main { color: var(--brand-700); font-weight: 600; }
@media (min-width: 640px) { .useful { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) {
  .useful { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .ucard > summary { pointer-events: none; }
  .ucard > summary > .i { display: none; }
}

/* ---------- Покана към организациите ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 18px; padding: 26px 22px;
  border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, rgba(52, 92, 255, .6), transparent 60%), linear-gradient(135deg, #111c3d, #0d1530);
}
.cta::after { content: "А Б В"; position: absolute; right: -10px; bottom: -36px; z-index: -1; font: 700 130px/1 var(--f-disp); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .08); white-space: nowrap; }
.cta h2 { font: 800 clamp(1.3rem, 1rem + 1.4vw, 2rem)/1.2 var(--f-disp); }
.cta p { margin: 8px 0 0; color: #c3cbe6; max-width: 56ch; }
.cta__act { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 44px 48px; }
}

/* ---------- Лента „Препоръчваме“ ---------- */
.strip { padding: 0 0 36px; }
.strip__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.strip__label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
@media (min-width: 768px) { .strip { padding-bottom: 56px; } .strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* ---------- Долна част ---------- */
.ftr { background: #0b1229; color: rgba(255, 255, 255, .7); font-size: 14.5px; padding: 40px 0 0; }
.ftr a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.ftr__brand { grid-column: 1 / -1; }
.ftr .brand { color: #fff; margin: 0 0 14px; }
.ftr .brand__txt small { color: rgba(255, 255, 255, .55); }
.ftr .brand__txt b span { color: #8ea5ff; }
.ftr__about { margin: 0; max-width: 42ch; line-height: 1.6; }
.ftr__social { display: flex; gap: 8px; margin-top: 16px; }
.ftr__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.ftr h3 { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr__links a { display: inline-flex; align-items: center; gap: 6px; }
.ftr__links .i { width: 14px; height: 14px; opacity: .6; }
.ftr__contact { grid-column: 1 / -1; }
.ftr__contact p { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.ftr__contact .i { color: #8ea5ff; width: 18px; height: 18px; }
.ftr__partners { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pgrid a { display: block; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); transition: background-color .2s; }
.pgrid a:hover { background: rgba(255, 255, 255, .08); }
.pgrid b { display: block; color: #fff; font-weight: 600; font-size: 14.5px; }
.pgrid span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 20px 0 calc(24px + var(--tabbar-h) + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
@media (min-width: 768px) { .ftr__bottom { padding-bottom: 24px; } }
.ftr__copy { margin: 0; }
.ftr__by { display: flex; align-items: center; gap: 14px; }
.ftr__by img { height: 30px; width: auto; filter: brightness(2.2); opacity: .85; }
.totop { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; }
.totop:hover { background: rgba(255, 255, 255, .08); }
@media (min-width: 768px) {
  .ftr { padding-top: 56px; }
  .ftr__top { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: auto; }
  .ftr__contact { grid-column: 2 / -1; }
  .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .ftr__top { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.3fr; }
  .ftr__contact { grid-column: auto; }
}

/* ---------- Бисквитки ---------- */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px); z-index: 70;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: 760px; margin-inline: auto; padding: 14px 16px;
  background: var(--ink); color: #dfe4f5; border-radius: 18px; box-shadow: var(--sh-3); font-size: 13.5px; line-height: 1.45;
  animation: fade-up .4s ease both;
}
.cookie p { margin: 0; flex: 1 1 280px; }
.cookie a { color: #fff; font-weight: 600; }
@media (min-width: 768px) { .cookie { bottom: 20px; } }

/* ---------- Вътрешни страници ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; padding: 14px 0 4px; margin: 0; list-style: none; font-size: 13.5px; color: var(--muted); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs li { display: flex; align-items: center; gap: 6px; flex: none; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid var(--faint); border-top: 1.6px solid var(--faint); transform: rotate(45deg); margin-right: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-700); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs .i { width: 16px; height: 16px; }

.phead { padding: 10px 0 18px; }
.phead h1 { font: 800 clamp(1.45rem, 1.05rem + 1.8vw, 2.4rem)/1.15 var(--f-disp); letter-spacing: -.02em; }
.phead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
.phead__meta b { color: var(--ink); }
.phead__lead { margin: 10px 0 0; color: var(--muted); max-width: 64ch; }

.subnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px calc(var(--gut) * -1) 0; padding: 2px var(--gut); }
.subnav::-webkit-scrollbar { display: none; }
.subnav .chip { flex: none; }
.subnav .chip .i { width: 16px; height: 16px; }
@media (min-width: 1024px) { .subnav { display: none; } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px 0 44px; }
.side { min-width: 0; }
.side--cats { display: none; }
.side__label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.side__box { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-1); }
@media (min-width: 1024px) {
  .layout { grid-template-columns: 270px minmax(0, 1fr); gap: 24px; padding-top: 22px; }
  .side--cats { display: block; position: sticky; top: calc(var(--hdr-vis) + 16px); transition: top .32s; max-height: calc(100dvh - var(--hdr-vis) - 32px); overflow-y: auto; scrollbar-width: thin; }
  .side--cats .side__label { padding: 6px 8px 0; }
  .layout > .side--ads { grid-column: 2; }
}
@media (min-width: 1280px) {
  .layout--3 { grid-template-columns: 260px minmax(0, 1fr) 240px; }
  .layout--3 > .side--ads { grid-column: auto; position: sticky; top: calc(var(--hdr-vis) + 16px); transition: top .32s; }
}

.results__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.results__bar b { color: var(--ink); }

/* Карта на обект в списък */
.flist { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.fcard {
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px 14px; padding: 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.fcard:hover { box-shadow: var(--sh-2); border-color: var(--brand-100); transform: translateY(-1px); }
.fcard--vip { border-color: #f5e0ad; background: linear-gradient(180deg, #fffcf3, #fff 46%); }
.fcard__logo { width: 92px; height: 62px; padding: 5px; }
.fcard__head { min-width: 0; align-self: center; }
.fcard__name { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.32; }
.fcard__name a { color: var(--ink); text-decoration: none; }
.fcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.fcard:hover .fcard__name a { color: var(--brand-700); }
.fcard__head .badge { margin-top: 6px; }
.fcard__meta { grid-column: 1 / -1; display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.fcard__meta p { margin: 0; display: flex; gap: 9px; line-height: 1.45; }
.fcard__meta .i { width: 17px; height: 17px; margin-top: 2px; color: var(--faint); }
.tels { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tels a { position: relative; z-index: 1; color: var(--brand-700); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tels a:hover { text-decoration: underline; }
.fcard__go { display: none; }
@media (min-width: 640px) {
  .fcard { grid-template-columns: 156px minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 6px 20px; padding: 16px; }
  .fcard__logo { width: 156px; height: 100px; grid-row: 1 / span 2; padding: 8px; }
  .fcard__head { align-self: end; }
  .fcard__meta { grid-column: 2; align-self: start; margin-top: 6px; }
  .fcard__go { display: grid; place-items: center; grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; border-radius: 999px; background: var(--surface-2); color: var(--muted); transition: background-color .2s, color .2s, transform .2s; }
  .fcard:hover .fcard__go { background: var(--brand); color: #fff; transform: translateX(2px); }
}

.empty { padding: 40px 20px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.empty h2 { font: 800 18px/1.3 var(--f-disp); color: var(--ink); margin: 12px 0 6px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.pager__info { padding-left: 6px; font-size: 14px; color: var(--muted); }
.pager__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pager a, .pager span.pg { min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.pager a:hover { background: var(--surface-2); }
.pager .pg[aria-current="page"] { background: var(--ink); color: #fff; }
.pager .is-off { color: var(--line); pointer-events: none; }
.pager .i { width: 18px; height: 18px; }
.pager__far { display: none !important; }
@media (min-width: 640px) { .pager__far { display: grid !important; } }

.ads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.adcard { position: relative; display: block; padding: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); text-decoration: none; box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s; }
.adcard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.adcard .logo-box { aspect-ratio: 190 / 80; border: 0; }
.adcard b { display: block; margin-top: 8px; font-size: 14px; color: var(--ink); line-height: 1.35; }
.adcard small { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12.5px; color: var(--brand-700); font-weight: 600; }
.adcard small .i { width: 13px; height: 13px; }
@media (min-width: 1280px) { .layout--3 .ads { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Профил на обект ---------- */
.prof { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side" "main"; gap: 14px; padding: 12px 0 44px; }
.phero { grid-area: head; position: relative; overflow: hidden; padding: 0 16px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.phero__cover {
  position: relative; overflow: hidden; height: 92px; margin: 0 -16px;
  background: radial-gradient(70% 140% at 100% 0%, rgba(52, 92, 255, .7), transparent 60%), linear-gradient(120deg, #0d1530, #17255a);
}
.phero__cover span { position: absolute; font: 700 120px/1 var(--f-disp); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1); }
.phero__top { display: flex; align-items: flex-end; gap: 14px; margin-top: -46px; position: relative; }
.phero__logo { width: 128px; height: 92px; flex: none; padding: 8px; border-radius: 18px; box-shadow: var(--sh-2); }
.phero__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.phero h1 { margin: 10px 0 8px; font: 800 clamp(1.25rem, 1rem + 1.5vw, 2rem)/1.2 var(--f-disp); letter-spacing: -.015em; overflow-wrap: anywhere; }
.phero__addr { display: flex; gap: 8px; margin: 0; color: var(--ink-2); font-size: 15px; }
.phero__addr .i { color: var(--brand); margin-top: 2px; }
.phero__act { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.phero__act .btn { padding: 0 12px; }
@media (min-width: 640px) {
  .phero { padding: 0 28px 26px; }
  .phero__cover { height: 120px; margin: 0 -28px; }
  .phero__top { margin-top: -58px; }
  .phero__logo { width: 190px; height: 124px; }
  .phero__act { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .prof { grid-template-columns: minmax(0, 1fr) 350px; grid-template-areas: "head head" "main side"; gap: 24px; }
}
.prof__main { grid-area: main; min-width: 0; }
.prof__side { grid-area: side; display: grid; gap: 14px; min-width: 0; align-content: start; }
@media (min-width: 1024px) { .prof__side { position: sticky; top: calc(var(--hdr-vis) + 16px); transition: top .32s; } }

.info { padding: 18px; }
.info h2, .box-t { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.info dl { margin: 0; display: grid; gap: 0; }
.info__row { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.info__row:first-child { border-top: 0; padding-top: 0; }
.info__row .ico { width: 38px; height: 38px; grid-row: span 2; border-radius: 11px; }
.info dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.info dd { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.info dd a { color: var(--brand-700); font-weight: 600; text-decoration: none; }
.info dd a:hover { text-decoration: underline; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.kw .chip { cursor: default; background: var(--surface-2); border-color: transparent; }
.kw.is-cut .chip:nth-child(n+7) { display: none; }
.kw__more { margin-top: 8px; border: 0; background: none; padding: 4px 0; color: var(--brand-700); font-weight: 600; font-size: 14px; }

.mapcard { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; text-decoration: none; color: var(--ink); }
.mapcard img { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; flex: none; }
.mapcard b { display: block; font-size: 15.5px; }
.mapcard span { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--brand-700); font-weight: 600; font-size: 14px; }
.mapcard span .i { width: 15px; height: 15px; }
.mapcard:hover b { color: var(--brand-700); }

.ptabs {
  position: sticky; top: calc(var(--hdr-vis) + 8px); z-index: 20; transition: top .32s;
  display: flex; gap: 4px; padding: 5px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--sh-2);
}
.ptabs::-webkit-scrollbar { display: none; }
.ptab {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.ptab .i { width: 18px; height: 18px; }
@media (max-width: 479px) { .ptab { padding: 0 12px; font-size: 14px; } .ptab .i { display: none; } }
.ptab:hover { background: var(--surface-2); }
.ptab[aria-selected="true"] { background: var(--ink); color: #fff; }
.ppanel { margin-top: 12px; padding: 20px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-1); animation: fade-up .3s ease both; }
.ppanel__t { margin: 0 0 16px; font: 800 19px/1.25 var(--f-disp); }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@media (min-width: 768px) { .ppanel { padding: 32px; } }

.prose { color: var(--ink-2); font-size: 16px; line-height: 1.72; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose h2 { margin: 1.6em 0 .6em; font: 600 1.3em/1.25 var(--f-disp); color: var(--ink); }
.prose h3 { margin: 1.4em 0 .5em; font-size: 1.12em; font-weight: 700; color: var(--ink); }
.prose u { text-decoration: none; display: inline-block; margin-top: .5em; font: 600 1.15em/1.3 var(--f-disp); color: var(--ink); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-700); font-weight: 500; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose--team { text-align: left; }
.prose--team p { margin: 0 0 .3em; }
.prose--team p:has(> strong:only-child) { margin-top: 1em; }
.lead { font-size: 1.08em; color: var(--ink); }
.prose .float-r { float: right; width: 38%; max-width: 200px; margin: .3em 0 12px 18px; border-radius: 12px; }
.prose::after { content: ""; display: block; clear: both; }
.wrap > .finder { box-shadow: var(--sh-2); border: 1px solid var(--line-2); }
.doc__body .cta { padding: 24px 22px; }

.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gal a { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal a:hover img { transform: scale(1.06); }
.gal a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13, 21, 48, .35)); opacity: 0; transition: opacity .3s; }
.gal a:hover::after { opacity: 1; }
@media (min-width: 768px) { .gal { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; } }

/* ---------- Формуляри ---------- */
.form { display: grid; gap: 14px; }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label i { font-style: normal; color: var(--brand); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface-2); font-size: 16px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(36, 72, 216, .12); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field--icon { position: relative; }
.field--icon > .i { position: absolute; left: 14px; bottom: 15px; color: var(--faint); pointer-events: none; }
.field--icon input { padding-left: 44px; }
.field__eye { position: absolute; right: 6px; bottom: 5px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.field__eye:hover { background: var(--line-2); }
.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 14px; background: var(--brand-50); }
.captcha label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.captcha input { width: 92px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--brand-100); border-radius: 12px; background: #fff; font-size: 16px; text-align: center; outline: none; }
.captcha input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36, 72, 216, .12); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 639px) { .form__foot .btn { width: 100%; } }

/* ---------- Статични страници ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; padding: 12px 0 44px; }
.doc__body { padding: 22px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-1); min-width: 0; }
@media (min-width: 768px) { .doc__body { padding: 40px 44px; } }
@media (min-width: 1024px) {
  .doc { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding-top: 18px; }
  .doc__aside { position: sticky; top: calc(var(--hdr-vis) + 16px); transition: top .32s; }
}
.nlist { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; }
.nlist li { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 14px; transition: background-color .2s; }
.nlist li:hover { background: var(--surface-2); }
.nlist .ncard__img { border-radius: 9px; }
.nlist a { font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nlist a::after { content: ""; position: absolute; inset: 0; }
.aside-card { padding: 16px 10px 10px; }
.aside-card .box-t { padding: 0 10px; margin-bottom: 6px; }

.hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 22px 0 26px; }
.hl div { padding: 14px 10px; border-radius: 16px; background: var(--brand-50); text-align: center; }
.hl b { display: block; font: 800 clamp(18px, 15px + 1vw, 26px)/1.1 var(--f-disp); color: var(--brand-700); }
.hl span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }

.offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 18px 0 28px; }
.offer { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); }
.offer b { display: block; font-size: 15.5px; color: var(--ink); }
.offer p { margin: 3px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (min-width: 640px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.contacts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 6px 0 28px; }
.contact { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
a.contact:hover { border-color: var(--brand-100); background: #fff; box-shadow: var(--sh-2); }
.contact small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.contact b { display: block; font-size: 15.5px; overflow-wrap: anywhere; }
@media (min-width: 640px) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.divider { height: 1px; background: var(--line-2); margin: 28px 0; border: 0; }

/* Вход */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px 0 44px; }
.authcard { padding: 26px 20px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.authcard__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.authcard__ico .i { width: 26px; height: 26px; }
.authcard h1 { font: 800 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.2 var(--f-disp); }
.authcard > p { margin: 8px 0 22px; color: var(--muted); }
.authnote { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--surface-2); font-size: 14.5px; color: var(--ink-2); }
.authnote b { color: var(--ink); }
.authnote a { font-weight: 600; }
@media (min-width: 768px) { .authcard { padding: 40px; } }
@media (min-width: 1024px) {
  .auth { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding-top: 24px; }
  .authwrap { max-width: 620px; }
}

/* ---------- Галерия на цял екран ---------- */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(6, 9, 22, .92); animation: fade .2s ease both; }
.lb img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 12px; box-shadow: var(--sh-3); user-select: none; }
.lb__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.lb__btn:hover { background: rgba(255, 255, 255, .22); }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; margin-top: -24px; }
.lb__next { right: 14px; top: 50%; margin-top: -24px; }
.lb__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 600; }
@media (max-width: 639px) { .lb__prev, .lb__next { top: auto; bottom: 12px; margin: 0; } .lb__count { bottom: 26px; } }

/* ---------- Движение ---------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes floaty { 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
@keyframes spin { to { transform: rotate(360deg); } }

.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  .hdr, .tabbar, .ftr, .cookie, .sheet, .ptabs, .promo, .strip, .side--ads { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ================= Бизнес Каталог: специфични части ================= */

.btn--primary { background: var(--orange); box-shadow: 0 10px 20px -12px rgba(238, 106, 20, .95); }
.btn--primary:hover { background: var(--orange-700); }
.kicker { color: var(--orange-700); }

/* Марката: оранжевият етикет BIZNES и синьото KATALOG.bg от логото */
.wm { display: flex; align-items: center; gap: 9px; min-width: 0; margin-right: auto; color: var(--ink); text-decoration: none; }
.wm__tag {
  display: inline-grid; place-items: center; height: 34px; padding: 0 9px; border-radius: 9px; flex: none;
  background: linear-gradient(180deg, #f7862f, var(--orange)); color: #fff; font: 800 14px/1 var(--f-disp); letter-spacing: .04em;
  box-shadow: 0 8px 16px -10px rgba(238, 106, 20, .95);
}
.wm__txt { display: grid; line-height: 1.05; min-width: 0; }
.wm__txt b { font: 800 18px/1 var(--f-disp); letter-spacing: .03em; color: var(--brand-700); white-space: nowrap; }
.wm__txt b i { font-style: normal; font-size: .72em; color: var(--muted); letter-spacing: 0; }
.wm__txt small { margin-top: 4px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (min-width: 768px) { .wm__tag { height: 38px; font-size: 15.5px; } .wm__txt b { font-size: 20px; } .wm__txt small { font-size: 12px; } }
.ftr .wm { margin: 0 0 14px; }
.ftr .wm__txt b { color: #fff; }
.ftr .wm__txt b i, .ftr .wm__txt small { color: rgba(255, 255, 255, .55); }
.sheet .wm { margin: 0; }
@media (min-width: 1140px) { .nav { display: none; } .hdr__menu { display: inline-grid; } }
@media (min-width: 1200px) { .nav { display: flex; } .hdr__menu { display: none; } }

/* Начало: тъмносин герой с оранжево сияние и точкова мрежа */
.hero {
  background:
    radial-gradient(55% 70% at 95% 0%, rgba(238, 106, 20, .42), transparent 62%),
    radial-gradient(55% 60% at 0% 100%, rgba(29, 86, 196, .6), transparent 60%),
    linear-gradient(180deg, #0b1a33, #10264d);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 90%); mask-image: linear-gradient(180deg, #000 10%, transparent 90%);
}
.hero h1 em { color: #ff9a52; }
.eyebrow { color: #ffd2b0; }
.eyebrow .dot { background: #ff9a52; box-shadow: 0 0 0 4px rgba(255, 154, 82, .22); }
.hero__float { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: none; }
.hero__float span {
  position: absolute; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55);
  transform: rotate(var(--r, 0deg)); animation: floaty 8s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.hero__float .i { width: 26px; height: 26px; }
@media (min-width: 1100px) { .hero__float { display: block; } }

/* ТОП фирми: банери (само картинка и връзка) */
.car--banners .car__track { grid-auto-columns: 84%; }
@media (min-width: 640px) { .car--banners .car__track { grid-auto-columns: calc(50% - 6px); } }
@media (min-width: 1024px) { .car--banners .car__track { grid-auto-columns: calc(33.333% - 8px); } }
@media (min-width: 1240px) { .car--banners .car__track { grid-auto-columns: calc(25% - 9px); } }
.banner { position: relative; display: block; aspect-ratio: 442 / 159; border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.banner:hover img { transform: scale(1.04); }
.banner .i { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transition: opacity .2s; }
.banner:hover .i, .banner:focus-visible .i { opacity: 1; }

/* Отраслите на началната и в каталога */
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ccard {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.ccard:hover { box-shadow: var(--sh-2); border-color: var(--brand-100); transform: translateY(-2px); }
.ccard .ico { width: 44px; height: 44px; grid-row: span 2; border-radius: 14px; }
.ccard .ico .i { width: 22px; height: 22px; }
.ccard__name { font-weight: 800; font-size: 15.5px; line-height: 1.25; color: var(--ink); text-decoration: none; }
.ccard__name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ccard__subs { grid-column: 2; margin: 0; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard__subs a { position: relative; z-index: 1; color: var(--muted); text-decoration: none; }
.ccard__subs a:hover { color: var(--brand-700); text-decoration: underline; }
.ccard__n { grid-column: 3; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--faint); }
.ccard__n .i { width: 16px; height: 16px; }
@media (min-width: 640px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) {
  .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .ccard { grid-template-columns: 48px minmax(0, 1fr); align-content: start; padding: 18px; gap: 12px 14px; }
  .ccard .ico { width: 48px; height: 48px; grid-row: auto; }
  .ccard__subs { grid-column: 1 / -1; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.6; min-height: 3.2em; }
  .ccard__n { grid-column: 1 / -1; grid-row: auto; color: var(--brand-700); }
}
@media (min-width: 1240px) { .cgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Статии */
.car--articles .car__track { grid-auto-columns: 80%; gap: 14px; }
@media (min-width: 640px) { .car--articles .car__track { grid-auto-columns: calc(50% - 7px); } }
@media (min-width: 1024px) { .car--articles .car__track { grid-auto-columns: calc(33.333% - 10px); } }
@media (min-width: 1240px) { .car--articles .car__track { grid-auto-columns: calc(25% - 11px); } }
.car--plain { background: none; border: 0; box-shadow: none; padding: 0; }
.acard { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s; }
.acard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.acard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acard:hover .acard__img img { transform: scale(1.04); }
.acard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.acard__t { font-weight: 800; font-size: 15.5px; line-height: 1.32; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard__t::after { content: ""; position: absolute; inset: 0; }
.acard__x { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--orange-700); }
.acard__more .i { width: 16px; height: 16px; }

.alist { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.arow { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: box-shadow .2s; }
.arow:hover { box-shadow: var(--sh-2); }
.arow .acard__img { border-radius: 12px; align-self: start; }
.arow .acard__body { padding: 0; gap: 6px; }
.arow .acard__t { font-size: 15px; }
.arow .acard__x { -webkit-line-clamp: 2; }
@media (max-width: 639px) { .arow .acard__x { display: none; } }
@media (min-width: 640px) { .arow { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 14px; } .arow .acard__t { font-size: 17px; } .arow .acard__x { -webkit-line-clamp: 3; } }

.art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.art__img { width: 100%; max-width: 292px; margin: 6px auto 20px; border-radius: 16px; box-shadow: var(--sh-2); }
@media (min-width: 768px) { .art__img { float: right; width: 38%; margin: 4px 0 16px 28px; } }

/* Видео */
.vgrid { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; list-style: none; }
.vgrid::-webkit-scrollbar { display: none; }
.vgrid > li { scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) { .vgrid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }
@media (min-width: 1100px) { .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vgrid--page { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); overflow: visible; margin: 0; padding: 0; }
@media (min-width: 640px) { .vgrid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vgrid--page { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vcard { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); }
.vcard__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #0b1a33; box-shadow: var(--sh-2); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .92; }
.vcard:hover .vcard__img img { transform: scale(1.05); opacity: 1; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--orange); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .25s; }
.vcard__play .i { width: 24px; height: 24px; margin-left: 3px; }
.vcard:hover .vcard__play { transform: scale(1.08); }
.vcard__t { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.lb--video .lb__frame { width: min(960px, calc(100vw - 32px)); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #000; box-shadow: var(--sh-3); }
.lb--video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb--video .lb__count { position: static; margin-top: 14px; padding: 0 16px; }
.lb--video { align-content: center; justify-items: center; }

.vlist { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; }
.vlist button { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 14px; background: none; text-align: left; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.35; }
.vlist button:hover { background: var(--surface-2); }
.vlist .vcard__img { border-radius: 10px; box-shadow: none; }
.vlist .vcard__play { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.vlist .vcard__play .i { width: 14px; height: 14px; margin-left: 2px; }

/* Полезно: връзки, времето, новините */
.useful3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
@media (min-width: 768px) { .useful3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .useful3 { grid-template-columns: 1.15fr .85fr 1.15fr; gap: 18px; } }
.ubox { padding: 18px; }
.ubox .box-t { display: flex; align-items: center; gap: 8px; }
.ulinks { list-style: none; margin: 0; padding: 0; }
.ulinks a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); text-decoration: none; }
.ulinks li:first-child a { border-top: 0; padding-top: 2px; }
.ulinks b { display: block; color: var(--ink); font-size: 14.5px; }
.ulinks span { display: block; color: var(--muted); font-size: 13px; }
.ulinks .i { width: 16px; height: 16px; color: var(--faint); }
.ulinks a:hover b { color: var(--brand-700); }
.weather { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.weather div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, var(--brand-50), #fff); border: 1px solid var(--line-2); }
.weather .i { grid-row: span 2; width: 30px; height: 30px; color: var(--brand); }
.weather .w-sun { color: var(--orange); }
.weather b { font: 800 22px/1 var(--f-disp); color: var(--ink); }
.weather span { font-size: 13px; font-weight: 600; color: var(--muted); }
.wnote { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); }
.dnews { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dnews li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); }
.dnews li:first-child { border-top: 0; padding-top: 0; }
.dnews img { width: 84px; aspect-ratio: 200 / 113; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.dnews b { display: block; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.dnews time { display: block; margin-top: 3px; font-size: 12px; color: var(--faint); }

/* Партньор на категорията (брандиране) */
.sponsor { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); max-width: 420px; transition: box-shadow .2s; }
.sponsor:hover { box-shadow: var(--sh-2); }
.sponsor img { width: 66px; height: 60px; object-fit: contain; border-radius: 10px; background: #fff; flex: none; }
.sponsor small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
.sponsor b { display: block; font-size: 15px; line-height: 1.3; }
.sponsor > .i { margin-left: auto; color: var(--faint); }
.phead--split { display: grid; gap: 14px; }
@media (min-width: 1024px) { .phead--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.phead__ico { display: flex; align-items: center; gap: 14px; }

/* Подкатегориите в страницата на отрасъла */
.subgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .subgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .subgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.subgrid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 10px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .2s, box-shadow .2s, color .2s; }
.subgrid a:hover { border-color: var(--brand-100); box-shadow: var(--sh-2); color: var(--brand-700); }
.subgrid .i { color: var(--faint); width: 18px; height: 18px; flex: none; }

/* Фирма без лого в списъка: инициали */
.fcard__av { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-50); color: var(--brand-700); font: 800 19px/1 var(--f-disp); letter-spacing: .02em; }
.fcard--vip .fcard__av { background: var(--orange-50); color: var(--orange-700); }
.fcard--av { grid-template-columns: 56px minmax(0, 1fr); }
@media (min-width: 640px) {
  .fcard--av { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .fcard--av .fcard__av { width: 64px; height: 64px; grid-row: 1 / span 2; align-self: start; font-size: 21px; }
}

/* Каталог: всички отрасли с всички категории */
.catalog { display: grid; gap: 14px; }
.catblock { padding: 18px; }
.catblock__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.catblock__head h2 { font: 800 clamp(1.1rem, 1rem + .6vw, 1.35rem)/1.2 var(--f-disp); }
.catblock__head h2 a { color: var(--ink); text-decoration: none; }
.catblock__head h2 a:hover { color: var(--brand-700); }
.catblock__head .chip { margin-left: auto; }
.catblock .subgrid a { min-height: 44px; font-size: 14.5px; font-weight: 500; }
.catjump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 16px; padding: 2px var(--gut); }
.catjump::-webkit-scrollbar { display: none; }
.catjump .chip { flex: none; }

.cta::after { content: ""; inset: 0; right: 0; bottom: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000); mask-image: linear-gradient(100deg, transparent 30%, #000); }
.cta { background: radial-gradient(60% 90% at 100% 0%, rgba(238, 106, 20, .5), transparent 60%), linear-gradient(135deg, #10264d, #0b1a33); }
.phero__cover { background: radial-gradient(70% 160% at 100% 0%, rgba(238, 106, 20, .6), transparent 60%), linear-gradient(120deg, #0b1a33, #17386f); }
.phero__cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.5px); background-size: 18px 18px; }
@media (min-width: 1100px) {
  .rgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rgrid--3 .rcard { flex-direction: row; align-items: center; }
  .rgrid--3 .rcard .logo-box { width: 104px; height: 84px; }
}
.rgrid .logo-box { padding: 6px; }
.doc__aside .ubox { padding: 16px; }
.ptab[aria-selected="true"] { background: var(--ink); }

.hero h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem); letter-spacing: -.035em; max-width: 18ch; }
.sec__title { font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.25rem); letter-spacing: -.025em; }
.phead h1 { letter-spacing: -.03em; }
@media (max-width: 1023px) { .ccard__w { display: none; } }

/* Каталог: сгъваеми отрасли на телефона */
.catblock > summary { list-style: none; cursor: pointer; margin-bottom: 0; }
.catblock > summary::-webkit-details-marker { display: none; }
.catblock[open] > summary { margin-bottom: 14px; }
.catblock__head .chip { margin-left: auto; }
.catblock__chev { color: var(--faint); transition: transform .22s; }
.catblock[open] .catblock__chev { transform: rotate(180deg); }
.catblock { padding: 14px 16px; }
.subgrid__all { background: var(--brand-50) !important; color: var(--brand-700) !important; border-color: transparent !important; font-weight: 700 !important; }
.catjump { display: none; }
@media (max-width: 639px) { .subgrid a { min-height: 46px; padding: 8px 14px; } }
@media (min-width: 1100px) {
  .catjump { display: flex; flex-wrap: wrap; overflow: visible; margin: 0 0 18px; padding: 0; }
  .catblock { padding: 20px 22px; }
  .catblock > summary { pointer-events: none; }
  .catblock__chev { display: none; }
}

/* ===== Вграждане в системата (views_nov) ===== */

/* Страниците от system/class.pagination.php: „N резултата в M страници“ + ?page=N */
.pager--sys { display: block; }
.pager--sys .paginations_wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pager--sys .paginations_wrap > div:first-child { color: var(--muted); font-size: 14.5px; padding: 0 6px; }
.pager--sys .paginations_wrap > div:last-child { display: flex; flex-wrap: wrap; gap: 4px; }
.pager--sys .pagination_page_number, .pager--sys .pagination_active_item { min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.pager--sys a.pagination_page_number:hover { background: var(--surface-2); }
.pager--sys div.pagination_page_number { color: var(--line); }
.pager--sys .pagination_active_item { background: var(--ink); color: #fff; }
.pager--sys .pagination_active_item b { font-weight: 600; }
/* „Първа“ и „Последна“ са картинки в стария дизайн: тук са числа (последната получава номера си от main.js) */
.pager--sys .first_page::before { content: "1"; }
.pager--sys .last_page::before { content: "»"; }
.pager--sys .last_page.has-n::before { content: none; }
@media (max-width: 479px) {
  .pager--sys .paginations_wrap > div:last-child { gap: 2px; }
  .pager--sys .pagination_page_number, .pager--sys .pagination_active_item { min-width: 36px; padding: 0 4px; }
}

/* Съобщенията на системата (class.messages.php: <div class="messages success|error">) */
.msgs { margin: 0 0 16px; }
.messages { position: relative; margin: 0 0 10px; padding: 12px 44px 12px 14px; border-radius: 14px; border: 1px solid; font-size: 15px; line-height: 1.5; }
.messages p { margin: 0; }
.messages.success { background: #e9f8ef; border-color: #b6e3c6; color: #135a30; }
.messages.error { background: #fdecec; border-color: #f2c1c1; color: #8a1f1f; }
.messages.info, .messages.help { background: var(--brand-50); border-color: var(--line); color: var(--ink); }
.messages.warning { background: #fff6e0; border-color: #f0dca6; color: #6b4b00; }
.closeMessage { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 8px; }
.closeMessage::before, .closeMessage::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13px; height: 2px; background: currentColor; transform: rotate(45deg); }
.closeMessage::after { transform: rotate(-45deg); }

/* Съдържание от админ панела: снимки, таблици, вградени видеа */
.prose img { max-width: 100%; height: auto; }
.prose iframe, .prose video, .prose embed, .prose object { max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose__pic { float: right; display: block; width: 40%; max-width: 220px; margin: .2em 0 12px 18px; border-radius: 12px; overflow: hidden; }
.prose__pic img { width: 100%; margin: 0; }
@media (max-width: 479px) { .prose__pic { float: none; width: 100%; max-width: none; margin: 0 0 14px; } }
.muted { color: var(--muted); }

/* Продукти и партньори в табовете на профила */
.prods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.prod { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; }
.prod__img { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod h3 { margin: 2px 0 6px; font-size: 16px; line-height: 1.35; }
.prod__text { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.prod:not(:has(.prod__img)) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fpartners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.fpartner { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; }
.fpartner__img { height: 96px; }
.fpartner__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; }
a.fpartner__name:hover { color: var(--brand-700); }
.fpartner__name .i { width: 15px; height: 15px; color: var(--muted); }

/* Профил без лого: инициалите на фирмата */
.phero__logo--av { display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font: 800 34px/1 var(--f-disp); letter-spacing: .02em; }

/* Отрасъл (main/view_cats): категориите му над фирмите */
.subgrid--top { margin: 0 0 18px; }
.sec__label { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Контакти: текстът от админ панела + картата */
.contacts-cms { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 18px; }
.cta--doc { margin-top: 28px; }

/* Брандиране на отрасъл/категория (brands): фон зад страницата на големи екрани, кликва се встрани от съдържанието */
.skin { display: none; }
@media (min-width: 1280px) {
  .skin { display: block; position: absolute; left: 0; right: 0; top: var(--hdr-h); height: 1200px; z-index: 0; background: center top no-repeat; }
  main.has-skin { position: relative; z-index: 1; }
  main.has-skin > .wrap { background: var(--bg); border-radius: 28px 28px 0 0; padding-top: 8px; margin-top: 24px; }
}

/* Справката за заявките (само за IP адресите от config.php) */
.time_query_load { overflow-x: auto; }