/* ==========================================================================
   Контакти — само за тази страница (общото е в /styles.css).
     1  героят: човекът под лампата — осветеното лице, светещият номер, един жив ред, пощата
     2  формата (само име и телефон) и писмото, което се пише само; „Изпратете“ светва
     3  фирмата: визитката с ивиците и вдлъбнатината (сваля .vcf)
     4  финалът: голямото заглавие, „30–40 минути“, бутонът и разговорът по видео
     5  движение (само при prefers-reduced-motion: no-preference)
     6  таблет и телефон
   Лампата тук е единствената на страницата и е различна от тези на началото:
   стои изправена (като PDR лампа на стойка), дълга е колкото редовете до нея
   и свети настрани — върху лицето и номера.
   ========================================================================== */

/* ---------- 1 · героят ---------- */
.k-hero { padding-bottom: clamp(40px, 4vw, 64px); }
.k-hero::after { content: ""; position: absolute; left: 60%; top: 54%; width: 980px; height: 760px; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow), .16), rgba(var(--glow), .04) 60%, transparent); }
.k-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.k-hero .k-h1 { max-width: 9ch; font-size: clamp(2.6rem, 1rem + 4.4vw, 4.8rem); text-wrap: balance; }

/* пейката: лампата стои вляво, светлината пада надясно върху Николай и номера */
.k-bench { position: relative; padding: 48px 0 48px clamp(72px, 6.4vw, 104px); }
/* стойката е висока колкото пейката (контейнер с размер), лампата върху нея е дълга 100cqh */
.k-pole { position: absolute; left: 22px; top: 8px; bottom: 8px; width: 22px; translate: -50% 0; container-type: size; pointer-events: none; }
.k-lamp { --lw: 100cqh; --lh: 22px; --lx: 50%; --lt: 50%; translate: -50% -50%; rotate: 90deg; }
.k-lamp .lamp-bar::after { top: 4px; bottom: 4px; }
/* клинът светлина: светъл при лампата, затихва към номера. Под реда за часа и пощата
   фонът остава тъмен (контраст ≥ 4,5:1); номерът има свое петно (.k-tel::before) */
.k-cone { position: absolute; z-index: 0; left: 22px; top: 50%; width: min(900px, 70vw); height: 700px; translate: 0 -50%; pointer-events: none; filter: blur(20px); transform-origin: 0 50%; }
.k-cone::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0 24%, 0 76%, 100% 100%, 100% 0);
  background: linear-gradient(90deg, rgba(214, 236, 255, .27) 0%, rgba(172, 212, 247, .12) 18%, rgba(var(--glow), .09) 50%, rgba(var(--glow), 0) 90%); }
.k-lines { position: relative; z-index: 1; display: grid; justify-items: start; }

