/* ООО ПКП «Техпром» — общие стили сайта. Графит, слоновая кость и медь; заголовки — Cormorant Garamond, текст — Golos Text. */

:root {
  --ink-950: #0b0b0d;
  --ink-900: #141518;   /* графит: тёмные блоки, кнопки */
  --ink-800: #1f2024;
  --ink: #18191c;       /* основной текст */
  --ink-soft: #34343a;
  --muted: #5e5a55;     /* второстепенный текст, тёплый серый */
  --paper: #f6f3ee;     /* фон страниц, слоновая кость */
  --paper-2: #efeae2;   /* фон альтернативных секций */
  --surface: #fffdf9;   /* карточки */
  --ivory: #f3efe8;     /* светлый текст на тёмном */
  --line: #e4ddd1;
  --line-strong: #d3c9b9;
  --copper-200: #e6c7a8;   /* медь на тёмном (текст) */
  --copper-400: #c9925f;   /* медь: линии, иконки на тёмном */
  --copper-500: #b07548;   /* медь: линии и иконки на светлом */
  --copper-700: #8a5530;   /* медь: текст на светлом */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 80px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  display: flex; flex-direction: column; min-height: 100vh;   /* подвал всегда внизу */
  margin: 0; min-width: 320px;
  background: var(--paper); color: var(--ink);
  font: 400 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; font-variant-numeric: lining-nums; }
/* у Cormorant по умолчанию «старые» цифры (1 похожа на I) — везде, где антиква показывает числа, включаем обычные */
.figure strong, .num, .step-num { font-variant-numeric: lining-nums; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--copper-500); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink-900); color: var(--ivory); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--copper-700); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--copper-200); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: 2px;
  font: 600 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--ink-900); color: var(--ivory); }
.btn-dark:hover { background: var(--ink-800); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink-900); color: var(--ivory); }
.btn-line-light { border-color: rgba(243, 239, 232, .55); color: var(--ivory); }
.btn-line-light:hover { border-color: var(--ivory); background: rgba(243, 239, 232, .08); }
.btn-sm { min-height: 44px; padding: 10px 20px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 0;
  color: var(--copper-700); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.hero .link-arrow, .on-dark .link-arrow { color: var(--copper-200); }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 0; color: var(--ink-soft);
  font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
  transition: color .2s ease;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--copper-500); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { display: none; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: 4px;
  border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

@media (max-width: 1200px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10, 10, 12, .35);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--copper-700); }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .nav { padding-inline: 16px; }
  .nav .nav-cta { display: flex; margin-top: 20px; border: 0; color: var(--ivory); }
  .brand img { width: 128px; }
}

/* ---------- первый экран ---------- */
.hero, .page-hero, .cta-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); color: var(--ivory); }
.media, .media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.media { z-index: -2; }
.media img { object-fit: cover; }
.hero::before, .page-hero::before, .cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero .media img { object-position: 0% 55%; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .88) 0%, rgba(11, 11, 13, .68) 26%, rgba(11, 11, 13, .14) 46%, rgba(11, 11, 13, 0) 62%),
    linear-gradient(0deg, rgba(11, 11, 13, .8) 0%, rgba(11, 11, 13, 0) 34%);
}
/* фото 21:9 почти без обрезки: машина справа от текста, снизу место под плашку «Контроль сделки» */
.hero-inner { display: flex; flex-direction: column; justify-content: center; min-height: clamp(620px, 46vw, 860px); padding: 72px 0 150px; }
.hero h1 { max-width: 7.4em; margin: 22px 0 22px; color: var(--ivory); font-size: clamp(44px, 4.4vw, 72px); line-height: 1; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-lead { max-width: 22em; color: rgba(243, 239, 232, .86); font-size: clamp(16px, 1.2vw, 18px); text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 34px; }
@media (min-width: 1600px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, .74) 30%, rgba(11, 11, 13, .4) 40%, rgba(11, 11, 13, .08) 52%, rgba(11, 11, 13, 0) 64%),
      linear-gradient(0deg, rgba(11, 11, 13, .8) 0%, rgba(11, 11, 13, 0) 34%);
  }
}
@media (max-width: 760px) {
  .hero .media img { object-position: 64% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 11, 13, .72) 0%, rgba(11, 11, 13, .55) 45%, rgba(11, 11, 13, .9) 100%); }
  .hero-inner { min-height: 0; padding: 64px 0 132px; }
}

