/* COMBO.SYSTEMS — единая дизайн-система сайта.
   Идея: спокойный светлый интерфейс для предпринимателей, тёмно-синий как цвет надёжности,
   оранжевая точка из названия бренда как единственный акцент («место, где технологии соединяются»). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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: 100 900; font-display: swap;
  src: url("../fonts/inter-cyrillic-wght-normal.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: 100 900; font-display: swap;
  src: url("../fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --ink: #0b1f3a;
  --ink-2: #1b3556;
  --deep: #07172b;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --line: #dde2ea;
  --text: #142034;
  --muted: #53607a;
  --accent: #ff6b2c;
  --accent-ink: #b8430f;
  --wa: #25d366;
  --wa-hover: #1fbd5a;
  --radius: 16px;
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; hyphens: auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Типографика ---------- */
h1 { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.6rem); line-height: 1.08; font-weight: 750; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.35rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h3, .h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 650; color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 46em; }
.kicker { font-size: .85rem; font-weight: 650; letter-spacing: .03em; color: var(--accent-ink); margin-bottom: 14px; }
.prose { color: var(--muted); max-width: 40em; }
.note { margin-top: 24px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--muted); font-size: .95rem; max-width: 52em; }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.bar-wa { white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent; font: 650 1rem/1.2 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; text-align: center; }
.btn-wa { background: var(--wa); color: #062515; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }
.btn:active { transform: translateY(1px); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.more .ico { width: 1.1em; height: 1.1em; transition: transform .15s; }
.more:hover .ico, a:hover > .ico { transform: translateX(3px); }
.more:hover { color: var(--accent-ink); }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 249, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.mark { width: 36px; height: 36px; }
.wm { font-weight: 800; letter-spacing: .05em; font-size: 1rem; white-space: nowrap; }
.wm i { font-style: normal; color: var(--accent); }
.nav { display: none; gap: 4px; }
.nav a { white-space: nowrap; padding: 10px 12px; border-radius: 10px; font-weight: 550; font-size: .97rem; color: var(--ink); }
.nav a:hover { background: rgba(11, 31, 58, .07); }
.bar-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; padding: 3px; background: rgba(11, 31, 58, .07); border-radius: 10px; }
.lang a { padding: 6px 10px; border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--ink); min-width: 38px; text-align: center; }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.lang-bar, .bar-wa { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { transform: translateY(7px) rotate(45deg); }
.menu[open] .burger::after { transform: translateY(-7px) rotate(-45deg); }
.menu-panel { position: fixed; left: 0; right: 0; top: 68px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 31, 58, .35); padding: 12px 20px 24px; max-height: calc(100dvh - 68px - 76px); overflow: auto; }
.menu-panel nav a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.lang-menu { margin-top: 18px; width: max-content; }
@media (min-width: 760px) { .lang-bar { display: flex; } .bar-wa { display: inline-flex; } .lang-menu { display: none; } }
@media (min-width: 1240px) { .nav { display: flex; } .menu { display: none; } }

