/* Шрифт Gilroy (папка fonts) */
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Light.woff2") format("woff2"), url("../fonts/Gilroy-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Regular.woff2") format("woff2"), url("../fonts/Gilroy-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Medium.woff2") format("woff2"), url("../fonts/Gilroy-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2"), url("../fonts/Gilroy-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Bold.woff2") format("woff2"), url("../fonts/Gilroy-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-ExtraBold.woff2") format("woff2"), url("../fonts/Gilroy-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/Gilroy-Black.woff2") format("woff2"), url("../fonts/Gilroy-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

/* Мистрал Софтуер — нов дизайн */
:root {
  --blue: #2F6BFF;
  --blue-600: #1F52E0;
  --blue-50: #EDF3FF;
  --cyan: #22D3EE;
  --indigo: #4F46E5;
  --navy: #0A1633;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E3E8F2;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FD;
  --grad: linear-gradient(135deg, #2F6BFF 0%, #4F46E5 100%);
  --grad-cyan: linear-gradient(135deg, #22D3EE 0%, #2F6BFF 55%, #4F46E5 100%);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 14px 36px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, .2);
  --head: "Gilroy", system-ui, sans-serif;
  --body: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); margin: 0; letter-spacing: -.025em; line-height: 1.12; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--body); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s, color .15s, box-shadow .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(47, 107, 255, .45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(47, 107, 255, .55); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.btn-light:hover { transform: translateY(-2px); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-help { height: 42px; padding: 0 18px; font-size: 13px; letter-spacing: .06em; background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(47, 107, 255, .35); }
.btn-help:hover { transform: translateY(-1px); }
.btn-help:hover svg { transform: translateY(2px); }
.btn-help.dark { box-shadow: none; margin-top: 22px; }

.eyebrow { display: inline-block; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); padding: 8px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow.light { color: #BFD3FF; background: rgba(127, 166, 255, .14); box-shadow: inset 0 0 0 1px rgba(127, 166, 255, .25); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px; background: none; border: 0; font: 500 15px/1 var(--body); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.nav-link:hover, .nav-item.open > .nav-link { background: var(--bg-soft); color: var(--ink); }
.chev { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); }

.sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 15px; line-height: 1.25; color: var(--ink-2); transition: background .12s, color .12s; }
.sub a:hover { background: var(--blue-50); color: var(--blue); }
.nav-item.open > .sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) {
  .nav-item.has-sub:hover > .sub { opacity: 1; visibility: visible; transform: none; }
  .nav-item.has-sub:hover .chev { transform: rotate(180deg); }
}
.sub-mega { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 8px; padding: 18px; left: -40px; }
.sub-col h6 { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 14px 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider (тъмен, модерен) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.slides { position: relative; min-height: 720px; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; overflow: hidden;
  transition: opacity .7s ease, visibility .7s;
  background:
    radial-gradient(700px 500px at 78% 30%, rgba(47, 107, 255, .45), transparent 65%),
    radial-gradient(600px 400px at 100% 100%, rgba(79, 70, 229, .45), transparent 60%),
    radial-gradient(500px 360px at 0% 0%, rgba(34, 211, 238, .18), transparent 60%),
    linear-gradient(160deg, #081230 0%, #0B1C47 55%, #101C5C 100%);
}
.slide::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-in { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 150px; }
.slide-text h1, .slide-text h2 { font-size: clamp(34px, 4.3vw, 58px); font-weight: 800; margin-bottom: 22px; }
.slide-text .h-md { font-size: clamp(24px, 2.5vw, 34px); font-weight: 700; line-height: 1.28; }
.slide-text .lead { font-size: 20px; color: rgba(226, 234, 255, .82); margin: -6px 0 24px; max-width: 520px; }
.slide-logo { height: 52px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); }
.slide-logo.sm { height: 38px; }
.checks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; font-size: 17px; color: rgba(226, 234, 255, .9); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-cyan); }
.checks li::after { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

/* анимации на слайда */
.slide .slide-text > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.slide.is-active .slide-text > * { opacity: 1; transform: none; }
.slide.is-active .slide-text > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-text > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-text > *:nth-child(4) { transition-delay: .24s; }
.slide .slide-media { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .9s ease .1s, transform .9s cubic-bezier(.2, .8, .2, 1) .1s; }
.slide.is-active .slide-media { opacity: 1; transform: none; }
.slide-media { position: relative; height: 500px; }

/* киоски */
.kiosk-main { transform: translateX(-50%) scale(.95); transform-origin: bottom center; z-index: 3; }
.kiosk-side { transform: scale(.74); transform-origin: bottom center; opacity: .92; }
/* DatecsPay */
.datecs { display: grid; place-items: center; }
.datecs .terminal { position: relative; z-index: 2; height: 100%; width: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)) drop-shadow(0 0 60px rgba(47, 107, 255, .35)); animation: bob 6s ease-in-out infinite; }