/* плашка «Контроль сделки» на нижней кромке фото */
.deal { position: relative; z-index: 3; margin-top: -88px; }
.deal-card {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px 40px; align-items: center;
  padding: 30px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 40px 70px -40px rgba(11, 11, 13, .55);
}
.deal-card h2 { font-size: 30px; }
.deal-head .link-arrow { padding-bottom: 0; }
.deal-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; }
.deal-list li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; }
.deal-list .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--copper-500); stroke-width: 1.8; }
@media (max-width: 1100px) {
  .deal-card { grid-template-columns: 1fr; }
  .deal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .deal-card { padding: 24px 20px; } .deal-list { grid-template-columns: 1fr; } }

/* ---------- цифры ---------- */
.figures { padding: clamp(56px, 7vw, 88px) 0 0; }
.figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.figure { padding: 30px 28px 0 0; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line); }
.figure strong { display: block; color: var(--ink); font-family: var(--serif); font-size: clamp(36px, 3.4vw, 52px); font-weight: 600; line-height: 1; white-space: nowrap; }
.figure span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) {
  .figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n + 3) { margin-top: 28px; }
}
@media (max-width: 480px) {
  .figures-grid { grid-template-columns: 1fr; }
  .figure, .figure + .figure { padding: 24px 0 0; border-left: 0; }
  .figure + .figure { margin-top: 24px; border-top: 1px solid var(--line); }
}

/* ---------- секции ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin: 16px 0 16px; font-size: clamp(34px, 3.8vw, 54px); text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 17px; }

/* «Почему мы»: фото с медной рамкой + пронумерованный список */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.split-media { position: relative; z-index: 0; margin: 0 22px 22px 0; }
.split-media::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 1px solid var(--copper-500); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.reasons li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons .num { color: var(--copper-700); font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: .9; }
.reasons h3 { margin-bottom: 6px; font-size: 26px; }
.reasons p { color: var(--muted); }
.split .section-head { margin-bottom: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media { max-width: 460px; } }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; padding: 34px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; }
.card h3 { margin: 18px 0 10px; font-size: 27px; }
.card > h3:first-child { margin-top: 0; }
.card p { color: var(--muted); font-size: 15.5px; }
.card p + p { margin-top: 10px; }
.card-title { margin-bottom: 18px; font-size: 32px; }
.card > .btn { align-self: flex-start; margin-top: 24px; }
.card .num { color: var(--copper-700); font-family: var(--serif); font-size: 52px; font-weight: 600; line-height: .9; }
.card .line-icon { width: 34px; height: 34px; color: var(--copper-500); stroke-width: 1.3; }
.card > p:has(+ .tag) { margin-bottom: 20px; }
.tag {
  display: inline-flex; align-self: flex-start; margin-top: auto; padding: 5px 12px;
  border: 1px solid var(--copper-500); border-radius: 2px;
  color: var(--copper-700); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- этапы ---------- */
.process-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .process-layout { grid-template-columns: 1fr; } }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.step:first-child { padding-top: 0; border-top: 0; }
.step-num { color: var(--copper-700); font-family: var(--serif); font-size: 60px; font-weight: 600; line-height: .85; counter-increment: step; }
.step-num::before { content: counter(step); }
.step h3 { margin: 2px 0 8px; font-size: 28px; }
.step p { color: var(--muted); }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); }
.doc-list li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.doc-list li:first-child { padding-top: 2px; border-top: 0; }
.doc-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--copper-500); }
.doc-list strong { display: block; font-size: 15.5px; font-weight: 600; }
.doc-list span { color: var(--muted); font-size: 14.5px; }
.aside-card .btn { width: 100%; }

