/* Стили сайта «Настенные карты» — направление А «Документ» (_docs/design/tokens.md, spec.md; architecture §3.3).
   Перед каждым var(--x) стоит запасное значение: IE11 и старые браузеры custom properties не понимают;
   согласованность запасных значений с :root проверяет scripts/check-tokens.mjs. Flexbox; grid — только галерея и услуги,
   с запасным поведением. Без JS всё читается: меню на <details>. */

/* 1. Токены (tokens.md §1 — цвет; §4 — отступы) */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F4F1;
  --ink: #1B1B1B;
  --muted: #5A5A5A;
  --line: #D7D3CB;
  --accent: #1F3A5F;
  --accent-hover: #15293F;
  --accent-active: #0F1E33;
  --accent-soft: #EDF1F6;
  --accent-pressed: #DCE4EE;
  --visited: #4A3F6B;
  --error: #A32D2D;
  --input-border: #8A8A8A;
  --container: 1200px;
  --gutter: 16px;
  --page-top: 24px;
  --section: 32px;
  --grid-gap: 16px;
  --panel-pad: 20px;
  --header-pad: 12px;
  --footer-pad: 24px;
  --hero-top: 24px;
  --figcaption-gap: 8px;
}

/* 2. Шрифты (tokens.md §2) — только /fonts/, OFL */
@font-face{font-family:"PT Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"PT Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"PT Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-700-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"PT Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"PT Serif";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-serif-700-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"PT Serif";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-serif-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* 3. База (tokens.md §3) */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PT Sans", Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1B1B1B; color: var(--ink);
  background: #FFFFFF; background: var(--bg);
}
h1, h2, h3, .serif { font-family: "PT Serif", Georgia, "Times New Roman", serif; font-weight: 700; margin: 0 0 0.5em; }
h1 { font-size: 30px; line-height: 1.15; }
h1.hero__title { font-size: 30px; }
h2 { font-size: 22px; line-height: 1.2; margin-top: 0; }
h3 { font-size: 18px; line-height: 1.25; }
p, ul, ol, dl, table, figure { margin: 0 0 1em; }
figure { padding: 0; }
img { max-width: 100%; height: auto; display: block; }
small, .small { font-size: 15px; }
.caption, .note, .meta { font-size: 14px; line-height: 1.4; color: #5A5A5A; color: var(--muted); }
.muted { color: #5A5A5A; color: var(--muted); }
.lead { font-size: 17px; max-width: 720px; }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #5A5A5A; color: var(--muted); margin-bottom: 8px; }
.tag { display: inline-block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 2px; padding: 2px 6px; color: #5A5A5A; color: var(--muted); }
.container { max-width: 1200px; max-width: var(--container); margin: 0 auto; padding: 0 16px; padding: 0 var(--gutter); }
main.container { padding-top: 24px; padding-top: var(--page-top); padding-bottom: 32px; padding-bottom: var(--section); }
section + section, .section { margin-top: 32px; margin-top: var(--section); }
.plain { list-style: none; padding: 0; }
.plain li { padding: 6px 0; border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }
.cols { display: flex; flex-wrap: wrap; gap: 16px; gap: var(--grid-gap); }
.cols > * { flex: 1 1 300px; min-width: 0; }
.cols > section + section { margin-top: 0; }
.cols + section, .cols + .section { margin-top: 32px; margin-top: var(--section); }

/* 4. Ссылки и фокус (spec §3.4, §5) */
a { color: #1F3A5F; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; transition: color 150ms ease-out; }
a:hover { color: #15293F; color: var(--accent-hover); text-decoration-thickness: 2px; }
a:visited { color: #4A3F6B; color: var(--visited); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid #1F3A5F; outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -100px; background: #FFFFFF; background: var(--bg); color: #1F3A5F; color: var(--accent); padding: 8px 12px; z-index: 10; }
.skip-link:focus { top: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; } }

/* 5. Кнопки (spec §3.3) */
.btn, .button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border: 1px solid #1F3A5F; border: 1px solid var(--accent); border-radius: 3px;
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap;
  background: #FFFFFF; background: var(--bg); color: #1F3A5F; color: var(--accent); text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.btn:visited, .button:visited { color: #1F3A5F; color: var(--accent); }
.btn:hover, .button:hover { background: #EDF1F6; background: var(--accent-soft); color: #15293F; color: var(--accent-hover); text-decoration: none; }
.btn:active, .button:active { background: #DCE4EE; background: var(--accent-pressed); }
.btn--primary, .button--primary { background: #1F3A5F; background: var(--accent); color: #FFFFFF; }
.btn--primary:visited, .button--primary:visited { color: #FFFFFF; }
.btn--primary:hover, .button--primary:hover { background: #15293F; background: var(--accent-hover); color: #FFFFFF; }
.btn--primary:active, .button--primary:active { background: #0F1E33; background: var(--accent-active); transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .btn, .actions .button { flex: 1 1 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 3px; color: #1F3A5F; color: var(--accent); background: #FFFFFF; background: var(--bg); text-decoration: none; cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 6. Шапка (spec §3.1) */
.site-header { border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); background: #FFFFFF; background: var(--bg); }
.site-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 12px; padding-top: var(--header-pad); padding-bottom: 12px; padding-bottom: var(--header-pad); }
.site-header__brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: "PT Serif", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: 0.01em; color: #1B1B1B; color: var(--ink); text-decoration: none; margin-right: auto; }
.site-header__mark { width: 44px; height: 24px; flex: 0 0 auto; }
.site-header__brand:visited { color: #1B1B1B; color: var(--ink); }
.site-header__phone { font-weight: 700; color: #1B1B1B; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-header__phone:visited { color: #1B1B1B; color: var(--ink); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: 8px 0 6px; border-bottom: 2px solid transparent; color: #1B1B1B; color: var(--ink); text-decoration: none; transition: color 150ms ease-out, border-color 150ms ease-out; }
.site-nav a:visited { color: #1B1B1B; color: var(--ink); }
.site-nav a:hover { color: #1F3A5F; color: var(--accent); border-bottom-color: #D7D3CB; border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { font-weight: 700; border-bottom-color: #1F3A5F; border-bottom-color: var(--accent); }
/* телефон: меню за кнопкой <details>, навигация компьютера скрыта */
.site-nav--desktop, .site-header__cta, .site-header__phone--text { display: none; }
.site-menu { width: 100%; }
.site-menu > summary { list-style: none; position: absolute; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-header__row { position: relative; }
.site-header__brand { padding-right: 104px; }
.site-header__call { position: absolute; right: calc(16px + 52px); right: calc(var(--gutter) + 52px); top: 12px; top: var(--header-pad); }
.site-menu > summary { right: 16px; right: var(--gutter); top: 12px; top: var(--header-pad); }
.m-menu { margin-top: 56px; }
.m-menu .site-nav { display: block; border-top: 1px solid #D7D3CB; border-top: 1px solid var(--line); }
.m-menu .site-nav li { border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); }
.m-menu .site-nav a { display: block; min-height: 48px; padding: 12px 16px; border: 0; border-left: 4px solid transparent; font-size: 17px; }
.m-menu .site-nav a[aria-current="page"] { border-left-color: #1F3A5F; border-left-color: var(--accent); }
.m-menu__cta { padding: 16px 0 8px; }
.m-menu__cta .btn { width: 100%; }
.m-menu__contact { margin: 8px 0 0; }

/* 7. Подвал (spec §3.2) */
.site-footer { margin-top: 40px; border-top: 1px solid #D7D3CB; border-top: 1px solid var(--line); background: #F5F4F1; background: var(--bg-soft); color: #5A5A5A; color: var(--muted); font-size: 15px; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 16px 48px; padding-top: 24px; padding-top: var(--footer-pad); padding-bottom: 24px; padding-bottom: var(--footer-pad); }
.site-footer__col { flex: 1 1 260px; min-width: 0; }
.site-footer__col p { margin-bottom: 0.4em; }
.site-footer__legal { color: #1B1B1B; color: var(--ink); font-weight: 700; }
.site-footer__phone { font-size: 19px; font-weight: 700; color: #1B1B1B; color: var(--ink); text-decoration: none; }
.site-footer__phone:visited { color: #1B1B1B; color: var(--ink); }
.site-footer__col .btn { width: 100%; margin-top: 8px; }
.site-footer__links { list-style: none; padding: 0; margin: 0 0 1em; }
.site-footer__build { font-size: 14px; }
.print-only { display: none; }

/* 8. Главная */
.hero { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 0; align-items: flex-start; }
.hero__text { flex: 1 1 400px; min-width: 0; }
.hero__media { flex: 1 1 360px; min-width: 0; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 35%; border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 3px; }
.hero .actions { margin-top: 16px; }
.trust { background: #F5F4F1; background: var(--bg-soft); border-top: 1px solid #D7D3CB; border-top: 1px solid var(--line); border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); margin: 32px 0 0; margin: var(--section) 0 0; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 16px calc(50vw - 50% + 16px); padding: 16px calc(50vw - 50% + var(--gutter)); }
.trust__list { display: flex; flex-wrap: wrap; gap: 12px 32px; list-style: none; margin: 0; padding: 0; }
.trust__list li { flex: 0 1 auto; min-width: 120px; }
.trust__num { display: block; white-space: nowrap; font-family: "PT Serif", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 26px; line-height: 1.1; color: #1B1B1B; color: var(--ink); }
.trust__list small { color: #5A5A5A; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0 0 1em; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; margin-bottom: 12px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; font-family: "PT Serif", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 22px; line-height: 1; color: #1F3A5F; color: var(--accent); }

/* 9. Каталог: плитки, якоря, услуги (spec §3.5–3.6) */
.anchors { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0 0 32px; margin: 0 0 var(--section); padding: 10px 0; border-top: 1px solid #D7D3CB; border-top: 1px solid var(--line); border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); font-size: 15px; }
.anchors a { text-decoration: none; }
.anchors a:hover { text-decoration: underline; }
.group { margin-top: 32px; margin-top: var(--section); }
.cards, .works { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 16px; gap: var(--grid-gap); }
.card, .work { display: flex; flex-direction: column; flex: 1 1 300px; max-width: 100%; min-width: 0; border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 3px; background: #FFFFFF; background: var(--bg); transition: border-color 150ms ease-out; }
.card:hover { border-color: #1F3A5F; border-color: var(--accent); }
.card__media { margin: 0; border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px 3px 0 0; }
.card__nophoto { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; min-height: 120px; background: #F5F4F1; background: var(--bg-soft); border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); font-size: 14px; color: #5A5A5A; color: var(--muted); text-align: center; padding: 16px; }
.card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 20px 20px; }
.card__body h3, .work h2 { font-size: 18px; overflow-wrap: anywhere; margin-bottom: 8px; }
.card__body h3 a, .work h2 a { color: #1B1B1B; color: var(--ink); text-decoration: none; }
.card__body h3 a:hover, .work h2 a:hover { text-decoration: underline; color: #1F3A5F; color: var(--accent); }
.card__body .tag { margin-bottom: 8px; align-self: flex-start; }
.card__text { font-size: 15px; margin-bottom: 12px; }
.card__meta { margin: auto 0 0; font-size: 14px; color: #5A5A5A; color: var(--muted); }
.work .card__body p { margin-bottom: 6px; }
.services { display: grid; grid-template-columns: 1fr; gap: 8px 24px; margin: 0 0 1em; }
.services div { padding: 8px 0; border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); }
.services dt { font-weight: 700; }
.services dd { margin: 0; font-size: 15px; color: #5A5A5A; color: var(--muted); }

/* 10. Карточка: галерея, панель заказа, характеристики (spec §3.7–3.9) */
/* Карточка: без grid — порядок разметки (шапка, галерея, панель, остальное) = телефон; на компьютере grid-области, панель справа */
.product { display: block; }
.product__head, .product__gallery, .product__panel, .product__rest { min-width: 0; }
.product__panel { margin: 32px 0; margin: var(--section) 0; }
.product__aliases { font-size: 15px; color: #5A5A5A; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; gap: var(--grid-gap); margin: 0 0 8px; }
.gallery__item:first-child { grid-column: 1 / -1; }
.gallery__item { margin: 0; min-width: 0; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 3px; }
.gallery__item:first-child img { aspect-ratio: 3 / 2; }
.gallery figcaption { margin-top: 8px; margin-top: var(--figcaption-gap); font-size: 14px; line-height: 1.4; color: #5A5A5A; color: var(--muted); }
.product__nophoto { background: #F5F4F1; background: var(--bg-soft); border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 3px; padding: 16px; }
.panel { background: #F5F4F1; background: var(--bg-soft); border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 3px; padding: 20px; padding: var(--panel-pad); }
.panel--white { background: #FFFFFF; background: var(--bg); }
.panel .eyebrow { margin-bottom: 4px; }
.panel__price { font-family: "PT Serif", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.product__panel .actions { flex-direction: column; margin: 16px 0 12px; }
.panel__row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.panel__row > div { flex: 1 1 320px; min-width: 0; }
.panel__row > div > :last-child { margin-bottom: 0; }
.panel__row .actions { margin: 0; }
.panel .specs th { width: 45%; }
.product__panel .actions .btn { width: 100%; }
.product__panel { flex: 1 1 100%; }
.specs { border-collapse: collapse; width: 100%; font-size: 15px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); }
.specs th { width: 118px; font-weight: 700; }
.band { display: flex; flex-wrap: wrap; gap: 16px; gap: var(--grid-gap); background: #F5F4F1; background: var(--bg-soft); border-top: 1px solid #D7D3CB; border-top: 1px solid var(--line); border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); margin: 32px calc(-1 * 16px) 0; margin: var(--section) calc(-1 * var(--gutter)) 0; padding: 20px 16px; padding: 20px var(--gutter); }
.band > * { flex: 1 1 260px; min-width: 0; }
.band h3 { font-size: 18px; }
.dirs { display: flex; flex-wrap: wrap; gap: 16px; gap: var(--grid-gap); list-style: none; padding: 0; margin: 0 0 1em; }
.dirs li { flex: 1 1 300px; min-width: 0; }
.dirs figure { margin: 0 0 12px; }
.dirs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #D7D3CB; border: 1px solid var(--line); border-radius: 3px; }
.dirs h3 { font-size: 20px; }
.faq dt { font-weight: 700; padding-top: 12px; border-top: 1px solid #D7D3CB; border-top: 1px solid var(--line); }
.faq dd { margin: 4px 0 12px; }
.options div { padding: 8px 0; border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); }
.options dt { font-weight: 700; }
.options dd { margin: 0; color: #5A5A5A; color: var(--muted); }
.contact-big { font-size: 26px; font-weight: 700; margin: 0.2em 0; }
.contact-big a { text-decoration: none; color: #1B1B1B; color: var(--ink); }

/* 11. Форма запроса (spec §3.12) */
.request-form { max-width: 640px; }
.request-form .field { margin-bottom: 16px; }
.request-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.request-form input:not([type="checkbox"]), .request-form select, .request-form textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #8A8A8A; border: 1px solid var(--input-border); border-radius: 3px; font: inherit; color: #1B1B1B; color: var(--ink); background: #FFFFFF; background: var(--bg); }
.request-form textarea { padding: 12px 14px; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: #1F3A5F; border-color: var(--accent); outline: 3px solid #1F3A5F; outline: 3px solid var(--accent); outline-offset: 1px; }
.request-form .field--error input, .request-form .field--error select, .request-form .field--error textarea { border: 2px solid #A32D2D; border: 2px solid var(--error); }
.request-form input[type="checkbox"] { width: 20px; height: 20px; margin-right: 8px; vertical-align: middle; }
.request-form .check label { font-weight: 400; }
.request-form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-errors { border: 2px solid #A32D2D; border: 2px solid var(--error); border-radius: 3px; padding: 10px 14px; }
.error, .field__error { display: block; font-size: 14px; color: #A32D2D; color: var(--error); font-weight: 400; margin-top: 4px; }

/* 12. Юридические страницы, баннер cookies */
.version { font-family: "PT Sans", Arial, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; color: #5A5A5A; color: var(--muted); white-space: nowrap; }
.legal-notice { border: 1px solid #D7D3CB; border: 1px solid var(--line); background: #F5F4F1; background: var(--bg-soft); padding: 10px 14px; border-radius: 3px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 20px; margin-top: 1.4em; }

/* Полоса согласия на cookies (spec §3.13, #47): в потоке под шапкой, не fixed */
.consent { background: #F5F4F1; background: var(--bg-soft); border-bottom: 1px solid #D7D3CB; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.consent__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.consent__text { flex: 1 1 100%; margin: 0; min-width: 0; }
.consent__actions { display: flex; gap: 8px; flex: 1 1 100%; margin: 0; }
.consent__actions .btn { flex: 1 1 0; }

/* 13. Компьютер (tokens.md §4–5: ≥ 768 px) */
@media (min-width: 768px) {
  :root { --gutter: 32px; --page-top: 40px; --section: 40px; --grid-gap: 24px; --panel-pad: 24px; --header-pad: 14px; --footer-pad: 32px; --hero-top: 56px; }
  body { font-size: 17px; }
  h1 { font-size: 36px; }
  h1.hero__title { font-size: 44px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .lead { font-size: 19px; }
  .eyebrow { font-size: 15px; }
  .trust__num { font-size: 32px; }
  .site-header__brand { font-size: 22px; gap: 10px; }
  .site-header__mark { width: 63px; height: 34px; }
  /* две строки (spec §3.1): логотип слева, контакты справа, меню ниже во всю ширину */
  .site-header__row { flex-wrap: wrap; row-gap: 6px; }
  .site-header__actions { margin-left: auto; }
  .site-nav--desktop { order: 3; flex-basis: 100%; }
  .site-nav--desktop .site-nav { gap: 0 26px; }
  .site-nav--desktop .site-nav a { font-size: 16px; padding: 4px 0 4px; }
  .site-header__row { padding-bottom: 8px; }
  .site-header__brand { padding-right: 0; }
  .site-nav--desktop, .site-header__cta, .site-header__phone--text { display: flex; }
  .site-menu, .site-header__call { display: none; }
  .site-header__actions { display: flex; align-items: center; gap: 16px; }
  .site-footer { margin-top: 56px; }
  .site-footer__col .btn { width: auto; }
  .actions .btn, .actions .button { flex: 0 0 auto; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .consent { font-size: 15px; }
  .consent__text { flex: 1 1 480px; }
  .consent__actions { flex: 0 0 auto; }
  .consent__actions .btn { flex: 0 0 auto; }
  .hero { padding-top: calc(24px - 24px); padding-top: calc(var(--hero-top) - var(--page-top)); }
  .card { max-width: calc(33.333% - 16px); }
  .services { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 2fr 1fr; grid-auto-rows: auto; }
  .gallery__item:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .product { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "head panel" "gallery panel" "rest panel"; column-gap: 24px; align-items: start; }
  .product__head { grid-area: head; }
  .product__gallery { grid-area: gallery; }
  .product__rest { grid-area: rest; }
  .product__panel { grid-area: panel; margin: 0; position: sticky; top: 16px; }
  .specs { font-size: 16px; }
  .specs th { width: 220px; }
  .steps li { padding-left: 48px; }
}
@media (min-width: 1024px) { .site-header__phone { white-space: nowrap; } }
