/* true-engineering.com — стили. Одна светлая тема. Чертёжная сетка, риски, зелёные маркеры. */

:root {
  --green: #0A7F2B;
  --green-deep: #076B23;
  --green-soft: #E4F3E9;
  --signal: #2EC466;
  --ink: #161A18;
  --ink-2: #2E3532;
  --steel: #66706B;
  --rule: #D5DDD8;
  --rule-soft: #E6ECE8;
  --paper: #F4F6F4;
  --white: #FFFFFF;
  --crit: #B42318;
  --grid: rgba(11, 138, 47, .07);
  --display: "Manrope", "Segoe UI", Arial, sans-serif;
  --body: "Golos Text", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --container: 1200px;
  --gutter: 20px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(22, 26, 24, .05), 0 10px 28px rgba(22, 26, 24, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 22px; }
strong { font-weight: 600; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--green-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- типографика-утилиты ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); margin: 0 0 10px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); flex: none; }
.lead { font-size: 18px; line-height: 1.6; max-width: 70ch; }
.lead--narrow { max-width: 62ch; }
.lead--second { color: var(--ink-2); }
.note { color: var(--ink-2); max-width: 78ch; margin-top: 24px; }
.hint { font-size: 13px; color: var(--steel); margin: 10px 0 0; }
.prose p { max-width: 70ch; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.unit { color: var(--steel); font-size: 12px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); border: 1px solid var(--green);
  font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; box-shadow: 0 6px 18px rgba(11, 138, 47, .25); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green-soft); color: var(--green-deep); }
.btn--small { padding: 8px 14px; font-size: 14px; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-more { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.link-more::after { content: " →"; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 80px; transition: min-height .25s var(--ease); }
.is-scrolled .site-header__inner { min-height: 64px; }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 56px; transition: height .25s var(--ease); }
.is-scrolled .brand img { height: 44px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 12px; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 15px;
  border-bottom: 2px solid transparent; border-radius: var(--radius) var(--radius) 0 0; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--green-deep); background: var(--green-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.nav__mobile-extra { display: none; }
.site-header__tools { display: flex; align-items: center; gap: 16px; }
.site-header__phone { font-family: var(--mono); font-size: 14px; color: var(--ink); white-space: nowrap; }
.site-header__phone:hover { color: var(--green); }
.lang { list-style: none; margin: 0; padding: 0; display: flex; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.lang a { display: block; padding: 6px 9px; font-family: var(--mono); font-size: 12px; color: var(--steel); }
.lang a:hover { text-decoration: none; color: var(--ink); background: var(--paper); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.burger { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 12px; align-items: center; gap: 8px; cursor: pointer; }
.burger__box { width: 18px; height: 12px; position: relative; display: block; }
.burger__box i { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger__box i:nth-child(1) { top: 0; } .burger__box i:nth-child(2) { top: 5px; } .burger__box i:nth-child(3) { top: 10px; }
.nav-open .burger__box i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .burger__box i:nth-child(2) { opacity: 0; }
.nav-open .burger__box i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.burger__label { font-family: var(--display); font-weight: 600; font-size: 14px; }
.draft-note { background: #FBF1DF; color: #6B4A00; padding: 8px 20px; font-size: 14px; border-radius: 0 0 var(--radius) var(--radius); }

@media (max-width: 1000px) {
  .site-header__phone { display: none; }
}
@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 80px 0 0 0; background: var(--white); padding: 12px 20px 40px; overflow: auto;
    clip-path: inset(0 0 0 100%); transition: clip-path .3s var(--ease), visibility 0s .3s; visibility: hidden; pointer-events: none;
  }
  .is-scrolled .nav { inset-block-start: 64px; }
  .nav-open .nav { clip-path: inset(0); visibility: visible; pointer-events: auto; transition: clip-path .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 6px; font-size: 18px; border-bottom: 1px solid var(--rule-soft); border-radius: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule-soft); box-shadow: inset 3px 0 0 var(--green); padding-left: 12px; }
  .nav__mobile-extra { display: block; margin-top: 20px; }
  .nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .brand img, .site-header__inner, .btn, .burger__box i { transition: none; }
}

/* ---------- заголовок внутренней страницы ---------- */
.page-head {
  background: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--rule);
  padding: 28px 0 0;
}
.page-head h1 { margin: 6px 0 22px; max-width: 24ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--steel); font-family: var(--mono); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--green); }
.ticks { height: 10px; background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 12px); position: relative; }
.ticks::before { content: ""; position: absolute; left: 0; top: -2px; width: 2px; height: 14px; background: var(--green); }

/* ---------- секции ---------- */
.section { padding: 64px 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.section-head { margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 28px 40px; }
.grid-2--wide { gap: 32px 64px; }
.prose--intro { max-width: 76ch; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--wide { grid-template-columns: 3fr 2fr; } }
@media (max-width: 700px) { .section { padding: 44px 0; } }

/* ---------- карточки ---------- */
.cards { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) and (min-width: 520px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px;
  position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card p { margin: 0; }
.card p + p { margin-top: 10px; }
.card--accent { border-top: 3px solid var(--green); }
.card__mark { position: absolute; top: -3px; right: 20px; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; transform: translateY(-50%); }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C6D2CA; }
}
.section--paper .card { border-color: var(--rule); }

