/* Мочура Авто — витрина
   Асфалт за рамката на сайта, бяла хартия за частите, сигнално злато само за действия. */
:root {
  --asphalt: #121518;
  --graphite: #1d2125;
  --steel: #2a2f34;
  --slate: #4a525a;
  --chrome: #a3abb3;
  --mist: #e9ecee;
  --paper: #f5f6f7;
  --white: #fff;
  --signal: #f2c200;
  --signal-hover: #ffd83a;
  --signal-soft: #fff6cc;
  --on-signal: #121518;
  --danger: #b3261e;
  --ok: #1e7a45;
  --text: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Unbounded", "Geologica", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --r: 10px;
  --r-sm: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.55 var(--text); color: var(--asphalt); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--signal); color: var(--on-signal); padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--slate); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font: 700 clamp(24px, 3.4vw, 40px)/1.12 var(--display); letter-spacing: -.015em; }
h2 { font: 700 clamp(19px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.01em; }
h3 { font: 600 17px/1.3 var(--text); }

/* ---------- Горна лента ---------- */
.hdr { background: var(--asphalt); color: var(--white); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--steel); }
.hdr-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px/1.1 var(--display); color: var(--white); }
.mark { width: 30px; height: 30px; border-radius: 7px; flex: none; background: linear-gradient(135deg, transparent 0 46%, var(--asphalt) 46% 54%, transparent 54%), var(--signal); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-phone { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.15; padding: 4px 10px; }
.hdr-phone b { font-weight: 600; font-size: 16px; }
.hdr-phone span { font-size: 12px; color: var(--chrome); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--steel); text-decoration: none; font-weight: 600; }
.cart-btn:hover { border-color: var(--chrome); }
.cart-btn .n { background: var(--signal); color: var(--on-signal); border-radius: 99px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
.cart-btn svg, .icon { width: 20px; height: 20px; flex: none; }

/* ---------- Търсачка ---------- */
.search { position: relative; }
.search form { display: flex; background: var(--white); border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; }
.search form:focus-within { border-color: var(--signal); }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; height: 46px; font-size: 16px; background: transparent; color: var(--asphalt); }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--signal); color: var(--on-signal); font-weight: 600; padding: 0 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.search button:hover { background: var(--signal-hover); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--white); color: var(--asphalt); border-radius: var(--r); box-shadow: 0 18px 50px rgba(0, 0, 0, .28); padding: 6px; display: none; max-height: 70vh; overflow: auto; z-index: 60; }
.suggest.is-open { display: block; }
.suggest a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-sm); text-decoration: none; }
.suggest a.cat { grid-template-columns: 1fr; color: var(--slate); }
.suggest a.cat b { color: var(--asphalt); }
.suggest a:hover, .suggest a.is-hl { background: var(--signal-soft); }
.suggest img { width: 52px; height: 40px; object-fit: cover; border-radius: 4px; background: var(--mist); }
.suggest .pr { font-weight: 600; white-space: nowrap; font-size: 14px; }
.suggest .all { display: block; text-align: center; padding: 10px; font-weight: 600; border-top: 1px solid var(--mist); margin-top: 4px; }
.suggest .none { padding: 12px; color: var(--slate); }

/* ---------- Начало ---------- */
.hero { background: var(--asphalt); color: var(--white); padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10vw; bottom: -40%; width: 60vw; height: 120%; background: repeating-linear-gradient(135deg, transparent 0 22px, color-mix(in srgb, var(--signal) 6%, transparent) 22px 44px); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(30px, 4.6vw, 56px); margin-bottom: 16px; }
.hero p { color: var(--chrome); font-size: 18px; max-width: 34ch; margin: 0; }

