/* B2B Consult — глубокий синий, серебро тиснения, антиква */

:root {
  color-scheme: dark;
  --deep: #000029;           /* фирменный глубокий, Pantone 296 */
  --navy: #002659;           /* фирменный синий, Pantone 295 C */
  --silver: #BCBEC0;         /* фирменный серый, Cool Gray 6 C */
  --silver-hi: #E4E6E8;
  --silver-lo: #8C9096;
  --paper: #FFFFFF;
  --paper-2: #E6E7E8;        /* белый → серый 30 %, градиент брендбука */
  --ink: #0B1733;
  --ink-2: #4A5063;
  --on-deep: rgba(255, 255, 255, .8);
  --on-deep-2: rgba(228, 230, 232, .64);
  --rule-deep: rgba(188, 190, 192, .22);
  --rule-light: rgba(0, 38, 89, .16);
  --err: #FFC9BC;

  --display: "Noto Serif Display", "Times New Roman", Georgia, serif;
  --text: "Myriad Pro", "Myriad", "PT Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --maxw: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--silver-lo) var(--deep); }
body {
  margin: 0; background: var(--deep); color: var(--on-deep);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* зерно — фактура дорогой бумаги */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--silver); color: var(--deep); }
.light ::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 1.5px solid var(--silver-hi); outline-offset: 4px; }
.light :focus-visible { outline-color: var(--navy); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--deep); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.display { font-family: var(--display); font-weight: 300; letter-spacing: -.012em; line-height: 1.06; }

/* ---------- поверхности ---------- */
.deep {
  position: relative; color: var(--on-deep);
  background: radial-gradient(120% 90% at 78% 0%, #0A2F6B 0%, var(--navy) 28%, #00103F 58%, var(--deep) 82%);
}
.deep h1, .deep h2, .deep h3 { color: #fff; }
.light { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); color: var(--ink); color-scheme: light; }
.light h2, .light h3 { color: var(--navy); }

section.manifesto, section.modes, section.practice, section.lose, section.approach, section.outsource, section.clients { padding-block: clamp(96px, 13vw, 184px); }

.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.sec-head p { max-width: 44ch; color: var(--ink-2); }
.deep .sec-head p { color: var(--on-deep-2); }

/* ---------- кнопки ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 34px; border: 0; border-radius: 1px;
  font-family: var(--text); font-size: 1rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; cursor: pointer;
}
.btn-silver { color: var(--deep); background: linear-gradient(135deg, #FFFFFF 0%, var(--silver) 100%); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.btn-silver::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.95) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-silver:hover::after { transform: translateX(120%); }
.btn-wide { width: 100%; }

/* ---------- шапка ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(80px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); color: #fff;
  transition: transform .6s var(--ease), background-color .5s, height .5s var(--ease), box-shadow .5s;
}
.bar.is-solid { height: calc(68px + env(safe-area-inset-top, 0px)); background: rgba(0, 0, 41, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule-deep); }
.bar.is-hidden { transform: translateY(-100%); }
.brand { margin-right: auto; }
.brand img { height: 43px; width: auto; transition: height .5s var(--ease); }
.bar.is-solid .brand img { height: 36px; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav a, .bar-phone { position: relative; text-decoration: none; font-size: .95rem; color: rgba(255,255,255,.82); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--silver); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.bar-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-phone:hover { color: #fff; }
.bar-cta { min-height: 44px; padding: 0 22px; font-size: .92rem; }
.menu-toggle { display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--rule-deep); border-radius: 1px; position: relative; cursor: pointer; }
.menu-toggle i { position: absolute; left: 12px; right: 12px; height: 1px; background: #fff; transition: transform .45s var(--ease); }
.menu-toggle i:nth-of-type(1) { top: 18px; }
.menu-toggle i:nth-of-type(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 40; padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) 40px; display: flex; flex-direction: column; background: var(--deep); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { font-family: var(--display); font-weight: 300; font-size: 2.2rem; color: #fff; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--rule-deep); }
.mobile-nav .mobile-phone { margin-top: auto; font-family: var(--text); font-size: 1.2rem; border: 0; }

/* ---------- первый экран ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; padding: calc(112px + env(safe-area-inset-top, 0px)) var(--gutter) 0; overflow: hidden; }
.hero-inner { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, min(5.4vw, 8.4vh), 5.6rem); line-height: 1.02; max-width: 13ch; }
.hero-lead { margin-top: clamp(24px, 3vw, 40px); max-width: 52ch; font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--on-deep); }
.hero-actions { margin-top: clamp(32px, 3.4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.hero-phone { color: #fff; text-decoration: none; font-size: 1.15rem; letter-spacing: .02em; border-bottom: 1px solid var(--rule-deep); padding-bottom: 4px; transition: border-color .3s; font-variant-numeric: tabular-nums; }
.hero-phone:hover { border-color: var(--silver); }

.emblem-stage { perspective: 1200px; display: grid; place-items: center; }
.emblem { width: min(34vw, 58vh, 480px); height: auto; overflow: visible; transform-style: preserve-3d; filter: drop-shadow(0 40px 60px rgba(0, 0, 20, .55)); }
.emblem-fill path { fill: url(#silver); }
.emblem-fill { opacity: .13; }
.emblem-line path { fill: none; stroke: url(#silver); stroke-width: .3; stroke-linejoin: round; }

.hero-foot {
  width: 100%; max-width: var(--maxw); margin: clamp(28px, 4vh, 56px) auto 0; padding: 24px 0 30px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--rule-deep);
  font-size: .95rem; color: var(--on-deep-2);
}
.hero-foot .num { font-family: var(--display); font-weight: 300; font-size: 2.1rem; color: #fff; margin-right: 10px; line-height: 1; vertical-align: -.1em; }

/* ---------- манифест ---------- */
.manifesto .wrap { display: grid; gap: .1em; }
.m-line { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.12; color: #fff; }
.m-line[data-from="right"] { text-align: right; }
.m-text { margin-top: clamp(48px, 6vw, 88px); margin-left: auto; max-width: 620px; display: grid; gap: 20px; color: var(--on-deep-2); font-size: 1.1rem; }

/* ---------- практики ---------- */
.p-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 64px;
  padding: clamp(36px, 4vw, 52px) 0; border-top: 1px solid var(--rule-light);
}
.p-row:last-child { border-bottom: 1px solid var(--rule-light); }
.p-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.p-row:hover::before { transform: scaleX(1); }
.p-row h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.08; }
.p-body p { color: var(--ink-2); max-width: 58ch; }
.p-body ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.p-body li { position: relative; padding-left: 30px; color: var(--ink); }
.p-body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 16px; height: 1px; background: var(--silver-lo); }