/* ---------- списки с маркером ---------- */
.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { position: relative; padding-left: 24px; margin-bottom: 10px; max-width: 70ch; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--green); border-radius: 2px; }
.list-check--roomy li { margin-bottom: 16px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding: 12px 16px 12px 58px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); max-width: 78ch; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 12px; font-family: var(--mono); font-size: 13px; color: var(--green); font-weight: 500; }
.section--paper .steps li, .content .steps li { background: var(--paper); }

/* ---------- hero ---------- */
.hero {
  background: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--rule);
  padding: 48px 0 0;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 48px; } .hero { padding-top: 64px; } }
.hero h1 { max-width: 16ch; margin-bottom: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__art { max-width: 560px; margin: 0 auto; width: 100%; }
.hero__art img { width: 100%; height: auto; filter: drop-shadow(0 12px 24px rgba(22, 26, 24, .08)); }
.iso { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.iso li { display: flex; flex-direction: column; padding: 8px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); font-size: 12px; color: var(--steel); min-width: 150px; }
.iso li strong { font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 600; }
.stats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 22px 16px 26px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.stats li:nth-child(4n), .stats li:last-child { border-right: 0; }
.stats li + li { padding-left: 16px; }
.stats b { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--steel); }

/* ---------- отрасли ---------- */
.sectors { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sectors { grid-template-columns: repeat(4, 1fr); } }
.sector { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sector .icon { color: var(--green); margin-bottom: 14px; }
.sector h3 { font-size: 17px; margin-bottom: 8px; }
.sector p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (hover: hover) { .sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }

/* ---------- контакт-карточка на главной ---------- */
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; align-self: start; display: flex; flex-direction: column; gap: 8px; }
.contact-card .eyebrow { color: var(--signal); }
.contact-card .eyebrow::before { background: var(--signal); }
.contact-card__phone { font-family: var(--mono); font-size: 22px; color: #fff; }
.contact-card__phone:hover { color: var(--signal); }
.contact-card__address { color: rgba(255, 255, 255, .75); margin: 6px 0 16px; }
.contact-card .btn--primary { align-self: flex-start; background: var(--signal); border-color: var(--signal); color: var(--ink); }
.contact-card .btn--primary:hover { background: #4bd67c; }

/* ---------- проекты ---------- */
.project__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--steel); margin-bottom: 12px !important; }
.project__no { color: var(--green); font-weight: 500; }
.project time { font-variant-numeric: tabular-nums; }
.timeline { list-style: none; margin: 24px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--rule); }
.timeline__year { position: relative; padding-bottom: 36px; }
.timeline__year h2 { font-family: var(--mono); font-weight: 500; font-size: 20px; color: var(--green); margin: 0 0 16px; }
.timeline__year::before { content: ""; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--white); }
.timeline__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .timeline__items { grid-template-columns: repeat(2, 1fr); } }
.photos-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .photos-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- партнёры ---------- */
.partner { display: flex; flex-direction: column; gap: 14px; }
.partner__logo { display: flex; align-items: center; height: 64px; }
.partner__logo img { max-height: 64px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.mark--logo { background: none; border: 0; padding: 0; min-width: 0; }
.clients__group { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin: 32px 0 12px; }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.logo-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.logo-card__img { display: flex; align-items: center; height: 48px; }
.logo-card__img img { max-height: 48px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.logo-card .mark { align-self: flex-start; height: 48px; min-width: 64px; }
.logo-card__name { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.mark--logo img { height: 36px; width: auto; max-width: 150px; object-fit: contain; }
.partner p { font-size: 15px; }
.mark {
  display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 44px; padding: 0 10px;
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper);
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: .02em; white-space: nowrap;
}
.partners-strip .section-head { margin-bottom: 20px; }
.marquee { overflow: hidden; padding: 8px 0 4px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .mark { background: var(--white); height: 52px; min-width: 120px; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; } .marquee { mask-image: none; -webkit-mask-image: none; } }

/* ---------- таблицы ---------- */
.tablewrap { overflow-x: auto; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.tablewrap--narrow { max-width: 640px; }
.table { border-collapse: collapse; width: 100%; font-size: 15px; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; text-align: left; }
.table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); font-weight: 500; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.table tbody th { font-family: var(--display); font-weight: 700; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table--compact th, .table--compact td { padding: 8px 14px; }
.bar-cell { width: 45%; }
.bar { display: block; height: 8px; background: var(--green); border-radius: 2px; min-width: 2px; }

/* ---------- проекты: референс-лист ---------- */
[hidden] { display: none !important; }
.timeline .project { content-visibility: auto; contain-intrinsic-size: auto 280px; }
.project__name { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.35; margin: 0 0 12px; }
.project__name a { color: inherit; text-decoration: none; }
.project__name a:hover { color: var(--green); }
.project__period { white-space: nowrap; }
.project__client { margin: 0; font-size: 14px; color: var(--steel); }
.project__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 18px; margin: 0; }
.project__facts div { min-width: 0; }
.project__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-bottom: 2px; }
.project__facts dd { margin: 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.project__more { margin-top: 12px; border-top: 1px solid var(--rule-soft); padding-top: 10px; }
.project__more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.project__more summary::-webkit-details-marker { display: none; }
.project__more summary::before { content: "+"; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; line-height: 1; }
.project__more[open] summary::before { content: "–"; }
.project__intro { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.project__desc { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.project__desc li + li { margin-top: 4px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; margin: 24px 0 8px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--steel); }
.filters input[type=search], .filters select { padding: 9px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 15px; min-width: 180px; color: var(--ink); }
.filters input[type=search] { min-width: 260px; }
.filters__count { margin: 0 0 8px auto; font-size: 14px; color: var(--steel); }
.filters__count b { color: var(--ink); font-family: var(--mono); }

/* ---------- страница услуг: колонка с содержанием ---------- */
.layout-aside { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 64px; }
@media (min-width: 960px) { .layout-aside { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } .aside { position: sticky; top: 96px; align-self: start; } }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc li a { display: block; padding: 8px 14px; color: var(--ink-2); font-size: 14px; border-left: 2px solid transparent; margin-left: -1px; }
.toc li a:hover { color: var(--green); border-left-color: var(--green); text-decoration: none; }
.aside__contact { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.aside__contact a { font-family: var(--mono); font-size: 14px; }
.content { min-width: 0; }
.block { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--rule-soft); }
.block:last-child { border-bottom: 0; margin-bottom: 0; }
.block h2 { margin-bottom: 18px; }
.content .cards { margin-bottom: 28px; }
.content .grid-2 { gap: 8px 40px; }

/* ---------- контакты ---------- */
.contact-block { margin-bottom: 28px; }
.contact-block__company { font-family: var(--display); font-weight: 800; font-size: 22px; margin-bottom: 14px; }
.contact-block dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.contact-block dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--steel); padding-top: 4px; }
.contact-block dd { margin: 0; }
.contact-block dd a { font-family: var(--mono); }
.form { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-self: start; }
.form h2 { margin: 0 0 4px; font-size: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--steel); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 140px; }
.form__hp { position: absolute; left: -9999px; }
.form .btn { align-self: flex-start; }
.form__status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form__status.is-ok { color: var(--green-deep); }
.form__status.is-error { color: var(--crit); }
.form__privacy { margin: 0; font-size: 12px; color: var(--steel); }
.map { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- заглушки под фото ---------- */
.ph {
  position: relative; width: 100%; border: 1px dashed #B9C4BD; border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(135deg, #EEF2EF 0 10px, #F7F9F7 10px 20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--steel);
  font-family: var(--mono); font-size: 12px; text-align: center; padding: 16px;
}
.ph::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(11, 138, 47, .25); border-radius: 2px; }
.ph__label { font-weight: 500; color: var(--ink-2); }