/* Търсене по автомобил — табелка с жълта лента вляво */
.finder { background: var(--white); color: var(--asphalt); border-radius: var(--r); display: grid; grid-template-columns: 14px 1fr; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.finder::before { content: ""; background: var(--signal); }
.finder-in { padding: 22px; display: grid; gap: 14px; }
.finder h2 { font-size: 18px; margin: 0; }
.finder .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.finder .or { display: flex; align-items: center; gap: 10px; color: var(--slate); font-size: 14px; }
.finder .or::before, .finder .or::after { content: ""; flex: 1; height: 1px; background: var(--mist); }
.finder .search form { border-color: var(--mist); }
.finder .search form:focus-within { border-color: var(--asphalt); }

.section { padding-top: clamp(36px, 5vw, 64px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--mist); border: 1px solid var(--mist); border-radius: var(--r); overflow: hidden; }
.cats a { background: var(--white); padding: 16px 18px; text-decoration: none; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cats a:hover { background: var(--signal-soft); }
.cats b { font-weight: 600; }
.cats span { color: var(--slate); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands a { text-decoration: none; padding: 9px 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--mist); font-weight: 500; }
.brands a:hover { border-color: var(--asphalt); }
.brands span { color: var(--slate); font-size: 13px; margin-left: 4px; }

/* ---------- Карти на части ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--mist); transition: border-color .15s var(--ease); }
.card:hover { border-color: var(--asphalt); }
.card .ph { aspect-ratio: 4 / 3; background: var(--steel); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .nm { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .pr { margin-top: auto; font: 700 18px/1.2 var(--display); }
.card .pr.ask { font: 500 14px/1.3 var(--text); color: var(--slate); }

.plate { display: inline-flex; align-items: stretch; font-size: 12px; font-weight: 600; border: 1.5px solid var(--asphalt); border-radius: 4px; overflow: hidden; background: var(--white); line-height: 1.25; max-width: 100%; }
.plate::before { content: ""; width: 6px; background: var(--signal); flex: none; }
.plate span { padding: 3px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plates { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Списък с филтри ---------- */
.page-top { padding-top: 28px; padding-bottom: 8px; }
.crumbs { font-size: 14px; color: var(--slate); margin-bottom: 8px; }
.crumbs a { color: var(--slate); }
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 20px; }
.filters { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); padding: 18px; display: grid; gap: 16px; position: sticky; top: 90px; }
.filters h3 { margin: 0 0 8px; font-size: 15px; }
.filters select { width: 100%; height: 44px; border: 1px solid #cfd5da; border-radius: var(--r-sm); padding: 0 10px; background: var(--white); }
.filters .catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 420px; overflow: auto; }
.filters .catlist a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 4px; text-decoration: none; font-size: 15px; }
.filters .catlist a:hover { background: var(--paper); }
.filters .catlist a.is-on { background: var(--asphalt); color: var(--white); }
.filters .catlist span { color: var(--slate); font-size: 13px; font-variant-numeric: tabular-nums; }
.filters .catlist a.is-on span { color: var(--chrome); }
.btn.filter-toggle { display: none; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar select { height: 40px; border: 1px solid #cfd5da; border-radius: var(--r-sm); padding: 0 10px; background: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--asphalt); color: var(--white); text-decoration: none; font-size: 14px; }
.chip::after { content: "×"; color: var(--chrome); font-size: 16px; line-height: 1; }
.empty { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); padding: 28px; }
.empty h2 { font-size: 20px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--mist); text-decoration: none; font-weight: 500; }
.pager .is-current { background: var(--asphalt); color: var(--white); border-color: var(--asphalt); }

/* ---------- Бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid var(--mist); background: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer; text-align: center; }
.btn:hover { border-color: var(--asphalt); }
.btn-primary { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.btn-primary:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.btn-dark { background: var(--asphalt); border-color: var(--asphalt); color: var(--white); }
.btn-dark:hover { background: var(--steel); border-color: var(--steel); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ---------- Продукт ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; padding-top: 8px; padding-bottom: 20px; }
.gallery-main { background: var(--steel); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: var(--steel); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--steel); cursor: pointer; }
.thumbs button.is-on { border-color: var(--signal); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); position: sticky; top: 90px; display: grid; gap: 16px; }
.buybox h1 { font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--display); margin: 0; }
.price { font: 700 clamp(30px, 3.4vw, 40px)/1 var(--display); }
.price-ask { font-size: 18px; font-weight: 600; }
.price-note { font-size: 14px; color: var(--slate); margin-top: 6px; }
.sold-badge { display: inline-block; background: var(--asphalt); color: var(--white); padding: 6px 12px; border-radius: 99px; font-weight: 600; font-size: 14px; }
.buy-actions { display: grid; gap: 10px; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.facts dt { color: var(--slate); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.trust { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--mist); display: grid; gap: 8px; font-size: 14px; color: var(--slate); }
.trust li { padding-left: 24px; position: relative; }
.trust li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.desc { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); max-width: 80ch; }
.desc p { margin: 0 0 .8em; }
.mbar { display: none; }

/* ---------- Количка и поръчка ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-top: 8px; padding-bottom: 20px; }
.box { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); padding: clamp(18px, 2.4vw, 26px); }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mist); }
.lines li:last-child { border-bottom: 0; }
.lines img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--steel); }
.lines .nm { font-weight: 600; text-decoration: none; }
.lines .pr { font-weight: 700; white-space: nowrap; text-align: right; }
.lines .rm { background: none; border: 0; color: var(--slate); text-decoration: underline; cursor: pointer; padding: 4px 0; font-size: 14px; }
.sum { display: grid; gap: 10px; }
.sum .tot { display: flex; justify-content: space-between; align-items: baseline; font: 700 24px/1.2 var(--display); }
.sum p { margin: 0; font-size: 14px; color: var(--slate); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form textarea { width: 100%; min-height: 50px; border: 1px solid #cfd5da; border-radius: var(--r-sm); padding: 12px 14px; font-size: 16px; background: var(--white); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--asphalt); box-shadow: 0 0 0 3px var(--signal-soft); }
.form .hint { font-size: 14px; color: var(--slate); font-weight: 400; }
.form .err { color: var(--danger); font-size: 14px; font-weight: 500; }
.form .has-err input { border-color: var(--danger); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--asphalt); flex: none; }
.form .row2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
.alert { padding: 14px 16px; border-radius: var(--r-sm); border-left: 4px solid var(--danger); background: #fbe9e7; margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.steps-note { display: grid; gap: 10px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-note li { counter-increment: s; padding-left: 36px; position: relative; font-size: 15px; }
.steps-note li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--asphalt); color: var(--signal); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.done { text-align: left; max-width: 720px; }
.done .big { font: 700 clamp(26px, 3.6vw, 40px)/1.15 var(--display); margin: 0 0 12px; }
.done .tel { font: 700 22px/1.2 var(--display); }

/* ---------- Текстови страници ---------- */
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1em; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact .box b { display: block; font: 700 20px/1.25 var(--display); margin-top: 4px; }
.contact .box a { text-decoration: none; }

