/* Cargostat — главная. Значения перенесены из макета docs/design/landing_cargostat.dc.html */

/* ---------- Шрифты (локальные копии Google Fonts, лицензия OFL) ---------- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../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 600; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../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: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(../fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(../fonts/montserrat-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;
}

/* ---------- Цвета ---------- */
:root {
  --accent: #C8F169;
  --ink: #111214;
  --ink-2: #3A3D42;
  --muted: #55595F;
  --gray-bg: #F2F3F4;
  --line: #E2E4E7;
  --on-dark: #BFC3C8;
  --on-dark-2: #D4D7DB;
  --on-dark-3: #A9ADB3;
  --dim: #8E9399;
}

/* ---------- База ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
h1, h2, h3, h4, p { margin: 0; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
svg { flex: none; }
.mont { font-family: 'Montserrat', sans-serif; }

/* ---------- Раскладка ---------- */
.sec { padding: 104px 24px; }
.bg-white { background: #FFFFFF; }
.bg-gray { background: var(--gray-bg); }
.bg-dark { background: var(--ink); color: #FFFFFF; }

.wrap { max-width: 1200px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.stack-56 { gap: 56px; }
.stack-40 { gap: 40px; }

.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.sec-head-800 { max-width: 800px; }
.sec-head-820 { max-width: 820px; }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.bg-dark .eyebrow { color: var(--on-dark-3); }

.h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); }
.lead-18 { font-size: 18px; }
.bg-dark .lead { color: var(--on-dark); }

/* Сетка карточек: минимальная ширина колонки задаётся через --min.
   min(..., 100%) — чтобы на узком телефоне колонка не была шире экрана. */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr)); gap: 20px; }
.grid-240 { --min: 240px; }
.grid-260 { --min: 260px; }
.grid-280 { --min: 280px; }
.grid-300 { --min: 300px; }
.grid-320 { --min: 320px; }