/* ---------- договор ---------- */
.terms li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.terms li:first-child { border-top: 0; padding-top: 0; }
.terms b { font-weight: 600; }
.terms span { color: var(--muted); }
@media (max-width: 480px) { .terms li { grid-template-columns: 1fr; gap: 2px; } }
.file-meta { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.file-meta strong { display: block; font-weight: 600; }
.file-meta span { color: var(--muted); font-size: 14.5px; }
.stack { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
.pdf-card { margin-top: 22px; }
.pdf-frame { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.pdf-frame iframe { display: block; width: 100%; height: min(78vh, 820px); border: 0; }
@media (max-width: 640px) { .pdf-card { display: none; } }   /* телефоны не показывают PDF во фрейме: есть кнопка «Открыть PDF» и текст ниже */

details.contract-full { margin-top: 22px; }
details.contract-full > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 32px; border: 1px solid var(--line); background: var(--surface);
  font-family: var(--serif); font-size: 26px; font-weight: 600; cursor: pointer; list-style: none;
}
details.contract-full > summary::-webkit-details-marker { display: none; }
.contract-text { max-height: 720px; overflow-y: auto; padding: 28px clamp(20px, 4vw, 48px); border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.contract-text h3 { margin: 28px 0 10px; color: var(--copper-700); font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contract-text h3:first-child { margin-top: 0; }
.contract-text p, .contract-text li { margin-bottom: 10px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; overflow-wrap: anywhere; }
.contract-text ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.contract-text li { margin-bottom: 6px; }
.contract-text li::marker { color: var(--copper-500); }
.contract-text b { color: var(--ink); }
.contract-text .doc-title { text-align: center; }
.contract-text .doc-place { display: flex; justify-content: space-between; gap: 16px; }
.contract-text .doc-note { color: var(--muted); font-style: italic; }

/* ---------- раскрывающиеся блоки ---------- */
.chevron { width: 22px; height: 22px; color: var(--copper-500); transition: transform .25s ease; }
details[open] > summary .chevron { transform: rotate(45deg); }
.faq { max-width: 900px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0;
  font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); font-weight: 600; line-height: 1.25; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--copper-700); }
.faq details p { max-width: 68ch; padding: 0 46px 28px 0; color: var(--muted); }

/* ---------- контакты и реквизиты ---------- */
.contacts-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 900px) { .contacts-grid { grid-template-columns: 1fr; } }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; border-top: 0; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--copper-500); }
.contact-list small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a, .contact-list p { color: var(--ink); font-size: 16.5px; font-weight: 500; }
.contact-list a { border-bottom: 1px solid var(--copper-500); }
.contact-list a:hover { color: var(--copper-700); }
.req-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.req-table th, .req-table td { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; text-align: left; vertical-align: top; }
.req-table tr:first-child th, .req-table tr:first-child td { border-top: 0; padding-top: 0; }
.req-table th { width: 40%; padding-right: 20px; color: var(--muted); font-weight: 500; }
.req-table td { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .req-table, .req-table tbody, .req-table tr, .req-table th, .req-table td { display: block; width: auto; }
  .req-table th { padding: 14px 0 2px; }
  .req-table td { padding: 0 0 14px; border-top: 0; }
}

/* форма заявки: текст заявки открывается в Telegram */
.lead-form { max-width: 820px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 26px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.form-group label .optional { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 16.5px; transition: border-color .2s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: #9a948c; }
.form-input:focus, .form-textarea:focus { outline: none; border-bottom-color: var(--copper-500); }
.form-textarea { min-height: 96px; resize: vertical; }
.form-note { margin-top: 16px; color: var(--muted); font-size: 14.5px; }
.form-note a { border-bottom: 1px solid var(--copper-500); }

/* ---------- шапка внутренних страниц ---------- */
.page-hero::before { background: linear-gradient(90deg, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, .74) 45%, rgba(11, 11, 13, .45) 100%); }
.page-hero-inner { padding: 72px 0 68px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: rgba(243, 239, 232, .66); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--ivory); }
.breadcrumbs span[aria-hidden] { color: var(--copper-400); }
.page-hero h1 { max-width: 16em; margin: 22px 0 16px; color: var(--ivory); font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; text-wrap: balance; }
.page-hero p { max-width: 58ch; color: rgba(243, 239, 232, .84); font-size: clamp(16px, 1.25vw, 18px); }

/* ---------- призыв с фото ---------- */
.cta-photo .media img { object-position: 62% 50%; }
.cta-photo::before { background: linear-gradient(90deg, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, .7) 45%, rgba(11, 11, 13, .25) 100%); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; padding: clamp(80px, 10vw, 136px) 0; }
.cta-inner h2 { max-width: 13em; margin: 16px 0 14px; color: var(--ivory); font-size: clamp(34px, 3.8vw, 54px); text-wrap: balance; }
.cta-inner p { max-width: 50ch; color: rgba(243, 239, 232, .82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; align-items: start; } }
/* где в кадре главное: для шапок страниц и призывов (у первого экрана главной — своя настройка выше) */
.media.focus-city img { object-position: 55% 45%; }
.media.focus-truck img { object-position: 62% 45%; }
.media.focus-inspect img { object-position: 48% 45%; }
.page-hero .media.focus-inspect img { object-position: 50% 100%; }   /* в узкой шапке светящийся экран прибора не должен стоять за заголовком */

/* ---------- подвал ---------- */
.site-footer { padding: 64px 0 30px; background: var(--ink-950); color: rgba(243, 239, 232, .7); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-about p { max-width: 38ch; }
.site-footer h2 { margin-bottom: 14px; color: var(--copper-200); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.footer-links a { display: inline-block; padding: 5px 0; transition: color .2s ease; }
.footer-links a:hover, .footer-req a:hover { color: var(--ivory); }
.footer-req li { padding: 3px 0; }
.footer-req b { color: var(--ivory); font-weight: 500; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(201, 146, 95, .3);
  color: rgba(243, 239, 232, .5); font-size: 13.5px;
}
.footer-bottom a:hover { color: var(--ivory); }

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