/* ---------- два режима ---------- */
.modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule-light); }
.mode { display: flex; flex-direction: column; gap: 18px; padding: clamp(36px, 4vw, 56px) clamp(24px, 4vw, 64px) 8px 0; }
.mode + .mode { padding-left: clamp(24px, 4vw, 64px); padding-right: 0; border-left: 1px solid var(--rule-light); }
.mode-tag { font-size: .9rem; font-style: italic; color: var(--silver-lo); }
.mode h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; }
.mode > p:not(.mode-tag) { color: var(--ink-2); max-width: 52ch; }
.mode ul { list-style: none; display: grid; gap: 0; margin-top: 6px; }
.mode li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--rule-light); color: var(--ink); }
.mode li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 16px; height: 1px; background: var(--silver-lo); }
.mode-link { align-self: flex-start; margin-top: 12px; color: var(--navy); font-weight: 700; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--navy); transition: letter-spacing .5s var(--ease); }
.mode-link:hover { letter-spacing: .03em; }

/* ---------- практики на тёмном ---------- */
.deep .p-row { border-color: var(--rule-deep); }
.deep .p-row::before { background: var(--silver); }
.deep .p-body p { color: var(--on-deep-2); }
.deep .p-body li { color: var(--on-deep); }

/* ---------- проиграть правильно ---------- */
.lose-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.lose-head h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1.02; }
.lose-head p { color: var(--ink-2); max-width: 44ch; font-size: 1.1rem; }
.lose-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-light); counter-reset: lose; }
.lose-list li { padding: 36px 48px 36px 0; border-bottom: 1px solid var(--rule-light); }
.lose-list li:nth-child(even) { padding: 36px 0 36px 48px; border-left: 1px solid var(--rule-light); }
.lose-list h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 12px; }
.lose-list p { color: var(--ink-2); max-width: 46ch; }

/* ---------- почему выгоднее ---------- */
.why { margin-top: clamp(56px, 7vw, 96px); }
.why h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--navy); }
.why .principles { margin-top: 28px; }

