/* Палитра «Карта и бумага» и брендбук «Крюков Консалтинг» (19.10.26) — те же значения, что в CRM (docs/15_design_system.md). */
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/golos-text-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/golos-text-latin-400-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: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 600; src: url(assets/fonts/golos-text-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 600; src: url(assets/fonts/golos-text-latin-600-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: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/golos-text-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/golos-text-latin-700-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: 'Noto Serif'; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/noto-serif-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Noto Serif'; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/noto-serif-latin-700-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; }

:root {
  --paper: #F4F1EA; --card: #FFFDF9; --card-2: #F8F5EE;
  --line: #E3DDD0; --line-2: #CFC7B6;
  --ink: #1C2430; --ink-2: #4F5866; --ink-3: #8A909A;
  --sea: #1B5E8A; --sea-2: #0F4468; --sea-t: #E1ECF4;
  --bord: #B8791A; --bord-2: #8C5A0F; --bord-t: #F5EAD3;
  --land: #3E7C5A; --land-2: #2E5F44; --land-t: #E2EFE6;
  --coral: #D0503E; --coral-t: #F8E1DC;
  /* Индиго оттиска — рамка, знак, главное действие, ссылки и фокус; не состояние и не сторона (--sea — только «сейчас здесь»). */
  --mark: #2E2482;        /* indigo-700: знак и имя фирмы, заголовки документов */
  --brand: #3C2C9C;       /* indigo-600, цвет оттиска: основная кнопка, двойная линия шапки */
  --brand-hover: #2E2482; /* наведение на основную кнопку */
  --brand-text: #3C2C9C;  /* ссылки и текст в цвете бренда */
  --on-brand: #FFFFFF;
  --focus: #3C2C9C;
  --serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --r-card: 14px; --r-ctl: 10px;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--font); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand-text); }
