:root {
  --ink: #102131;
  --navy: #173d59;
  --blue: #28678d;
  --signal: #ffd06a;
  --signal-dark: #28678d;
  --paper: #f5f6f4;
  --white: #ffffff;
  --line: #cbd5dc;
  --muted: #5a6874;
  --ok: #1e6b59;
  --radius: 3px;
  --shadow: 0 18px 50px rgba(10, 30, 48, .10);
  --drawing-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(17,44,70,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,44,70,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; background: var(--signal); color: var(--ink); font-weight: 800;
}
.skip-link:focus { top: 1rem; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero-grid > *, .service-hero-grid > *, .section-head > *, .lead-shell > *, .content-grid > *, .price-panel > * { min-width: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 245, .95);
  border-bottom: 2px solid rgba(17, 44, 70, .36);
  backdrop-filter: blur(14px);
}
.site-header::after { content: ""; position: absolute; right: 20px; bottom: -6px; width: 72px; height: 5px; border-left: 2px solid var(--signal-dark); border-right: 2px solid var(--signal-dark); }
.header-row { min-height: 76px; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 900; letter-spacing: .025em; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; color: var(--white);
  background: var(--navy); border: 2px solid var(--navy); outline: 1px solid var(--signal); outline-offset: 3px;
  font-size: .82rem; letter-spacing: -.05em;
}
.brand-text small { display: block; color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.header-contacts { display: flex; align-items: center; gap: .42rem; margin-left: auto; }
.header-phone { color: var(--navy); font-size: .86rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.messenger-link { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--white); font: 900 .61rem/1 ui-monospace, monospace; letter-spacing: -.04em; text-decoration: none; }
.messenger-wa { background: #258d58; }.messenger-tg { background: #2787c7; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 700; }
.nav-contacts { display: none; }
.nav a:not(.button):hover, .nav a:not(.button):focus-visible { color: var(--blue); }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--navy); background: transparent; }
.menu-button span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy); }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.05rem;
  border: 2px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: var(--white);
  font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-2px); background: #173d60; }