/* ---------- дела ---------- */
.cases { overflow: hidden; }
.cases-pin { min-height: 100svh; display: flex; align-items: center; }
.cases-track { display: flex; align-items: stretch; gap: clamp(24px, 3vw, 48px); padding: 140px var(--gutter) 90px; will-change: transform; }
.cases-track::after { content: ""; flex: 0 0 1px; margin-left: calc(var(--gutter) - 1px); }
.cases-intro { flex: 0 0 min(30vw, 420px); align-self: center; }
.cases-intro h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.cases-intro p { margin-top: 28px; max-width: 34ch; color: var(--on-deep-2); }
.case {
  flex: 0 0 min(560px, 78vw); display: flex; flex-direction: column; gap: 20px;
  padding: clamp(32px, 3.4vw, 52px); border: 1px solid var(--rule-deep);
  background: linear-gradient(160deg, rgba(11, 52, 116, .55) 0%, rgba(0, 16, 63, .45) 60%, rgba(0, 0, 41, .3) 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.case-area { font-size: .88rem; font-style: italic; color: var(--silver); letter-spacing: .02em; }
.case h3 { font-size: clamp(1.7rem, 2.3vw, 2.2rem); line-height: 1.12; }
.case-sit { color: var(--on-deep-2); }
.case-move { color: var(--on-deep); padding-left: 20px; border-left: 1px solid var(--silver-lo); }
.case-result { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--rule-deep); color: var(--on-deep-2); font-size: .95rem; }
.case-fig { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 3.4vw, 3.3rem); line-height: 1; color: var(--silver-hi); margin-bottom: 10px; }

/* ---------- подход ---------- */
.steps { list-style: none; position: relative; display: grid; gap: clamp(40px, 5vw, 72px); padding-left: 0; }
.steps li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; max-width: 780px; }
.steps li:nth-child(even) { margin-left: auto; }
.step-n { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--silver); }
.steps h3 { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 12px; }
.steps p { color: var(--on-deep-2); max-width: 52ch; }