/* слайдове със снимки */
.s-photo { background-color: var(--navy); background-position: center; background-size: cover; background-repeat: no-repeat; }
.s-photo::before { -webkit-mask-image: none; mask-image: none; background: linear-gradient(90deg, rgba(8, 18, 48, .94) 0%, rgba(11, 28, 71, .78) 45%, rgba(16, 28, 92, .35) 100%); }
.s-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 80% 40%, rgba(47, 107, 255, .35), transparent 70%); }
.s-left .slide-in { grid-template-columns: 1fr; }
.s-left .slide-text { max-width: 680px; }

.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 5; display: flex; align-items: center; gap: 16px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(8px); transition: background .15s, transform .15s; }
.arrow:hover { background: rgba(255, 255, 255, .18); transform: scale(1.06); }
.arrow svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .3); transition: width .3s, background .3s; }
.dots button.on { width: 36px; background: var(--grad-cyan); }

/* ---------- Features ---------- */
.features { position: relative; padding-top: 0; padding-bottom: 0; margin-top: -48px; z-index: 2; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature:hover::after { transform: scaleX(1); }
.f-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--grad-cyan); box-shadow: 0 12px 26px rgba(47, 107, 255, .32); margin-bottom: 24px; }
.f-icon svg { width: 28px; height: 28px; stroke-width: 1.8; }
.feature h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 14px; color: var(--blue); }
.more svg { width: 16px; height: 16px; transition: transform .15s; }
a:hover .more svg { transform: translateX(4px); }

/* ---------- Why Zamboo ---------- */
.why { position: relative; color: #fff; background: radial-gradient(900px 500px at 90% 0%, rgba(79, 70, 229, .55), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(34, 211, 238, .22), transparent 60%), linear-gradient(160deg, #081230 0%, #0B1C47 60%, #12226A 100%); overflow: hidden; margin-top: 104px; }
.why::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); }
.why .container { position: relative; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; }
.section-head.left { text-align: left; margin-bottom: 40px; }
.why-card { position: relative; padding: 32px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s, background .2s, border-color .2s; overflow: hidden; }
.why-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 70%); opacity: .35; transition: opacity .2s; }
.why-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.why-card:hover::before { opacity: .6; }
.why-num { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font: 800 15px/1 var(--head); color: #fff; background: linear-gradient(135deg, var(--c), rgba(255,255,255,.08)); margin-bottom: 20px; }
.why-card h3 { position: relative; font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.why-card p { position: relative; color: rgba(226, 234, 255, .75); font-size: 15px; }
.why .center { margin-top: 48px; }

/* ---------- Заявете презентация ---------- */
.demo-card { position: relative; text-align: center; padding: 72px 32px 80px; border-radius: 36px; color: #fff; background: radial-gradient(600px 300px at 50% 0%, rgba(34, 211, 238, .45), transparent 70%), var(--grad); overflow: hidden; box-shadow: 0 30px 80px rgba(47, 107, 255, .35); }
.demo-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); }
.demo-card > * { position: relative; }
.demo-card h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; margin: 36px 0 30px; }
.biz { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.biz li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; backdrop-filter: blur(6px); }
.biz svg { width: 22px; height: 22px; }