/* ---------- Мобильная панель связи ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 246, 249, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.dock .btn { width: 100%; }
@media (min-width: 760px) { .dock { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 76px; } }

/* ---------- Hero ---------- */
.hero, .phero { background: var(--bg) radial-gradient(circle at 1px 1px, rgba(11, 31, 58, .09) 1.2px, transparent 1.4px) 0 0 / 26px 26px; border-bottom: 1px solid var(--line); }
.hero { padding-block: clamp(36px, 6vw, 84px); }
.hero-in { display: grid; gap: 44px; align-items: center; }
.hero-copy .lead { margin-top: 22px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
.facts li { display: grid; gap: 2px; max-width: 190px; }
.facts strong { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.facts span { font-size: .88rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts li { max-width: none; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; } }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

.compose { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -36px rgba(11, 31, 58, .4); }
.compose figcaption { font-size: .8rem; font-weight: 650; letter-spacing: .03em; color: var(--muted); margin: 2px 4px 12px; }
.compose-task { display: grid; gap: 2px; background: var(--ink); color: #fff; padding: 16px 18px; border-radius: 14px; position: relative; }
.compose-task strong { font-size: 1.1rem; }
.compose-task span { font-size: .9rem; color: #c3cee0; }
.compose-task::after { content: ""; position: absolute; left: 26px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); z-index: 1; }
.compose-parts { position: relative; margin-top: 8px; padding: 14px 0 0 0; }
.compose-parts::before { content: ""; position: absolute; left: 34px; top: 0; bottom: 36px; width: 2px; background: var(--line); }
.compose-parts li + li { margin-top: 4px; }
.compose-parts a { position: relative; display: grid; gap: 1px; padding: 10px 12px 10px 58px; border-radius: 12px; }
.compose-parts a::before { content: ""; position: absolute; left: 28px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink-2); }
.compose-parts a:hover { background: var(--bg); }
.compose-parts a:hover::before { border-color: var(--accent); }
.compose-parts strong { font-size: 1rem; color: var(--ink); }
.compose-parts span { font-size: .9rem; color: var(--muted); }

/* ---------- Секции ---------- */
.sec { padding-block: clamp(48px, 7vw, 96px); }
.sec-alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(24px, 4vw, 44px); max-width: 44em; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.sec-foot { margin-top: 32px; }
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
.card, .panel, .pcard, .scard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.sec-alt .card, .sec-alt .panel { background: var(--bg); }
.card h3 { margin-bottom: 8px; }
.card p, .scard p { color: var(--muted); font-size: .98rem; }
.panel h3, .panel .h3 { margin-bottom: 14px; }
.panel-ask { border-style: dashed; border-color: #b9c3d3; }
.dir { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dir .pcard-ico { margin-bottom: 12px; }
.dir .more { margin-top: auto; padding-top: 18px; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
.why-first { grid-column: 1 / -1; background: var(--ink) !important; border-color: var(--ink); }
.why-first h3 { color: #fff; }
.why-first p { color: #c8d3e5; max-width: 46em; }
.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e8eef8; color: var(--ink-2); }

.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.ticks .ico { width: 1.3em; height: 1.3em; margin-top: .15em; color: var(--accent-ink); }
.ticks.ask .ico { color: var(--muted); }

/* ---------- Карточки продуктов и услуг ---------- */
.pcard { display: flex; flex-direction: column; gap: 16px; }
.pcard-top { display: flex; gap: 14px; align-items: center; }
.pcard-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e8eef8; color: var(--ink); flex: none; }
.pcard-ico .ico { width: 28px; height: 28px; }
.pcard h3 a:hover { color: var(--accent-ink); }
.pcard-tag { font-size: .88rem; color: var(--muted); }
.pcard-task { font-weight: 550; color: var(--text); }
.pcard .ticks { gap: 8px; margin-bottom: 4px; }
.pcard .ticks li { font-size: .93rem; }
.pcard-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.scard { display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.scard:hover { border-color: var(--ink); box-shadow: 0 18px 36px -24px rgba(11, 31, 58, .45); transform: translateY(-2px); }
.scard .pcard-ico { margin-bottom: 8px; }
.scard .more { margin-top: auto; padding-top: 12px; }
.groups { display: grid; gap: 20px; }
@media (min-width: 760px) { .groups { grid-template-columns: repeat(2, 1fr); } }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.group p { color: var(--muted); font-size: .95rem; margin: 6px 0 14px; }
.group li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 550; color: var(--ink); }
.group li a:hover { color: var(--accent-ink); }
.group li a .ico { width: 1.1em; height: 1.1em; }

/* ---------- Процесс ---------- */
.flow { display: grid; gap: 16px; counter-reset: none; }
.flow li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 22px; }
.sec-alt .flow li { background: var(--bg); }
.flow-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 750; font-size: .95rem; margin-bottom: 14px; }
.flow li h3 { font-size: 1.05rem; margin-bottom: 6px; }
.flow li p { color: var(--muted); font-size: .94rem; }
@media (min-width: 700px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow-line li:not(:last-child)::after { content: ""; display: none; }
@media (min-width: 1000px) {
  .flow-line { grid-template-columns: repeat(var(--n), 1fr); }
  .flow-line li:not(:last-child)::after { display: block; position: absolute; top: 38px; right: -17px; width: 18px; height: 2px; background: var(--ink-2); z-index: 1; }
  .flow-line li:not(:last-child)::before { content: ""; position: absolute; top: 33px; right: -18px; width: 8px; height: 8px; border-top: 2px solid var(--ink-2); border-right: 2px solid var(--ink-2); transform: rotate(45deg); z-index: 1; }
}
.alt { position: relative; }
.alt-k { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.sec:not(.sec-alt) .faq details { background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--accent-ink); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Связанные разделы ---------- */
.rel { display: grid; gap: 28px; }
@media (min-width: 760px) { .rel { grid-template-columns: repeat(2, 1fr); } }
.rel h3 { margin-bottom: 10px; }
.rel li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 550; color: var(--ink); }
.rel li a:hover { color: var(--accent-ink); }
.rel li a .ico { width: 1.1em; height: 1.1em; }

/* ---------- Внутренние страницы ---------- */
.phero { padding-block: 28px clamp(36px, 5vw, 64px); }
.phero h1 { max-width: 20em; }
.phero .lead { margin-top: 18px; }
.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9aa6ba; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }

/* ---------- Призыв ---------- */
.cta { background: var(--ink); color: #fff; padding-block: clamp(44px, 6vw, 80px); }
.cta-in { display: grid; gap: 28px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; color: #c8d3e5; max-width: 38em; }
.cta-act { display: grid; gap: 12px; justify-items: start; }
.cta-tel { color: #c8d3e5; font-size: .95rem; }
.cta :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr auto; gap: 56px; } .cta-act { justify-items: center; } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--deep); color: #b6c3d8; padding-top: 56px; font-size: .95rem; }
.foot { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.logo-light { color: #fff; }
.foot-brand p { margin-top: 16px; max-width: 26em; }
.foot-h { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 14px; }
.foot li { margin-bottom: 8px; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.site-footer :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Портфолио ---------- */
.sec-foot.links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.chips { display: grid; gap: 12px; }
@media (min-width: 700px) { .chips { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.chips li { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.chips strong { display: block; color: var(--ink); line-height: 1.3; }
.chips small { color: var(--muted); font-size: .85rem; }
.pcard-ico.sm { width: 40px; height: 40px; border-radius: 12px; }
.pcard-ico.sm .ico { width: 22px; height: 22px; }
.pcard .muted { font-size: .95rem; }
.rel-list li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 550; color: var(--ink); }
.rel-list li:first-child a { border-top: 0; padding-top: 0; }
.rel-list li a:hover { color: var(--accent-ink); }
.rel-list li a .ico { width: 1.1em; height: 1.1em; }
.panel .sec-foot { margin-top: 16px; }

/* ---------- Юридические документы ---------- */
.doc-date { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.doc h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin: 40px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--text); max-width: 46em; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }
.doc a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
