/* Базовая интерфейсная система сайта «Точный порядок». */
:root {
  --navy-950: #071d2a;
  --navy-900: #0d293b;
  --navy-800: #102a43;
  --teal-600: #9b753d;
  --teal-500: #b58a4a;
  --teal-300: #d6bc8c;
  --ink: #102a3a;
  --muted: #526773;
  --line: #dce6e8;
  --soft: #f4f7f7;
  --soft-teal: #1a1712;
  --danger: #b42318;
  --success: #087450;
  --sans: "Segoe UI", Arial, sans-serif;
  --container: min(1240px, calc(100% - 64px));
  --header-height: 84px;
  --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
h1 { margin-bottom: 24px; font-size: clamp(2.25rem, 4vw, 3.5rem); }
h2 { margin-bottom: 20px; font-size: clamp(1.875rem, 3vw, 2.75rem); }
h3 { font-size: 1.3125rem; line-height: 1.3; letter-spacing: -.02em; }
p { margin-bottom: 18px; }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 4px; }
.container { width: var(--container); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.skip-link { position: fixed; z-index: 300; top: 8px; left: 8px; padding: 12px 18px; color: #fff; background: var(--navy-800); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* Полный выбранный логотип: ограниченный блок, обрезаются только белые поля. */
.site-header { position: sticky; z-index: 100; top: 0; color: var(--ink); background: rgba(255,255,255,.98); border-top: 4px solid var(--teal-600); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; flex: 0 1 330px; width: 330px; min-width: 0; max-width: 100%; aspect-ratio: 5.5 / 1; overflow: hidden; }
.brand .brand__logo, .footer-brand .brand__logo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.nav { display: flex; align-items: center; justify-content: center; gap: 20px; }
.nav__link { padding-block: 10px; color: #425a69; font-size: 0.875rem; font-weight: 600; line-height: 1.3; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.nav__link:hover, .nav__link.is-active { color: var(--teal-600); border-color: var(--teal-600); }
.site-header__contact { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 4px; }
.header-phone { font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.nav-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: currentColor; transition: transform .18s, opacity .18s; }

.button { min-height: 50px; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 22px; color: var(--ink); border: 1px solid transparent; border-radius: 0; font-size: 0.9375rem; font-weight: 700; line-height: 1.35; text-align: center; transition: background .18s, color .18s, border-color .18s; }
.button svg, .text-link svg, .service-card__link svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button--small { min-height: 40px; padding: 9px 16px; font-size: 0.875rem; }
.button--accent { color: #101519; background: var(--teal-500); }
.button--accent:hover { background: #d0ad70; }
.button--light { color: var(--navy-900); background: #fff; border-color: #fff; }
.button--light:hover { color: #fff; background: transparent; border-color: var(--teal-300); }
.button--ghost, .button--outline { color: var(--ink); background: transparent; border-color: #b5c8ce; }
.button--ghost:hover, .button--outline:hover { color: var(--teal-600); background: var(--soft-teal); border-color: var(--teal-600); }
.button--text { min-height: 44px; padding: 6px 0; color: var(--navy-800); border-radius: 0; border-bottom-color: #a4bbc4; }
.button--text:hover { color: var(--teal-600); border-bottom-color: var(--teal-600); }
.button--full { width: 100%; }
.button:disabled { cursor: wait; opacity: .65; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-600); font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--teal-600); font-size: 0.75rem; font-weight: 700; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 25px; width: 25px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--teal-300); }

/* Главный экран: прямое предложение и каталог основных направлений. */
.hero { position: relative; background: #f6f9f9; border-bottom: 1px solid var(--line); }
.hero__layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); align-items: center; gap: 64px; padding-block: 62px; }
.hero__content, .hero__visual { min-width: 0; }
.hero h1 { margin-bottom: 26px; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1.06; letter-spacing: -.04em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { margin-top: 7px; color: var(--teal-600); font-style: normal; }
.hero__lead { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 38px 0 0; gap: 18px; }
.hero__facts div { min-width: 0; padding-top: 14px; border-top: 1px solid #cbdcdc; }
.hero__facts dt { margin-bottom: 5px; color: var(--teal-600); font-size: 0.75rem; font-weight: 700; }
.hero__facts dd { margin: 0; color: #48616e; font-size: 0.8125rem; line-height: 1.45; }
.hero-services { min-width: 0; padding: 26px 30px 10px; color: #fff; background: var(--navy-900); border-top: 6px solid var(--teal-500); }
.hero-services__label { margin: 0 0 12px; color: var(--teal-300); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-services a { display: grid; grid-template-columns: 34px minmax(0,1fr) 22px; align-items: center; gap: 14px; min-height: 92px; padding: 18px 0; border-top: 1px solid #365261; }
.hero-services a > span { color: var(--teal-300); font-size: .75rem; font-weight: 700; }
.hero-services a > div { min-width: 0; }
.hero-services strong { display: block; margin-bottom: 5px; font-size: 1rem; line-height: 1.35; }
.hero-services small { display: block; color: #bdd0d9; font-size: .8125rem; line-height: 1.5; }
.hero-services svg { width: 20px; height: 20px; fill: none; stroke: var(--teal-300); stroke-width: 1.8; transition: transform .18s; }
.hero-services a:hover strong { color: var(--teal-300); }
.hero-services a:hover svg { transform: translateX(4px); }
.decision-demo { min-width: 0; color: #fff; background: transparent; }
.decision-demo__top { margin: 0 0 20px; color: #bad0d9; font-size: .8125rem; }
.decision-demo__top span { color: var(--teal-300); font-size: 0.75rem; font-weight: 700; }
.decision-demo__top strong { color: #b4cbd6; font-size: 0.75rem; font-weight: 400; white-space: nowrap; }
.decision-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; border-bottom: 1px solid #42616f; background: transparent; }
.decision-tabs button { min-width: 0; min-height: 40px; padding: 12px 0; color: #c5d7df; background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.decision-tabs button:hover { color: #fff; border-bottom-color: #fff; }
.decision-tabs button.is-active { color: var(--teal-300); background: transparent; border-bottom-color: var(--teal-300); }
.decision-tabs button:focus-visible, #decision-panel:focus-visible { outline-color: var(--teal-300); outline-offset: 3px; }
.decision-demo__question { padding: 26px 0 20px; }
.decision-demo__question span, .decision-demo__result span { display: block; margin-bottom: 7px; font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.decision-demo__question span { color: var(--teal-300); }
.decision-demo__question strong { display: block; font-size: 1.25rem; line-height: 1.35; }
.decision-demo__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-inline: 0; }
.decision-demo__checks article { min-width: 0; padding: 0 0 0 18px; border-left: 2px solid #3f6374; }
.decision-label { display: inline-block; color: var(--teal-300); font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.decision-label--law { color: #e0ebf0; }
.decision-demo__checks h3 { margin: 14px 0 8px; font-size: 0.9375rem; }
.decision-demo__checks p { margin: 0; color: #c0d2db; font-size: 0.8125rem; line-height: 1.55; }
.decision-demo__result { margin: 26px 0 0; padding: 20px 0 0; color: #fff; border-top: 2px solid var(--teal-500); }
.decision-demo__result span { color: var(--teal-300); }
.decision-demo__result strong { display: block; font-size: 0.875rem; line-height: 1.5; }

.section { padding-block: 80px; }
.section--intro { padding-block: 72px; border-bottom: 1px solid var(--line); }
.section--muted, .section--prices, .section--benefits { background: var(--soft); }
.section--dark, .section--cases { color: #fff; background: var(--navy-950); }
.section--dark .eyebrow, .section--cases .eyebrow { color: var(--teal-300); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.split-heading h2 { margin-bottom: 0; }
.lead-copy { color: var(--muted); font-size: 1.0625rem; }
.lead-copy > :last-child { margin-bottom: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 36px; }
.section-head > div { min-width: 0; }
.section-head h2 { max-width: 730px; margin-bottom: 0; }
.section-head > p { flex: 0 1 350px; margin: 0; color: var(--muted); }
.section-head--light > p { color: #c0d1db; }

.service-grid { border-top: 3px solid var(--navy-800); }
.service-card { display: grid; grid-template-columns: 40px minmax(0, .85fr) minmax(0, 1fr) 28px; align-items: center; gap: 28px; padding: 30px 20px; border-bottom: 1px solid var(--line); transition: background .18s; }
.service-card:hover { background: var(--soft-teal); }
.service-card__number { color: var(--teal-600); font-size: 0.8125rem; font-weight: 700; }
.service-card h3 { grid-column: 2; margin: 0; font-size: 1.5rem; }
.service-card p { grid-column: 3; margin: 0; color: var(--muted); }
.service-card::after { content: "↗"; grid-column: 4; grid-row: 1; color: var(--teal-600); font-size: 1.625rem; }
.service-card__link, .service-card .icon-box { display: none; }
.logic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.logic-grid article { min-width: 0; padding-top: 24px; border-top: 1px solid #31505f; }
.logic-grid article > span { color: var(--teal-300); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.logic-grid h3 { margin: 24px 0 16px; font-size: 1.375rem; }
.logic-grid p { margin: 0; color: #bccfd8; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit-grid article { min-width: 0; padding: 30px; background: #fff; }
.benefit-grid article > span, .role-grid article > span, .document-grid article > span { color: var(--teal-600); font-size: .75rem; font-weight: 700; }
.benefit-grid h3 { margin: 24px 0 12px; font-size: 1.25rem; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .9375rem; }

.section--industries { color: #fff; background: var(--navy-950); }
.industries-layout { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); align-items: start; gap: 76px; }
.industries-layout > div:first-child { position: sticky; top: calc(var(--header-height) + 36px); }
.industries-layout > div:first-child > p:not(.eyebrow) { color: #bfd0d9; }
.industry-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #385562; }
.industry-list article { min-width: 0; padding: 26px 24px 26px 0; border-bottom: 1px solid #385562; }
.industry-list article:nth-child(even) { padding-left: 24px; border-left: 1px solid #385562; }
.industry-list span { display: block; margin-bottom: 14px; color: var(--teal-300); font-size: .75rem; font-weight: 700; }
.industry-list strong { display: block; margin-bottom: 8px; font-size: 1.0625rem; }
.industry-list p { margin: 0; color: #bcd0d8; font-size: .875rem; }

.role-grid, .document-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.role-grid article, .document-grid article { min-width: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy-800); }
.role-grid article:nth-child(2), .document-grid article:nth-child(2) { border-top-color: var(--teal-600); }
.role-grid h3, .document-grid h3 { margin: 24px 0 12px; font-size: 1.25rem; }
.role-grid p, .document-grid p { margin: 0; color: var(--muted); font-size: .9375rem; }
.section-disclaimer { margin: 20px 0 0; color: var(--muted); font-size: .8125rem; }

.section--accounting-flow { color: #fff; background: var(--navy-900); }
.section--accounting-flow .eyebrow { color: var(--teal-300); }
.section--accounting-flow .section-head > p { color: #c1d3dc; }
.process-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: #405965; border: 1px solid #405965; }
.process-grid article { min-width: 0; padding: 34px; background: var(--navy-900); }
.process-grid__label { color: var(--teal-300); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.process-grid h3 { margin-bottom: 20px; font-size: 1.375rem; }
.process-grid ul { display: grid; gap: 10px; margin: 0; padding-left: 20px; color: #c8d8df; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { min-width: 0; display: flex; flex-direction: column; padding: 30px; background: #fff; border-top: 3px solid var(--navy-800); }
.price-card--featured { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.price-card__badge, .package-grid__badge { align-self: flex-start; width: fit-content; max-width: 100%; margin: 0 0 18px; padding: 5px 9px; color: #073730; background: #b5e9e0; border-radius: 0; font-size: 0.75rem; font-weight: 700; line-height: 1.5; }
.price-card__type { margin-bottom: 18px; color: var(--teal-600); font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-card--featured .price-card__type { color: var(--teal-300); }
.price-card h3 { margin-bottom: 10px; font-size: 1.625rem; }
.price-card__for { margin-bottom: 0; color: var(--muted); }
.price-card--featured .price-card__for { color: #c3d5dd; }
.price { margin: 24px 0; font-size: clamp(26px, 2.65vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
.price span, .price small { display: inline-block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; }
.price small { white-space: nowrap; }
.price-card ul, .package-grid ul { display: grid; gap: 12px; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 0.9375rem; }
.price-card--featured ul, .package-grid .is-featured ul { border-color: #3e5664; }
.price-card li, .package-grid li { display: flex; align-items: flex-start; gap: 9px; }
.price-card li svg, .package-grid li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--teal-600); stroke-width: 2; }
.price-card--featured li svg, .package-grid .is-featured li svg { stroke: var(--teal-300); }
.price-card .button, .package-grid .button { margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps li { min-width: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.steps > li > span { color: var(--teal-600); font-size: 1.125rem; font-weight: 700; }
.steps h3 { margin: 22px 0 12px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* Внутренние страницы используют те же размеры и отступы. */
.page-hero { padding-block: 64px; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { color: var(--teal-600); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); align-items: center; gap: 70px; }
.page-hero h1 { max-width: 860px; }
.page-hero p:not(.eyebrow) { max-width: 700px; margin-bottom: 28px; color: var(--muted); font-size: 1.0625rem; }
.page-hero aside { padding: 8px 0 8px 26px; border-left: 3px solid var(--teal-500); }
.page-hero aside strong { display: block; margin-bottom: 12px; font-size: 1.3125rem; line-height: 1.35; }
.page-hero aside p:not(.eyebrow) { margin: 0; font-size: 0.9375rem; }
.page-hero--compact { padding-block: 50px; }
.page-hero--compact p:not(.eyebrow) { margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-grid article { min-width: 0; padding: 26px 18px 12px 0; border-top: 1px solid var(--line); }
.feature-grid article > span, .values-grid article > span { color: var(--teal-600); font-size: 0.75rem; font-weight: 700; }
.feature-grid h3 { margin: 28px 0 12px; }
.feature-grid p, .values-grid p { margin: 0; color: var(--muted); }
.feature-grid--legal article:nth-child(2), .feature-grid--legal article:nth-child(5) { background: var(--soft-teal); }
.data-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 0; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: #fff; background: var(--navy-900); font-size: 0.75rem; font-weight: 600; }
.data-table td:first-child { font-weight: 700; }
.data-table td:last-child { color: var(--teal-600); font-weight: 700; }
.data-table tr:last-child td { border-bottom: 0; }
.table-note { margin: 18px 0 0; color: var(--muted); font-size: 0.875rem; }
.price-factors { margin-top: 28px; padding: 28px; color: #fff; background: var(--navy-900); border-radius: 0; }
.price-factors h3 { margin-bottom: 10px; }
.price-factors p { margin: 0; color: #c7d8e0; }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.format-grid article { min-width: 0; padding: 30px; border: 1px solid #35515f; border-radius: 0; }
.format-grid article > p { color: var(--teal-300); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.format-grid h3 { font-size: 1.5625rem; }
.format-grid ul { display: grid; gap: 8px; margin: 20px 0 0; padding-left: 20px; color: #c7d8e0; }
.dual-system { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr); gap: 16px; }
.dual-system__side { min-width: 0; padding: 30px; background: var(--soft); border: 1px solid var(--line); border-radius: 0; }
.dual-system__side > span { display: inline-grid; width: 52px; height: 52px; margin-bottom: 24px; place-items: center; color: #fff; background: var(--navy-800); font: 700 32px/1 Georgia, serif; }
.dual-system__side--teal > span { color: #052925; background: var(--teal-500); }
.dual-system__side h3 { font-size: 1.625rem; }
.dual-system__side p { margin: 0; color: var(--muted); }
.dual-system__core { display: grid; place-content: center; min-width: 0; padding: 26px; color: #fff; background: var(--navy-900); text-align: center; border-radius: 0; }
.dual-system__core strong { font-size: 1.5rem; line-height: 1.25; }
.dual-system__core small { margin-top: 14px; color: #bbd0dc; font-size: 0.8125rem; }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.package-grid article { display: flex; flex-direction: column; min-width: 0; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 0; }
.package-grid article.is-featured { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.package-grid__name { margin-bottom: 0; font-size: 1.5625rem; font-weight: 700; line-height: 1.3; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.values-grid article { min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 0; }
.values-grid h3 { margin: 26px 0 12px; font-size: 1.25rem; }

/* Форма остаётся в пределах контейнера на любой ширине. */
.request-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 48px; width: 100%; margin: 0 0 80px; padding: 44px; color: #fff; background: var(--navy-900); border-radius: 0; }
.request-panel__intro, .request-form { min-width: 0; }
.request-panel h2 { font-size: clamp(28px, 3vw, 38px); }
.request-panel__intro > p:not(.eyebrow) { color: #c3d6df; }
.request-panel__direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid #3e5968; }
.request-panel__direct span { display: block; margin-bottom: 8px; color: #b7cdd7; font-size: 0.8125rem; }
.request-panel__direct a, .request-panel__direct strong { display: block; font-size: 1.3125rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.request-form { padding: 28px; color: var(--ink); background: #fff; border-radius: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-size: 0.8125rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #afc2ca; border-radius: 0; font-size: 1rem; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: #677e89; opacity: 1; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hp-field { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: var(--muted); font-size: 0.75rem; line-height: 1.6; }
.consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal-600); }
.consent a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin: 12px 0 0; font-size: 0.875rem; overflow-wrap: anywhere; }
.form-status:empty { margin: 0; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }
.request-form.is-loading button { opacity: .65; pointer-events: none; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 44px; }
.contact-layout .request-panel { grid-template-columns: minmax(0, 1fr); gap: 26px; margin: 0; padding: 32px; }
.contact-layout .request-panel__direct { display: none; }
.contact-list { min-width: 0; border-top: 3px solid var(--teal-500); }
.contact-list > div { padding: 24px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.contact-list span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.contact-list a { font-size: 1.375rem; font-weight: 600; }
.contact-list p { margin: 0; }
.legal-text h2 { margin: 38px 0 16px; font-size: 1.625rem; }
.legal-text p { color: var(--muted); overflow-wrap: anywhere; }
.legal-alert { padding: 18px 22px; color: #68410b; background: #fff3d6; border-left: 3px solid #c98716; }
.not-found { min-height: 60vh; display: grid; align-items: center; padding-block: 72px; text-align: center; }
.not-found .eyebrow { justify-content: center; }

/* Светлая версия знака и читаемая подпись на тёмном фоне. */
.site-footer { color: var(--ink); background: #fff; border-top: 3px solid var(--teal-600); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: 36px; padding-block: 56px; }
.site-footer__top > div { min-width: 0; }
.footer-brand { display: block; position: relative; width: 350px; max-width: 100%; aspect-ratio: 5.5 / 1; margin-bottom: 20px; overflow: hidden; }
.site-footer__brand p { max-width: 340px; margin: 0; color: var(--muted); font-size: 0.875rem; }
.site-footer h2 { margin-bottom: 20px; color: var(--ink); font-size: 0.9375rem; letter-spacing: 0; }
.site-footer__top > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.site-footer__top > div:not(:first-child) h2 { margin-bottom: 8px; }
.site-footer__top > div:not(:first-child) a { font-size: 0.875rem; line-height: 1.55; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--teal-600); }
.site-footer__contacts p { margin: 0; color: var(--muted); font-size: 0.875rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.75rem; }

@media (max-width: 1150px) {
  :root { --header-height: 76px; }
  .site-header__inner { gap: 16px; }
  .nav { gap: 14px; }
  .nav__link { font-size: 0.8125rem; }
  .site-header__contact { display: none; }
  .hero__layout { gap: 36px; padding-block: 56px; }
  .hero__lead { font-size: 1rem; }
  .site-footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
  .request-panel { gap: 32px; padding: 32px; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --container: min(760px, calc(100% - 48px)); }
  .site-header__inner { min-height: var(--header-height); }
  .nav-toggle { display: block; margin-left: auto; }
  .nav { position: fixed; top: var(--header-height); right: 0; bottom: 0; left: 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px; overflow-y: auto; background: #fff; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 18px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero__layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1 { max-width: 700px; font-size: clamp(2.75rem, 6vw, 3.25rem); }
  .hero__lead { max-width: 650px; }
  .hero__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 22px; }
  .hero__facts { max-width: 590px; margin-top: 28px; }
  .hero__visual { width: 100%; max-width: 650px; }
  .section { padding-block: 64px; }
  .split-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section-head { gap: 24px; }
  .section-head > p { flex-basis: 260px; }
  .service-card { grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr) 22px; gap: 20px; padding-inline: 4px; }
  .service-card h3 { font-size: 1.3125rem; }
  .service-card p { font-size: 0.875rem; }
  .logic-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .logic-grid h3 { margin-top: 16px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .price-card { padding: 28px; }
  .price { font-size: 2rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .request-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 64px; }
  .request-panel__direct { margin-top: 24px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .page-hero h1 { max-width: 700px; font-size: 2.5rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dual-system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dual-system__core { grid-column: 1 / -1; grid-row: 2; padding: 26px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 40px); --header-height: 72px; }
  h2 { font-size: 1.75rem; }
  .site-header__inner { gap: 12px; }
  .brand { flex: 0 1 290px; }
  .hero__layout { gap: 32px; padding-block: 40px 48px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(2.125rem, 8.7vw, 2.875rem); }
  .eyebrow { margin-bottom: 18px; font-size: 0.75rem; letter-spacing: .1em; }
  .eyebrow::before { flex-basis: 20px; }
  .hero__lead { font-size: 1rem; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .hero__actions .button--text { align-self: center; font-size: 0.875rem; }
  .hero__facts { gap: 12px; }
  .hero__facts dd { font-size: 0.75rem; }
  .decision-demo__top { padding: 0; }
  .decision-demo__top strong { font-size: 0.75rem; }
  .decision-tabs button { padding-inline: 4px; font-size: 0.75rem; }
  .decision-demo__question strong { font-size: 1.125rem; }
  .decision-demo__checks { grid-template-columns: minmax(0, 1fr); margin-inline: 0; gap: 20px; }
  .decision-demo__checks h3 { margin-top: 9px; }
  .section { padding-block: 52px; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head > p { margin-top: 18px; }
  .service-card { grid-template-columns: 26px minmax(0, 1fr) 22px; gap: 12px; padding-block: 24px; }
  .service-card h3 { font-size: 1.375rem; }
  .service-card p { grid-column: 2 / -1; grid-row: 2; font-size: 0.9375rem; }
  .service-card::after { grid-column: 3; }
  .price-card, .package-grid article { padding: 24px; }
  .price-card h3 { font-size: 1.5625rem; }
  .steps, .feature-grid, .format-grid, .package-grid, .values-grid { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; }
  .steps h3 { margin-top: 0; }
  .request-panel, .contact-layout .request-panel { width: 100%; margin-inline: 0; gap: 24px; padding: 24px 16px; }
  .request-panel { margin-bottom: 52px; }
  .contact-layout .request-panel { margin-bottom: 0; }
  .request-form { padding: 20px 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .request-panel h2 { font-size: 1.75rem; }
  .request-panel__direct a, .request-panel__direct strong { font-size: 1.1875rem; }
  .page-hero { padding-block: 44px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p:not(.eyebrow) { font-size: 1rem; }
  .page-hero aside { padding: 22px; }
  .feature-grid article, .format-grid article, .values-grid article { padding: 24px; }
  .dual-system { grid-template-columns: minmax(0, 1fr); }
  .dual-system__side { padding: 24px; }
  .dual-system__core { grid-row: 3; grid-column: 1; }
  .data-table th, .data-table td { padding: 14px 12px; font-size: 0.8125rem; overflow-wrap: anywhere; }
  .data-table td:last-child { min-width: 94px; }
  .price-factors { padding: 24px; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px; }
  .site-footer__bottom { flex-direction: column; gap: 10px; padding-block: 20px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.amount { white-space: nowrap; font-weight: inherit; }
.hero__art { position: relative; min-width: 0; margin: 0; }
.hero__art img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: contain; }
.hero__art figcaption { padding: 18px 0 0 24px; border-left: 2px solid var(--teal-600); color: var(--muted); font-size: .875rem; line-height: 1.45; }
.direction-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 26px 30px; border-top: 1px solid var(--line); }
.direction-strip a { position: relative; min-width: 0; padding-right: 24px; }
.direction-strip span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .8125rem; }
.direction-strip strong { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.direction-strip svg { position: absolute; right: 0; top: 28px; width: 18px; height: 18px; fill: none; stroke: var(--teal-600); stroke-width: 1.8; }
.direction-strip a:hover strong { color: var(--teal-600); }
.section--approach { color: #fff; background: var(--navy-950); }
.approach-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 80px; }
.approach-copy .eyebrow, .approach-copy .text-link { color: var(--teal-300); }
.approach-copy > p:not(.eyebrow) { color: #bfd0d9; }
.approach-copy h2 { margin-bottom: 28px; }
.decision-tabs button { font-size: .875rem; }
.decision-demo__checks p { font-size: 1rem; }
.decision-demo__result strong { font-size: 1rem; }
.decision-label { font-size: .8125rem; }
.decision-demo__question span, .decision-demo__result span { font-size: .8125rem; }
.page-anchors { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.page-anchors a { padding-bottom: 7px; border-bottom: 1px solid var(--teal-600); font-weight: 600; }
.page-anchors a:hover { color: var(--teal-600); }
.price--text { font-size: 1.75rem; }
.price-grid .price-card { padding-bottom: 30px; }
.price-grid .price-card--featured { border-top-color: var(--teal-500); }
.price-card .price-card__type { font-size: .8125rem; }
.section--faq { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 32px 22px 0; font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 19px; color: var(--teal-600); font-size: 1.375rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 24px 24px 0; color: var(--muted); }
.form-details { margin-top: 18px; }
.form-details summary { width: fit-content; padding-block: 10px; color: var(--teal-600); font-size: .875rem; font-weight: 600; cursor: pointer; }
.form-details .form-grid { padding-top: 14px; }
.request-form__selection { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--teal-600); font-size: .875rem; }
.field > span { font-size: .875rem; }
.consent { font-size: .8125rem; }
.legal-formats + .table-note { margin-bottom: 24px; }

@media (max-width: 960px) {
  .hero__layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-services { max-width: 760px; }
  .hero__art figcaption { padding-left: 14px; font-size: .8125rem; }
  .direction-strip { gap: 24px; }
  .direction-strip strong { font-size: 1rem; }
  .approach-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero h1 { font-size: clamp(2.25rem, 4.7vw, 3rem); }
  .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .industries-layout { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .industries-layout > div:first-child { position: static; }
  .role-grid, .document-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 620px) {
  .hero__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero h1 { font-size: clamp(2.125rem, 8.7vw, 2.875rem); }
  .hero__facts { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .hero__facts div { display: grid; grid-template-columns: 78px minmax(0,1fr); align-items: baseline; gap: 8px; padding-top: 10px; }
  .hero-services { padding: 20px 18px 4px; }
  .hero-services a { grid-template-columns: 28px minmax(0,1fr) 20px; min-height: 84px; gap: 10px; }
  .hero-services small { font-size: .75rem; }
  .hero__art { max-width: 440px; }
  .hero__art img { max-height: 330px; }
  .hero__art figcaption { font-size: .875rem; }
  .direction-strip { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 8px; }
  .direction-strip a { padding: 18px 32px 18px 0; }
  .direction-strip a + a { border-top: 1px solid var(--line); }
  .direction-strip span { margin-bottom: 4px; }
  .direction-strip svg { top: 36px; }
  .direction-strip strong { font-size: 1.0625rem; }
  .decision-tabs { gap: 12px; }
  .decision-tabs button { font-size: .875rem; }
  .data-table th, .data-table td { font-size: .875rem; }
  .benefit-grid, .industry-list, .role-grid, .document-grid { grid-template-columns: minmax(0,1fr); }
  .benefit-grid article, .role-grid article, .document-grid article { padding: 24px; }
  .industry-list article, .industry-list article:nth-child(even) { padding: 22px 0; border-left: 0; }
  .process-grid article { padding: 24px; }
}

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