/* AllFix.bg — демо концепция „Работилницата“. Mobile-first. */

/* ---------- Шрифтове (на нашия сървър, без Google — по-бързо и по-чисто за GDPR) ---------- */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/unbounded-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/unbounded-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/manrope-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/manrope-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0d0f11; --bg-2: #121518; --panel: #171b1f; --panel-2: #1e2328; --panel-3: #262c32;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.15);
  --text: #f3ede4; --muted: #aca497; --dim: #7d776e;
  --orange: #ff6a1f; --orange-2: #ff8b47; --amber: #ffb84d; --laser: #ff3a22;
  --paper: #eee6d8; --paper-2: #e6dccb; --ink: #23201b; --ink-2: #5d564c;
  --bp: #0b2240; --bp-2: #0f2c52;
  --r: 18px; --r-lg: 24px;
  --hdr: 60px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; font-weight: 500;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #111; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 18px; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::view-transition-group(cover) { animation-duration: .55s; animation-timing-function: var(--ease); }

/* ---------- Демо лента ---------- */
.demo-bar { position: relative; z-index: 60; background: #1a120c; color: #ffcfae; font-size: 12.5px; line-height: 1.35; text-align: center; padding: 6px 14px;
  border-bottom: 1px solid rgba(255,106,31,.25); }