/* ---------- сопровождение ---------- */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-light); }
.formats article { padding: 40px 36px 40px 0; }
.formats article + article { padding-left: 36px; border-left: 1px solid var(--rule-light); }
.formats h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); margin-bottom: 16px; }
.formats p { color: var(--ink-2); }
.principles { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 28px; gap: 32px; padding-top: 32px; border-top: 1px solid var(--rule-light); }
.principles dt { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.principles dd { color: var(--ink-2); max-width: 36ch; }

/* ---------- клиенты ---------- */
.clients h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin-bottom: clamp(40px, 5vw, 72px); }
.clients-lead { max-width: 52ch; margin: -40px 0 clamp(48px, 6vw, 80px); color: var(--on-deep-2); }
.marquee { display: grid; gap: clamp(20px, 3vw, 36px); }
.mq-row { display: flex; width: max-content; will-change: transform; }
.client {
  margin: 0; flex: none; width: clamp(190px, 17vw, 240px); height: 150px; padding: 18px 20px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px;
  border-left: 1px solid var(--rule-deep);
}
.client img { max-height: 64px; max-width: 170px; width: auto; height: auto; margin: auto 0; opacity: .72; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.client:hover img { opacity: 1; transform: scale(1.06); }
.client-word { margin: auto 0; font-family: var(--display); font-weight: 300; font-size: 1.45rem; line-height: 1.15; color: rgba(255,255,255,.78); text-align: center; text-wrap: balance; }
.client figcaption { font-size: .8rem; font-style: italic; color: var(--on-deep-2); text-align: center; white-space: nowrap; }

/* ---------- контакт ---------- */
.contact { padding-top: clamp(96px, 13vw, 184px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.contact-copy h2 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.contact-copy > p { margin-top: 28px; max-width: 44ch; color: var(--on-deep-2); }
.contacts { margin-top: 52px; display: grid; }
.contacts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule-deep); }
.contacts dt { font-style: italic; color: var(--on-deep-2); }
.contacts dd { color: #fff; font-variant-numeric: tabular-nums; }
.contacts a { text-decoration: none; }
.contacts a:hover { text-decoration: underline; }

.form { display: grid; gap: 30px; padding: clamp(28px, 3.4vw, 48px); border: 1px solid var(--rule-deep); background: rgba(0, 38, 89, .35); }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-size: .92rem; color: var(--on-deep-2); padding: 0; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(188,190,192,.45); border-radius: 0;
  padding: 10px 0 12px; font-size: 1.15rem; color: #fff; caret-color: var(--silver-hi); resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 110px; line-height: 1.5; }
.field ::placeholder { color: rgba(228,230,232,.36); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--silver-hi); box-shadow: 0 1px 0 var(--silver-hi); }
.field input[aria-invalid="true"] { border-bottom-color: var(--err); box-shadow: 0 1px 0 var(--err); }
.field-err { color: var(--err); font-size: .9rem; }
.urgency { display: flex; flex-wrap: wrap; gap: 10px; }
.urgency legend { width: 100%; margin-bottom: 10px; }
.urgency label { position: relative; cursor: pointer; }
.urgency input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.urgency span { display: inline-block; padding: 10px 16px; border: 1px solid rgba(188,190,192,.4); font-size: .95rem; transition: background-color .3s, color .3s, border-color .3s; }
.urgency input:checked + span { background: linear-gradient(135deg, #fff, var(--silver)); color: var(--deep); border-color: transparent; }
.urgency label:hover span { border-color: var(--silver); }
.urgency input:focus-visible + span { outline: 1.5px solid var(--silver-hi); outline-offset: 3px; }
.form-note { font-size: .88rem; color: var(--on-deep-2); }
.form-status { color: #fff; min-height: 1.5em; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

.foot { margin-top: clamp(96px, 12vw, 160px); padding-block: 40px 44px; border-top: 1px solid var(--rule-deep); display: grid; grid-template-columns: auto 1fr auto; gap: 32px 64px; align-items: end; }
.foot-logo { width: clamp(170px, 18vw, 240px); height: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-self: center; }
.foot-nav a, .foot-meta a { text-decoration: none; color: var(--on-deep-2); }
.foot-nav a:hover, .foot-meta a:hover { color: #fff; }
.foot-meta { text-align: right; font-size: .9rem; color: var(--on-deep-2); display: grid; gap: 4px; }

/* ---------- нижняя панель на телефоне ---------- */
.mobile-cta { display: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
}
@media (max-width: 1023px) {
  .cases-pin { min-height: 0; display: block; }
  .cases-track { flex-direction: column; padding: clamp(96px, 13vw, 150px) var(--gutter); }
  .cases-track::after { display: none; }
  .cases-intro { flex: none; margin-bottom: 16px; }
  .case { flex: none; }
}
@media (max-width: 900px) {
  .bar-phone, .bar-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: calc(110px + env(safe-area-inset-top, 0px)); }
  .hero-inner { grid-template-columns: 1fr; }
  .emblem-stage { order: -1; justify-items: end; margin-bottom: -8vw; }
  .emblem { width: 44vw; }
  .hero-foot { grid-template-columns: 1fr 1fr; }
  .hero-foot p:last-child { grid-column: 1 / -1; }
  .sec-head { grid-template-columns: 1fr; }
  .p-row { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 72px minmax(0, 1fr); }
  .steps li:nth-child(even) { margin-left: 0; }
  .modes-grid, .lose-list, .lose-head { grid-template-columns: 1fr; }
  .mode, .mode + .mode { padding: 32px 0 8px; border-left: 0; }
  .mode + .mode { border-top: 1px solid var(--rule-light); }
  .lose-list li, .lose-list li:nth-child(even) { padding: 28px 0; border-left: 0; }
  .formats, .principles { grid-template-columns: 1fr; }
  .formats article, .formats article + article { padding: 32px 0; border-left: 0; }
  .formats article + article { border-top: 1px solid var(--rule-light); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; align-items: start; }
  .foot-nav { justify-self: start; }
  .foot-meta { text-align: left; }
}
@media (max-width: 900px) {
  .brand { display: flex; align-items: center; min-height: 48px; }
  .hero-phone { padding-block: 12px 8px; }
  .foot-nav a { padding: 10px 6px; margin-inline: -6px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 41, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--rule-deep);
    transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .mobile-cta.is-on { transform: none; }
  .mc-call { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--rule-deep); color: #fff; text-decoration: none; font-weight: 700; }
  .mc-go { min-height: 52px; padding: 0 16px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand img { height: 36px; }
  .m-line[data-from="right"] { text-align: left; }
  .hero-foot .num { font-size: 1.7rem; }
  .contacts div { grid-template-columns: 1fr; gap: 2px; }
  .case { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .mq-row { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-inline: var(--gutter); }
}