/* ---------- Долна част ---------- */
.ftr { background: var(--asphalt); color: var(--chrome); margin-top: clamp(48px, 6vw, 88px); padding: 44px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ftr h3 { color: var(--white); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--white); text-decoration: underline; }
.ftr .tel { color: var(--white); font: 700 22px/1.2 var(--display); }
.ftr .copy { border-top: 1px solid var(--steel); margin-top: 32px; padding-top: 18px; font-size: 13px; }

/* ---------- Мобилни ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: grid; }
  .btn.filter-toggle { display: inline-flex; }
  .product { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .two { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .hdr-in { grid-template-columns: 1fr auto; gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 10px; }
  .hdr .search { grid-column: 1 / -1; grid-row: 2; }
  .hdr-phone span, .hdr-phone b { display: none; }
  .hdr-phone { width: 44px; height: 44px; border: 1px solid var(--steel); border-radius: var(--r-sm); display: grid; place-items: center; padding: 0; }
  .hdr-phone .icon { display: block; }
  .cart-btn .lbl { display: none; }
  .logo { font-size: 14px; }
  .search button .lbl { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card .bd { padding: 10px; }
  .card .nm { font-size: 14px; }
  .card .pr { font-size: 16px; }
  .card .plates { display: none; }
  .finder .row { grid-template-columns: 1fr; }
  .lines li { grid-template-columns: 72px 1fr; }
  .lines img { width: 72px; height: 54px; }
  .lines .pr { grid-column: 2; text-align: left; }
  .form .row2 { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: auto 1fr 52px; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--asphalt); color: var(--white); padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .mbar .p { font: 700 18px/1.1 var(--display); white-space: nowrap; }
  .mbar .btn { min-height: 48px; }
  .mbar .call { width: 52px; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--steel); display: grid; place-items: center; }
  body.has-mbar .ftr { padding-bottom: 100px; }
}
@media (min-width: 721px) { .hdr-phone .icon { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Лого ---------- */
.logo-img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.logo-name { white-space: nowrap; }
@media (max-width: 720px) { .logo-img { height: 32px; max-width: 160px; } }

/* ---------- Два телефона ---------- */
.hdr-phones { display: grid; line-height: 1.2; text-align: right; padding: 0 6px; }
.hdr-phones a { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.hdr-phones a:hover { text-decoration: underline; }
.hdr-phones span { font-size: 11px; color: var(--chrome); white-space: nowrap; }
.callmenu { position: relative; display: none; }
.callmenu summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--steel); border-radius: var(--r-sm); display: grid; place-items: center; cursor: pointer; }
.callmenu summary::-webkit-details-marker { display: none; }
.callmenu-list { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); color: var(--asphalt); border-radius: var(--r); box-shadow: 0 18px 50px rgba(0, 0, 0, .3); padding: 6px; min-width: 210px; z-index: 70; display: grid; }
.callmenu-list a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-sm); text-decoration: none; font: 700 17px/1.2 var(--display); }
.callmenu-list a:hover { background: var(--signal-soft); }
.callmenu.up .callmenu-list { top: auto; bottom: calc(100% + 10px); }
.mbar .callmenu { display: block; }
.mbar .callmenu summary { width: 52px; height: 48px; }
.call-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Размер на логото и логото в началото ---------- */
.logo-s .logo-img { height: 32px; }
.logo-m .logo-img { height: 44px; }
.logo-l .logo-img { height: 60px; max-width: 280px; }
.hero-logo { max-height: 120px; max-width: min(100%, 420px); width: auto; margin-bottom: 22px; }
@media (max-width: 1100px) { .hdr-phones span { display: none; } }
@media (max-width: 720px) {
  .hdr-phones { display: none; }
  .callmenu { display: block; }
  .logo-s .logo-img { height: 28px; }
  .logo-m .logo-img { height: 34px; }
  .logo-l .logo-img { height: 42px; max-width: 190px; }
  .hero-logo { max-height: 80px; margin-bottom: 14px; }
}
.callmenu-list a { white-space: nowrap; }
@media (max-width: 720px) {
  .hdr .logo .logo-img + .logo-name { display: none; }
  .hdr .logo { min-width: 0; overflow: hidden; }
  .callmenu-list { min-width: 240px; }
}

