/* Inter, Oswald — SIL Open Font License 1.1 (fonts.google.com) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/oswald-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/oswald-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/oswald-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Фирменный стиль КБП (kbp.kz): белый фон, тёмно-синий текст, бирюзовые акценты и полосы,
   узкий заглавный Oswald для заголовков, Inter для текста. Основа — общий стиль сайтов КБП. */
:root {
  --bg: #ffffff;
  --soft: #f3f7fa;
  --tint: #e9f6f8;
  --navy: #15232e;
  --text: #253d4b;
  --muted: #586e7c;
  --line: #dde6eb;
  --teal: #00abc2;
  --teal-deep: #007583;
  --on-dark: #ffffff;
  --on-dark-muted: #b8c7d0;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
  --step-3: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 5.2rem);
  --measure: 62ch;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); font-weight: 700; line-height: 1.05; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; margin: 0; letter-spacing: 0.005em; }
h1 em, h2 em { font-style: normal; color: var(--teal); }
p { margin: 0; }

.wrap {
  width: 100%; max-width: 74rem; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }

/* Шапка */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.product-name { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 0.95rem; line-height: 1.1; padding-left: 12px; border-left: 2px solid var(--teal); white-space: nowrap; }
footer .product-name { display: none; }
.logo svg { width: 178px; height: auto; }
.lang { display: flex; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.lang a, .lang span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.lang span { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.lang a:hover { border-color: var(--teal); }

/* Кнопки */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--teal-deep); color: var(--on-dark); }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--bg); }
.btn-ghost:hover { border-color: var(--teal); }
.btn svg { width: 16px; height: 16px; }

/* Первый экран */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 40ch; }


/* Бирюзовая полоса */
.band { background: var(--teal-deep); color: var(--on-dark); }
.band .wrap { padding-block: clamp(22px, 3.5vw, 34px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.band p { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: var(--step-2); line-height: 1.15; max-width: 34ch; }
.band .cities { font-family: var(--body); text-transform: none; font-size: 0.95rem; font-weight: 500; max-width: 44ch; line-height: 1.5; }

/* Разделы */
section { padding-block: clamp(52px, 7vw, 96px); }
.alt { background: var(--soft); }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: var(--measure); }
.head h2 { font-size: var(--step-3); }
.head p { color: var(--muted); font-size: var(--step-1); }

/* Три шага с большими цифрами */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; right: 12px; top: -14px; font-family: var(--display); font-weight: 700; font-size: 8rem; line-height: 1; color: var(--tint); z-index: 0; }
.steps li > * { position: relative; z-index: 1; }
.steps h3 { font-size: 1.45rem; padding-right: 56px; }
.steps p { color: var(--muted); }

/* Возможности */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; min-width: 0; }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--teal-deep); display: grid; place-items: center; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 1rem; }


/* Факты списком */
.long .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.long .head { margin-bottom: 0; }
.facts { display: grid; gap: 0; border-top: 2px solid var(--navy); margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); text-transform: uppercase; color: var(--navy); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.facts dd { margin: 0; color: var(--muted); }

/* Для кого */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.who h3 { font-size: 1.15rem; }
.who p { color: var(--muted); font-size: 1rem; }

/* Вопросы */
.faq { max-width: 54rem; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; color: var(--navy); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: var(--measure); }

/* Финальный призыв */
.cta { background: var(--navy); color: var(--on-dark); }
.cta .wrap { padding-block: clamp(44px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { color: var(--on-dark); font-size: var(--step-3); max-width: 22ch; }
.cta h2 em { color: var(--teal); }
.cta p { color: var(--on-dark-muted); margin-top: 12px; max-width: 46ch; }
.cta .btn-primary { background: var(--teal); color: var(--navy); }
.cta .btn-primary:hover { background: var(--on-dark); }

/* Подвал */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; color: var(--muted); font-size: 0.92rem; }
footer .logo svg { width: 150px; }

@media (max-width: 960px) {
  .hero .wrap, .long .wrap { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .steps, .features, .who { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .logo svg { width: 120px; }
  .product-name { font-size: 0.78rem; white-space: normal; max-width: 9rem; }
  .btn { flex: 1 1 auto; }
}

/* Блоки лендинга CRM поверх base.css */

/* Макет доски на первом экране */
.hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.board { margin: 0; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.board-head strong { font-family: var(--display); text-transform: uppercase; color: var(--navy); font-size: 1.2rem; font-weight: 600; }
.board-head span { font-size: 0.85rem; color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col-head { display: flex; flex-direction: column; gap: 2px; padding: 2px 2px 8px; border-bottom: 2px solid var(--line); }
.col-head b { font-size: 0.78rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; }
.col-head small { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.col-head.won { border-color: var(--teal); }
.deal { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.deal b { color: var(--navy); font-weight: 600; font-size: 0.88rem; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.deal small { color: var(--muted); font-size: 0.78rem; line-height: 1.3; }
.deal .sum { font-weight: 600; color: var(--teal-deep); font-size: 0.85rem; white-space: nowrap; }
.deal.lift { border-color: var(--teal); box-shadow: 0 10px 22px rgba(21, 35, 46, 0.12); transform: rotate(-2deg); }
.board-note { font-size: 0.82rem; color: var(--muted); }

/* Стоимость */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.accent { border: 2px solid var(--teal); }
.plan h3 { font-size: 1.3rem; }
.price { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; }
.price small { display: block; margin-top: 8px; font-family: var(--body); font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--text); }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.plan li svg { width: 20px; height: 20px; color: var(--teal-deep); margin-top: 3px; }
.plan-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; max-width: var(--measure); }

/* Страница 404 */
.lost { padding-block: clamp(64px, 12vw, 140px); }
.lost .wrap { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lost h1 { font-size: var(--step-3); }

@media (max-width: 640px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .cols { grid-template-columns: repeat(3, minmax(9.5rem, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .col { scroll-snap-align: start; }
}

/* Доска уходит под текст, пока ей не хватает ширины рядом */
@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .board { max-width: 44rem; }
}