small { font-size: .82em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: var(--r-ctl); z-index: 20; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.eyebrow--brand { color: var(--brand-text); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 640px; }
.lead--narrow { max-width: 720px; margin-bottom: 28px; }
.fine { font-size: 14px; color: var(--ink-2); margin-top: 18px; }

/* Кнопки */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-ctl); border: 1px solid transparent; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn--lg { min-height: 52px; padding: 14px 22px; font-size: 17px; }
.btn--sm { min-height: 36px; padding: 7px 12px; font-size: 14px; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--card); border-color: var(--ink-3); }
.btn--paper { background: var(--card); color: var(--ink); border-color: var(--card); }
.btn--paper:hover { background: var(--paper); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Шапка. Двойная линия брендбука сверху вниз: 3 px, зазор 2 px, 1 px — обе var(--brand). */
.top { position: sticky; top: 0; z-index: 10; background: rgba(244, 241, 234, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--brand); box-shadow: inset 0 -2px 0 var(--paper), inset 0 -5px 0 var(--brand); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--mark); text-decoration: none; }
.logo__mark { width: 54px; height: 54px; flex: none; color: var(--mark); }
.logo__text { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.logo__text b { font: 700 21px/1.1 var(--serif); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.logo__text small { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--mark); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.logo__text small i { display: block; width: 18px; height: 1.5px; background: var(--mark); }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.top__contact { display: flex; align-items: center; gap: 14px; }
.top__phone { color: var(--brand-text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.narrow-only { display: none; }

/* Первый экран: обещание слева, лист сверки комплекта справа */
.hero { padding: 56px 0 40px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 48px; align-items: center; }
.hero h1 { font: 700 clamp(30px, 3.6vw, 46px)/1.12 var(--serif); color: var(--mark); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.promise { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); font-size: 15px; }
.promise li { position: relative; padding-left: 22px; }
.promise li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2.5px solid var(--land); border-bottom: 2.5px solid var(--land); transform: rotate(-45deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Лист комплекта: бумага в стопке, двойная линия, путь груза, сверка, оттиск печати */
.sheet { position: relative; min-width: 0; margin: 0 14px 14px 0; padding: 20px 20px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 7px 7px 0 -1px var(--card-2), 7px 7px 0 0 var(--line), 14px 14px 0 -1px var(--card-2), 14px 14px 0 0 var(--line), 0 24px 40px -30px rgba(28, 36, 48, .45); }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 9px; margin-bottom: 16px; border-bottom: 1px solid var(--brand); box-shadow: 0 2px 0 var(--card), 0 5px 0 var(--brand); }
.sheet__head b { font: 700 16px/1.2 var(--serif); color: var(--mark); }
.sheet__tag { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.lane { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lane__z { --c: var(--sea); position: relative; border-top: 4px solid var(--c); padding: 8px 8px 0 0; font-size: 13px; min-width: 0; }
.lane__z::before { content: ''; position: absolute; top: -9px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--c); }
.lane__z b { display: block; color: var(--c); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.lane__z span { color: var(--ink-2); }
.lane__z--bord { --c: var(--bord); } .lane__z--land { --c: var(--land); }
.recon__wrap { overflow-x: auto; }
.recon { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.recon th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 6px; border-bottom: 1px solid var(--line); }
.recon td { padding: 7px 6px; border-bottom: 1px dashed var(--line); }
.recon tr:last-child td { border-bottom: 0; }
.recon .n { text-align: right; white-space: nowrap; }
.recon .ok { color: var(--land); font-weight: 700; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--sea); }
.dot--bord { background: var(--bord); }
.sheet__foot { margin: 12px 0 0; padding-right: 100px; font-size: 14px; font-weight: 600; color: var(--land-2); }
.stamp { position: absolute; right: 16px; bottom: 8px; width: 96px; height: 96px; color: var(--mark); opacity: .8; transform: rotate(-12deg); pointer-events: none; font-family: var(--font); }

/* Двери по сегментам */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.door { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.door:hover { border-color: var(--brand); }
.door b { font-size: 17px; }
.door span { font-size: 15px; color: var(--ink-2); }
.door em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--brand-text); }
.partners-line { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }

/* Секции */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section--card { background: var(--card-2); }
.section h2 { font-family: var(--serif); color: var(--mark); }
.section--brand { background: var(--mark); color: var(--on-brand); border-top: 0; }
.section--brand h2 { color: var(--on-brand); }
.section--brand .lead { color: #D9D5F1; }

.list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.list li { position: relative; padding-left: 22px; }
.list li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--zone, var(--sea)); }
.list--sm { font-size: 15px; color: var(--ink-2); gap: 6px; }

/* Участники сделки */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hub__p { --c: var(--sea); padding: 14px 16px; border-radius: var(--r-ctl); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--c); font-size: 15px; }
.hub__p--cn { --c: var(--coral); }
.hub__p small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.hub__p b { display: block; margin: 2px 0; }
.hub__p span { color: var(--ink-2); }
.hub__c { grid-row: 2; grid-column: 2; display: flex; flex-direction: column; justify-content: center; padding: 18px; border-radius: var(--r-card); background: var(--brand); color: var(--on-brand); text-align: center; }
.hub__c b { font: 700 19px/1.25 var(--serif); }
.hub__c span { font-size: 14px; opacity: .9; margin-top: 4px; }
.own { margin: 18px 0 0; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-ctl); background: var(--card); }

/* Рабочие места системы: было → стало и фрагмент экрана */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.work { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.work__txt { padding: 18px 20px 12px; }
.work__txt h3 { margin-bottom: 8px; }
.work__pb, .work__fx { font-size: 15px; margin: 0 0 6px; }
.work__pb { color: var(--coral); }
.work__pb::before { content: 'Было: '; font-weight: 600; }
.work__fx { color: var(--ink-2); }
.work__fx::before { content: 'Стало: '; font-weight: 600; color: var(--land); }
.scr { --c: var(--brand-text); margin: auto 14px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 13px; overflow: hidden; }
.scr--bord { --c: var(--bord-2); } .scr--land { --c: var(--land-2); } .scr--sea { --c: var(--sea-2); }
.scr__bar { display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; background: var(--card-2); border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.scr__bar em { font-style: normal; color: var(--c); white-space: nowrap; }
.scr__body { padding: 10px 12px; display: grid; gap: 6px; }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--land); }
.row { --d: var(--land); display: flex; gap: 8px; align-items: baseline; }
.row::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--d); transform: translateY(-1px); }
.row--r { --d: var(--coral); } .row--y { --d: var(--bord); }
.row span { min-width: 0; }
.row b { margin-left: auto; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lang3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lang3 div { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; color: var(--ink-2); line-height: 1.35; min-width: 0; }
.lang3 b { display: block; color: var(--ink); font-size: 11px; }

/* Вход → выход */
.io { display: grid; grid-template-columns: minmax(0, .8fr) 40px minmax(0, 1.4fr); gap: 16px; align-items: start; margin-top: 24px; }
.io__arrow { align-self: center; text-align: center; font-size: 28px; color: var(--brand-text); }
.io__in { padding: 18px; border-radius: var(--r-card); border: 1px dashed var(--line-2); background: var(--paper); }
.io__in ul { list-style: none; padding: 0; margin: 0; }
.io__in li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.io__in li:last-child { border-bottom: 0; }
.io__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.phase { --c: var(--brand-text); padding: 14px 16px; border-radius: var(--r-ctl); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--c); font-size: 15px; }
.phase--sea { --c: var(--sea); } .phase--bord { --c: var(--bord); } .phase--land { --c: var(--land); }
.phase b { display: block; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.phase ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.phase--wide { grid-column: 1 / -1; }

/* Отличия, кому полезно */
.diff { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.diff article { padding-top: 14px; border-top: 2px solid var(--brand); }
.diff p { font-size: 15px; color: var(--ink-2); margin: 0; }
.goods { margin: 28px 0 0; font-size: 15px; color: var(--ink-2); max-width: 900px; }
.goods b { color: var(--ink); }
.notc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.notc article { padding: 18px 20px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 90px; }
.notc h3 { font-size: 16px; color: var(--ink-2); margin-bottom: 4px; }
.notc p { margin: 0; }

/* Форматы и цены */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 20px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.plan--main { border: 2px solid var(--brand); padding: 19px; }
.plan__lbl { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.plan h3 { margin: 6px 0 6px; }
.plan__lead { color: var(--ink-2); font-size: 15px; }
.plan__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.teams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.team { padding: 20px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 90px; }
.team p { color: var(--ink-2); font-size: 15px; margin: 0; }
.teams__cta { margin: 18px 0 0; color: var(--ink-2); }

/* Карточки услуг */
.z { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.z--sea { background: var(--sea-t); color: var(--sea-2); }
.z--bord { background: var(--bord-t); color: var(--bord-2); }
.z--land { background: var(--land-t); color: var(--land-2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { --zone: var(--sea); --zone-t: var(--sea-t); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--zone); border-radius: var(--r-card); padding: 20px; }
.svc--bord { --zone: var(--bord); --zone-t: var(--bord-t); }
.svc--land { --zone: var(--land); --zone-t: var(--land-t); }
.svc h3 { margin-bottom: 6px; }
.svc__lead { color: var(--ink-2); font-size: 15px; }
.svc .list { font-size: 15px; gap: 6px; }
.svc__note { font-size: 14px; color: var(--ink-2); margin-top: -8px; }
.svc__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.svc__price { font-weight: 700; font-size: 18px; }
.svc__price small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.svc__price--ask { font-weight: 600; font-size: 15px; color: var(--ink-2); }

/* Принципы */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.principles article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.principles p { color: var(--ink-2); font-size: 15px; }

/* Документы: политика, согласие */
.doc { padding: 48px 0 72px; }
.doc h1 { font: 700 clamp(28px, 4vw, 40px)/1.15 var(--serif); color: var(--mark); }
.doc h2 { font-size: 21px; margin: 32px 0 10px; color: var(--mark); }
.doc p, .doc li { color: var(--ink-2); }
.doc__meta { color: var(--ink-2); font-size: 15px; }
.doc__table { overflow-x: auto; margin: 0 0 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--card-2); color: var(--mark); }
.foot__in a { white-space: nowrap; }

/* Вопросы */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--ink-3); }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-2); }