.button:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.button.signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.button.signal:hover { background: #ffca67; }
.button.ghost { background: transparent; color: var(--navy); }
.button.small { min-height: 42px; padding: .55rem .9rem; font-size: .9rem; }

@media (min-width: 981px) and (max-width: 1300px) {
  .header-row { gap: .72rem; }
  .brand { gap: .58rem; font-size: .92rem; }
  .header-contacts { gap: .3rem; }
  .header-phone { font-size: .8rem; }
  .messenger-link { width: 28px; height: 28px; font-size: .56rem; }
  .nav { gap: .58rem; white-space: nowrap; }
  .nav a { font-size: .84rem; }
  .button.small { min-height: 38px; padding: .45rem .66rem; font-size: .8rem; }
}

.hero {
  position: relative; overflow: hidden; color: var(--ink); background: var(--paper);
  border-bottom: 3px solid var(--blue);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 1;
  background-image: linear-gradient(rgba(40,103,141,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(40,103,141,.075) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -210px;
  border: 1px solid rgba(40,103,141,.28); border-radius: 50%; box-shadow: 0 0 0 55px rgba(40,103,141,.035), 0 0 0 120px rgba(40,103,141,.025);
}
.hero-grid { position: relative; z-index: 1; min-height: 500px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 2.5rem; padding-block: 3.35rem 3rem; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 820px; margin-bottom: 1.2rem; font-size: clamp(2.6rem, 4.8vw, 4.8rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.25rem; }
.hero-copy { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero .button.ghost { border-color: var(--blue); color: var(--blue); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.hero-facts li { min-width: 135px; }
.hero-facts strong { display: block; color: var(--blue); font-size: 1.45rem; }
.hero-facts span { color: var(--muted); font-size: .8rem; }

.blueprint {
  position: relative; min-height: 440px; padding: 1.4rem; overflow: hidden; background: #f9fbfa;
  border: 2px solid var(--blue); box-shadow: var(--shadow), 0 0 0 8px rgba(40,103,141,.11); transform: none;
}
.blueprint::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(40,103,141,.45); pointer-events: none; }
.blueprint::after { content: ""; position: absolute; inset: 27px; border: 1px solid rgba(40,103,141,.17); background-image: linear-gradient(rgba(40,103,141,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(40,103,141,.10) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.blueprint-sheet { display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.05rem; padding: 1.65rem; }
.blueprint-sheet > * { position: relative; z-index: 1; }
.sheet-topline { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid #aac2d1; color: #557289; font: 700 .63rem/1.2 var(--drawing-font); letter-spacing: .08em; }
.sheet-topline strong { color: var(--blue); white-space: nowrap; }
.sheet-heading { display: grid; gap: .25rem; color: var(--navy); font-family: var(--drawing-font); }
.sheet-heading span { font-size: 1.25rem; font-weight: 800; letter-spacing: .06em; }
.sheet-heading small { color: #58758a; font-size: .62rem; letter-spacing: .12em; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.sheet-card { display: grid; grid-template-columns: 2rem 1fr; column-gap: .65rem; align-content: start; padding: .8rem; border: 1px solid #8faebf; background: rgba(255,255,255,.78); }
.sheet-card b { grid-row: span 2; color: var(--blue); font: 800 .9rem/1 var(--drawing-font); }
.sheet-card strong { color: var(--navy); font-size: .92rem; }
.sheet-card span { grid-column: 2; color: #587083; font-size: .71rem; line-height: 1.38; }
.sheet-footer { display: grid; gap: .35rem; padding-top: .75rem; border-top: 1px solid #8faebf; color: #587083; font: 700 .51rem/1.35 var(--drawing-font); letter-spacing: .045em; }
.sheet-footer strong { color: var(--blue); }
.bp-label { position: absolute; z-index: 1; top: 28px; left: 28px; font: 700 .72rem/1.2 var(--drawing-font); color: var(--blue); letter-spacing: .08em; }
.bp-axis { position: absolute; z-index: 1; color: #647889; font: 700 .56rem/1 var(--drawing-font); letter-spacing: .06em; }
.bp-axis-x { left: 30px; top: 52px; }.bp-axis-y { right: 25px; top: 30px; writing-mode: vertical-rl; }
.bp-stage { position: absolute; border: 2px solid var(--blue); background: rgba(40,103,141,.045); }
.bp-stage, .bp-line, .bp-circle, .bp-note, .bp-dimension, .bp-stamp { z-index: 1; }
.bp-stage.one { inset: 84px 48px 166px 72px; }.bp-stage.two { width: 44%; height: 36%; right: 34px; bottom: 48px; border-color: #7c98a9; }.bp-stage.three { width: 30%; height: 21%; left: 36px; bottom: 62px; }
.bp-line { position: absolute; height: 1px; background: rgba(23,61,89,.56); transform-origin: left; }
.bp-line.a { width: 68%; left: 12%; top: 49%; transform: rotate(-18deg); }
.bp-line.b { width: 46%; left: 36%; top: 24%; transform: rotate(61deg); }
.bp-circle { position: absolute; width: 74px; height: 74px; right: 72px; top: 104px; border: 1px dashed #7c98a9; border-radius: 50%; }
.bp-note { position: absolute; right: 22px; bottom: 78px; color: #526a7b; font: 600 .63rem/1.4 var(--drawing-font); text-align: right; }
.bp-dimension { position: absolute; color: var(--blue); font: 700 .62rem/1 var(--drawing-font); letter-spacing: .08em; }
.bp-dimension-x { width: 62%; left: 18%; bottom: 137px; padding-top: 6px; border-top: 1px solid var(--blue); text-align: center; }.bp-dimension-x::before, .bp-dimension-x::after { content: ""; position: absolute; top: -5px; width: 1px; height: 10px; background: var(--blue); }.bp-dimension-x::before { left: 0; }.bp-dimension-x::after { right: 0; }
.bp-dimension-y { right: 19px; top: 112px; height: 44%; padding-left: 6px; border-left: 1px solid var(--blue); writing-mode: vertical-rl; text-align: center; }.bp-dimension-y::before, .bp-dimension-y::after { content: ""; position: absolute; left: -5px; width: 10px; height: 1px; background: var(--blue); }.bp-dimension-y::before { top: 0; }.bp-dimension-y::after { bottom: 0; }
.bp-stamp { position: absolute; right: 14px; bottom: 14px; display: grid; grid-template-columns: auto auto; gap: 0 10px; min-width: 205px; padding: 7px 9px; border: 1px solid var(--blue); color: var(--navy); background: rgba(255,255,255,.93); font-family: var(--drawing-font); }
.bp-stamp i { font-size: .49rem; color: #58758a; font-style: normal; letter-spacing: .08em; }.bp-stamp b, .bp-stamp strong { color: var(--blue); font-size: .74rem; }.bp-stamp em { grid-column: 1 / -1; padding-top: 5px; border-top: 1px solid rgba(40,103,141,.22); color: #58758a; font-size: .45rem; font-style: normal; letter-spacing: .05em; }

.section { padding-block: 4rem; }
.section.white { background: var(--white); }
.section.dark { color: var(--ink); background: #eaf0f2; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2.5rem; margin-bottom: 2.4rem; }
.section-head p { margin: .3rem 0 0; max-width: 700px; color: var(--muted); font-size: 1.05rem; }
.dark .section-head p { color: var(--muted); }
.section-code { color: var(--blue); font: 800 .8rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.section-code::before { content: ""; display: inline-block; width: 18px; margin: 0 8px 3px 0; border-top: 1px solid currentColor; box-shadow: 7px 4px 0 -6px currentColor; }
.dark .section-code { color: var(--blue); }

.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #80909c; border: 2px solid var(--navy); }
.scenario { position: relative; min-height: 0; padding: 1.25rem 1.35rem 1.3rem; overflow: hidden; background: var(--white); }
.scenario::after, .deliverable::after, .spec-card::after { content: ""; position: absolute; right: 10px; top: 10px; width: 13px; height: 13px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; opacity: .45; }
.scenario .number { color: var(--signal-dark); font: 900 .85rem/1 ui-monospace, monospace; }
.scenario h3 { margin: 1.25rem 0 .65rem; }
.scenario p { margin: 0; color: var(--muted); }
.scenario a { display: inline-block; margin-top: 1rem; color: var(--blue); font-weight: 800; text-underline-offset: 4px; }

.deliverable-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.deliverable { position: relative; padding: 1.8rem; border: 1px solid #94aab8; background: var(--white); }
.deliverable strong { display: block; margin-bottom: .4rem; color: var(--blue); }
.deliverable span { color: var(--muted); }

.process { counter-reset: phase; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process-step { position: relative; padding: 2rem 1.2rem 0 0; }
.process-step::before { counter-increment: phase; content: "0" counter(phase); display: block; width: 44px; margin-top: -2.75rem; padding: .25rem; color: var(--white); background: var(--blue); text-align: center; font: 800 .8rem/1.4 ui-monospace, monospace; }
.process-step h3 { margin-top: 1.4rem; font-size: 1rem; }
.process-step p { color: var(--muted); font-size: .9rem; }

.price-panel { display: grid; grid-template-columns: 1fr 1.25fr; min-width: 0; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.price-figure { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-width: 0; min-height: 390px; padding: 2.2rem; overflow: hidden; color: var(--white); background: var(--blue); }
.price-figure > * { min-width: 0; }
.price-figure .big { display: block; max-width: 100%; font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 900; letter-spacing: -.07em; line-height: .92; overflow-wrap: anywhere; }
.price-figure p { max-width: 34rem; margin: 0; color: #d5e8f2; overflow-wrap: anywhere; hyphens: auto; }
.price-figure .button { align-self: flex-start; width: auto; max-width: 100%; }
.price-detail { padding: 2.6rem; }
.factor-list { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.factor-list li { display: flex; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.factor-list b { width: 1.5rem; color: var(--signal-dark); font-family: ui-monospace, monospace; }

.region-strip { padding: 1.2rem 0; color: var(--ink); background: #e6eff4; border-bottom: 1px solid #b8cbd6; }
.region-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.region-row strong { font-size: 1.1rem; }
.region-row span { color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 800; cursor: pointer; }
.faq-button::after { content: "+"; font-size: 1.4rem; }
.faq-button[aria-expanded="true"]::after { content: "−"; }
.faq-answer { max-width: 760px; padding: 0 0 1.4rem; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.lead-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: start; }
.lead-note { padding: 1.4rem; border-left: 4px solid var(--blue); background: #e6eff4; color: var(--ink); }
.lead-note strong { color: var(--blue); }
.form { padding: 2.2rem; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .42rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .75rem .85rem; border: 1px solid #9eacb6; border-radius: var(--radius); background: #fbfcfc; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(242,184,75,.45); border-color: var(--signal-dark); }
.consent { display: flex; align-items: flex-start; gap: .7rem; margin: 1rem 0; font-size: .8rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; }
.form-status { margin: 1rem 0 0; padding: .8rem; background: #e9f3ef; color: var(--ok); font-weight: 700; }

.service-hero { position: relative; isolation: isolate; overflow: hidden; padding: 3.6rem 0 2.8rem; background-color: var(--white); background-image: linear-gradient(rgba(17,44,70,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(17,44,70,.075) 1px, transparent 1px); background-size: 24px 24px; border-bottom: 3px solid var(--navy); }
.service-hero::before { content: ""; position: absolute; z-index: -1; inset: 18px max(18px, calc((100vw - 1180px) / 2)); border: 1px solid rgba(17,44,70,.45); pointer-events: none; }.service-hero::after { content: "ЛИСТ 01 · ПОС · ПРЕДВАРИТЕЛЬНАЯ ОЦЕНКА"; position: absolute; z-index: -1; right: max(31px, calc((100vw - 1140px) / 2)); bottom: 17px; padding: 6px 10px; color: #345169; border: 1px solid #8094a4; background: rgba(255,255,255,.82); font: 700 .59rem/1 var(--drawing-font); letter-spacing: .07em; }
.pod-page .service-hero::after { content: "ЛИСТ 01 · ПОД · ПРЕДВАРИТЕЛЬНАЯ ОЦЕНКА"; }
.ppr-page .service-hero::after { content: "ЛИСТ 01 · ППР · ПРЕДВАРИТЕЛЬНАЯ ОЦЕНКА"; }
.service-hero h1 { color: var(--navy); font-size: clamp(2.7rem, 5.6vw, 5rem); }
.service-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: end; }
.service-summary { font-size: 1.15rem; color: var(--muted); }
.spec-card { position: relative; padding: 2.7rem 1.6rem 1.6rem; border: 2px solid var(--navy); background: rgba(244,246,245,.94); box-shadow: 7px 7px 0 rgba(17,44,70,.12); }
.spec-card::before { content: "ШТАМП ПАРАМЕТРОВ"; position: absolute; top: 0; left: 0; right: 0; padding: .52rem .8rem; color: var(--white); background: var(--navy); font: 800 .64rem/1 var(--drawing-font); letter-spacing: .12em; }
.spec-card dl { display: grid; gap: .8rem; margin: 0; }
.spec-card div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.spec-card div:last-child { border: 0; padding: 0; }
.spec-card dt { color: var(--muted); }
.spec-card dd { margin: 0; font-weight: 900; text-align: right; }

.content-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 4rem; }
.sticky-index { position: sticky; top: 104px; align-self: start; padding: 1.2rem; border-left: 3px solid var(--signal); background: var(--white); }
.sticky-index a { display: block; padding: .38rem 0; color: var(--muted); text-decoration: none; font-size: .88rem; }
.sticky-index a:hover { color: var(--blue); }
.content-block { padding-bottom: 4rem; scroll-margin-top: 110px; }
.content-block p, .content-block li { color: #41515e; }
.check-list { display: grid; gap: .6rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.65rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .53rem; width: 8px; height: 8px; background: var(--signal); box-shadow: 4px 4px 0 var(--navy); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card { padding: 1.5rem; border: 1px solid var(--line); background: var(--white); }
.info-card ul { padding-left: 1.1rem; }
.notice { padding: 1.2rem 1.3rem; border-left: 4px solid var(--signal); background: #fff9ed; }

.quick-start { padding: 2.6rem 0; color: var(--ink); background: #e6eff4; border-bottom: 3px solid var(--blue); }
.quick-start-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.quick-start h2 { margin: .65rem 0 .8rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.quick-start p { margin: 0; color: var(--muted); }
.compact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 1px; list-style: none; background: #476078; }
.compact-list li { min-width: 0; padding: 1rem 1.1rem; border: 1px solid #b8cbd6; background: var(--white); }
.compact-list strong, .compact-list span { display: block; }
.compact-list strong { margin-bottom: .25rem; color: var(--blue); }
.compact-list span { color: var(--muted); font-size: .86rem; }

.principle-grid, .coord-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 1.6rem 0; padding: 1px; background: var(--line); }
.principle-grid > div, .coord-grid article { min-width: 0; padding: 1.2rem; background: var(--paper); }
.principle-grid strong, .principle-grid span { display: block; }
.principle-grid strong { margin-bottom: .25rem; color: var(--navy); }
.principle-grid span { color: var(--muted); font-size: .9rem; }
.coord-grid article h3 { margin-bottom: .5rem; color: var(--navy); font-size: 1rem; }
.coord-grid article p { margin: 0; font-size: .9rem; }
.source-note { padding: 1rem 1.15rem; color: #405563 !important; background: #edf3f6; border-left: 3px solid var(--blue); font-size: .9rem; }

.scenario-stack { display: grid; gap: .8rem; counter-reset: scenario; }
.scenario-stack article { position: relative; padding: 1.35rem 1.35rem 1.35rem 4.3rem; border: 1px solid var(--line); background: var(--white); }
.scenario-stack article::before { counter-increment: scenario; content: "0" counter(scenario); position: absolute; left: 1.2rem; top: 1.3rem; color: var(--signal-dark); font: 900 .85rem/1 ui-monospace, monospace; }
.scenario-stack h3 { margin-bottom: .45rem; }
.scenario-stack p { margin: 0; }

.table-wrap { width: 100%; margin: 1.4rem 0; }
.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; }
.data-table th, .data-table td { padding: .9rem 1rem; border: 1px solid var(--line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.data-table th { color: var(--white); background: var(--navy); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.data-table td { color: #41515e; background: var(--white); }
.data-table tbody tr:nth-child(even) td { background: #f6f8f8; }
.data-table.compact th:first-child { width: 16%; }

.check-list.columns { grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; }
.workflow-list { display: grid; gap: 0; padding: 0; list-style: none; counter-reset: workflow; border-top: 1px solid var(--line); }
.workflow-list li { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; padding: 1rem .5rem 1rem 3.3rem; border-bottom: 1px solid var(--line); }
.workflow-list li::before { counter-increment: workflow; content: counter(workflow); position: absolute; left: .3rem; top: .88rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; color: var(--white); background: var(--blue); font-weight: 900; font-size: .78rem; }
.workflow-list span { color: var(--muted); }

.site-footer { padding: 3rem 0 1.5rem; color: #d0dbe2; background-color: #07131f; background-image: linear-gradient(rgba(115,180,214,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(115,180,214,.08) 1px, transparent 1px); background-size: 26px 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr .7fr .8fr; gap: 3rem; }
.footer-title { color: var(--white); font-weight: 900; }
.footer-links a { display: block; margin: .45rem 0; color: #b6c6d1; text-decoration: none; }
.footer-meta { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid #283a49; color: #7f929f; font-size: .78rem; }

@media (max-width: 980px) {
  .header-contacts { display: none; }
  .menu-button { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; display: none; padding: 1.2rem 20px 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: grid; }
  .nav .button { width: 100%; }
  .nav-contacts { display: grid; gap: .55rem; padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav-contacts a { color: var(--blue); }
  .hero-grid, .service-hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero-grid { min-height: auto; }
  .blueprint { max-width: 620px; width: 100%; min-height: 360px; transform: none; }
  .section-head, .lead-shell, .content-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  /* Three cards must never form a 2×2 grid with an empty fourth cell. */
  .scenario-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .price-panel { grid-template-columns: 1fr; }
  .price-figure { min-height: auto; }
  .price-figure .big { font-size: clamp(3.25rem, 12vw, 5.6rem); }
  .sticky-index { display: none; }
  .quick-start-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 660px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-row { min-height: 68px; }
  .brand-text { font-size: .9rem; }
  .brand-text small { display: none; }
  .nav { inset: 68px 0 auto; }
  .hero-grid { gap: 2rem; padding-block: 3.2rem 2.8rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .blueprint { min-height: 300px; }
  .blueprint-sheet { padding: 1.3rem; }
  .sheet-topline { font-size: .54rem; }
  .sheet-heading span { font-size: 1.05rem; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-card { padding: .65rem; }
  .sheet-footer { font-size: .46rem; }
  .section { padding-block: 3.1rem; }
  .section-head { margin-bottom: 2rem; }
  .scenario-grid, .deliverable-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .compact-list, .principle-grid, .coord-grid, .check-list.columns { grid-template-columns: 1fr; }
  .workflow-list li { grid-template-columns: 1fr; gap: .25rem; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .data-table tr { margin-bottom: .8rem; border: 1px solid var(--line); }
  .data-table td { display: grid; grid-template-columns: minmax(90px, .72fr) minmax(0, 1.28fr); gap: .8rem; border: 0; border-bottom: 1px solid var(--line); }
  .data-table td:last-child { border-bottom: 0; }
  .data-table td::before { content: attr(data-label); color: var(--navy); font-size: .72rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
  .scenario { min-height: 0; }
  .process { grid-template-columns: 1fr; gap: 2rem; }
  .price-figure { min-height: 340px; padding: 1.6rem; }
  .price-figure p { font-size: 1rem; }
  .price-figure .button { width: 100%; }
  .price-detail, .form { padding: 1.4rem; }
  .region-row { display: grid; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .service-hero { padding-top: 3.4rem; }
  .service-hero::after { display: none; }
  .service-hero h1 { font-size: clamp(2.15rem, 11.5vw, 3.4rem); overflow-wrap: anywhere; }
  .spec-card div { display: grid; gap: .2rem; }
  .spec-card dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