/* ---------- 404 ---------- */
.nf { padding: 96px 0; text-align: left; }
.nf h1 { margin-bottom: 12px; }

/* ---------- появление при прокрутке ---------- */
.js [data-reveal].pending { opacity: 0; transform: translateY(14px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .cards [data-reveal]:nth-child(2).in, .js .sectors [data-reveal]:nth-child(2).in { transition-delay: .06s; }
.js .cards [data-reveal]:nth-child(3).in, .js .sectors [data-reveal]:nth-child(3).in { transition-delay: .12s; }
.js .sectors [data-reveal]:nth-child(4).in { transition-delay: .18s; }
.js .sectors [data-reveal]:nth-child(5).in { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal].pending { opacity: 1; transform: none; }
  .js [data-reveal].in { transition: none; }
  .card, .sector { transition: none; }
}

/* ---------- подвал ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--signal); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer__logo { height: 48px; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--radius); margin-bottom: 16px; }
.site-footer__company { color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 8px; }
.site-footer__about { max-width: 46ch; font-size: 14px; }
.iso--footer li { background: transparent; border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .7); min-width: 0; padding: 6px 10px; }
.iso--footer li strong { display: none; }
.iso--footer li::before { content: attr(data-iso); }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__nav a { font-family: var(--display); font-weight: 600; }
.site-footer__contacts p { margin: 0 0 8px; }
.site-footer__contacts a { font-family: var(--mono); font-size: 15px; }
.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .55); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: rgba(255, 255, 255, .7); }

/* ---------- печать ---------- */
@media print {
  .site-header, .site-footer, .burger, .hero__art, .marquee, .ph, .form, .map, .filters, .link-more { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .section { padding: 16pt 0; }
  a { color: #000; text-decoration: none; }
  .card, .sector, .steps li { break-inside: avoid; border-color: #999; }
}