.demo-bar b { color: #fff; font-weight: 700; }

/* ---------- Хедър + ролетка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: rgba(13,15,17,.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--text); }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo .x { color: var(--orange); }
.logo .tld { color: var(--dim); font-weight: 600; font-size: .78em; margin-left: 1px; }
.nav { display: none; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.09); }
.icon-btn svg { width: 20px; height: 20px; }
.hdr .btn-add { display: none; }

.tape { position: absolute; left: 0; right: 0; top: 100%; height: 12px; overflow: hidden; pointer-events: none; }
.tape-in { position: absolute; inset: 0; transform: translate3d(calc((var(--p, 0) - 1) * (100% - 34px)), 0, 0); will-change: transform; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.tape-in svg { width: 100%; height: 12px; }
.tape-hook { position: absolute; right: -4px; top: -1px; width: 6px; height: 15px; border-radius: 1px; background: linear-gradient(90deg, #8b8f94, #d9dde1 45%, #6c7075); }

/* мобилно меню */
.menu { position: fixed; inset: 0; z-index: 80; background: rgba(10,11,13,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 18px 22px calc(26px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.menu.open { opacity: 1; visibility: visible; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.menu nav { margin-top: 28px; display: grid; gap: 4px; }
.menu nav a { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.03em; padding: 8px 0; border-bottom: 1px solid var(--line);
  transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.menu.open nav a { transform: none; opacity: 1; }
.menu.open nav a:nth-child(2) { transition-delay: .04s; } .menu.open nav a:nth-child(3) { transition-delay: .08s; }
.menu.open nav a:nth-child(4) { transition-delay: .12s; } .menu.open nav a:nth-child(5) { transition-delay: .16s; }
.menu .btn { margin-top: auto; }

/* ---------- Бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 800; font-size: 15.5px;
  letter-spacing: .005em; transition: transform .15s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #160b04; box-shadow: 0 8px 24px -8px rgba(255,106,31,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-xl { min-height: 56px; font-size: 16.5px; border-radius: 16px; padding: 0 26px; }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: calc(100vh - var(--hdr) - 30px); min-height: calc(100svh - var(--hdr) - 30px); display: flex; flex-direction: column; isolation: isolate; overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-cam { position: absolute; inset: 0; animation: kenburns 22s ease-out both; transform-origin: 62% 64%; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 50%; }
.laser.no-src .laser-src { display: none; }
@keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,10,11,.62) 0%, rgba(9,10,11,.18) 34%, rgba(9,10,11,0) 52%, rgba(9,10,11,0) 80%, var(--bg) 100%); }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

.laser { position: absolute; left: 0; top: 0; height: 0; pointer-events: none; transform-origin: 0 0; z-index: 1; opacity: 0; }
.laser.on { opacity: 1; }
.laser-beam { position: absolute; left: 0; top: -1.5px; height: 3px; width: 100%; border-radius: 3px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(255,58,34,.55), #ff4a2e 30%, #ff5a3c 92%, #ffd2c4);
  box-shadow: 0 0 6px 1px rgba(255,58,34,.9), 0 0 18px 3px rgba(255,40,20,.45), 0 0 46px 8px rgba(255,40,20,.18); }
.laser.on .laser-beam { animation: beam 1.05s .15s var(--ease) forwards, shimmer 2.4s 1.4s steps(9) infinite; }
@keyframes beam { to { transform: scaleX(1); } }
@keyframes shimmer { 0%,100% { opacity: 1; } 15% { opacity: .86; } 33% { opacity: .97; } 52% { opacity: .8; } 71% { opacity: .95; } }
.laser-src, .laser-hit { position: absolute; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff2ee;
  box-shadow: 0 0 8px 3px rgba(255,70,40,.95), 0 0 30px 10px rgba(255,50,25,.45); transform: scale(0); }
.laser-src { left: 0; }
.laser-hit { left: 100%; }
.laser.on .laser-src { animation: pop .35s var(--ease) forwards, flick 1.9s 1.2s infinite; }
.laser.on .laser-hit { animation: hit .5s 1.12s var(--spring) forwards, flick 1.6s 1.8s infinite; }
@keyframes pop { to { transform: scale(1); } }
@keyframes hit { 0% { transform: scale(0); } 60% { transform: scale(1.9); } 100% { transform: scale(1); } }
@keyframes flick { 0%,100% { opacity: 1; } 40% { opacity: .78; } 55% { opacity: .95; } }

.hero-copy { padding-top: clamp(26px, 6vh, 64px); }
.hero h1 { font-size: clamp(2.05rem, 1.1rem + 4.7vw, 4.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 13ch;
  transform-origin: 0 100%; transform: rotate(-2.6deg) translateY(4px); transition: transform .9s var(--spring); text-wrap: balance; }
.hero h1.level { transform: none; }
.hero h1 .accent { color: var(--orange); }
@media (max-width: 400px) { .hero .lead { font-size: 15.5px; } }
.hero .lead { margin-top: 14px; max-width: 34ch; color: #e1d9cd; font-size: 16.5px; line-height: 1.5; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* търсачка */
.hero-copy { margin-bottom: 20px; }
.search { position: relative; margin: auto 12px 14px; padding: 10px; border-radius: var(--r-lg); background: rgba(19,22,25,.7);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; z-index: 3; }
.search .field-q, .search .popular { grid-column: 1 / -1; }
.search .field-city { min-height: 52px; }
.lbl-long { display: none; }
.field { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.field:focus-within { border-color: rgba(255,106,31,.7); background: rgba(255,255,255,.09); }
.field > svg { width: 20px; height: 20px; flex: none; color: var(--orange); }
.field input, .field select { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; font-size: 16.5px; font-weight: 600; color: var(--text); -webkit-appearance: none; appearance: none; }
.field select { padding-right: 24px; cursor: pointer; }
.field select option { background: #1b1f23; color: var(--text); }
.field-city::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ph { position: absolute; left: 44px; right: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 16.5px; font-weight: 600; white-space: nowrap; overflow: hidden; pointer-events: none; }
.ph::after { content: ''; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--orange); animation: caret 1s steps(2) infinite; }
.field.has-val .ph, .field:focus-within .ph { opacity: 0; }
@keyframes caret { 50% { opacity: 0; } }
.search .btn { min-height: 52px; padding: 0 18px; border-radius: 14px; }
.popular { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 2px -12px -2px; padding: 4px 12px 2px; -webkit-mask: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 22px), transparent); mask: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 22px), transparent); }
.popular::-webkit-scrollbar { display: none; }
.popular a { flex: none; font-size: 13.5px; font-weight: 700; color: #d9d1c4; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: background .2s, color .2s; }
.popular a:hover { background: rgba(255,106,31,.16); color: #fff; }

.suggest { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 8px); z-index: 10; background: #1b1f23; border: 1px solid var(--line-2); border-radius: 16px; padding: 6px; box-shadow: 0 24px 50px -12px rgba(0,0,0,.75); max-height: 320px; overflow: auto; }
.suggest button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 12px; border-radius: 11px; font-size: 15.5px; font-weight: 600; }
.suggest button:hover, .suggest button[aria-selected="true"] { background: rgba(255,106,31,.14); }
.suggest button small { margin-left: auto; color: var(--dim); font-size: 12.5px; font-weight: 600; text-align: right; }
.suggest button svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* ---------- Секции ---------- */
.sec { padding: 40px 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(1.6rem, 1.05rem + 2.4vw, 3rem); }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 46ch; }
.more { flex: none; color: var(--orange); font-weight: 800; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* категории */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--panel); isolation: isolate; -webkit-tap-highlight-color: transparent; transform: translateZ(0); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.95) brightness(.92); z-index: -2; }
.cat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(8,9,10,.86) 100%); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 40%), rgba(255,190,120,.22), transparent 60%); }
.cat:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.cat:hover::after { opacity: 1; }
.cat:active { transform: scale(.985); }
.cat-body { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.cat-name { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.15; letter-spacing: -.02em; }
.cat-sub { display: block; margin-top: 5px; font-size: 12px; color: #cfc6b8; line-height: 1.3; }
.cat-go { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(13,15,17,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); transition: background .25s, transform .25s; }
.cat-go svg { width: 15px; height: 15px; }
.cat:hover .cat-go { background: var(--orange); color: #160b04; transform: rotate(-45deg); }

/* карта */
.map-sec { background: radial-gradient(120% 80% at 50% 0%, #15191d 0%, var(--bg) 70%); overflow: hidden; }
.bgmap { position: relative; width: 100%; aspect-ratio: 1.5 / 1; margin-top: 6px; }
.bgmap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -50%) scale(0); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; transition: transform .5s var(--spring); -webkit-tap-highlight-color: transparent; }
.bgmap.in .pin { transform: translate(-50%, -50%) scale(1); }
.pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px rgba(255,106,31,.22), 0 0 10px 2px rgba(255,106,31,.55); position: relative; transition: transform .2s, background .2s; }
.pin.big.has i::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255,106,31,.7); animation: ping 2.6s var(--ease) infinite; animation-delay: var(--d, 0s); }
.pin.none i { background: #6b6760; box-shadow: none; width: 6px; height: 6px; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%,100% { transform: scale(2.4); opacity: 0; } }
.pin b { position: absolute; left: 50%; top: calc(50% + 7px); transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; color: #efe7da; text-shadow: 0 1px 6px #000, 0 0 3px #000, 0 0 2px #000; pointer-events: none; display: none; }
.pin.lab-r b { left: calc(50% + 8px); top: 50%; transform: translateY(-50%); }
.pin.lab-l b { left: auto; right: calc(50% + 8px); top: 50%; transform: translateY(-50%); }
.pin.lab-t b { top: auto; bottom: calc(50% + 7px); }
.pin.big b { display: block; }
.pin:hover i, .pin:focus-visible i { transform: scale(1.35); background: #fff; }
.city-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px -18px 0; padding: 2px 18px 6px; }
.city-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: #e4dccf; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.chip em { font-style: normal; color: var(--dim); font-weight: 700; font-size: 12.5px; }
.chip:hover { border-color: rgba(255,106,31,.5); }
.chip.on { background: var(--orange); border-color: var(--orange); color: #160b04; }
.chip.on em { color: rgba(22,11,4,.65); }
.chip svg { width: 16px; height: 16px; }

/* карти на майстори */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 18px 10px; scroll-padding: 18px; }
.rail::-webkit-scrollbar { display: none; }
.rail .pro { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; }
.pro { position: relative; display: flex; flex-direction: column; background: var(--panel); border-radius: 20px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: transform .35s var(--ease), box-shadow .35s; -webkit-tap-highlight-color: transparent; }
.pro:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 40px -22px rgba(0,0,0,.9); }
.pro:active { transform: scale(.985); }
.pro-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
.pro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pro:hover .pro-img img { transform: scale(1.05); }
.mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--orange); color: #160b04; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -.02em; box-shadow: 0 0 0 4px var(--panel); }
.pro-media { position: relative; }
.pro-media .mono { position: absolute; left: 14px; bottom: -20px; z-index: 2; }
.pro-body { padding: 28px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pro-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pro h3 { font-size: 16.5px; letter-spacing: -.02em; }
.rate { display: inline-flex; align-items: center; gap: 4px; flex: none; font-weight: 800; font-size: 14.5px; color: var(--text); }
.rate svg { width: 15px; height: 15px; color: var(--amber); }
.rate em { font-style: normal; color: var(--dim); font-weight: 700; font-size: 13px; }
.pro-meta { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.pro-tag { color: #d8d0c3; font-size: 14.5px; line-height: 1.45; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.badges li { font-size: 12px; font-weight: 800; color: #d7cfc2; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 5px; }
.badges li svg { width: 13px; height: 13px; color: var(--orange); }

/* как работи — чертеж */
.how { position: relative; padding: 48px 0 52px; background-color: var(--bp); color: #eaf1ff; overflow: hidden;
  background-image:
    linear-gradient(rgba(150,190,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(150,190,255,.13) 1px, transparent 1px),
    linear-gradient(rgba(150,190,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(150,190,255,.06) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px; }
.how::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 70% at 50% 40%, transparent, rgba(5,16,31,.55)); }
.how .wrap { position: relative; z-index: 1; }
.how h2 { font-size: clamp(1.6rem, 1.05rem + 2.4vw, 3rem); margin-bottom: 26px; }
.steps { display: grid; gap: 14px; }
.step { position: relative; padding: 20px 18px 22px; border: 1px dashed rgba(170,205,255,.35); border-radius: 18px; background: rgba(8,26,50,.55); }
.step .num { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.4px rgba(234,241,255,.85); display: block; margin-bottom: 16px; transition: color .8s .5s; }
.step.in .num { color: rgba(255,106,31,.92); -webkit-text-stroke-color: rgba(255,106,31,1); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: #b9c9e4; font-size: 15px; }
.step svg.draw { position: absolute; right: 12px; top: 12px; width: 100px; height: 75px; color: #dfe9ff; }
.draw * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw .dim { stroke: rgba(160,200,255,.55); stroke-width: 1; }
.draw .hot { stroke: var(--orange); }
.step.in .draw * { animation: ink 1.5s var(--ease) forwards; }
.step.in .draw *:nth-child(2) { animation-delay: .12s; } .step.in .draw *:nth-child(3) { animation-delay: .24s; }
.step.in .draw *:nth-child(4) { animation-delay: .36s; } .step.in .draw *:nth-child(5) { animation-delay: .48s; }
.step.in .draw *:nth-child(6) { animation-delay: .6s; } .step.in .draw *:nth-child(7) { animation-delay: .72s; }
.step.in .draw *:nth-child(n+8) { animation-delay: .84s; }
@keyframes ink { to { stroke-dashoffset: 0; } }

/* лента за фирми */
.band { position: relative; min-height: 520px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 30%; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(13,15,17,.1) 22%, rgba(13,15,17,.3) 50%, rgba(13,15,17,.94) 82%, var(--bg) 100%); }
.band .wrap { padding-bottom: 30px; }
.band h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem); max-width: 16ch; }
.band p { color: #d7cfc2; margin: 12px 0 20px; max-width: 42ch; }
.band .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* въпроси */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--panel); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 18px; position: relative; font-weight: 800; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--orange), var(--orange)) center / 14px 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .a { padding: 0 18px 18px; color: var(--muted); }
.faq .a a { color: var(--orange); font-weight: 700; }

/* футър */
.ftr { border-top: 1px solid var(--line); padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); background: #0a0c0d; color: var(--muted); font-size: 14.5px; }
.ftr-grid { display: grid; gap: 28px; }
.ftr .logo { margin-bottom: 12px; }
.ftr h4 { font-family: var(--font); font-size: 13px; font-weight: 800; color: var(--text); letter-spacing: .02em; margin-bottom: 10px; }
.ftr ul { display: grid; gap: 7px; }
.ftr a:hover { color: var(--text); }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ftr-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13px; color: var(--dim); }
.linkish { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; font-weight: inherit; }