/* Контакты */
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn--line { background: transparent; color: var(--on-brand); border-color: rgba(255, 255, 255, .45); }
.btn--line:hover { border-color: var(--on-brand); }
.contacts__info p { color: #D9D5F1; }
.contacts__info b { color: var(--on-brand); }

.foot { padding: 24px 0 32px; color: var(--ink-2); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { color: var(--ink-2); }

/* Кнопки внизу экрана — только на телефоне */
.dock { display: none; }

/* Шапка с меню занимает ~1200 px (имя фирмы набрано Noto Serif), уже — меню прячется, чтобы не было прокрутки вбок. */
@media (max-width: 1300px) {
  .nav { display: none; }
  .top__contact { margin-left: auto; }
}
@media (max-width: 1100px) {
  .plans, .teams, .principles, .diff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__grid, .contacts__grid { grid-template-columns: 1fr; gap: 32px; }
  .works, .cards { grid-template-columns: 1fr; }
  .io { grid-template-columns: 1fr; }
  .io__arrow { transform: rotate(90deg); }
  .hero { padding: 36px 0 32px; }
  .section { padding: 56px 0; }
}
@media (max-width: 760px) {
  .hub { grid-template-columns: 1fr; }
  .hub__c { grid-row: 1; grid-column: 1; }
  .notc { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .lead { font-size: 17px; }
  .plans, .teams, .principles, .diff, .doors, .io__out { grid-template-columns: 1fr; }
  .top__phone, .wide-only { display: none; }
  .narrow-only { display: inline; }
  .logo__text small { display: none; }
  .logo__text b { font-size: 15px; letter-spacing: .03em; }
  .logo__mark { width: 40px; height: 40px; }
  .logo { gap: 8px; }
  .top__in { gap: 10px; min-height: 64px; }
  .top .btn--sm { padding: 7px 10px; }
  .hero__cta .btn, .contacts__btns .btn { width: 100%; }
  .sheet { padding: 16px 14px 14px; }
  .sheet__tag { display: none; }
  .recon { font-size: 13px; }
  .dot { display: none; }
  .stamp { width: 78px; height: 78px; right: 8px; bottom: 4px; }
  .sheet__foot { padding-right: 80px; }
  .lang3 { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 253, 249, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
