/* Нощ над София: тъмносиньо небе, Витоша на фона, кехлибарени фарове и светнали прозорци */
:root {
  --night: #080b16;
  --night-2: #10162a;
  --night-3: #18203b;
  --glass: rgba(16, 22, 42, .72);
  --text: #f1f2f7;
  --muted: #a3aac2;
  --amber: #f7b538;
  --amber-2: #ffcf6b;
  --amber-ink: #1a1405;
  --red: #ff4d4d;
  --line: #273055;
  --live: #4ade80;
  --off: #f08a63;
  --wa: #25d366;
  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-body: "Golos Text", "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.in { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; letter-spacing: -.01em; }
h2 em { font-style: normal; color: var(--amber); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
a { color: var(--amber); }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.label::before { content: ""; width: 26px; height: 2px; background: var(--amber); }
section { padding-block: 96px; position: relative; }
.alt { background: linear-gradient(180deg, var(--night-2), var(--night) 100%); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 700px; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.sec-head p { color: var(--muted); font-size: 18px; }

/* бутони */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 15px; text-decoration: none; padding: 17px 26px; border-radius: 14px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, border-color .15s, box-shadow .2s; white-space: nowrap; }
.btn:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-main { background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: var(--amber-ink); box-shadow: 0 10px 30px -8px rgba(247,181,56,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(247,181,56,.75), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost { border-color: rgba(255,255,255,.16); color: var(--text); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--amber); }
.btn-wa { background: var(--wa); color: #06210f; box-shadow: 0 10px 30px -10px rgba(37,211,102,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-wa:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* статус „на линия“ */
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(8,11,22,.6); border: 1px solid var(--line); width: fit-content; backdrop-filter: blur(6px); }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--off); flex: none; }
.status.on i { background: var(--live); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* навигация */
nav.top { position: sticky; top: 0; z-index: 40; background: rgba(8,11,22,.78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); padding-top: env(safe-area-inset-top, 0px); }
nav.top .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 21px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.logo svg { width: 34px; height: 34px; }
nav.top .links { display: flex; gap: 26px; font-size: 15px; }
nav.top .links a { color: var(--muted); text-decoration: none; }
nav.top .links a:hover { color: var(--text); }
nav.top .tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--amber-ink); background: var(--amber); padding: 10px 16px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
nav.top .tel svg { width: 16px; height: 16px; }
@media (max-width: 960px) { nav.top .links { display: none; } }
@media (max-width: 420px) { nav.top .tel span { display: none; } }

/* ===== начална сцена ===== */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: 48px 0;
  background: radial-gradient(120% 80% at 70% 0%, #1a2550 0%, #0d1330 45%, var(--night) 100%); }
.hero canvas.bokeh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero .moon { position: absolute; top: 60px; right: 9%; width: 90px; height: 90px; border-radius: 50%; z-index: -2;
  background: radial-gradient(circle at 38% 38%, #fff8e0, #f4dfa6 55%, #c9ae6a); box-shadow: 0 0 60px 20px rgba(255,236,180,.18), 0 0 160px 60px rgba(255,236,180,.08); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .9fr; gap: 56px; align-items: center; padding-bottom: 190px; }
.hero-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; letter-spacing: -.025em; line-height: 1; }
.hero h1 span { display: block; background: linear-gradient(180deg, var(--amber-2), var(--amber) 60%, #e08a1a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(247,181,56,.35)); }
.hero .kw { font-size: 14px; color: var(--amber); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.hero .sub { font-size: clamp(18px, 2.1vw, 21px); color: #c9cee0; max-width: 34ch; }
.hero .sub b { color: var(--text); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.big-phone { display: flex; flex-direction: column; gap: 2px; text-decoration: none; width: fit-content; }
.big-phone small { font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.big-phone b { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 40px); color: var(--text); letter-spacing: .01em; }
.big-phone:hover b { color: var(--amber); }

/* небостъргачи, Витоша и пътят */
.scene { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: 1; pointer-events: none; }
.scene svg.city { position: absolute; left: 0; bottom: 64px; width: 100%; height: 240px; }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(180deg, #0c1020, #05070e); border-top: 2px solid #1b2240; overflow: hidden; }
.road::before { content: ""; position: absolute; left: 0; right: -120px; top: 30px; height: 4px; background: repeating-linear-gradient(90deg, var(--amber) 0 50px, transparent 50px 110px); opacity: .85; animation: lane 1.6s linear infinite; }
@keyframes lane { to { transform: translateX(-110px); } }
.car { position: absolute; bottom: 14px; left: -260px; width: 190px; height: 64px; animation: drive 16s linear infinite; }
.car svg { width: 100%; height: 100%; overflow: visible; }
@keyframes drive { 0% { transform: translateX(0); } 100% { transform: translateX(calc(100vw + 520px)); } }

/* карта за цена */
.quote { position: relative; background: var(--glass); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(247,181,56,.08); }
.quote h2 { font-size: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.quote h2 small { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); background: rgba(247,181,56,.12); padding: 4px 10px; border-radius: 999px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
select, input, textarea { font: inherit; font-size: 16px; color: var(--text); background: rgba(8,11,22,.7); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; min-width: 0; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.route { display: grid; grid-template-columns: 16px 1fr; gap: 6px 14px; align-items: center; }
.route .dot { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--amber); }
.route .dot.end { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.route .bar { width: 2px; height: 16px; margin-left: 7px; background: repeating-linear-gradient(var(--muted) 0 4px, transparent 4px 8px); }
.q-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(247,181,56,.08); border: 1px dashed rgba(247,181,56,.35); border-radius: 14px; padding: 14px 18px; }
.q-result .km { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; }
.q-result .km b { color: var(--text); font-size: 15px; }
.q-result strong { font-family: var(--f-display); font-size: 42px; color: var(--amber); white-space: nowrap; line-height: 1; }
.q-note { font-size: 13px; color: var(--muted); }
.quote .btn { width: 100%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 170px; }
  .hero .moon { width: 60px; height: 60px; top: 30px; right: 6%; }
  .scene { height: 230px; } .scene svg.city { height: 170px; }
}

/* лента с факти под сцената */
.strip { background: #05070e; border-bottom: 1px solid var(--line); }
.strip .in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 26px 20px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); min-width: 0; }
.strip div:first-child { border-left: 0; }
.strip b { font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 28px); color: var(--amber); white-space: nowrap; }
.strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .strip .in { grid-template-columns: 1fr 1fr; } .strip div:nth-child(3) { border-left: 0; } .strip div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* как работи */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps::before { content: ""; position: absolute; top: 52px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--amber) 0 18px, transparent 18px 32px); opacity: .5; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; min-width: 0; }
.step .ico { position: relative; width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(160deg, var(--night-3), var(--night-2)); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.step .ico svg { width: 52px; height: 52px; }
.step .n { position: absolute; top: -10px; right: -10px; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-family: var(--f-display); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.step p { color: var(--muted); font-size: 16px; max-width: 30ch; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* сравнение */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.opt { background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.opt h3 { font-size: 20px; }
.opt .tag { font-size: 13px; color: var(--muted); }
.opt ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.opt li { display: flex; gap: 10px; align-items: baseline; }
.opt li::before { content: "✕"; color: var(--red); font-weight: 700; flex: none; }
.opt li.ok::before { content: "✓"; color: var(--live); }
.opt.us { background: linear-gradient(170deg, #2a2210, var(--night-2) 55%); border: 2px solid var(--amber); box-shadow: 0 30px 80px -30px rgba(247,181,56,.45); transform: translateY(-10px); }
.opt.us h3 { color: var(--amber); }
.opt .ico { width: 54px; height: 54px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .opt.us { transform: none; order: -1; } }

/* цени като пътни табели */
.zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.zone { position: relative; background: #0d5c3a; border: 3px solid #fff; outline: 3px solid #0d5c3a; border-radius: 12px; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; color: #fff; min-width: 0; box-shadow: 0 24px 50px -24px rgba(0,0,0,.9); }
.zone .z { font-size: 14px; font-weight: 600; letter-spacing: .04em; opacity: .9; }
.zone .p { font-family: var(--f-display); font-size: clamp(36px, 3.6vw, 46px); font-weight: 800; line-height: 1.05; }
.zone .where { font-size: 14px; opacity: .85; }
.zone.pop { background: #1f4fa8; outline-color: #1f4fa8; }
.zone.pop::after { content: "най-честият курс"; position: absolute; top: -14px; right: 14px; background: var(--amber); color: var(--amber-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.nofees { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nofees div { background: var(--night-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-size: 15px; color: var(--muted); }
.nofees b { display: block; color: var(--text); font-family: var(--f-display); font-size: 17px; margin-bottom: 4px; }
@media (max-width: 1060px) { .zones { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .zones, .nofees { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .zones, .nofees { grid-template-columns: 1fr; } }

/* поръчка със съобщение + телефон */
.order { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.order form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; min-width: 0; }
.order .full { grid-column: 1 / -1; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 110px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); cursor: pointer; font-size: 15px; background: rgba(8,11,22,.7); }
.seg input:checked + span { border-color: var(--amber); background: rgba(247,181,56,.12); color: var(--amber); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.send { display: flex; flex-wrap: wrap; gap: 10px; }
.send .btn { flex: 1; padding-inline: 14px; }
.copied { font-size: 14px; color: var(--live); min-height: 1.4em; }
.phone { position: relative; width: min(330px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 46px; background: #05070e; border: 10px solid #1c2238; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 2px #2c3555, 0 0 80px -20px rgba(37,211,102,.25); overflow: hidden; display: flex; flex-direction: column; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: #000; border-radius: 999px; z-index: 2; }
.phone .bar { background: #1f2c34; padding: 44px 16px 12px; display: flex; align-items: center; gap: 10px; }
.phone .bar i { width: 36px; height: 36px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; font-style: normal; font-family: var(--f-display); font-weight: 800; color: var(--amber-ink); font-size: 14px; }
.phone .bar b { font-size: 15px; display: block; line-height: 1.2; }
.phone .bar small { font-size: 12px; color: #8fa3ad; }
.phone .chat { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; background: #0b141a; }
.bubble { max-width: 88%; padding: 9px 12px 7px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-line; }
.bubble.me { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #1f2c34; border-top-left-radius: 4px; }
.bubble time { display: block; text-align: right; font-size: 11px; color: rgba(255,255,255,.55); margin-top: 2px; }
.typing { align-self: flex-start; background: #1f2c34; border-radius: 12px; padding: 10px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8fa3ad; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } .phone { width: min(300px, 100%); } }
@media (max-width: 480px) { .order form { grid-template-columns: 1fr; padding: 20px; } }

/* доверие */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust > div { background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color .2s, transform .2s; }
.trust > div:hover { border-color: rgba(247,181,56,.5); transform: translateY(-3px); }
.trust .ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(247,181,56,.12); display: grid; place-items: center; }
.trust svg { width: 28px; height: 28px; color: var(--amber); }
.trust p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* екип */
.team { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.team p { color: var(--muted); max-width: 60ch; font-size: 18px; }
.team .txt { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.face { aspect-ratio: 3 / 4; border-radius: 20px; background: linear-gradient(180deg, var(--night-3), var(--night-2)); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 16px 8px; gap: 6px; overflow: hidden; position: relative; }
.face svg { position: absolute; inset: 14% 12% auto; width: 76%; color: #2a3456; }
.face b { position: relative; font-family: var(--f-display); font-size: 15px; }
.face span { position: relative; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.35; }
.face em { position: relative; font-style: normal; font-size: 11px; color: var(--amber); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* карта на районите */
.map-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.map { width: 100%; height: auto; display: block; }
.map .ring { fill: none; stroke-width: 1.5; stroke-dasharray: 6 6; }
.map .ring-label { font-family: var(--f-display); font-size: 15px; font-weight: 700; }
.map a circle { fill: var(--amber); stroke: var(--night); stroke-width: 2; transition: r .15s; }
.map a:hover circle, .map a:focus circle { r: 8; fill: #fff; }
.map a text { fill: var(--text); font-size: 12px; font-family: var(--f-body); paint-order: stroke; stroke: var(--night); stroke-width: 4px; }
.map a:hover text { fill: var(--amber); }
.map .center circle { fill: #fff; }
.legend { display: flex; flex-direction: column; gap: 12px; }
.legend div { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.legend i { width: 44px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-family: var(--f-display); font-weight: 800; color: #fff; font-size: 13px; flex: none; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.areas a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; background: var(--night-2); color: var(--text); text-decoration: none; }
.areas a:hover, .areas a[aria-current] { border-color: var(--amber); color: var(--amber); }
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }

/* въпроси */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
details { background: var(--night-2); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
details[open] { border-color: rgba(247,181,56,.45); }
summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber); font-family: var(--f-display); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 20px; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }

/* english */
.en-box { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.en-box .flag { font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--amber); border: 2px solid var(--amber); border-radius: 14px; padding: 10px 14px; }
.en-box p { color: var(--muted); }
.en-box h3 { font-size: 22px; margin-bottom: 8px; }
@media (max-width: 640px) { .en-box { grid-template-columns: 1fr; } }

/* финал */
.final { overflow: hidden; background: radial-gradient(80% 120% at 50% 100%, rgba(247,181,56,.18), transparent 60%), var(--night); }
.final .in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.final h2 { font-size: clamp(32px, 5vw, 56px); }
.final .big-tel { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 7vw, 72px); color: var(--amber); text-decoration: none; text-shadow: 0 0 40px rgba(247,181,56,.4); }
footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 14px; color: var(--muted); background: #05070e; }
footer .in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* лепкава лента на телефон */
.callbar { display: none; }
@media (max-width: 780px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(8,11,22,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .callbar .btn { padding: 14px 10px; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  section { padding-block: 72px; }
}

/* страница на квартал */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--amber); }
.hero.place h1 { font-size: clamp(38px, 6.4vw, 76px); }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.facts-row div { background: rgba(8,11,22,.55); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: 14px; color: var(--muted); backdrop-filter: blur(6px); }
.facts-row b { display: block; color: var(--amber); font-family: var(--f-display); font-size: 20px; font-weight: 700; white-space: nowrap; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--night-2); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 420px; }
.tbl th, .tbl td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: rgba(255,255,255,.02); }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.tbl td.price { font-family: var(--f-display); font-weight: 700; color: var(--amber); white-space: nowrap; }
.tbl a { color: var(--text); text-decoration: none; border-bottom: 1px dashed var(--line); }
.tbl a:hover { color: var(--amber); border-color: var(--amber); }

.beacon { animation: beacon 1.6s steps(2, jump-none) infinite; }
@keyframes beacon { 50% { opacity: .15; } }
@media (max-width: 560px) { .hero .moon { display: none; } .hero h1 { font-size: 46px; } .quote { padding: 20px; } .q-result strong { font-size: 34px; } }

/* мини бар */
.minibar { background: linear-gradient(160deg, #1d2547, var(--night-2)); border: 1px solid rgba(247,181,56,.35); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 40px 90px -40px rgba(247,181,56,.4); min-width: 0; }
.mb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mb-head b { font-family: var(--f-display); font-size: 24px; }
.mb-head span { font-size: 13px; font-weight: 600; color: var(--amber-ink); background: var(--amber); padding: 4px 12px; border-radius: 999px; }
.mb-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mb-items div { background: rgba(8,11,22,.55); border: 1px solid var(--line); border-radius: 18px; padding: 18px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.mb-items svg { width: 48px; height: 48px; }
.mb-items b { font-family: var(--f-display); font-size: 15px; }
.mb-items span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.mb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.mb-list li { display: flex; gap: 10px; }
.mb-list li::before { content: "✓"; color: var(--live); font-weight: 700; }
@media (max-width: 420px) { .mb-items { grid-template-columns: 1fr; } .mb-items div { flex-direction: row; text-align: left; padding: 12px 14px; } .mb-items svg { width: 36px; height: 36px; } .mb-items span { margin-left: auto; } }
@media (max-width: 760px) { .strip b { font-size: 17px; white-space: normal; } .strip div { padding: 18px 14px; } }

/* ===== снимки ===== */
.hero.has-photo { background: var(--night); }
.hero-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 60%; transform: scale(1.04); animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translateX(-1.5%); } }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,11,22,.9) 0%, rgba(8,11,22,.62) 40%, rgba(8,11,22,.18) 72%, rgba(8,11,22,.45) 100%),
              linear-gradient(180deg, rgba(8,11,22,.55) 0%, transparent 30%, transparent 70%, rgba(8,11,22,.9) 100%); }
.hero.has-photo .hero-grid { padding-bottom: 128px; }
.scene.photo { height: 64px; }
@media (max-width: 900px) {
  .hero.has-photo::before { background: linear-gradient(180deg, rgba(8,11,22,.6) 0%, rgba(8,11,22,.82) 40%, rgba(8,11,22,.92) 100%); }
  .hero.has-photo .hero-grid { padding-bottom: 104px; }
}

.band { background-size: cover; background-position: center 42%; padding-block: 140px; position: relative; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,11,22,.95) 0%, rgba(8,11,22,.8) 45%, rgba(8,11,22,.25) 100%); }
.band .in { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.band h2 { max-width: 16ch; font-size: clamp(32px, 5vw, 58px); }
.band p { max-width: 46ch; color: #d4d8e6; font-size: 18px; }
@media (max-width: 700px) { .band { padding-block: 96px; } .band::before { background: rgba(8,11,22,.78); } }

.photo-card { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); margin-top: 6px; }

.final { background-size: cover; background-position: center 55%; isolation: isolate; padding-block: 130px; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(8,11,22,.72), rgba(8,11,22,.95)); }

/* отметки в началото */
.hero-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: #d4d8e6; }
.hero-ticks li::before { content: "✓ "; color: var(--live); font-weight: 700; }

/* цена на км и сравнение */
.perkm { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; background: var(--night-2); border: 1px dashed rgba(247,181,56,.45); border-radius: 14px; padding: 14px 18px; }
.perkm b { font-family: var(--f-display); color: var(--amber); }
.perkm span { color: var(--muted); }
.cmp { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 80ch; }

/* пакети за събития */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pack { background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pack .tag { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); font-weight: 600; }
.pack h3 { font-size: 22px; }
.pack .pp { font-family: var(--f-display); font-size: 34px; color: var(--text); }
.pack .pp small { font-family: var(--f-body); font-size: 14px; color: var(--muted); font-weight: 500; }
.pack p { color: var(--muted); font-size: 16px; }
.pack ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pack li::before { content: "✓ "; color: var(--live); font-weight: 700; }
.pack.hot { border: 2px solid var(--amber); background: linear-gradient(170deg, #2a2210, var(--night-2) 55%); box-shadow: 0 30px 80px -30px rgba(247,181,56,.45); }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }

/* ваучер */
.voucher { position: relative; aspect-ratio: 16 / 10; max-width: 460px; width: 100%; justify-self: center; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: var(--amber-ink); background: radial-gradient(120% 120% at 100% 0%, #ffe3a1, var(--amber) 55%, #d98a12); box-shadow: 0 40px 90px -30px rgba(247,181,56,.55); overflow: hidden; }
.voucher::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; border: 18px solid rgba(26,20,5,.08); }
.voucher .v-top { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.voucher .v-top svg { width: 30px; height: 30px; }
.voucher b { font-family: var(--f-display); font-size: clamp(24px, 3vw, 32px); }
.voucher .v-sum { font-family: var(--f-display); font-size: 18px; }
.voucher .v-note { font-size: 13px; opacity: .75; }

/* общи условия */
.terms { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.terms h1 { font-size: clamp(32px, 5vw, 48px); margin-top: 10px; }
.terms h2 { font-size: 20px; margin-top: 18px; }
.terms p { color: #c9cee0; }
.terms .lead { color: var(--muted); font-size: 18px; }
.logo, nav.top .links a { white-space: nowrap; }
nav.top .links { gap: 22px; }
@media (max-width: 1120px) { nav.top .links a.opt-link { display: none; } }

/* лента с цена над менюто */
.topbar { background: var(--amber); color: var(--amber-ink); font-size: 13px; font-weight: 600; }
.topbar .in { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; padding-block: 7px; }
.topbar span + span::before { content: "·"; margin-right: 22px; opacity: .5; }
@media (max-width: 900px) { .topbar span:nth-child(n+3) { display: none; } }
@media (max-width: 640px) { .topbar span + span::before { margin-right: 10px; } .topbar .in { gap: 4px 10px; } }

/* запиши номера */
.phone-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 22px; }
.save-contact { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; border: 1px dashed rgba(255,255,255,.3); border-radius: 10px; padding: 9px 14px; background: rgba(8,11,22,.5); }
.save-contact svg { width: 18px; height: 18px; color: var(--amber); }
.save-contact:hover { border-color: var(--amber); }

/* бележка в началото */
.hero-note { font-size: 15px; color: #d4d8e6; border-left: 3px solid var(--live); padding-left: 12px; }

/* колко струва рискът */
.risk { padding-block: 80px; }
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.risk-grid div { background: var(--night-2); border: 1px solid rgba(255,77,77,.35); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.risk-grid b { font-family: var(--f-display); font-size: clamp(26px, 3vw, 36px); color: var(--red); }
.risk-grid span { color: var(--muted); }
.risk-grid .us { border: 2px solid var(--amber); background: linear-gradient(170deg, #2a2210, var(--night-2) 60%); }
.risk-grid .us b { color: var(--amber); }
.risk .src { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.risk .src a { color: var(--muted); }
@media (max-width: 760px) { .risk-grid { grid-template-columns: 1fr; } }

/* още за цената */
.extras { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; font-size: 15px; color: var(--muted); }
.extras li::before { content: "• "; color: var(--amber); }
.extras b { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .extras { grid-template-columns: 1fr; } }

/* формата: отметка и „кажи на приятел“ */
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--amber); }
.share { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); text-decoration: none; justify-self: start; }
.share svg { width: 18px; height: 18px; color: var(--wa); }
.share:hover { color: var(--text); }

/* снимки: телефонът тегли малката WebP, компютърът голямата */
.photo-bg { position: relative; isolation: isolate; }
.hero-photo.photo-bg { position: absolute; isolation: auto; }
.photo-bg > .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.hero-photo > .bg-img { z-index: 0; object-position: center 60%; }
.band > .bg-img { object-position: center 42%; }
.final > .bg-img { object-position: center 55%; }

/* „Към съдържанието“ за клавиатура и екранни четци */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); font-weight: 700; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ключовата дума в заглавието */
.hero h1 small.kw { display: block; font: 600 14px/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }

/* статии */
.article-hero .hero-grid { padding-bottom: 110px; }
.hero .meta { font-size: 14px; color: var(--muted); }
.article { max-width: 780px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.article h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 22px; }
.article p, .article li { color: #c9cee0; }
.article strong { color: var(--text); }
.article ol, .article ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.article li::marker { color: var(--amber); }
.article .note { background: var(--night-2); border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; padding: 14px 18px; font-size: 15px; color: var(--muted); }
.article .tbl table { min-width: 0; }
.cta-box { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(170deg, #2a2210, var(--night-2) 60%); border: 2px solid var(--amber); border-radius: 20px; padding: 24px; }
.cta-box b { display: block; font-family: var(--f-display); font-size: 22px; }
.cta-box span { color: var(--muted); font-size: 16px; }
.sources { font-size: 14px; color: var(--muted); }
.sources ul { padding-left: 18px; margin-top: 6px; }
.sources a { color: var(--muted); }
.related { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.related a { color: var(--amber); text-decoration: none; }
.related a:hover { text-decoration: underline; }
.art-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.art-card { display: flex; flex-direction: column; gap: 10px; background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; min-width: 0; }
.art-card:hover { border-color: var(--amber); transform: translateY(-3px); }
.art-card .tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.art-card b { font-family: var(--f-display); font-size: 19px; line-height: 1.25; }
.art-card span { color: var(--muted); font-size: 15px; }
.art-card i { font-style: normal; color: var(--amber); font-weight: 600; margin-top: auto; }
@media (max-width: 900px) { .art-cards { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } }

/* слоганът в началото */
.hero h1.slogan { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.05; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(8,11,22,.6); border: 1px solid rgba(247,181,56,.45); color: var(--text); backdrop-filter: blur(6px); }

/* пример за цената */
.example { margin-top: 18px; background: rgba(247,181,56,.08); border: 1px dashed rgba(247,181,56,.45); border-radius: 14px; padding: 14px 18px; font-size: 16px; color: #d4d8e6; }
.example b { color: var(--amber); }

/* бутони Viber и SMS — с цвят като WhatsApp */
.btn-viber { background: #6b58ee; color: #fff; }
.btn-viber:hover { filter: brightness(1.08); }
.btn-sms { background: #e9ecf5; color: #10162a; }
.btn-sms:hover { filter: brightness(.95); }

/* безплатният мини бар */
.chips li.free { background: rgba(74,222,128,.14); border-color: rgba(74,222,128,.55); color: #c9f7d9; }
.mb-head span { background: var(--live); color: #06210f; }

/* смяна на езика */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.lang:hover { border-color: var(--amber); color: var(--amber); }

/* Снимки в стъпките, до доверието и в поводите */
.steps.has-photos::before { display: none; }
.step .shot { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.steps.has-photos .ico { width: 84px; height: 84px; border-radius: 24px; margin-top: -56px; }
.steps.has-photos .ico svg { width: 42px; height: 42px; }
.trust-wrap { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.trust-wrap .trust { grid-template-columns: repeat(2, 1fr); }
.trust-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
@media (max-width: 900px) { .trust-wrap { grid-template-columns: 1fr; } .trust-photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; object-position: center 40%; } }
@media (max-width: 560px) { .trust-wrap .trust { grid-template-columns: 1fr; } }
.occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.occ { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); color: var(--text); text-decoration: none; aspect-ratio: 4 / 5; }
.occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,11,22,.92)); }
.occ span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }
.occ b { font-family: var(--f-display); font-size: 22px; color: var(--text); }
.occ:hover img { transform: scale(1.05); }
.occ:hover { border-color: rgba(247,181,56,.6); }
@media (max-width: 860px) { .occasions { grid-template-columns: 1fr; } .occ { aspect-ratio: 16 / 10; } }
.trust-photo { filter: brightness(.82) saturate(.9); }
.occ::after { background: linear-gradient(180deg, rgba(8,11,22,0) 25%, rgba(8,11,22,.7) 55%, rgba(8,11,22,.96) 85%); }
.occ span { text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Цена на км: цените са с десетични, плочките и легендата да ги побират */
.zone .p { font-size: clamp(30px, 2.8vw, 40px); white-space: nowrap; }
.legend i { width: auto; min-width: 44px; padding: 0 8px; }
.topbar b { color: inherit; font-weight: 800; }

/* Калкулатор по адрес: подсказки и карта */
.field.ac { position: relative; z-index: 5; }
.field.ac:focus-within { z-index: 6; }
.field.ac label { font-size: 13px; color: var(--muted); font-weight: 500; }
.sugg { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin: 6px 0 0; padding: 6px; list-style: none; background: #10162a; border: 1px solid rgba(247,181,56,.35); border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); max-height: 300px; overflow: auto; }
.sugg li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text); font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.sugg li small { color: var(--muted); font-size: 12px; }
.sugg li[aria-selected="true"], .sugg li:hover { background: rgba(247,181,56,.14); }
.sugg li.search { color: var(--amber); font-weight: 600; }
.q-map { position: relative; z-index: 0; isolation: isolate; height: 200px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0b1020; }
.q-map[hidden] { display: none; }
.q-map .leaflet-container, .q-map.leaflet-container { font: inherit; background: #0b1020; }
.q-map .leaflet-control-attribution { font-size: 10px; background: rgba(8,11,22,.75) !important; color: var(--muted); }
.q-map .leaflet-control-attribution a { color: var(--muted); }
.q-gmaps { font-size: 13px; color: var(--amber); text-align: center; }

.parts-h { font-size: 18px; margin: 28px 0 12px; }
/* На телефон цената в таблиците да се вижда без хоризонтално превъртане */
@media (max-width: 560px) {
  .tbl table { min-width: 0; }
  .tbl th, .tbl td { padding: 12px 10px; }
  .tbl th { font-size: 11px; letter-spacing: .04em; }
  .tbl th:first-child, .tbl td:first-child { padding-left: 14px; }
  .tbl th:last-child, .tbl td:last-child { padding-right: 14px; text-align: right; }
}
@media (max-width: 360px) { .tbl td { font-size: 14px; } .tbl th, .tbl td { padding: 10px 7px; } }
.sugg li.tip { cursor: default; color: var(--text); background: rgba(255,255,255,.03); }
.sugg li.tip:hover { background: rgba(255,255,255,.03); }
body.q-typing .callbar { display: none; }
.q-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.6); }

/* Бързина на телефон: без размазване „като стъкло“ и без бавно приближаване на снимката — най-тежките ефекти за слаб телефон */
@media (max-width: 860px), (hover: none) {
  nav.top { background: rgba(8,11,22,.97); backdrop-filter: none; }
  .quote { background: #11182c; backdrop-filter: none; }
  .btn-ghost, .chips li, .facts-row div, .callbar, .status { backdrop-filter: none; }
  .hero-photo { animation: none; transform: none; }
}
.car { will-change: transform; }

/* Чиповете в началото */
.chips { gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(16,22,42,.78); border: 1px solid rgba(255,255,255,.1); font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.25; }
.chips li svg { width: 17px; height: 17px; color: var(--amber); flex: none; }
.chips li.price { background: linear-gradient(180deg, #ffd479, #f7b538); color: #1a1205; border: 0; box-shadow: 0 12px 26px -14px rgba(247,181,56,.9); gap: 6px; }
.chips li.price b { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.chips li.price span { font-size: 13px; font-weight: 700; opacity: .8; }
.chips li.free { background: rgba(34,197,94,.12); border-color: rgba(74,222,128,.45); color: #bbf7d0; }
.chips li.free svg { color: var(--live); }
.chips li.price b { white-space: nowrap; }
@media (max-width: 560px) {
  /* на телефон: цената на цял ред, отдолу три плочки с иконка */
  .chips { display: grid; grid-template-columns: repeat(3, 1fr); }
  .chips li.price { grid-column: 1 / -1; justify-content: center; padding: 11px 14px; }
  .chips li.price b { font-size: 19px; }
  .chips li:not(.price) { flex-direction: column; justify-content: flex-start; text-align: center; gap: 6px; padding: 11px 6px; font-size: 12.5px; }
  .chips li:not(.price) svg { width: 19px; height: 19px; }
  /* двата бутона един до друг */
  .hero:not(.place) .hero-text > .cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-text > .cta .btn { width: 100%; padding-inline: 10px; font-size: 15px; }
}

/* Поводи */
.occ-pills { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.occ-pills a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(8,11,22,.7); border: 1px solid rgba(247,181,56,.4); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.occ-pills a:hover { border-color: var(--amber); color: var(--amber); }
.occ-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.occ-list li { background: var(--night-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.occ-list b { font-family: var(--f-display); font-size: 17px; }
.occ-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .occ-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .occ-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .nm { display: none; } }

/* Проверка на 11 размера екрани: големите числа и думи да се побират, бутоните да са за пръст */
.strip b { font-size: clamp(18px, 2.1vw, 26px); white-space: normal; }
.facts-row b { font-size: clamp(16px, 4.4vw, 20px); white-space: normal; }
.risk-grid b { font-size: clamp(22px, 2.4vw, 30px); overflow-wrap: anywhere; }
@media (max-width: 900px) { .risk-grid { grid-template-columns: 1fr; } }
.zone .p { font-size: clamp(24px, 2.1vw, 34px); }
.cta .btn { max-width: 100%; }
@media (max-width: 760px) {
  nav.top .tel, .lang { min-height: 42px; min-width: 42px; justify-content: center; }
}
@media (max-width: 380px) {
  h2 { font-size: clamp(22px, 7.2vw, 28px); overflow-wrap: break-word; }
}
@media (max-width: 360px) { .hero:not(.place) .hero-text > .cta .btn { font-size: 14px; gap: 6px; padding-inline: 8px; } .hero:not(.place) .hero-text > .cta .btn svg { width: 16px; height: 16px; } }

/* списъкът с райони на две групи */
.areas-h { font-size: 18px; margin: 26px 0 12px; }
h2.areas-h { font-size: clamp(20px, 2.4vw, 26px); }
.tbl + h2.areas-h { margin-top: 40px; }
.hero.place h1 { font-size: clamp(38px, 4vw, 58px); }
@media (max-width: 560px) { .hero.place h1 { font-size: clamp(26px, 8.6vw, 40px); } }
/* „София“ под името в логото */
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand small { font-family: var(--f-body); font-size: 10.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); margin-top: 4px; }

/* Фиксирани цени */
.fixed { margin-top: 22px; background: var(--night-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.fixed h3 { font-size: 18px; margin-bottom: 12px; }
.fixed ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 22px; }
.fixed li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.fixed li b { font-family: var(--f-display); color: var(--amber); white-space: nowrap; }
.fixed li a { color: var(--text); text-decoration: none; border-bottom: 1px dashed var(--line); }
.fixed p { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* поводи със снимки — по-ниски карти; правила на ваучера */
.occ-small { margin-top: 20px; }
.occ-small .occ { aspect-ratio: 4 / 3; }
.occ-small .occ b { font-size: 19px; }
.occ-small .occ span { padding: 18px; font-size: 14px; }
@media (max-width: 860px) { .occ-small { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .occ-small { grid-template-columns: 1fr; } .occ-small .occ { aspect-ratio: 16 / 10; } }
.v-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.v-rules li { position: relative; padding-left: 26px; }
.v-rules li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.v-rules b { color: var(--text); }

/* значка „най-изгодни цени“ в началото на страниците */
.best { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(247,181,56,.14); border: 1px solid rgba(247,181,56,.55); color: var(--amber-2); font-weight: 700; font-size: 15px; line-height: 1.3; width: fit-content; max-width: 100%; }
.best svg { width: 18px; height: 18px; flex: none; color: var(--amber); }
@media (max-width: 560px) { .voucher { aspect-ratio: auto; gap: 14px; } }


/* Надписът за цените да се вижда ясно */
.best { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: clamp(15px, 1.5vw, 17px); padding: 9px 18px 9px 12px; }
.best svg { color: var(--amber-ink); }
.topbar .top-best { font-weight: 800; }
.topbar .top-best + span::before { display: inline; }
@media (max-width: 640px) { .topbar .in { flex-direction: column; align-items: center; gap: 1px; text-align: center; } .topbar span + span::before { content: none; } }

/* Логото: надпис Night + Drive с луна */
.wm { display: inline-flex; align-items: flex-start; font-size: 25px; letter-spacing: -.02em; line-height: 1; color: var(--text); }
.wm b { color: var(--amber); font-weight: inherit; }
.logo .wm svg, .voucher .v-top .wm svg, .wm svg { width: .56em; height: .56em; margin: -.06em 0 0 .08em; color: var(--amber); flex: none; }
@media (max-width: 400px) { .wm { font-size: 21px; } nav.top .brand small { letter-spacing: .22em; } }
@media (max-width: 340px) { .wm { font-size: 19px; } }

/* Заявка от сайта */
.o-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--amber); }
.consent a { color: var(--amber); }
.o-status { font-size: 15px; font-weight: 600; min-height: 1.4em; margin: 0; color: var(--live); }
.o-status.err { color: #ff9d8a; }
.o-or { font-size: 14px; color: var(--muted); margin: 4px 0 -4px; }
.quote .btn + .btn { margin-top: 10px; }

/* Началото: заглавието е на два реда, а бутонът за обаждане се вижда без превъртане */
.hero h1.slogan { font-size: clamp(30px, 3.7vw, 54px); }
.hero h1.slogan, .hero h1.slogan span { white-space: nowrap; }
@media (max-width: 400px) { .hero h1.slogan { font-size: 27px; } }
@media (max-width: 340px) { .hero h1.slogan { font-size: 24px; } }
.hero h1.slogan small.kw { white-space: normal; }
/* На телефон надписът за цените вече е в горната лента */
@media (max-width: 640px) { .hero .best { display: none; } }

/* ===== Живата част ===== */
.hero.alive { background: #050713; }
.hero.alive .hero-grid { padding-bottom: 170px; }
canvas.nightroad { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero.alive::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 60% 62% at 22% 30%, rgba(5,7,19,.62), rgba(5,7,19,0) 72%); }
.hero.alive .quote { box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(247,181,56,.14); }
@media (max-width: 900px) { .hero.alive .hero-grid { gap: 170px; padding-bottom: 56px; } }
.status b.clk { font-family: var(--f-display); font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }

/* пътят под менюто */
.journey { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255,255,255,.07); pointer-events: none; }
.j-fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,181,56,.2), var(--amber)); transform-origin: left; transform: scaleX(0); }
.j-car { position: absolute; left: 0; top: -13px; margin-left: -15px; display: flex; align-items: center; gap: 5px; color: var(--amber); will-change: transform; filter: drop-shadow(0 0 6px rgba(247,181,56,.65)); }
.j-car svg { width: 30px; height: 14px; flex: none; }
.j-time { position: absolute; left: 34px; top: -1px; font: 700 11px/1 var(--f-display); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; background: rgba(8,11,22,.86); padding: 3px 5px; border-radius: 5px; }
.j-car.flip-text .j-time { left: auto; right: 34px; }
@media (max-width: 640px) { .j-car svg { width: 24px; height: 11px; } .j-car { top: -10px; margin-left: -12px; } .j-time { font-size: 10px; left: 28px; } .j-car.flip-text .j-time { right: 28px; } }

/* плъзгачът за цена */
.kmdrive { position: relative; background: linear-gradient(180deg, #111830, #0b1022); border: 1px solid rgba(247,181,56,.28); border-radius: 22px; padding: clamp(20px, 3.4vw, 38px); display: flex; flex-direction: column; gap: 16px; }
.kd-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.kd-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 240px; }
.kd-info b { font-family: var(--f-display); font-size: clamp(18px, 2.2vw, 24px); }
.kd-info span { color: var(--muted); font-size: 15px; min-height: 2.8em; }
.kd-top strong { font-family: var(--f-display); font-size: clamp(44px, 7vw, 76px); line-height: 1; color: var(--amber); white-space: nowrap; font-variant-numeric: tabular-nums; text-shadow: 0 0 34px rgba(247,181,56,.34); }
.kd-label { font-size: 14px; font-weight: 600; color: var(--amber); letter-spacing: .02em; }
#kd-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: grab; --p: 23%; }
#kd-range:active { cursor: grabbing; }
#kd-range::-webkit-slider-runnable-track { height: 14px; border-radius: 7px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 14px, transparent 14px 28px) center / 100% 2px no-repeat, linear-gradient(90deg, var(--amber) var(--p), #1b2340 var(--p)); }
#kd-range::-moz-range-track { height: 14px; border-radius: 7px; background: #1b2340; }
#kd-range::-moz-range-progress { height: 14px; border-radius: 7px; background: var(--amber); }
#kd-range::-webkit-slider-thumb { -webkit-appearance: none; width: 62px; height: 30px; margin-top: -8px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 30'%3E%3Cpath d='M3 22v-6q0-3 3-3.500l9-1.500 8-8q2-2 5-2h12q4 0 6 3l6 6.500 4 1q3 1 3 4v6.500h-6a6 6 0 0 0-12 0H21a6 6 0 0 0-12 0z' fill='%23f7b538'/%3E%3Cpath d='M26 5h6v7H19zM35 5h5q2 0 3 1.500L47 12H35z' fill='%23111830'/%3E%3Ccircle cx='15' cy='23' r='5' fill='%23111830' stroke='%23f7b538' stroke-width='2'/%3E%3Ccircle cx='47' cy='23' r='5' fill='%23111830' stroke='%23f7b538' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 4px 12px rgba(247,181,56,.5)); }
#kd-range::-moz-range-thumb { width: 62px; height: 30px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 30'%3E%3Cpath d='M3 22v-6q0-3 3-3.500l9-1.500 8-8q2-2 5-2h12q4 0 6 3l6 6.500 4 1q3 1 3 4v6.500h-6a6 6 0 0 0-12 0H21a6 6 0 0 0-12 0z' fill='%23f7b538'/%3E%3Ccircle cx='15' cy='23' r='5' fill='%23111830' stroke='%23f7b538' stroke-width='2'/%3E%3Ccircle cx='47' cy='23' r='5' fill='%23111830' stroke='%23f7b538' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
#kd-range:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 10px; }
.kd-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: -8px; }
.kmdrive > .btn { align-self: flex-start; }
.kd-note { font-size: 14px; color: var(--muted); margin: 0; }
.kd-note a { color: var(--amber); }
@media (max-width: 560px) { .kmdrive > .btn { align-self: stretch; } }

/* светлина под мишката */
.lit { position: relative; }
.lit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(247,181,56,.09), rgba(247,181,56,0) 70%); }

/* плавни появи */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.rv.rv-in { opacity: 1; transform: none; }

/* основният бутон „диша“ като фар */
@keyframes headlight { 0%, 100% { box-shadow: 0 8px 26px rgba(247,181,56,.28); } 50% { box-shadow: 0 8px 44px rgba(247,181,56,.58); } }
.hero .cta .btn-main, .callbar .btn-main { animation: headlight 3.2s ease-in-out infinite; }
@media print { .journey, canvas.nightroad { display: none; } .rv { opacity: 1; transform: none; } }

/* Началото е по-стегнато, за да се вижда шосето без превъртане */
.hero.alive { padding-top: 30px; }
.hero.alive .hero-text { gap: 14px; }
.hero.alive .hero-text > .status, .hero.alive .hero-text > .best { display: inline-flex; }
@media (min-width: 901px) {
  .hero.alive .hero-text { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero.alive .hero-text > * { flex: 0 0 100%; }
  .hero.alive .hero-text > .status, .hero.alive .hero-text > .best { flex: 0 0 auto; }
  .hero.alive .hero-text > .save-contact { display: none; }
  .hero.alive .hero-grid { padding-bottom: 120px; align-items: start; }
}

/* Началото: един ясен ред за цена и един спокоен ред текст вместо хапчета */
.heroprice { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.heroprice b { font-family: var(--f-display); font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; line-height: 1; color: var(--amber); white-space: nowrap; }
.heroprice span { display: flex; flex-direction: column; gap: 3px; font-size: 16px; font-weight: 600; color: var(--text); min-width: 0; }
.heroprice small { font-size: 14px; font-weight: 600; color: var(--amber); }
.herofacts { margin: 0; font-size: 15px; color: #c9cee0; }
.hero.alive .hero-text > .heroprice { display: flex; }

/* Златен ред: семпъл, но с характер */
.herofacts { list-style: none; margin: 2px 0 4px; padding: 13px 0; display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 14.5px; font-weight: 600; color: #e6e2d4; border-top: 1px solid transparent; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, rgba(247,181,56,.75), rgba(247,181,56,.14) 85%, rgba(247,181,56,0)) 1; }
.herofacts li { display: inline-flex; align-items: center; gap: 8px; padding-right: 15px; margin-right: 15px; border-right: 1px solid rgba(247,181,56,.32); white-space: nowrap; }
.herofacts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.herofacts svg { width: 18px; height: 18px; flex: none; color: var(--amber); filter: drop-shadow(0 0 5px rgba(247,181,56,.45)); }
.heroprice { flex-wrap: nowrap; }
.heroprice b { text-shadow: 0 0 26px rgba(247,181,56,.32); }
@media (max-width: 640px) {
  .herofacts { flex-direction: column; gap: 9px; padding: 12px 0; }
  .herofacts li { border-right: 0; margin-right: 0; padding-right: 0; }
}

/* Златният ред се събира на един ред на компютър, а на телефон е по-стегнат */
.herofacts { font-size: 14px; flex-wrap: nowrap; }
.herofacts li { padding-right: 11px; margin-right: 11px; gap: 7px; }
.herofacts svg { width: 16px; height: 16px; }
@media (max-width: 1120px) and (min-width: 641px) { .herofacts { flex-wrap: wrap; } }
@media (max-width: 640px) {
  .herofacts { flex-wrap: nowrap; gap: 7px; }
  .heroprice { gap: 12px; }
  .heroprice b { font-size: 34px; }
  .heroprice span { font-size: 14px; }
  .heroprice small { display: none; }
}

/* Превключвател за варианти: вижда се само при преглед на нашия компютър */
.herosw { position: fixed; left: 12px; bottom: 90px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: calc(100vw - 24px); background: rgba(8,11,22,.92); border: 1px solid rgba(247,181,56,.5); border-radius: 12px; padding: 7px 9px; font-size: 13px; }
.herosw b { color: var(--amber); }
.herosw a { color: var(--text); text-decoration: none; padding: 4px 8px; border-radius: 7px; border: 1px solid rgba(255,255,255,.15); }
.herosw a.on { background: var(--amber); color: var(--amber-ink); font-weight: 700; }

/* Трите стъпки с кола по пътя */
.steps.rail-on { padding-top: 46px; }
.steprail { position: absolute; top: 18px; left: 16.6%; right: 16.6%; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 12px, transparent 12px 24px); }
.sr-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--amber); box-shadow: 0 0 12px rgba(247,181,56,.7); border-radius: 2px; }
.sr-dot { position: absolute; top: 50%; left: var(--at); width: 13px; height: 13px; margin: -6.500px 0 0 -6.500px; border-radius: 50%; background: var(--night-2); border: 2px solid rgba(255,255,255,.4); transition: background .35s, border-color .35s, box-shadow .35s; }
.sr-dot.on { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 14px var(--amber); }
.sr-car { position: absolute; left: var(--p, 0%); top: -17px; margin-left: -19px; width: 38px; height: 18px; color: var(--amber); filter: drop-shadow(0 0 8px rgba(247,181,56,.7)); }
.sr-car svg { display: block; width: 100%; height: 100%; }
.steps.rail-on .step .shot { filter: brightness(.5) saturate(.65); transition: filter .6s ease, transform .6s ease; }
.steps.rail-on .step.on .shot { filter: none; transform: translateY(-3px); }
.steps.rail-on .step h3, .steps.rail-on .step p { opacity: .55; transition: opacity .5s ease; }
.steps.rail-on .step.on h3, .steps.rail-on .step.on p { opacity: 1; }
.steps.rail-on .step .ico { transition: box-shadow .5s ease, border-color .5s ease; }
.steps.rail-on .step.on .ico { border-color: rgba(247,181,56,.6); box-shadow: 0 0 28px rgba(247,181,56,.28); }
@media (max-width: 820px) {
  .steps.rail-on { padding-top: 0; padding-left: 34px; }
  .steprail { top: 8px; bottom: 8px; left: 10px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.3) 0 12px, transparent 12px 24px); }
  .sr-fill { left: 0; right: 0; width: auto; height: var(--p, 0%); bottom: auto; }
  .sr-dot { left: 50%; top: var(--at); margin: -6.500px 0 0 -6.500px; }
  .sr-car { left: 50%; top: var(--p, 0%); margin: -9px 0 0 -19px; transform: rotate(90deg); }
}

/* Краят на страницата: нощната магистрала бавно оживява */
@keyframes slowdrive { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(2.5%); } }
.final > .bg-img { animation: slowdrive 28s ease-in-out infinite alternate; }
@keyframes telglow { 0%, 100% { text-shadow: 0 0 34px rgba(247,181,56,.32); } 50% { text-shadow: 0 0 62px rgba(247,181,56,.62); } }
.final .big-tel { animation: telglow 4.2s ease-in-out infinite; }

/* Варианти на цвета за сравнение */
:root[data-tema="shampansko"] { --amber: #e6cd98; --amber-2: #f6e6bf; --amber-ink: #1c170b; }
:root[data-tema="led"] { --amber: #8fd0ff; --amber-2: #c6e8ff; --amber-ink: #06202f; }
.herosw i { width: 1px; height: 20px; background: rgba(255,255,255,.2); margin: 0 3px; }

.herosw { display: block; }
.herosw summary { cursor: pointer; color: var(--amber); font-weight: 700; }
.hs-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }

/* скорост: частите далеч под екрана се подреждат чак когато се доближат */
html:not(.cv-off) #kolata, html:not(.cv-off) #kolata ~ section { content-visibility: auto; contain-intrinsic-size: auto 760px; }

/* телефон: първият екран без повторения */
.hero .kw-sep { font-style: normal; }
.hero .kw2 { font-style: normal; }
.hero.alive .kw { text-shadow: 0 1px 10px rgba(5,7,19,.9); }
@media (max-width: 640px) {
  .topbar span + span { display: none; }
  .hero .kw-sep { display: none; }
  .hero .kw2 { display: block; }
}
@media (max-width: 780px) {
  .callbar { transition: transform .28s cubic-bezier(.2,.7,.2,1); }
  body:has(.hero .cta):not(.past-cta) .callbar { transform: translateY(110%); }
}

/* над движещата се сцена размазването на фона се смята при всеки кадър, а почти не се вижда */
.hero.alive .quote { backdrop-filter: none; background: rgba(15, 20, 38, .94); }
.hero.alive .btn-ghost, .hero.alive .status { backdrop-filter: none; }

/* вариант 3D */
canvas.scene3d { z-index: 0; opacity: 0; transition: opacity 1.1s ease; -webkit-mask-image: linear-gradient(#000 calc(100% - 150px), transparent); mask-image: linear-gradient(#000 calc(100% - 150px), transparent); }
canvas.scene3d.on { opacity: 1; }
@media (min-width: 901px) { .hero.alive.is3d::after { background: linear-gradient(90deg, rgba(5,7,19,.8) 0, rgba(5,7,19,.58) 36%, rgba(5,7,19,0) 58%); } }
@media (max-width: 900px) { .hero.alive.is3d .hero-grid { gap: 260px; } }

/* вариант „пътуване“: сцената е зад целия сайт и камерата следва превъртането */
canvas.trip3d { position: fixed; inset: 0 0 auto 0; width: 100%; z-index: -1; -webkit-mask-image: none; mask-image: none; }
body.trip { background: #050713; }
body.trip .hero.alive { background: transparent; }
body.trip section:not(.hero):not(.photo-bg), body.trip .strip { background: linear-gradient(180deg, rgba(6,8,18,0), rgba(6,8,18,.7) 140px, rgba(6,8,18,.7) calc(100% - 140px), rgba(6,8,18,0)); }
body.trip #kak, body.trip #ceni, body.trip #poruchka, body.trip #kolata, body.trip #raioni, body.trip #vaprosi { margin-top: 46vh; }
body.trip .final { margin-top: 70vh; }
@media (max-width: 900px) { body.trip .hero.alive .hero-grid { gap: 40vh; } }

/* вариант „луна“: първият екран е само текст и 3D, картата за цена е под него */
.hero.isluna .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero.isluna .hero-text { min-height: calc(92vh - 150px); justify-content: flex-start; align-content: center; max-width: 680px; }
.hero.isluna .quote { max-width: 760px; width: 100%; }
canvas.luna3d { height: 100vh; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
@media (min-width: 901px) { .hero.alive.isluna::after { background: linear-gradient(90deg, rgba(5,7,19,.62) 0, rgba(5,7,19,.25) 42%, rgba(5,7,19,0) 58%); } }
@media (max-width: 900px) { .hero.isluna .hero-grid { gap: 40px; } .hero.isluna .hero-text { min-height: 0; padding-top: 12vh; } }
body.trip section.photo-bg { -webkit-mask-image: linear-gradient(transparent, #000 130px, #000 calc(100% - 130px), transparent); mask-image: linear-gradient(transparent, #000 130px, #000 calc(100% - 130px), transparent); }
body.trip section.final.photo-bg { -webkit-mask-image: linear-gradient(transparent, #000 130px); mask-image: linear-gradient(transparent, #000 130px); }

/* варианти „3D снимка“ */
.hero.isfoto { background-image: url(img/sofia1-1280.webp); background-size: cover; background-position: 56% 30%; background-repeat: no-repeat; background-color: #050713; }
canvas.foto3d { -webkit-mask-image: linear-gradient(#000 calc(100% - 170px), transparent); mask-image: linear-gradient(#000 calc(100% - 170px), transparent); transition-duration: .7s; }
@media (min-width: 901px) { .hero.alive.isfoto::after { background: linear-gradient(90deg, rgba(5,7,19,.88) 0, rgba(5,7,19,.76) 40%, rgba(5,7,19,.2) 58%, rgba(5,7,19,0) 68%); } }

.hero.isfoto .quote { background: rgba(13, 18, 35, .92); }

/* телефон: над 90% от клиентите. Първо заглавие, цена и голям бутон, а подробностите са след тях */
@media (max-width: 900px) {
  .hero.alive .hero-text > .slogan { order: 1; }
  .hero.alive .hero-text > .sub { order: 2; }
  .hero.alive .hero-text > .heroprice { order: 3; }
  .hero.alive .hero-text > .cta { order: 4; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .hero.alive .hero-text > .herofacts { order: 5; }
  .hero.alive .hero-text > .status { order: 6; }
  .hero.alive .hero-text > .save-contact { order: 7; }
  .hero.alive .hero-text > .cta .btn { min-height: 62px; }
  .hero.alive .hero-text > .cta .btn-main { font-size: 18px; }
  .hero.alive .hero-text > .cta .btn-ghost { font-size: 14px; white-space: nowrap; gap: 6px; padding-inline: 6px; }
  /* снимката е лента най-горе, а текстът е върху тъмно и се чете лесно */
  .hero.alive.isfoto { padding-top: 0; background-size: auto 330px; background-position: 57% top; }
  .hero.alive.isfoto::after { inset: 0 0 auto 0; height: 330px; background: linear-gradient(180deg, rgba(5,7,19,.12) 0, rgba(5,7,19,0) 45%, rgba(5,7,19,.62) 76%, #050713 100%); }
  .hero.alive.isfoto .hero-text { padding-top: 206px; gap: 12px; }
  .hero.alive.isfoto .hero-grid { gap: 40px; }
  canvas.foto3d { -webkit-mask-image: linear-gradient(#000 calc(100% - 70px), transparent); mask-image: linear-gradient(#000 calc(100% - 70px), transparent); }
  .hero.alive.isfoto .kw2, .hero.alive.isfoto .kw-sep { display: none; }
}
@media (max-width: 900px) and (max-height: 689px) {
  .hero.alive.isfoto { background-size: auto 236px; }
  .hero.alive.isfoto::after { height: 236px; }
  .hero.alive.isfoto .hero-text { padding-top: 130px; gap: 9px; }
  .hero.alive.isfoto .sub { font-size: 15px; line-height: 1.35; }
  .hero.alive .hero-text > .cta .btn { min-height: 56px; }
}
/* в чата на заявката: истинското лого с луната вместо буква */
.phone .bar i.av { background: #070a14; overflow: hidden; border: 1px solid rgba(247,181,56,.35); }
.phone .bar i.av img { width: 100%; height: 100%; display: block; border-radius: 50%; }
@media (max-width: 900px) { .hero.isfoto { background-image: url(img/sofia1-800.webp); } }
/* рисуваното шосе (варианти А, Б, В) не свършва с ръб, а избледнява в тъмното */
.hero.alive canvas.nightroad:not(.scene3d) { -webkit-mask-image: linear-gradient(#000 calc(100% - 260px), transparent); mask-image: linear-gradient(#000 calc(100% - 260px), transparent); }