/* кой вдига: портретът е осветен откъм лампата — светъл ръб отляво, сянка вдясно */
.k-who { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); margin-bottom: clamp(14px, 1.4vw, 20px); }
.k-who b { font-size: clamp(1.45rem, 1rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
.k-face { position: relative; isolation: isolate; width: clamp(104px, 4.6vw + 56px, 124px); aspect-ratio: 1; flex: none; border-radius: 50%;
  box-shadow: -18px 0 42px -14px rgba(206, 232, 255, .62), 0 22px 40px -18px rgba(0, 0, 0, .95); }
/* пръстенът: ярък откъм лампата, гасне надясно */
.k-face::before { content: ""; position: absolute; z-index: -1; inset: -3px; border-radius: 50%;
  background: linear-gradient(105deg, #eaf5ff 0%, rgba(186, 222, 255, .75) 22%, rgba(120, 170, 215, .28) 52%, rgba(40, 60, 80, .35) 80%); }
.k-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #0a1016; filter: brightness(1.32) contrast(1.04) saturate(1.05); }
.k-face::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(95deg, rgba(214, 236, 255, .18), rgba(214, 236, 255, 0) 42%, rgba(4, 8, 12, .12)); }

.k-tel { position: relative; display: inline-flex; align-items: center; min-height: 44px; border-radius: 14px; }
/* светлото петно на лампата върху номера */
.k-tel::before { content: ""; position: absolute; z-index: -1; left: -16%; right: -20%; top: -80%; bottom: -80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 230, 255, .2), rgba(var(--glow), .09) 58%, transparent); }
.k-tel b { position: relative; display: block; font-size: clamp(2.5rem, .8rem + 3.9vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; white-space: nowrap; color: #f4f9ff;
  text-shadow: 0 0 30px rgba(var(--glow), .6), 0 0 80px rgba(var(--glow), .34); transition: color .4s, text-shadow .4s; }
/* отражението на ивиците минава веднъж през цифрите (копие на текста, скрито за четците) */
.k-glint { display: none; }
.k-tel:focus-visible { outline-offset: 8px; }

/* един ред за часа: в работно време е зелен и с точка, иначе — кога да звъннат или да оставят телефон */
.k-hours { margin-top: 18px; max-width: 32em; font-size: 1.06rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.k-hrs { color: var(--ink); font-weight: 600; }
.k-hours.open { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--green); font-weight: 600; }
.k-hours.open .k-hrs { color: inherit; }
.k-hours.open::before { content: ""; width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; flex: none;
  background: var(--green); box-shadow: 0 0 0 3px rgba(var(--green-rgb), .18), 0 0 12px rgba(var(--green-rgb), .8); }
.k-hours a { color: var(--blue-hi); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(156, 203, 242, .45); text-underline-offset: .2em; transition: color .25s, text-decoration-color .25s; }

.k-mail-row { margin-top: clamp(24px, 2.6vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.k-mail { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.3rem, .75rem + 1.45vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: var(--ice);
  text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(156, 203, 242, .32); text-underline-offset: .22em; transition: color .3s, text-decoration-color .3s; }
.k-clip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--edge); transition: background-color .25s, color .25s, box-shadow .25s; }
.k-clip[hidden] { display: none; }
.k-clip .ic { width: 18px; height: 18px; }
.k-clip.done { color: var(--green); box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .35); }

@media (hover: hover) {
  .k-tel:hover b { color: #fff; text-shadow: 0 0 34px rgba(var(--glow), .85), 0 0 96px rgba(var(--glow), .5); }
  .k-mail:hover { color: #fff; text-decoration-color: currentColor; }
  .k-clip:hover { background: rgba(255, 255, 255, .1); color: var(--ink); }
  .k-hours a:hover { color: #fff; text-decoration-color: currentColor; }
}

/* ---------- 2 · формата и писмото ---------- */
.k-write { padding-top: clamp(32px, 3vw, 48px); }
/* формата е тясна (две полета и бутон), писмото е главната картина — голямо, до полетата */
.k-write-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 56px); align-items: start; }
.k-form { margin-top: 32px; }
.k-form .form-error { margin-top: -2px; }
.k-more { display: grid; gap: 16px; }
.k-more-btn { display: none; }
/* „Сервиз и въпрос“ се отварят на място (без JS полетата са отворени) */
.js .k-more-btn { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 48px; margin: -6px 0 -4px; padding: 0 6px 0 2px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; color: var(--blue-hi); transition: color .25s; }
.js .k-more-btn .ic { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.js .k-more-btn[aria-expanded="true"] { display: none; }
.js .k-more:not(.open) { display: none; }
@media (hover: hover) {
  .js .k-more-btn:hover { color: #fff; }
  .js .k-more-btn:hover .ic { transform: rotate(90deg); }
}
.k-letter-slot:empty { display: none; }

/* „Изпратете“: единственият бутон на формата — стъклен, със светещ син ръб (без преливката,
   тя е само за „Безплатно демо“). Щом името и телефонът са наред (.ready), светва като лампата. */
.k-send { display: grid; gap: 10px; margin-top: 8px; }
.k-send-btn { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 14px 24px; border-radius: 16px;
  font-size: 17.5px; font-weight: 700; line-height: 1.2; color: #fff;
  background: linear-gradient(180deg, rgba(85, 145, 196, .17), rgba(85, 145, 196, .07));
  box-shadow: inset 0 0 0 1px rgba(156, 203, 242, .6), inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 36px -22px rgba(var(--glow), .8);
  transition: background-color .4s, box-shadow .5s var(--ease), transform .35s var(--ease), text-shadow .5s; }
/* ореолът на ръба: слаб в покой, пълен при .ready */
.k-send-btn::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; opacity: .35;
  box-shadow: 0 0 26px 1px rgba(var(--glow), .75), 0 0 64px 6px rgba(var(--glow), .35); transition: opacity .6s var(--ease); }
.k-send-btn .ic { width: 20px; height: 20px; color: var(--blue-hi); transition: transform .35s var(--ease), color .4s; }
.k-send-btn:active { transform: scale(.985); transition-duration: .1s; }
.k-send-btn:focus-visible { outline-offset: 4px; border-radius: 18px; }
.k-form.ready .k-send-btn { background: linear-gradient(180deg, rgba(85, 145, 196, .34), rgba(85, 145, 196, .16)); text-shadow: 0 0 16px rgba(150, 200, 245, .8);
  box-shadow: inset 0 0 0 1.5px var(--blue-hi), inset 0 1px 0 rgba(255, 255, 255, .16), 0 20px 44px -18px rgba(var(--glow), 1); }
.k-form.ready .k-send-btn::before { opacity: 1; }
.k-form.ready .k-send-btn .ic { color: #fff; }
@media (hover: hover) {
  .k-send-btn:hover { background: linear-gradient(180deg, rgba(85, 145, 196, .26), rgba(85, 145, 196, .12)); }
  .k-send-btn:hover::before { opacity: .6; }
  .k-form.ready .k-send-btn:hover::before { opacity: 1; }
  .k-send-btn:hover .ic { transform: translate(2px, -1px); }
}
.k-send .form-note { line-height: 1.45; text-wrap: pretty; }

/* след „Изпратете“: един ред и отделно — телефонът, ако пощата не се отвори */
.k-status:empty { display: none; }
.k-status { display: grid; gap: 4px; margin-top: 4px; font-size: 1rem; line-height: 1.45; }
.k-st-ok { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--green); }
.k-st-ok .ic { width: 22px; height: 22px; margin-top: -1px; flex: none; stroke-width: 2.2; }
.k-st-alt { padding-left: 32px; color: var(--ink-2); }
.k-st-alt a { white-space: nowrap; }

/* за клиентите: един ред, пътят в приложението не се разделя */
.k-client { margin-top: 28px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.k-path { white-space: nowrap; color: var(--ink); font-weight: 600; }
.k-chev { display: inline-block; width: 15px; height: 15px; margin: 0 4px; vertical-align: -2px; color: var(--ink-3); stroke-width: 2.2; }

/* полетата (ръб ~3:1, пълнеж, фокус, грешка, посочване, автоматично попълване) са общите — .form в styles.css */

/* писмото: бял лист като протоколите в приложението; пише се, докато попълвате */
.k-letter-col { position: relative; align-self: start; display: grid; justify-items: start; padding-top: clamp(40px, 4.6vw, 70px); margin-left: clamp(-40px, -2vw, -16px); }
.k-letter-col::before { content: ""; position: absolute; left: 46%; top: 54%; width: 720px; height: 680px; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow), .3), rgba(var(--glow), .07) 60%, transparent); }
.k-letter { position: relative; width: min(100%, 520px); padding: 28px 32px 22px; border-radius: 20px; background: #f3f6f9; color: #1c2733; rotate: 2deg;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 70px 100px -44px rgba(0, 0, 0, .95), 0 0 100px rgba(210, 232, 255, .16); }
.kl-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; box-shadow: inset 0 -1px 0 #dde4eb; }
.kl-head img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.kl-to { flex: 1; min-width: 0; }
.kl-to b { display: block; font-size: 1.12rem; line-height: 1.25; }
.kl-to span { display: block; font-size: .94rem; color: #56677a; }
.kl-subj { display: flex; gap: 12px; padding: 15px 0; font-size: 1rem; box-shadow: inset 0 -1px 0 #dde4eb; }
.kl-subj > span { color: #56677a; }
.kl-subj b { font-weight: 600; overflow-wrap: anywhere; }
.kl-body { display: grid; gap: 4px; padding-top: 16px; font-size: 1.08rem; }
.kl-body p { padding: 5px 8px; margin-inline: -8px; border-radius: 8px; overflow-wrap: anywhere; }
.kl-body p > span { color: #56677a; }
.kl-body b { font-weight: 600; }
.kl-msg { min-height: 3.2em; margin-top: 6px; white-space: pre-line; line-height: 1.5; }
/* примерът е с по-светло мастило и наклонен (контрастът остава AA: #5b6b7c върху листа ≈ 5:1) */
.k-letter.is-ex [data-out] { font-weight: 500; font-style: italic; color: #5b6b7c; }
.kl-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -.2em; border-radius: 1px; background: #3b73a3; }
/* долу в листа: думата „пример“, а след „Изпратете“ — „Готово за „Изпрати““ (без бутон — той е един, във формата) */
.kl-foot { position: relative; display: flex; align-items: center; min-height: 28px; margin-top: 14px; }
.kl-ex { font-size: .92rem; font-style: italic; color: #5b6b7c; transition: opacity .35s var(--ease); }
.k-letter:not(.is-ex) .kl-ex { opacity: 0; }
.kl-ok { position: absolute; right: 0; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 6px; font-size: .96rem; font-weight: 700; color: #17754c;
  opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.kl-ok .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.k-letter.sent .kl-ok { opacity: 1; transform: none; }

/* малкото писмо (телефон): стои във формата над бутона — глава и два реда, Име и Телефон;
   сервизът и въпросът се показват само ако са попълнени */
.k-letter-slot { margin-top: 2px; }
.k-letter-slot .k-letter { width: 100%; padding: 14px 16px 12px; border-radius: 16px; rotate: -1deg;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 50px -26px rgba(0, 0, 0, .95), 0 0 60px rgba(210, 232, 255, .12); }
.k-letter-slot .kl-head { gap: 10px; padding-bottom: 10px; padding-right: 64px; }
.k-letter-slot .kl-head img { width: 34px; height: 34px; border-radius: 9px; }
.k-letter-slot .kl-to b { font-size: .95rem; }
.k-letter-slot .kl-to span { font-size: .875rem; }
.k-letter-slot .kl-subj { display: none; }
.k-letter-slot .kl-body { gap: 0; padding-top: 8px; font-size: .95rem; }
.k-letter-slot .kl-body p { padding-block: 3px; }
.k-letter-slot [data-row="shop"]:not(.has), .k-letter-slot [data-row="msg"]:not(.has) { display: none; }
.k-letter-slot .kl-msg { min-height: 0; margin-top: 0; }
.k-letter-slot .kl-foot { position: static; min-height: 0; margin: 0; }
.k-letter-slot .kl-ex { position: absolute; top: 14px; right: 16px; }
.k-letter-slot .kl-ok { position: static; translate: none; display: none; margin-top: 6px; font-size: .9rem; }
.k-letter-slot .k-letter.sent .kl-ok { display: inline-flex; }

/* ---------- 3 · фирмата: визитката ---------- */
/* визитката вляво (голяма), заглавието вдясно на нейната височина; малко въздух до финала */
.k-firm { padding-bottom: clamp(16px, 2.4vw, 36px); }
.k-firm-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "deck copy"; column-gap: clamp(40px, 6vw, 96px); align-items: center; }
.k-firm-copy { grid-area: copy; }
.k-firm-copy .link-arrow { margin-top: 14px; }
.k-card-col { grid-area: deck; display: grid; justify-items: start; }

/* колодата: предната карта е в потока (1 : 1,6), задната стои зад нея */
.k-deck { position: relative; width: min(100%, 600px); perspective: 1400px; margin-block: 24px 0; }
.k-deck::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; height: 190%; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow), .3), rgba(var(--glow), .06) 60%, transparent); }
.k-card { display: block; border-radius: 20px; }
.k-card-back { position: absolute; inset: 0; rotate: 6deg; translate: 6% 8%;
  background: linear-gradient(160deg, #121b24, #0a1016 70%);
  box-shadow: inset 0 0 0 1px rgba(186, 222, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .95); }
/* предната: в покой е изправена (текстът е остър); докато идва при скрол, се доизправя от −8° (--kr от kontakti.js) */
.k-card-front { --tx: 0; --ty: 0; position: relative; aspect-ratio: 1.6; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; row-gap: 14px; padding: clamp(24px, 3vw, 36px);
  color: var(--ink); rotate: calc(var(--kr, 0) * 1deg); transform: rotateX(calc(var(--ty) * -9deg)) rotateY(calc(var(--tx) * 12deg)); transition: transform .7s var(--ease), box-shadow .5s var(--ease);
  background: radial-gradient(90% 120% at 0% 0%, rgba(var(--glow), .2), transparent 60%), linear-gradient(160deg, #16212c, #0a1017 72%);
  box-shadow: inset 0 0 0 1px rgba(186, 222, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .1), 0 60px 100px -50px rgba(0, 0, 0, .95), 0 40px 90px -50px rgba(var(--glow), .7); }
.k-card-front:focus-visible { outline-offset: 6px; border-radius: 20px; }
/* ивиците и отблясъкът са в своя рамка (подрязани), за да не реже картата текста */
.kv-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.kv-warp { position: absolute; inset: 0; }
.kv-warp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
/* като A–D: сини ленти със светли ръбове; ярко около вдлъбнатината (горе вдясно, където няма текст),
   слабо под името и данните */
.kv-warp:not(.kv-glint) { -webkit-mask-image: radial-gradient(64% 92% at 80% 30%, #000 22%, rgba(0, 0, 0, .46) 60%, rgba(0, 0, 0, .15) 100%);
  mask-image: radial-gradient(64% 92% at 80% 30%, #000 22%, rgba(0, 0, 0, .46) 60%, rgba(0, 0, 0, .15) 100%); }
.kw-band { fill-opacity: .28; }
.kw-edge { fill: none; stroke-width: 1.15; stroke-linejoin: round; stroke-opacity: .95; }
/* второто копие на ивиците: светва само там, където минава светлината (веднъж, след натискането) */
.kv-glint { display: none; }
/* отблясъкът следва курсора (само мишка, kontakti.js) */
.k-card-front::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(360px circle at calc(50% + var(--tx) * 100%) calc(50% + var(--ty) * 100%), rgba(214, 236, 255, .14), transparent 60%); }
.k-card-front.tilt::after { opacity: 1; }
.kv-top { display: flex; align-items: center; gap: 12px; }
.kv-icon { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 10px 22px -8px rgba(var(--glow), .9); }
.kv-word { width: auto; height: 21px; }
.kv-who { align-self: center; }
.kv-who b { display: block; font-size: clamp(1.6rem, 1rem + 1.4vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.kv-who span { display: block; margin-top: 4px; font-size: 1.02rem; color: var(--ink-2); }
/* телефонът и имейлът държат ширината си; редът с фирмата се пренася, когато не стига място (на таблет и с „Brandyfix EOOD, Troyan, Bulgaria“) */
.kv-lines { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: end; font-style: normal; font-size: 1.06rem; line-height: 1.4; color: var(--ink-2); }
.kv-tel { grid-column: 1; font-size: 1.22rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.kv-mail { grid-column: 1; color: var(--ice); white-space: nowrap; }
.kv-firm { grid-column: 2; grid-row: 1 / 3; text-align: right; text-wrap: balance; }
@media (hover: hover) {
  .k-card-front:hover { box-shadow: inset 0 0 0 1px rgba(186, 222, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .12), 0 60px 100px -50px rgba(0, 0, 0, .95), 0 44px 100px -46px rgba(var(--glow), .95); }
}

/* „Запазете в контактите“ — под визитката на всички ширини */
.k-vcf { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 30px; padding-inline: 4px; border-radius: 10px; font-weight: 600; color: var(--blue-hi);
  text-decoration: underline; text-decoration-color: rgba(156, 203, 242, .4); text-underline-offset: .22em; transition: color .25s, text-decoration-color .25s; }
.k-vcf .ic { width: 20px; height: 20px; }
@media (hover: hover) {
  .k-vcf:hover { color: #fff; text-decoration-color: currentColor; }
}

/* ---------- 4 · финалът: демото по видео ---------- */
.k-demo { overflow-x: clip; padding-bottom: clamp(80px, 8vw, 120px); }
.k-demo::before { content: ""; position: absolute; left: 62%; top: 50%; width: 1400px; height: 980px; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow), .22), rgba(var(--glow), .06) 55%, transparent); }
/* вляво заглавие + число + бутон (тясно), вдясно разговорът (широк, екранът се чете) */
.k-demo-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 760px); grid-template-areas: "head call" "cta call"; column-gap: clamp(40px, 4vw, 64px); align-items: center; }
.k-demo-head { grid-area: head; align-self: end; }
/* заглавието е колкото h1 — финалът е най-силният удар */
.k-demo-h { max-width: 9em; font-size: clamp(2.3rem, 1rem + 2.9vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.k-demo-h .glow { text-shadow: 0 0 18px rgba(170, 214, 250, .95), 0 0 50px rgba(var(--glow), .95), 0 0 110px rgba(var(--glow), .75); }
/* светещото число от истинските: демото е 30–40 минути */
.k-demo-len { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: clamp(22px, 2.4vw, 34px); font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); font-weight: 700; color: var(--ice); }
.k-demo-len b { font-size: clamp(3.2rem, 1.6rem + 3.4vw, 5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: #f4f9ff;
  text-shadow: 0 0 30px rgba(var(--glow), .7), 0 0 80px rgba(var(--glow), .45); }
.k-demo-how { margin-top: 18px; max-width: 22em; font-size: clamp(1.06rem, .98rem + .35vw, 1.22rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.k-demo-cta { grid-area: cta; align-self: start; margin-top: 34px; }

.k-call-col { grid-area: call; position: relative; }
/* ореолът под прозореца: светлината идва от екрана */
.k-call-col::before { content: ""; position: absolute; left: 50%; bottom: -10%; width: 110%; height: 55%; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow), .5), rgba(var(--glow), .12) 60%, transparent); filter: blur(12px); }
/* прозорецът: до 760 px, изправен (текстът на приложението е остър), не по-висок от екрана
   (лента 50 + екран ширина/1,28 + бутони 64) */
.k-call { position: relative; container: kcall / inline-size; width: min(100%, 760px, max(560px, calc((100svh - 230px) * 1.28))); margin: 0 auto; border-radius: 18px; text-align: left; background: #0b1117;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 110px -14px rgba(var(--glow), .5), 0 -24px 140px -40px rgba(150, 200, 245, .4); }
.kc-bar { position: relative; z-index: 1; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 7px 0 16px; border-radius: 18px 18px 0 0; background: #111920; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04); font-size: 14.5px; }
.kc-live { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(var(--green-rgb), .85); }
.kc-time { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.kc-time[hidden] { display: none; }
.kc-title { min-width: 0; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
/* тесен прозорец: отпада само „· 30–40 мин“ — „Демо на Reflekt“ остава */
@container kcall (max-width: 600px) { .kc-len { display: none; } }
/* разделите в лентата: избират екрана; посочването или фокусът спират смяната (kontakti.js) */
.kc-tabs { margin-left: auto; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.kc-tabs button { min-height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .25s, background-color .3s, box-shadow .3s; }
.kc-tabs button.on { color: #fff; background: rgba(var(--glow), .38); box-shadow: inset 0 0 0 1px rgba(156, 203, 242, .32); }
.kc-tabs button:focus-visible { outline-offset: 1px; border-radius: 9px; }
@media (hover: hover) {
  .kc-tabs button:not(.on):hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
}
/* таблет (и всичко с пръст): разделите са ≥ 44 px */
@media (max-width: 1179.98px), (pointer: coarse) {
  .kc-bar { height: 58px; }
  .kc-tabs button { min-height: 44px; padding: 0 15px; }
}

.kc-stage { position: relative; container-type: inline-size; overflow: hidden; }
/* докато екраните се зареждат: размазан първи екран, не празна кутия */
.kc-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1377 / 1076; pointer-events: none; transform: scale(1.08); filter: blur(10px);
  background: #0b1016 url("data:image/webp;base64,UklGRowAAABXRUJQVlA4IIAAAADQBACdASogABkAPu1ur1IppiQiqAgBMB2JaQDE2BFB7J/Yj5vBBnumL3miRHzNqAD+7rD/ydIyED+Ep4JckjwQcswB0mX928co+guMykpeiDyf6V1f8Z73HuGs5ikgwMrJbBKqWMif1l4W/8NGRdOSFnRSvIIAwAqktAQQguAAAA==") center / cover no-repeat; }
/* изрезите са 1,28 : 1 — по-плътни от целия екран, за да се четат (главните числа ≥ 18 px) */
.kc-screens { position: relative; aspect-ratio: 1377 / 1076; }
.kc-s { position: absolute; inset: 0; display: block; opacity: 0; }
.kc-s.on { opacity: 1; }
.kc-s img { width: 100%; height: 100%; object-fit: cover; }

/* Николай: прозорчето с камерата виси пред долния десен ъгъл на прозореца (над бутоните) —
   в екрана влиза само с ~50 px отстрани и не закрива нито едно число */
.kc-cam { position: absolute; z-index: 3; right: -70px; bottom: -26px; width: 120px; }
@media (max-width: 1179.98px) { .kc-cam { right: -40px; } }
.kc-pip { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  background: #1a232c url("data:image/webp;base64,UklGRmIAAABXRUJQVlA4IFYAAADQAQCdASoMAA8AAwBSJZACdAD6vmhRgAD8Xg8AKXso5wagPKICSmjhfUOwmPVEwIK0Po8SgctmCPdKEOsmopu9iGD6+jISmYZjnUDdvVtHSyiiJ4TgAA==") center / cover no-repeat;
  box-shadow: 0 0 0 2.5px rgba(9, 14, 19, .95), 0 0 0 4px rgba(156, 203, 242, .85), 0 30px 50px -18px rgba(0, 0, 0, .95), 0 0 50px -6px rgba(var(--glow), .6); }
.kc-pip img { width: 100%; height: 100%; object-fit: cover; }
.kc-who { position: absolute; left: 8px; bottom: 8px; padding: 2px 9px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: #fff; background: rgba(9, 14, 19, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.kc-who b { font-weight: 600; }
.kc-who > span, .kc-wave { display: none; }
.kc-ctrl { display: flex; justify-content: center; gap: 12px; padding: 12px; border-radius: 0 0 18px 18px; background: #111920; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.kc-ctrl > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: rgba(255, 255, 255, .08); }
.kc-ctrl .ic { width: 19px; height: 19px; }
.kc-ctrl .kc-on { color: #fff; background: var(--btn); }
.kc-ctrl .kc-end { width: 56px; border-radius: 20px; color: #fff; background: #d8574d; }
.kc-hang { display: grid; rotate: 135deg; }
/* точките са само на телефон (там екраните се плъзгат) */
.kc-dots { display: none; }

/* ---------- 5 · движение ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* героят пали веднага: лампата трепва, светлината пада надясно, лицето и номерът светват
     (четими са от първия кадър), редовете се плъзгат от лампата; всичко се чете до ~0,8 s */
  .k-hero .k-h1 { animation: up .9s var(--ease) both; }
  .k-hero .glow { animation: ignite 1s .2s linear both; }
  .k-lamp::before, .k-lamp .lamp-bar::after { animation: lampOn .9s .05s linear both; }
  .k-cone { animation: kConeOn 1.1s .2s var(--ease) backwards; }
  .k-tel::before { animation: fade 1s .3s var(--ease) backwards; }
  .k-tel b { animation: kPour .9s .15s var(--ease) backwards; }
  .k-face::before { animation: lampOn .9s .1s linear both; }
  .k-face { animation: kFaceLit 1.1s .12s var(--ease) backwards; }
  .k-glint { display: block; position: absolute; inset: 0; pointer-events: none; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
    background: linear-gradient(112deg, transparent 0 38%, rgba(255, 255, 255, .95) 39.2%, transparent 40.6%, transparent 42.4%, rgba(255, 255, 255, .75) 43.4%, transparent 44.6%,
      transparent 46.4%, rgba(255, 255, 255, .55) 47.2%, transparent 48.2%, transparent 50%, rgba(255, 255, 255, .4) 50.7%, transparent 51.6%) no-repeat;
    background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text;
    /* цифрите са почти бели — отражението се вижда по ореола около ивиците */
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, .95)) drop-shadow(0 0 12px rgba(150, 205, 255, .95)) drop-shadow(0 0 26px rgba(110, 175, 235, .7));
    animation: kGlint 1.4s .8s var(--ease-io) both; }
  .k-who, .k-hours, .k-mail-row { animation: kIn .7s var(--ease) backwards; }
  .k-hours { animation-delay: .08s; }
  .k-mail-row { animation-delay: .16s; }
  .k-hours.vis.open::before { animation: kLive 2.4s ease-in-out infinite; }

  /* писмото идва като лист, оставен на масата; примерът се написва сам; редът, който пишете, светва за миг */
  .js .k-letter-col:not(.in) .k-letter { opacity: 0; transform: translateY(70px) rotate(7deg); filter: blur(6px); }
  .k-letter { transition: opacity .9s var(--ease) .1s, transform 1.2s var(--ease) .1s, filter .9s var(--ease) .1s; }
  .kl-body p.hit { animation: kHit .9s var(--ease); }
  .k-letter.sent { animation: kSent .8s var(--ease); }
  .k-write.vis .kl-caret { animation: kBlink 1.05s steps(1) infinite; }
  /* „Изпратете“ светва като лампата, щом името и телефонът са наред */
  .k-send-btn::before { transition: opacity .7s var(--ease); }

  /* визитките се раздават: задната, после предната (завъртането идва от скрола — --kr);
     после вдлъбнатината се натиска (kontakti.js) и светлината минава веднъж по ивиците */
  .js .k-deck:not(.in) .k-card-back { opacity: 0; translate: -26% 4%; rotate: -12deg; }
  .js .k-deck:not(.in) .k-card-front { opacity: 0; translate: -34% 12%; }
  .k-card-back { transition: opacity .8s var(--ease), translate 1.2s var(--ease), rotate 1.2s var(--ease); }
  .k-card-front { transition: transform .7s var(--ease), box-shadow .5s var(--ease), opacity .8s var(--ease) .18s, translate 1.3s var(--ease) .18s; }
  .k-card-front.tilt { transition: transform .25s ease-out, box-shadow .5s var(--ease), opacity .8s var(--ease), translate 1.3s var(--ease); }
  .kv-glint { display: block; opacity: 0; filter: drop-shadow(0 0 3px rgba(210, 236, 255, .85));
    -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 48%, #000 52%, transparent 60%); mask-image: linear-gradient(100deg, transparent 40%, #000 48%, #000 52%, transparent 60%);
    -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  .kv-glint .kw-band { fill: #e6f3ff; fill-opacity: .55; }
  .kv-glint .kw-edge { stroke: #fff; stroke-opacity: 1; stroke-width: 1.6; }
  .k-deck.lit .kv-glint { animation: kCardGlint 1.6s var(--ease-io) both; }
  @media (hover: hover) {
    .k-deck.lit .k-card-front:hover .kv-glint { animation: kCardGlint 1.6s var(--ease-io) both, kCardGlintH 1.2s var(--ease-io); }
  }

  /* разговорът: прозорецът изплува и се изправя, после се включва камерата отсреща;
     екраните се сменят (kontakti.js), таймерът тече */
  .js .k-call:not(.in) { opacity: 0; transform: perspective(1600px) translateY(46px) rotateX(8deg) scale(.97); filter: blur(10px); }
  .k-call { transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); }
  .js .k-call:not(.in) .kc-cam { opacity: 0; transform: translateY(20px) scale(.8); }
  .kc-cam { transform-origin: 0 100%; transition: opacity .6s var(--ease) .75s, transform .9s var(--ease) .75s; }
  .kc-s { transition: opacity 1s var(--ease); }
  .k-demo.vis .k-call.in .kc-pip { animation: kSpeak 3.2s ease-in-out 1.8s infinite; }
  .k-demo.vis .kc-live { animation: kLive 2s ease-in-out infinite; }
  .k-demo.vis .k-call.in .kc-wave i { animation: kWave 1.1s ease-in-out infinite; }
  .kc-wave i:nth-child(2) { animation-delay: -.35s; }
  .kc-wave i:nth-child(3) { animation-delay: -.7s; }
  .kc-wave i:nth-child(4) { animation-delay: -.15s; }
}

@keyframes kConeOn { from { opacity: 0; transform: scaleX(.25); } }
@keyframes kPour { from { color: #b2c0cd; text-shadow: 0 0 30px rgba(var(--glow), 0), 0 0 80px rgba(var(--glow), 0); } }
@keyframes kFaceLit { from { filter: brightness(.55) saturate(.7); } }
@keyframes kIn { from { opacity: .7; translate: -14px 0; } }
@keyframes kGlint { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes kCardGlint {
  0% { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: 1; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
@keyframes kCardGlintH {
  0% { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: 1; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
@keyframes kLive { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes kBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes kHit { 0% { background: rgba(85, 145, 196, .22); } 100% { background: rgba(85, 145, 196, 0); } }
@keyframes kSent { 0% { translate: 0 0; } 35% { translate: 0 -10px; } 100% { translate: 0 0; } }
@keyframes kSpeak {
  0%, 100% { box-shadow: 0 0 0 2.5px rgba(9, 14, 19, .95), 0 0 0 4px rgba(156, 203, 242, .85), 0 30px 50px -18px rgba(0, 0, 0, .95), 0 0 50px -6px rgba(var(--glow), .6); }
  50% { box-shadow: 0 0 0 2.5px rgba(9, 14, 19, .95), 0 0 0 6px rgba(156, 203, 242, .95), 0 30px 50px -18px rgba(0, 0, 0, .95), 0 0 60px 2px rgba(var(--glow), .85); }
}
@keyframes kWave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- 6 · таблет и телефон ---------- */
/* под 1180 px финалът е една колона: заглавие, разговорът (760 px), бутон */
@media (max-width: 1179.98px) {
  .k-demo::before { left: 50%; top: 60%; }
  .k-demo-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "call" "cta"; justify-items: center; text-align: center; }
  .k-demo-h { max-width: 12ch; margin-inline: auto; }
  .k-demo-len { justify-content: center; }
  .k-demo-how { margin-inline: auto; }
  .k-call-col { width: 100%; margin-top: 44px; }
  .k-call { width: min(100%, 760px); }
  .k-demo-cta { margin-top: 40px; }
}

@media (max-width: 1100px) {
  .k-bench { padding-left: 64px; }
  .k-write-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .k-letter-col { margin-left: 0; }
  .k-letter { rotate: 1.5deg; }
}

/* таблет: героят остава в две колони (до 720 px) */
@media (max-width: 1023.98px) {
  .k-hero-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 28px; }
  .k-hero .k-h1 { font-size: clamp(2.3rem, 1rem + 3.2vw, 3.1rem); }
  .k-bench { padding: 36px 0 36px 60px; }
  .k-pole, .k-cone { left: 18px; }
  .k-tel b { font-size: clamp(2.2rem, .9rem + 3.2vw, 3rem); }
  .k-mail { font-size: clamp(1.15rem, .7rem + 1.2vw, 1.5rem); }
  .k-face { width: 96px; }

  .k-firm-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 40px; }
}

/* под 900 px камерата е ред под екрана (като на телефон) — прозорецът е колкото страницата */
@media (max-width: 899.98px) {
  .kc-cam { position: relative; right: auto; bottom: auto; width: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #0e151c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); transform-origin: 0 50%; }
  .kc-pip { width: 60px; flex: none; border-radius: 12px; box-shadow: 0 0 0 2px rgba(9, 14, 19, .9), 0 0 0 3.5px rgba(156, 203, 242, .85); }
  .kc-who { position: static; display: grid; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 16px; }
  .kc-who > span { display: block; font-size: 14px; color: var(--ink-3); }
  .kc-wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-left: auto; }
  .kc-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--blue-hi); transform: scaleY(.45); }
  .kc-wave i:nth-child(2), .kc-wave i:nth-child(3) { transform: scaleY(.8); }
}
@media (max-width: 899.98px) and (prefers-reduced-motion: no-preference) {
  .js .k-call:not(.in) .kc-cam { transform: translateX(-16px); }
  .k-demo.vis .k-call.in .kc-pip { animation: kSpeakS 3.2s ease-in-out 1.6s infinite; }
}
@keyframes kSpeakS {
  0%, 100% { box-shadow: 0 0 0 2px rgba(9, 14, 19, .9), 0 0 0 3.5px rgba(156, 203, 242, .85); }
  50% { box-shadow: 0 0 0 2px rgba(9, 14, 19, .9), 0 0 0 5px rgba(156, 203, 242, .95), 0 0 18px 3px rgba(var(--glow), .7); }
}

@media (max-width: 860px) {
  .k-hero { padding-bottom: 36px; }
  .k-hero::after { left: 56%; top: 60%; width: 140vw; height: 680px; }
  .k-lamp { --lh: 18px; }
  .k-lamp .lamp-bar::after { top: 3px; bottom: 3px; }
  .k-pole { width: 18px; }
  .k-cone { width: 120vw; height: 560px; }
  .k-hours { margin-top: 14px; font-size: 1rem; }
  .k-mail-row { margin-top: 24px; flex-wrap: nowrap; gap: 8px; }
  /* на телефон „Копирай“ е само иконата (името остава за четците) */
  .k-clip { width: 44px; padding: 0; justify-content: center; flex: none; }
  .k-clip-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  .k-write { padding-top: 32px; }
  .k-write-grid { column-gap: 28px; }
  .k-form { margin-top: 26px; }
  .k-letter { padding: 22px 22px 18px; }
  .kl-body { font-size: 1rem; }

  .k-card-front { padding: 20px 20px 18px; row-gap: 12px; }
  .kv-icon { width: 36px; height: 36px; }
  .kv-word { height: 17px; }
  .kv-lines { font-size: 1rem; }
  .kv-tel { font-size: 1.08rem; }

  .k-demo { padding-bottom: 88px; }
  .k-demo::before { width: 170vw; height: 900px; }
}

/* телефон: една колона */
@media (max-width: 719.98px) {
  .k-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .k-hero .k-h1 { font-size: clamp(2.45rem, 1.2rem + 6.4vw, 3.3rem); max-width: 12ch; }
  /* лампата е колкото редовете: между заглавието и горния ѝ край остават ≥ 36 px */
  .k-bench { padding: 16px 0 16px 50px; container-type: inline-size; }
  .k-pole, .k-cone { left: 12px; }
  .k-cone { width: 150vw; }
  .k-face { width: 88px; }
  .k-who { gap: 16px; margin-bottom: 14px; }
  .k-who b { font-size: 1.5rem; }
  /* номерът и пощата се побират в пейката и на 320 px (≈ 7 и 11 em широки) */
  .k-tel b { font-size: clamp(1.9rem, calc((100cqw - 6px) / 7.1), 2.9rem); }
  .k-mail { font-size: clamp(1.05rem, calc((100cqw - 58px) / 11.2), 1.4rem); }

  .k-write-grid { grid-template-columns: minmax(0, 1fr); }
  .k-form-col { max-width: 520px; }
  .js .k-more-btn { margin: -4px 0 -2px; }
  .k-send .form-note { text-align: center; }
  .k-client { margin-top: 22px; }
  /* голямото писмо се мести във формата (kontakti.js); без JS не се показва */
  .k-letter-col { display: none; }

  /* визитката: заглавие, визитка, „Запазете в контактите“, историята (реда за клавиатурата пази DOM) */
  .k-firm-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "deck" "vcf" "more"; row-gap: 0; }
  .k-card-col, .k-firm-copy { display: contents; }
  .k-firm-copy h2 { grid-area: head; }
  .k-firm-copy .link-arrow { grid-area: more; justify-self: start; margin-top: 4px; }
  .k-deck { grid-area: deck; width: min(calc(100% - 22px), 440px); margin: 34px 0 0; }
  .k-vcf { grid-area: vcf; justify-self: start; margin-top: 30px; }
  .k-card-back { translate: 5% 10%; rotate: 5deg; }
  .kv-who b { font-size: 1.5rem; }

  /* разговорът е изправен: споделеният екран (4:3) е телефонът, отдолу е камерата на Николай;
     екраните се плъзгат с точки */
  .k-call { width: min(100%, 420px); border-radius: 16px; }
  .kc-bar { height: 44px; padding: 0 14px; font-size: 14px; border-radius: 16px 16px 0 0; }
  .kc-ctrl { border-radius: 0 0 16px 16px; }
  .kc-tabs { display: none; }
  .kc-stage::before { aspect-ratio: 4 / 3;
    background-image: url("data:image/webp;base64,UklGRnQAAABXRUJQVlA4IGgAAACwAwCdASoYABIAPu1srlIppaQiqAgBMB2JZQDDrBI//V9PFQ3UQAD+z1rRqyvjhwg/Uv3T4clFzop4D5Jtxd6aLZxXkcksp2hKMfOMV1BhHaIEjB+BDuse6qkVJyoYpDD6IRWpnRIAAA=="); }
  .kc-screens { aspect-ratio: 4 / 3; display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .kc-screens::-webkit-scrollbar { display: none; }
  .kc-s, .kc-s.on { position: relative; inset: auto; flex: 0 0 100%; opacity: 1; scroll-snap-align: start; scroll-snap-stop: always; }
  .kc-ctrl { gap: 10px; padding: 9px; }
  .kc-ctrl > span { width: 36px; height: 36px; }
  .kc-ctrl .kc-end { width: 48px; }
  .kc-ctrl .ic { width: 17px; height: 17px; }
  /* точките са общите (.dots в styles.css); смяната им е в kontakti.js (заедно с разделите) */
  .kc-dots { display: flex; margin-top: 6px; }
  .k-call-col { margin-top: 30px; }
  .k-demo-len { margin-top: 18px; }
  .k-demo-cta { width: min(100%, 420px); margin-top: 20px; }
  .k-demo-cta .btn { width: 100%; max-width: none; }
}

/* между 560 и 720 px визитката стои в средата */
@media (min-width: 560px) and (max-width: 719.98px) {
  .k-deck, .k-vcf, .k-firm-copy .link-arrow { justify-self: center; }
  .k-firm-copy h2 { text-align: center; }
}

@media (max-width: 400px) {
  /* тясна визитка: данните един под друг, фирмата отдолу */
  .kv-lines { grid-template-columns: 1fr; }
  .kv-firm { grid-column: 1; grid-row: auto; text-align: left; }
}

@media (max-width: 380px) {
  .k-path { white-space: normal; }
  .k-bench { padding-left: 44px; }
  .k-pole, .k-cone { left: 10px; }
  .k-face { width: 80px; }
  .k-card-front { padding: 18px 16px 16px; row-gap: 10px; }
}

/* /en/contact: формата е на /en/start — тук едно изречение и бутонът към нея */
.k-go-in { display: grid; justify-items: center; gap: 14px; max-width: 40rem; margin: 0 auto; text-align: center; }
.k-go-in h2 { margin: 0; text-wrap: balance; }
.k-go-in .sub { margin: 0 0 8px; }
/* /en/contact: урокът е запис, не среща — долу е плейър (пусни, напредък, време), не бутоните на разговор */
.kc-player { align-items: center; gap: 14px; padding: 12px 16px; }
.kc-player > span { flex: 0 0 auto; }
.kc-player > .kc-prog { flex: 1 1 auto; width: auto; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; display: block; }
.kc-prog i { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--blue-hi); box-shadow: 0 0 10px rgba(var(--glow), .8); }
.kc-player > .kc-dur { width: auto; height: auto; border-radius: 0; background: none; color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
/* международният номер (+359 …, на чуждите езици) е с 4 знака по-дълъг от 0888 … — по-малък, за да стои в колоната */
:root:not(:lang(bg)) .k-tel b { font-size: clamp(1.9rem, .55rem + 3vw, 3.4rem); }