/* ---------- Бисквитки ---------- */
.cookie { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; background: #1a1e22; border: 1px solid var(--line-2); border-radius: 20px; padding: 14px 14px 10px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.9); transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease); }
.cookie.show { transform: none; }
.cookie-row { display: flex; gap: 12px; align-items: flex-start; }
.cookie-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,184,77,.12); display: grid; place-items: center; color: var(--amber); }
.cookie-ico svg { width: 22px; height: 22px; }
.cookie h3 { font-family: var(--font); font-size: 16px; font-weight: 800; letter-spacing: 0; margin-bottom: 4px; }
.cookie p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.cookie p a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cookie-btns .btn { min-height: 44px; font-size: 14.5px; padding: 0 10px; }
@media (max-width: 719px) { .cookie-ico { display: none; } .cookie p { font-size: 13.5px; } }
.cookie-set { grid-column: 1 / -1; justify-self: center; font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.btn-equal { background: #f3ede4; color: #15120e; }
.btn-equal:hover { background: #fff; }

dialog { border: 0; padding: 0; color: var(--text); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5,6,7,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-height: 88vh; overflow: auto; background: #181c20; border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2); overscroll-behavior: contain; }
.sheet[open] { animation: up .45s var(--ease); }
@keyframes up { from { transform: translateY(100%); } }
.sheet h3 { font-size: 20px; margin-bottom: 6px; }
.sheet .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.toggle-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.toggle-row div { flex: 1; }
.toggle-row b { display: block; font-size: 15.5px; }
.toggle-row span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.switch { position: relative; width: 52px; height: 32px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: #3a4046; transition: background .25s; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch input:checked + i { background: var(--orange); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { opacity: .6; }
.sheet-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }

.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 95; background: #f3ede4; color: #15120e; font-weight: 800; font-size: 14.5px; padding: 12px 18px; border-radius: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); transition: transform .5s var(--ease); max-width: calc(100% - 28px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Каталог ---------- */
.page-head { padding-top: 22px; padding-bottom: 6px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); font-weight: 600; margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }
.page-head h1 { font-size: clamp(1.75rem, 1.1rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; }
.page-head .count { margin-top: 8px; color: var(--muted); font-weight: 600; }
.catbar { position: sticky; top: var(--hdr); z-index: 30; background: rgba(13,15,17,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); margin-top: 16px; }
.catbar-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 18px; max-width: 1240px; margin: 0 auto; }
.catbar-in::-webkit-scrollbar { display: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 16px 0 4px; }
.sel { position: relative; display: inline-flex; align-items: center; }
.sel select { -webkit-appearance: none; appearance: none; height: 44px; padding: 0 38px 0 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); font-weight: 700; font-size: 16px; color: var(--text); cursor: pointer; }
.sel::after { content: ''; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel svg { position: absolute; left: 12px; width: 17px; height: 17px; color: var(--orange); pointer-events: none; }
.sel.has-ico select { padding-left: 36px; }
.tgl { height: 44px; padding: 0 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; color: #ddd5c8; display: inline-flex; align-items: center; gap: 7px; transition: background .2s, color .2s, border-color .2s; }
.tgl svg { width: 15px; height: 15px; color: var(--orange); }
.tgl[aria-pressed="true"] { background: rgba(255,106,31,.16); border-color: rgba(255,106,31,.6); color: #fff; }
.results { display: grid; gap: 12px; padding: 14px 0 10px; }
.empty { padding: 34px 20px; text-align: center; background: var(--panel); border-radius: 22px; border: 1px dashed var(--line-2); }
.empty h3 { font-size: 20px; margin: 12px 0 8px; }
.empty p { color: var(--muted); max-width: 40ch; margin: 0 auto 18px; }
.empty .lvl { width: 120px; margin: 0 auto; }
.seo-text { margin: 34px 0 10px; padding: 22px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }
.seo-text h2 { font-size: 19px; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.seo-text p + p { margin-top: 10px; }

/* ---------- Профил ---------- */
.p-hero { position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.p-hero img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; view-transition-name: cover; }
.p-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,10,11,.35) 0%, rgba(9,10,11,0) 30%, rgba(9,10,11,.55) 62%, var(--bg) 100%); }
.p-hero .wrap { padding-bottom: 22px; }
.p-hero .crumbs { margin-bottom: 14px; }
.p-hero .crumbs a, .p-hero .crumbs { color: #d0c7b9; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.p-id { display: flex; align-items: center; gap: 14px; }
.p-id .mono { width: 62px; height: 62px; border-radius: 18px; font-size: 21px; box-shadow: 0 0 0 4px rgba(13,15,17,.6), 0 14px 30px -10px rgba(255,106,31,.6); flex: none; }
.p-id h1 { font-size: clamp(1.6rem, 1.1rem + 3vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: #ddd4c6; font-weight: 600; font-size: 14.5px; }
.p-meta span { display: inline-flex; align-items: center; gap: 6px; }
.p-meta svg { width: 15px; height: 15px; color: var(--orange); }
.p-tagline { margin-top: 14px; font-size: 17px; color: #efe7da; max-width: 40ch; }
.sample-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: #ffcfae; background: rgba(26,18,12,.75); border: 1px solid rgba(255,106,31,.35); padding: 6px 10px; border-radius: 9px; }

.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 18px 0 6px; }
.stamp { position: relative; aspect-ratio: 1; color: var(--orange); opacity: 0; transform: scale(1.7) rotate(-40deg); transition: transform .7s var(--spring), opacity .25s; }
.stamp.in { opacity: .95; transform: scale(1) rotate(var(--rot, -8deg)); }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp .st-num { font-family: var(--display); font-weight: 800; fill: currentColor; }
.stamp .st-ring { font-family: var(--font); font-weight: 800; fill: currentColor; letter-spacing: .12em; }
.stamp.alt { color: #e9e0d2; }

.p-grid { display: grid; gap: 14px; padding: 14px 0 40px; }
.card { background: var(--panel); border-radius: 22px; padding: 20px 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.card h2 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.02em; }
.card > p { color: #d6cec1; }
.card .fine { margin-top: 12px; }
.fine { font-size: 13px; color: var(--dim); line-height: 1.45; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.feat li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #ddd5c8; padding: 10px 12px; background: rgba(255,255,255,.04); border-radius: 12px; }
.feat li svg { width: 17px; height: 17px; color: var(--orange); flex: none; }
.prices li { display: flex; align-items: baseline; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.prices li:last-child { border-bottom: 0; }
.prices .dots { flex: 1; border-bottom: 2px dotted rgba(255,255,255,.18); transform: translateY(-4px); min-width: 20px; }
.prices b { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--amber); white-space: nowrap; letter-spacing: -.01em; }
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gal button { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--panel-2); }
.gal button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal button:hover img { transform: scale(1.05); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas a { padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.areas a:hover { border-color: rgba(255,106,31,.6); }
.revs { display: grid; gap: 10px; }
.rev { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.rev-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rev-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); font-weight: 800; font-size: 14px; color: #e5dccf; flex: none; }
.rev-top b { font-size: 15px; display: block; }
.rev-top small { color: var(--dim); font-size: 12.5px; font-weight: 600; }
.stars { margin-left: auto; display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 14px; height: 14px; }
.stars .off { color: #4a4640; }
.rev p { color: #d8d0c3; font-size: 15px; }
.score { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.score b { font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.score small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 4px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13,15,17,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { min-height: 52px; }
.has-cta .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- Работна поръчка (хартия) ---------- */
.order { position: relative; background: var(--paper); color: var(--ink); border-radius: 6px 6px 18px 18px; padding: 26px 18px 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.order::before { content: ''; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--bg) 5px, transparent 5.5px) 0 0 / 18px 14px repeat-x; }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.order-head h2, .order-head h3 { font-size: 21px; color: var(--ink); letter-spacing: -.02em; }
.order-head p { font-size: 14px; color: var(--ink-2); margin-top: 4px; font-weight: 600; }
.order-no { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; padding: 5px 9px; white-space: nowrap; }
.order label.f { display: block; margin-bottom: 12px; }
.order label.f > span { display: block; font-size: 13px; font-weight: 800; color: var(--ink-2); margin-bottom: 5px; }
.order input:not([type=checkbox]):not([type=file]), .order select, .order textarea { width: 100%; min-height: 50px; border: 1.5px solid rgba(35,32,27,.28); border-radius: 12px; background: rgba(255,255,255,.55);
  padding: 12px 13px; font-size: 16px; font-weight: 600; color: var(--ink); outline: 0; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.order textarea { min-height: 104px; resize: vertical; line-height: 1.45; }
.order select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.order input:focus, .order select:focus, .order textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255,106,31,.15); }
.order .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order .err input, .order .err textarea, .order .err select { border-color: #d23b1c; background: #fff4f0; }
.order .msg { display: none; font-size: 12.5px; font-weight: 700; color: #c23214; margin-top: 5px; }
.order .err .msg { display: block; }
.drop { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed rgba(35,32,27,.35); border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ink-2); background: rgba(255,255,255,.3); }
.drop svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: 11px; align-items: flex-start; margin: 12px 0; font-size: 14px; line-height: 1.45; color: var(--ink); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--ink); border-radius: 7px; background: rgba(255,255,255,.6); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.check input:checked { background: var(--ink); }
.check input:checked::after { content: ''; width: 11px; height: 6px; border-left: 2.5px solid var(--paper); border-bottom: 2.5px solid var(--paper); transform: translateY(-2px) rotate(-45deg); }
.check a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.check.err input { border-color: #d23b1c; box-shadow: 0 0 0 4px rgba(210,59,28,.15); }
.check-msg { display: none; font-size: 12.5px; font-weight: 700; color: #c23214; margin: -6px 0 10px 35px; }
.check.err + .check-msg { display: block; }
.order .btn-primary { margin-top: 6px; }
.order .fine { color: #7a7266; text-align: center; margin-top: 12px; }
.order-stamp { position: absolute; left: 50%; top: 40%; width: 260px; height: 130px; margin: -65px 0 0 -130px; color: #c8341a; opacity: 0; transform: scale(2.4) rotate(8deg); pointer-events: none; z-index: 5; mix-blend-mode: multiply; }
.order.done .order-stamp { animation: stampin .55s var(--ease) forwards; }
@keyframes stampin { 0% { opacity: 0; transform: scale(2.4) rotate(8deg); } 70% { opacity: .92; transform: scale(.94) rotate(-13deg); } 100% { opacity: .88; transform: scale(1) rotate(-12deg); } }
.order.done { animation: thud .35s .38s; }
@keyframes thud { 30% { transform: translateY(3px) scale(.995); } 60% { transform: translateY(-1px); } }
.order.done .order-body { opacity: .35; transition: opacity .5s .5s; pointer-events: none; }
.order-ok { display: none; position: absolute; left: 18px; right: 18px; top: calc(40% + 84px); z-index: 6; text-align: center; padding: 16px 14px; border-radius: 16px; background: rgba(246,240,230,.96); box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); }
.order.done .order-ok { display: block; }
.order-ok b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 6px; }
.order-ok p { color: var(--ink-2); font-size: 14.5px; }
.order-ok button { margin-top: 12px; font-weight: 800; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* лайтбокс */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; background: rgba(5,6,7,.96); place-items: center; }
.lb[open] { display: grid; }
.lb[open] { animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lb img { max-width: 94vw; max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lb-x { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lb-nav { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 700; }

/* ---------- За фирми ---------- */
.biz-hero { position: relative; min-height: 70vh; min-height: 70svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.biz-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.biz-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,10,11,.2), rgba(9,10,11,.35) 45%, var(--bg) 100%); }
.biz-hero .wrap { padding-bottom: 30px; }
.biz-hero h1 { font-size: clamp(1.7rem, 1rem + 4vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; max-width: 15ch; }
.biz-hero p { margin-top: 12px; color: #ddd4c6; max-width: 44ch; font-size: 16.5px; }
.perks { display: grid; gap: 10px; }
.perk { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--panel); }
.perk b.n { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--orange); line-height: 1; flex: none; width: 44px; }
.perk h3 { font-size: 17px; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 14.5px; }
.cities-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.cities-pick label { position: relative; }
.cities-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cities-pick span { display: inline-block; padding: 7px 11px; border-radius: 999px; border: 1.5px solid rgba(35,32,27,.25); font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: rgba(255,255,255,.35); transition: background .15s, color .15s, border-color .15s; }
.cities-pick input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cities-pick input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* текстови страници */
.prose { max-width: 760px; padding-top: 30px; padding-bottom: 60px; }
.prose h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.prose h2 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: #d3cbbe; }
.prose p + p { margin-top: 10px; }
.prose ul { display: grid; gap: 6px; margin-top: 8px; padding-left: 18px; list-style: disc; }
.ctable { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.ctable th, .ctable td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctable th { color: var(--text); font-weight: 800; }
.ctable td { color: var(--muted); }

/* ---------- По-големи екрани ---------- */
@media (min-width: 720px) {
  .wrap { padding: 0 28px; }
  .rail { padding: 4px 28px 12px; scroll-padding: 28px; }
  .city-chips { margin: 14px -28px 0; padding: 2px 28px 6px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cat-name { font-size: 17px; }
  .cat-sub { font-size: 13px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 26px 22px 28px; }
  .step svg.draw { position: relative; right: auto; top: auto; width: 140px; height: 105px; margin-bottom: 8px; }
  .results { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ftr-grid { grid-template-columns: 1.3fr 2fr; }
  .ftr-cols { grid-template-columns: repeat(4, 1fr); }
  .cookie { left: 18px; right: auto; bottom: 18px; width: 420px; }
  .sheet { inset: 0; margin: auto; width: min(520px, 92vw); height: fit-content; border-radius: 24px; border: 1px solid var(--line-2); }
  .stamps { gap: 18px; max-width: 560px; }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .order { padding: 30px 26px 26px; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

@media (min-width: 1024px) {
  :root { --hdr: 70px; }
  .demo-bar { font-size: 13px; }
  .logo { font-size: 21px; }
  .logo svg { width: 34px; height: 34px; }
  .nav { display: flex; gap: 4px; margin-left: 28px; }
  .nav a { padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #d6cec1; transition: color .2s, background .2s; }
  .nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
  .hdr .btn-add { display: inline-flex; min-height: 44px; }
  .menu-btn { display: none !important; }
  .hero { min-height: calc(100vh - var(--hdr) - 30px); min-height: min(calc(100svh - var(--hdr) - 30px), 980px); }
  .hero-copy { padding-top: 8vh; }
  .hero .lead { font-size: 18px; margin-top: 18px; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,10,11,.7) 0%, rgba(9,10,11,.35) 38%, rgba(9,10,11,0) 60%),
      linear-gradient(180deg, rgba(9,10,11,.35) 0%, rgba(9,10,11,0) 30%, rgba(9,10,11,0) 78%, var(--bg) 100%); }
  .search { margin: auto 0 7vh calc((100vw - min(100vw, 1240px)) / 2 + 28px); width: min(760px, 56vw); grid-template-columns: 1.5fr 1fr auto; align-items: center; padding: 10px; }
  .search .field-q { grid-column: auto; }
  .search .btn { min-height: 54px; padding: 0 24px; }
  .lbl-long { display: inline; } .lbl-short { display: none; }
  .suggest { right: auto; width: 58%; }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 28px; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .cat-body { left: 18px; right: 18px; bottom: 18px; }
  .cat-name { font-size: 19px; }
  .bgmap { aspect-ratio: 1.6 / 1; max-width: 1000px; margin: 0 auto; }
  .pin i { width: 10px; height: 10px; }
  .pin b { font-size: 12.5px; }
  .pin.mid b { display: block; opacity: .8; }
  .rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; max-width: 1240px; margin: 0 auto; padding: 4px 28px 12px; }
  .rail .pro { flex: auto; }
  .how { padding: 96px 0 100px; }
  .band { min-height: 620px; align-items: center; }
  .band::before { background: linear-gradient(90deg, rgba(13,15,17,.96) 0%, rgba(13,15,17,.75) 34%, rgba(13,15,17,.15) 62%, rgba(13,15,17,0) 100%), linear-gradient(180deg, var(--bg), transparent 14%, transparent 86%, var(--bg)); }
  .band .wrap { padding-bottom: 0; }
  .results { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .p-hero { min-height: 72vh; }
  .p-hero .wrap { padding-bottom: 34px; }
  .p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
  .p-aside { position: sticky; top: calc(var(--hdr) + 22px); padding-top: 14px; }
  .sticky-cta { display: none; }
  .has-cta .ftr { padding-bottom: 28px; }
  .p-actions { display: flex; gap: 10px; margin-top: 18px; }
  .biz-layout { display: grid; grid-template-columns: 1fr 480px; gap: 34px; align-items: start; }
}
@media (max-width: 1023px) { .p-actions { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero h1 { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