/* ---------- Blog ---------- */
.blog { padding-top: 0; }
.post { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.post-img img { width: 100%; height: 104%; object-fit: cover; object-position: top; transition: transform .5s; }
.post-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 51, 0) 45%, rgba(10, 22, 51, .5)); }
.post:hover .post-img img { transform: scale(1.06); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.post time { font-size: 13px; color: var(--blue); font-weight: 600; }
.post h3 { font-size: 18px; font-weight: 700; margin: 8px 0 10px; line-height: 1.3; }
.post p { font-size: 14.5px; color: var(--muted); flex: 1; }

/* ---------- Footer ---------- */
.footer { background: radial-gradient(800px 300px at 100% 0%, rgba(47, 107, 255, .2), transparent 70%), #070F24; color: rgba(226, 234, 255, .7); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.25fr 1.1fr .9fr; gap: 48px; }
.footer h4 { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer h4 a:hover { color: #7FA6FF; }
.footer h4.mt { margin-top: 36px; }
.footer a { transition: color .15s; }
.footer a:hover { color: #fff; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--cyan); }
.contact .duty { padding: 12px 14px; border-radius: 14px; background: rgba(47, 107, 255, .14); border: 1px solid rgba(47, 107, 255, .35); color: #fff; }
.contact .duty b { font-weight: 600; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); line-height: 1.45; }
.f-links li:first-child { padding-top: 0; }
.f-links time { display: block; font-size: 13px; color: rgba(255, 255, 255, .45); margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .15s, transform .15s; }
.social a:hover { background: var(--grad); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; stroke-width: 1.8; }
.copy { display: flex; align-items: center; gap: 10px; margin-top: 64px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: rgba(255, 255, 255, .5); }
.copy img { width: 22px; height: 22px; }

/* ---------- Cookies ---------- */
.cookies { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 200; max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 20px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: up .4s ease; }
.cookies[hidden] { display: none; }
.cookies strong { font-family: var(--head); font-size: 16px; }
.cookies p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.cookies-btns { display: flex; gap: 10px; flex: none; }
.cookies .btn { height: 44px; }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .slide .slide-text > *, .slide .slide-media { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .sub-mega { left: 0; grid-template-columns: repeat(2, minmax(200px, 1fr)); }
}
@media (max-width: 1024px) {
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .cookies { display: none; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 16px;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); padding: 8px 24px 32px; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: inset 0 1px 0 var(--line); transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; height: 56px; padding: 0 4px; border-radius: 0; font-size: 17px; }
  .nav-link:hover, .nav-item.open > .nav-link { background: none; }
  .sub, .sub-mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px; min-width: 0; display: none; }
  .nav-item.open > .sub { display: block; }
  .sub-mega { grid-template-columns: 1fr 1fr; }
  .nav-item.open > .sub-mega { display: grid; }
  .sub::before { display: none; }
  .btn-help { justify-content: center; height: 52px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slide-in { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 150px; text-align: center; }
  .slide-text { display: flex; flex-direction: column; align-items: center; }
  .slide-logo { margin-left: auto; margin-right: auto; }
  .checks { text-align: left; }
  .slides { min-height: 980px; }
  .slide-media { height: 400px; width: 100%; max-width: 640px; margin: 0 auto; }
  .s-photo::before { background: linear-gradient(180deg, rgba(8, 18, 48, .9), rgba(11, 28, 71, .7)); }
  .hero-ctrl { justify-content: center; }
  .s-left .slide-text { max-width: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .why { margin-top: 72px; }
  .logo img { height: 30px; }
  .sub-mega { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .slides { min-height: 900px; }
  .slide-media { height: 270px; }
  .slide-text .lead { font-size: 17px; }
  .checks li { font-size: 15px; }
  .demo-card { padding: 48px 18px 56px; border-radius: 26px; }
  .biz li { padding: 10px 14px; font-size: 14px; }
  .btn-lg { height: 52px; padding: 0 22px; font-size: 16px; }
  .cookies { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; padding: 18px; }
  .cookies-btns .btn { flex: 1; justify-content: center; }
}

/* ============ Вътрешни страници: цени ============ */
.nav-item.current > .nav-link { color: var(--blue); background: var(--blue-50); }
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 120px; background: radial-gradient(600px 400px at 85% 20%, rgba(47, 107, 255, .5), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(34, 211, 238, .2), transparent 60%), linear-gradient(160deg, #081230 0%, #0B1C47 60%, #12226A 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin: 14px 0 12px; }
.page-hero p { color: rgba(226, 234, 255, .8); font-size: 18px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: rgba(226, 234, 255, .6); }
.crumbs a:hover { color: #fff; }
.price-page { padding-top: 0; margin-top: -72px; position: relative; z-index: 2; }

.ptabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 56px; }
.ptabs.mt { margin-top: 56px; }
.ptab { height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: none; cursor: pointer; font: 600 15px/1 var(--body); color: var(--ink-2); transition: background .15s, color .15s; }
.ptab:hover { color: var(--ink); background: var(--bg-soft); }
.ptab.on { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(47, 107, 255, .35); }
.ppanel { animation: up .35s ease; }

.pbrand { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.pbrand img { height: 44px; width: auto; }
.pbrand img.pbrand-supremo { height: 52px; }
.pbrand h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }

.ptable-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.ptable { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.ptable th { text-align: left; padding: 18px 22px; font: 700 12.5px/1.35 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #0B1C47, #1B3A9E); }
.ptable th:not(:first-child) { text-align: center; width: 24%; }
.ptable.two th:not(:first-child) { width: 30%; }
.ptable th small { display: block; font-size: 11px; letter-spacing: .04em; text-transform: none; opacity: .75; font-weight: 500; margin-top: 4px; }
.ptable td { padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover td { background: #FAFCFF; }
.pname { font-weight: 700; font-size: 16px; color: var(--ink); }
.pdesc { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.pval { text-align: center; font: 800 20px/1.2 var(--head); color: var(--blue); white-space: nowrap; }
.pval small { font-size: 13px; font-weight: 600; color: var(--muted); }
.pval.free { color: #059669; font-size: 15px; letter-spacing: .06em; }
.pval.ptext { white-space: normal; font: 500 14px/1.4 var(--body); color: var(--muted); }
.padd { display: block; font: 600 12.5px/1.3 var(--body); color: var(--muted); margin-top: 6px; white-space: normal; }
.pfeat, .pdash { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.pfeat li { position: relative; padding-left: 22px; }
.pfeat li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6BFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; }
.pdash li { position: relative; padding-left: 16px; }
.pdash li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; border-radius: 2px; background: var(--blue); }
.pcols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px 28px; }
.pgroup td { background: var(--bg-soft); }
.ptable tbody tr.pgroup:hover td { background: var(--bg-soft); }
.psub .pname { font-weight: 500; padding-left: 40px; }

.pnotes { margin-top: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.pnote-hl { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--blue-50); color: var(--ink); border: 1px solid #D5E2FF; }
.pnote-hl svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.pnote-hl b { color: var(--blue); }
.pnote-warn { padding: 14px 18px; border-radius: 14px; background: #FFF7E8; border: 1px solid #F8DDA8; color: #7A5410; }
.pactions { margin-top: 24px; }

/* таблици услуги по договор */
.svc td { text-align: center; font-size: 15px; }
.svc td.range { text-align: left; width: 30%; color: var(--ink-2); font-size: 15px; line-height: 1.5; background: #FAFBFE; border-right: 1px solid var(--line); }
.svc td.range b { display: block; color: var(--blue); font-size: 16px; margin-bottom: 4px; }
.svc td.inc, .svc td.exc { font: 800 18px/1.2 var(--head); width: 24%; }
.svc td.inc { color: #fff; background: linear-gradient(135deg, #2F6BFF, #4F46E5); border-bottom-color: rgba(255,255,255,.2); }
.svc td.exc { color: var(--ink-2); background: #EEF1F6; border-bottom-color: #E0E5EE; }
.ptable.svc tbody tr:hover td.inc { background: linear-gradient(135deg, #2F6BFF, #4F46E5); }
.ptable.svc tbody tr:hover td.exc { background: #EEF1F6; }
.legend-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.legend-row span { display: inline-flex; align-items: center; gap: 8px; }
.legend-row i { width: 16px; height: 16px; border-radius: 5px; }
.lg-inc { background: var(--grad); }
.lg-exc { background: #E3E8F0; border: 1px solid #D3DAE6; }
.contracts .pname { font-size: 17px; letter-spacing: .02em; }

@media (max-width: 640px) {
  .page-hero { padding: 48px 0 100px; }
  .ptabs { display: flex; border-radius: 18px; }
  .ptab { flex: 1 1 auto; }
  .pcols { grid-template-columns: 1fr; }
  .ptable td, .ptable th { padding: 14px; }
}
/* Киоски (снимки от zamboo.bg) */
.kiosk-photos { position: relative; width: 100%; height: 100%; }
.kiosk-photos img { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.kiosk-photos .kp-main { left: 50%; transform: translateX(-50%); height: 100%; width: auto; z-index: 2; }
.kiosk-photos .kp-side { height: 78%; width: auto; opacity: .9; }
.kiosk-photos .kp-left { left: 4%; }
.kiosk-photos .kp-right { right: 4%; }
.copy .year { font-variant-numeric: tabular-nums; }
.slide-text .k-note { display: inline-flex; align-items: center; gap: 8px; margin: -8px 0 22px; padding: 7px 14px; border-radius: 999px; font-size: 14.5px; color: #BFD3FF; background: rgba(127, 166, 255, .12); box-shadow: inset 0 0 0 1px rgba(127, 166, 255, .25); }