/* ---------- Карточки ---------- */
.card { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card-gap-18 { gap: 18px; }
.card-gap-12 { gap: 12px; }
.card-white { background: #FFFFFF; }
.card-gray { background: var(--gray-bg); }
.card-dark { background: var(--ink); color: #FFFFFF; }
.card-soon { background: #FFFFFF; border: 1px dashed var(--on-dark-3); }

.card-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; }
.card-title-22 { font-size: 22px; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.card-dark .text-muted { color: var(--on-dark); }

.list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.list-12 { gap: 12px; }
.list-8 { gap: 8px; }
.card-dark .list { color: var(--on-dark-2); }

.title-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.tag-accent { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; box-sizing: border-box; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 0 26px; border-radius: 12px; font-size: 17px; }
.btn-lg-28 { padding: 0 28px; }
.btn-block { justify-content: center; min-height: 48px; border-radius: 12px; }
.btn-accent, .btn-accent:hover { background: var(--accent); color: var(--ink); }
.btn-outline-white, .btn-outline-white:hover { gap: 8px; border: 1.5px solid #FFFFFF; color: #FFFFFF; }
.btn-ghost-dark, .btn-ghost-dark:hover { border: 1px solid var(--ink-2); color: #FFFFFF; font-weight: 500; }
.btn-outline-ink, .btn-outline-ink:hover { border: 1px solid var(--ink); color: var(--ink); }

/* ---------- Шапка ---------- */
.site-header { background: var(--ink); color: #FFFFFF; padding: 0 24px; }
.site-header-inner { max-width: 1200px; margin: 0 auto; min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; box-sizing: border-box; }
.logo, .logo:hover { color: #FFFFFF; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.site-nav a { color: var(--on-dark-2); text-decoration: none; }
.site-nav a:hover { color: #FFFFFF; }
.header-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Первый экран ---------- */
.hero { background: var(--ink); color: #FFFFFF; padding: 72px 24px 96px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-badge, .hero-badge:hover { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #1F2125; color: #FFFFFF; font-size: 14px; text-decoration: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.025em; }
.hero-lead { font-size: 19px; color: var(--on-dark); max-width: 580px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--on-dark); }
.checks span { display: inline-flex; align-items: center; gap: 8px; }

.chain { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.chain-note { font-size: 13px; color: var(--dim); margin-bottom: 12px; }
.chain-card { background: #1B1D20; border: 1px solid #2B2E33; border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.chain-card-light { background: #FFFFFF; color: var(--ink); border: 0; }
.chain-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.chain-step { font-size: 13px; color: var(--dim); }
.chain-card-light .chain-step { color: var(--muted); }
.chain-status { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #26302A; color: var(--accent); }
.chain-card-light .chain-status { background: var(--ink); color: #FFFFFF; }
.chain-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 19px; }
.chain-desc { font-size: 14px; color: var(--on-dark-3); }
.chain-arrow { display: flex; align-items: center; gap: 10px; padding: 6px 0 6px 28px; color: var(--dim); font-size: 13px; }
.signs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.signs span { padding: 3px 10px; border-radius: 6px; background: var(--gray-bg); }
.signs .sign-wait { background: none; border: 1px dashed var(--on-dark-3); color: var(--muted); }

/* ---------- Закон ---------- */
.law-date { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 32px; line-height: 1; color: var(--accent); }
.small-muted { font-size: 14px; color: var(--muted); }

/* ---------- Экран кабинета (пример) ---------- */
.lk { background: #FFFFFF; color: var(--ink); border-radius: 18px; padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.lk-top { display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: flex-start; }
.lk-num { display: flex; flex-direction: column; gap: 2px; min-width: 130px; }
.lk-num span:first-child { font-size: 17px; }
.lk-num span + span { font-size: 15px; color: var(--muted); }
.lk-body { display: flex; flex-direction: column; gap: 14px; flex: 1 1 520px; min-width: 0; }
.lk-meta { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.lk-client { display: flex; flex-direction: column; gap: 2px; }
.lk-client span:first-child { font-size: 17px; font-weight: 500; }
.lk-client span + span { font-size: 15px; color: var(--muted); }
.lk-cargo { display: flex; flex-direction: column; gap: 6px; width: 300px; max-width: 100%; }
.lk-cargo-total { font-size: 16px; }
.lk-bar { display: block; height: 6px; border-radius: 3px; background: #6E7781; }
.lk-cargo-note { font-size: 14px; color: var(--muted); }

.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 640px; margin-top: 6px; }
.steps-line { position: absolute; top: 13px; width: 40%; height: 2px; }
.steps-line-done { left: 10%; background: #3C7A4D; }
.steps-line-todo { left: 50%; background: #D0D3D7; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.step-dot-done { background: #3C7A4D; }
.step-dot-todo { background: #FFFFFF; border: 2px solid #C9CCD0; }
.step-dot-half { border: 2px solid #E07B2A; background: linear-gradient(90deg, #FFFFFF 50%, #E07B2A 50%); }
.step-label { font-size: 14px; line-height: 1.3; }
.step-label span { font-size: 13px; color: var(--muted); }
.step-label .step-warn { color: #B5530F; }
.lk-now { font-size: 15px; color: var(--muted); }

.lk-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-left: auto; }
.your-move { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #FCE7DA; color: #9A3F0B; font-size: 14px; font-weight: 600; }
.lk-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 8px; background: var(--ink); color: #FFFFFF; font-size: 15px; font-weight: 600; }

.lk-sep { height: 1px; background: var(--line); }
.lk-rows { display: flex; flex-direction: column; gap: 4px; }
.lk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 6px 0; }
.lk-kind { width: 90px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: #6B7076; }
.lk-title { flex: 1 1 360px; min-width: 0; font-size: 16px; }
.lk-tag { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #ECEEF0; font-size: 13px; }
.lk-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: #ECEEF0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.lk-status-ok { background: #E3F1E6; color: #2F6B3F; }

.points .point { display: flex; gap: 14px; align-items: flex-start; }
.point-num { flex: none; font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--accent); font-size: 22px; line-height: 1.2; }
.point-body { display: flex; flex-direction: column; gap: 4px; }
.point-title { font-weight: 600; font-size: 18px; }
.point-text { color: var(--on-dark); }
.fine-print { font-size: 13px; color: var(--dim); }

/* ---------- Как работает ---------- */
.how-card { border-radius: 18px; padding: 28px; }
.how-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 40px; line-height: 1; color: var(--on-dark-3); }
.card-dark .how-num { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--gray-bg); border-radius: 999px; font-size: 15px; }

/* ---------- Для кого ---------- */
.role-head { display: flex; align-items: center; gap: 14px; }
.role-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.role-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; }

/* ---------- Подключение ---------- */
.api-lead { font-size: 20px; font-weight: 600; color: #FFFFFF; }
.api-soon { color: var(--on-dark-3); font-size: 15px; }

/* ---------- Тарифы ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; background: #FFFFFF; border: 1.5px solid var(--ink); border-radius: 16px; padding: 20px 24px; }
.notice-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.notice-body { display: flex; flex-direction: column; gap: 4px; }
.notice-title { font-weight: 700; font-size: 18px; }
.notice-text { color: var(--ink-2); }

.price-grid { align-items: stretch; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-value { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 44px; line-height: 1; }
.price-term { color: var(--muted); }
.card-dark .price-term { color: var(--on-dark-3); }
.grow { flex-grow: 1; }
.price-note { font-size: 14px; color: var(--muted); }
.price-note strong { font-weight: 600; color: var(--ink); }
.card-dark .price-note { color: var(--on-dark-3); }
.card-dark .price-note strong { color: #FFFFFF; }
.price-for { color: var(--ink-2); font-size: 15px; }
.guest-list { display: flex; flex-direction: column; gap: 16px; }
.guest-list strong { font-weight: 600; color: var(--ink); }

/* ---------- С чего начать ---------- */
.start-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.start-head { flex: 1 1 380px; min-width: 0; max-width: none; }
.start-list { flex: 1 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.start-item { background: var(--gray-bg); border-radius: 16px; padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.start-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 800; }
.start-text { color: var(--muted); }
.start-item-dark { background: var(--ink); color: #FFFFFF; }
.start-item-dark .start-num { background: var(--accent); color: var(--ink); }
.start-item-dark .start-text { color: var(--on-dark); }

/* ---------- Вопросы ---------- */
.faq-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--gray-bg); border-radius: 16px; padding: 22px 26px; }
.faq-item summary { font-weight: 600; font-size: 18px; }
.faq-item p { color: var(--muted); margin-top: 12px; }

/* ---------- Финальный призыв ---------- */
.cta-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.cta-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
.cta-lead { font-size: 19px; color: var(--on-dark); max-width: 600px; }
.cta-inner .btn-row { justify-content: center; }

/* ---------- Подвал ---------- */
.site-footer { padding: 48px 24px; background: #0B0C0D; color: var(--on-dark-3); font-size: 14px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-info { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; color: #FFFFFF; letter-spacing: -0.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-links a { color: var(--on-dark-2); }
.footer-links a:hover { color: #FFFFFF; }

/* ---------- Cookie-баннер ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie-box { pointer-events: auto; max-width: 880px; width: 100%; box-sizing: border-box; background: #FFFFFF; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(17,18,20,0.18); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cookie-text { flex: 1 1 420px; min-width: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cookie-text a { color: var(--ink); font-weight: 600; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-buttons button { min-height: 44px; min-width: 132px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--ink); background: #FFFFFF; color: var(--ink); font: 600 15px 'Inter', sans-serif; cursor: pointer; }
.cookie-buttons .cookie-accept { background: var(--ink); color: #FFFFFF; }

/* ---------- Юридические страницы ---------- */
.legal { padding: 104px 24px; min-height: 40vh; }
.legal-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }

/* ---------- Телефон ---------- */
@media (max-width: 640px) {
  .sec, .legal { padding: 64px 16px; }
  .hero { padding: 48px 16px 64px; }
  .site-header, .site-footer { padding-left: 16px; padding-right: 16px; }
  .site-nav { gap: 12px 20px; }
  .card { padding: 24px; }
  .lk { padding: 20px 16px; }
  .step-label { font-size: 12px; }
  .step-label span { font-size: 11px; }
  .lk-kind { width: auto; }
  .lk-actions { margin-left: 0; }
  .cookie { left: 8px; right: 8px; bottom: 8px; }
  .cookie-buttons { width: 100%; }
  .cookie-buttons button { flex: 1 1 0; min-width: 0; }
}