/* ---------- Горна част със снимка ---------- */
.hero.has-img { background-image: linear-gradient(90deg, color-mix(in srgb, var(--asphalt) calc(var(--hero-ov) * 100%), transparent) 0%, color-mix(in srgb, var(--asphalt) calc(var(--hero-ov) * 75%), transparent) 100%), var(--hero-img); background-size: cover; background-position: center; }
.hero.has-img::after { display: none; }
.hero.has-img p { color: #e9ecee; }
.hero-copy h1 { text-wrap: balance; }

/* ---------- Търсачка в 3 стъпки ---------- */
.steps3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.steps3 label { position: relative; display: block; }
.steps3 .part { grid-column: 1 / -1; }
.steps3 .n { position: absolute; left: -9px; top: -9px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--asphalt); color: var(--signal); font-size: 12px; font-weight: 700; display: grid; place-items: center; pointer-events: none; }
.finder .search { display: block; }
.finder .search input { width: 100%; height: 50px; border: 1px solid #cfd5da; border-radius: var(--r-sm); padding: 0 14px; font-size: 16px; background: var(--white); color: var(--asphalt); }
.finder .search input:focus, .finder .sel:focus { outline: none; border-color: var(--asphalt); box-shadow: 0 0 0 3px var(--signal-soft); }
.finder-hint { margin: 0; font-size: 13px; color: var(--slate); }

/* ---------- Банер ---------- */
.banner { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; border: 1px solid var(--mist); background: var(--white); }
.banner-right .banner-img { order: 2; }
.banner-img { min-height: 260px; background: var(--steel); }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
.banner-body { padding: clamp(22px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 4px; align-items: flex-start; }
.banner-body p { margin: 0 0 .8em; }
.banner-body .btn { margin-top: 8px; }
.banner-wide { grid-template-columns: 1fr; position: relative; min-height: 340px; }
.banner-wide .banner-img { position: absolute; inset: 0; }
.banner-wide .banner-body { position: relative; z-index: 1; max-width: 640px; background: linear-gradient(90deg, rgba(0, 0, 0, .7), transparent); color: #fff; min-height: 340px; }
.banner-wide.banner-light .banner-body { background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0)); color: var(--asphalt); }
.banner-dark { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.banner-dark p { color: var(--mist); }
.banner-accent { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.banner-wide.banner-dark .banner-body, .banner-wide.banner-accent .banner-body { color: #fff; }

/* ---------- Предимства ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r); padding: 22px; position: relative; }
.feature .fn { font: 700 13px/1 var(--display); color: var(--slate); display: block; margin-bottom: 14px; }
.feature .fn::after { content: ""; display: block; width: 28px; height: 4px; background: var(--signal); margin-top: 8px; border-radius: 2px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--slate); }

/* ---------- Галерия ---------- */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.photo { padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lightbox button { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; cursor: pointer; }

/* ---------- Контакти ---------- */
.contact-strip { background: var(--asphalt); color: #fff; border-radius: var(--r); padding: clamp(22px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.contact-strip h2 { margin-bottom: 6px; }
.contact-strip p { margin: 0 0 4px; }
.contact-strip .muted-l { color: var(--chrome); }
.contact-tels { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-tels .btn { font: 700 18px/1 var(--display); }

@media (max-width: 720px) {
  .banner { grid-template-columns: 1fr; }
  .banner-right .banner-img { order: 0; }
  .banner-img { min-height: 200px; }
  .photos { grid-template-columns: repeat(2, 1fr); }
}
.refine { display: flex; gap: 8px; margin-top: 14px; max-width: 640px; }
.refine input { flex: 1; min-width: 0; height: 52px; border: 1px solid #cfd5da; border-radius: var(--r-sm); padding: 0 14px; font-size: 16px; background: var(--white); }
.refine input:focus { outline: none; border-color: var(--asphalt); box-shadow: 0 0 0 3px var(--signal-soft); }
.hero .finder .finder-hint, .hero.has-img .finder .finder-hint { color: var(--slate); }
