@charset "UTF-8";
/* ===========================================================================
   Nomad Service — дизайн-система из утверждённого макета.

   Значения (цвета, размеры, отступы, радиус 2px) перенесены из инлайновых
   стилей макета один в один. Контрольная ширина — 1360 px; далее 1280, 1024,
   768, 480, 360.
   =========================================================================== */

@import url("fonts.css");

:root {
    /* Цвета макета */
    --bg:            #FBF9F6;
    --bg-white:      #FFFFFF;
    --bg-tint:       #F1E9E1;   /* подложка под изображениями */
    --bg-hover:      #FDFBF9;
    --ink:           #1D1C1A;
    --ink-soft:      #3A342E;   /* текст статей */
    --muted:         #6E655C;
    --muted-2:       #8A8078;
    --line:          #E5DBD1;
    --line-strong:   #CDBCAE;
    --accent:        #9B6A49;
    --accent-dark:   #7E5238;
    --accent-light:  #B07C58;

    /* Типографика */
    --font-ui:    "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Literata", Georgia, "Times New Roman", serif;

    /* Сетка */
    --container: 1280px;
    --gutter: 40px;
    --radius: 2px;
    --header-h: 78px;
}

/* --- Сброс --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* Якоря оглавления не должны уезжать под липкую шапку. */
    scroll-padding-top: calc(var(--header-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-dark); }

input, textarea, button, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Фокус видим на всех интерактивных элементах (§7 ТЗ). */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

::selection { background: var(--accent); color: #fff; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- Каркас -------------------------------------------------------------- */

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page__main { flex: 1; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.section--white { background: var(--bg-white); }
.section--tight { padding: 80px 0; }
.section--flush { padding: 0; border-bottom: 0; }
.section--last { border-bottom: 0; }

/* Надстрочная метка секции: «01 — Услуги» */
.eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before {
    content: ""; width: 24px; height: 1px;
    background: var(--accent); display: block; flex: 0 0 auto;
}
.eyebrow--plain::before { display: none; }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.section-head__note {
    max-width: 420px; margin: 0;
    font-size: 16px; line-height: 1.6; color: var(--muted);
}

h1, .h1 {
    font-size: 60px; line-height: 1.04; font-weight: 600;
    letter-spacing: -.025em; text-wrap: pretty;
}
h2, .h2 {
    font-size: 44px; line-height: 1.1; font-weight: 600;
    letter-spacing: -.02em; text-wrap: pretty;
}
.h2--sm { font-size: 38px; line-height: 1.12; }

.page-title { font-size: 52px; line-height: 1.08; letter-spacing: -.025em; }
.page-lead {
    margin-top: 20px; max-width: 620px;
    font-size: 17px; line-height: 1.6; color: var(--muted);
}

.breadcrumbs { font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* Ромб-маркер из макета */
.diamond {
    width: 8px; height: 8px; background: var(--accent);
    transform: rotate(45deg); display: block; flex: 0 0 auto;
}

/* --- Кнопки -------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 16px 30px; border-radius: var(--radius);
    font-size: 15px; font-weight: 600; border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    text-align: center;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--dark-form { background: var(--accent); color: #fff; padding: 17px 20px; }
.btn--dark-form:hover { background: var(--accent-light); color: #fff; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 15px; font-weight: 600; color: var(--accent);
}
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* --- Шапка --------------------------------------------------------------- */

.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 249, 246, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header__inner {
    max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
    height: var(--header-h); display: flex; align-items: center; gap: 40px;
}
.header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.header__logo img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: 8px; }
.nav__link {
    font-size: 15px; font-weight: 500; color: var(--ink);
    padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--accent); }
.nav__link.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.header__phone {
    display: flex; align-items: center; gap: 9px;
    color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: .01em;
    white-space: nowrap;
}
.header__phone:hover { color: var(--accent); }

.burger {
    display: none; width: 42px; height: 42px; border: 1px solid var(--line);
    background: var(--bg-white); border-radius: var(--radius);
    align-items: center; justify-content: center; flex: 0 0 auto;
}
.burger span {
    display: block; width: 18px; height: 1.5px; background: var(--ink);
    position: relative; transition: transform .2s ease, background .2s ease;
}
.burger span::before, .burger span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
    background: var(--ink); transition: transform .2s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Герой --------------------------------------------------------------- */

.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner {
    max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
    align-items: center; min-height: 600px;
}
.hero__text { padding: 88px 0; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--line); background: var(--bg-white);
    padding: 8px 14px; border-radius: var(--radius);
    font-size: 12px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--accent);
}
.hero__badge .diamond { width: 7px; height: 7px; }
.hero h1 { margin-top: 26px; }
.hero__lead {
    margin-top: 26px; max-width: 560px;
    font-size: 19px; line-height: 1.6; color: var(--muted); text-wrap: pretty;
}
.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero__stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: 64px; border-top: 1px solid var(--line); padding-top: 28px;
}
.stat__value {
    font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--accent);
}
.stat__label { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 4px; }

.hero__media { position: relative; align-self: stretch; min-height: 600px; }
.hero__media-bg { position: absolute; inset: 0 calc(-1 * var(--gutter)) 0 0; background: var(--bg-tint); }
.hero__media-img { position: absolute; inset: 56px calc(-1 * var(--gutter)) 56px 0; }
.hero__mark { position: absolute; left: -46px; bottom: 44px; width: 92px; }

/* --- Полоса преимуществ -------------------------------------------------- */

.features {
    background: var(--bg-white); border-bottom: 1px solid var(--line);
}
.features__grid {
    max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.feature {
    padding: 30px 28px; display: flex; gap: 14px; align-items: flex-start;
    border-right: 1px solid var(--line);
}
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; border-right: 0; }
.feature__title { font-size: 15px; font-weight: 600; }
.feature__text { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.feature svg { flex: 0 0 auto; }

/* --- Сетка с разделителями в 1px (приём из макета) ---------------------- */

.hairline-grid {
    display: grid; gap: 1px; background: var(--line);
    border: 1px solid var(--line);
}
.hairline-grid > * { background: var(--bg-white); }
.hairline-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hairline-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hairline-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Карточка услуги */
.service-card {
    padding: 38px 34px; display: flex; flex-direction: column; gap: 14px;
    min-height: 250px; transition: background .15s ease;
}
.service-card:hover { background: var(--bg-hover); }
.service-card__title { margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.service-card__title a { color: var(--ink); }
.service-card__title a:hover { color: var(--accent); }
.service-card__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.service-card__meta {
    margin-top: auto; font-size: 13px; font-weight: 600;
    color: var(--accent); letter-spacing: .02em;
}

/* Пункт списка оборудования */
.equipment-item {
    padding: 22px 24px; display: flex; align-items: center; gap: 13px;
    font-size: 16px; font-weight: 500;
}
.equipment-group__title {
    padding: 16px 24px 8px; font-size: 12px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}

.equipment { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }

/* --- Шаги ---------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.step { border-top: 2px solid var(--line); padding-top: 24px; }
.step:first-child { border-top-color: var(--accent); }
.step__label { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.step__title { margin-top: 14px; font-size: 20px; font-weight: 600; }
.step__text { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* --- Лента выполненных работ -------------------------------------------- */

.worklog { margin-top: 44px; border-top: 1px solid var(--line); }
.worklog__row {
    display: grid; grid-template-columns: 120px 1fr 1fr 140px; gap: 24px;
    padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.worklog__date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.worklog__equipment { font-size: 16px; font-weight: 600; }
.worklog__work { font-size: 15px; color: var(--muted); }
.worklog__city { font-size: 13px; color: var(--muted); text-align: right; }

/* --- Карточки статей ----------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 52px; }
.post-card { display: flex; flex-direction: column; }
.post-card__cover { height: 210px; background: var(--bg-tint); overflow: hidden; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__category {
    font-size: 12px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--accent); margin-top: 22px;
}
.post-card__title {
    margin-top: 12px; font-size: 22px; line-height: 1.3;
    font-weight: 600; letter-spacing: -.01em;
}
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--accent); }
.post-card__lead { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.byline { display: flex; align-items: center; gap: 11px; margin-top: 20px; }
.byline__text { font-size: 13px; color: var(--muted); }
.avatar {
    border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; flex: 0 0 auto; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--34 { width: 34px; height: 34px; font-size: 12px; }
.avatar--30 { width: 30px; height: 30px; font-size: 11px; }
.avatar--42 { width: 42px; height: 42px; font-size: 14px; }
.avatar--46 { width: 46px; height: 46px; font-size: 15px; }
.avatar--56 { width: 56px; height: 56px; font-size: 17px; }
.avatar--64 { width: 64px; height: 64px; font-size: 19px; }
/* Чередование цвета аватаров, как в макете. */
.avatar--alt { background: var(--ink); }

/* --- Тёмный блок CTA ----------------------------------------------------- */

.cta {
    background: var(--ink); color: #fff; padding: 72px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
    align-items: center; margin: 100px 0;
}
.cta__mark { width: 46px; }
.cta h2 { margin-top: 28px; font-size: 40px; line-height: 1.12; color: #fff; }
.cta__text {
    margin-top: 20px; font-size: 16px; line-height: 1.6;
    color: rgba(255, 255, 255, .62); max-width: 440px;
}

/* --- Формы --------------------------------------------------------------- */

.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__consent { font-size: 12px; line-height: 1.5; color: var(--muted-2); }

.field {
    width: 100%; padding: 15px 18px; font-size: 15px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg); outline: none; color: var(--ink);
    transition: border-color .15s ease;
}
.field:focus { border-color: var(--accent); }
.field::placeholder { color: var(--muted-2); }
textarea.field { resize: vertical; min-height: 96px; }
select.field { color: var(--muted); appearance: none; background-image: none; }
select.field:valid { color: var(--ink); }

/* Инверсные поля на тёмном фоне */
.form--dark .field {
    background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff;
}
.form--dark .field::placeholder { color: rgba(255, 255, 255, .45); }
.form--dark .field:focus { border-color: var(--accent-light); }
.form--dark .form__consent { color: rgba(255, 255, 255, .4); }
.form--dark option { color: var(--ink); }

.field--error { border-color: #C0392B; }
.field-error { font-size: 12px; color: #C0392B; }

/* Ловушка для ботов: скрыта от людей, видна автозаполнению */
.honeypot {
    position: absolute !important; left: -9999px !important;
    width: 1px; height: 1px; overflow: hidden;
}

.form-note { padding: 16px 18px; border-radius: var(--radius); font-size: 15px; line-height: 1.5; }
.form-note--ok { background: rgba(155, 106, 73, .1); border: 1px solid var(--accent); color: var(--ink); }
.form-note--error { background: rgba(192, 57, 43, .08); border: 1px solid #C0392B; color: #8E2A20; }
.form--dark .form-note--ok { background: rgba(255,255,255,.08); border-color: var(--accent-light); color: #fff; }
.form--dark .form-note--error { background: rgba(255,255,255,.08); border-color: #E57368; color: #fff; }

.form-success { text-align: left; }
.form-success__title { font-size: 22px; font-weight: 600; }
.form-success__text { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.form--dark .form-success__text { color: rgba(255,255,255,.62); }

/* --- Страница услуг: прайс ----------------------------------------------- */

.price__head, .price__row {
    display: grid; grid-template-columns: 180px 1fr 220px 200px; gap: 24px;
}
.price__head {
    padding: 0 0 16px; border-bottom: 1px solid var(--line);
    font-size: 12px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--accent);
}
.price__row { padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.price__name { font-size: 17px; font-weight: 600; }
.price__composition { font-size: 15px; line-height: 1.6; color: var(--muted); }
.price__term { font-size: 15px; color: var(--muted); }
.price__value { font-size: 17px; font-weight: 600; text-align: right; }
.price__note { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.price__head > :last-child, .price__row > :last-child { text-align: right; }

/* --- Тарифы -------------------------------------------------------------- */

.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.tariff {
    border: 1px solid var(--line); padding: 34px;
    display: flex; flex-direction: column; gap: 18px; position: relative;
}
.tariff--highlight { border-color: var(--accent); background: var(--bg-hover); }
.tariff__flag {
    position: absolute; top: -11px; left: 34px;
    background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px;
}
.tariff__code {
    font-size: 12px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--accent);
}
.tariff__price { font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.tariff__price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.tariff__rule { height: 1px; background: var(--line); }
.tariff__features { font-size: 15px; line-height: 1.9; color: var(--muted); list-style: none; }

/* --- Блог: список -------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
    border: 1px solid var(--line); padding: 9px 18px; border-radius: var(--radius);
    font-size: 14px; font-weight: 500; color: var(--muted);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }

.blog-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: start;
}

.post-row {
    display: grid; grid-template-columns: 300px 1fr; gap: 32px;
    padding: 36px 0; border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 0; }
.post-row__cover { height: 200px; background: var(--bg-tint); overflow: hidden; }
.post-row__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-row__title {
    margin-top: 12px; font-size: 26px; line-height: 1.25;
    font-weight: 600; letter-spacing: -.01em;
}
.post-row__title a { color: var(--ink); }
.post-row__title a:hover { color: var(--accent); }
.post-row__lead { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.post-row__category {
    font-size: 12px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--accent);
}

.sidebar { position: sticky; top: calc(var(--header-h) + 32px); }
.card { border: 1px solid var(--line); background: var(--bg-white); padding: 28px; }
.card + .card { margin-top: 24px; }
.card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card__label {
    font-size: 12px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--accent);
}
.card__title { font-size: 19px; font-weight: 600; line-height: 1.35; }
.card__text { margin-top: 12px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.6); }

.author-list { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; }
.author-row { display: flex; gap: 13px; align-items: center; }
.author-row__name { font-size: 15px; font-weight: 600; }
.author-row__role { font-size: 13px; color: var(--muted); }
.author-row a { color: inherit; }
.author-row a:hover .author-row__name { color: var(--accent); }

/* --- Пагинация ----------------------------------------------------------- */

.pagination {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line);
}
.pagination__item {
    min-width: 42px; height: 42px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 15px; font-weight: 500; color: var(--ink);
}
.pagination__item:hover { border-color: var(--accent); color: var(--accent); }
.pagination__item.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination__gap { color: var(--muted); padding: 0 4px; }

/* --- Статья -------------------------------------------------------------- */

.article-head { background: var(--bg-white); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.article-head h1 { margin-top: 20px; font-size: 50px; line-height: 1.1; max-width: 900px; }
.article-head .byline { margin-top: 30px; gap: 14px; }
.article-head__author { font-size: 15px; font-weight: 600; }
.article-head__meta { font-size: 13px; color: var(--muted); }

.article-cover { height: 420px; background: var(--bg-tint); overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-layout {
    display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 32px); }
.toc__list {
    display: flex; flex-direction: column; gap: 12px; margin-top: 18px;
    font-size: 14px; line-height: 1.4; list-style: none;
}
.toc__list a { color: var(--muted); }
.toc__list a:hover { color: var(--accent); }
.toc__list a.is-active { color: var(--accent); font-weight: 600; }

/* Тело статьи: серифный шрифт из макета */
.prose { max-width: 740px; }
.prose > p:first-child {
    font-family: var(--font-serif); font-size: 21px; line-height: 1.55; color: var(--ink);
}
.prose p {
    margin-top: 16px; font-family: var(--font-serif);
    font-size: 18px; line-height: 1.75; color: var(--ink-soft);
}
.prose h2 { margin-top: 44px; font-size: 28px; font-weight: 600; letter-spacing: -.015em; }
.prose h3 { margin-top: 32px; font-size: 22px; font-weight: 600; }
.prose ul, .prose ol { margin-top: 16px; padding-left: 22px; }
.prose li {
    font-family: var(--font-serif); font-size: 18px; line-height: 1.7;
    color: var(--ink-soft); margin-top: 8px;
}
.prose blockquote {
    margin-top: 36px; border-left: 2px solid var(--accent);
    padding: 4px 0 4px 26px; font-family: var(--font-serif);
    font-size: 20px; line-height: 1.6; font-style: italic; color: var(--ink);
}
.prose img { margin-top: 32px; }
.prose figure { margin-top: 32px; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { margin-top: 28px; width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-family: var(--font-ui); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.prose code {
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: .9em; background: var(--bg-tint); padding: 2px 6px; border-radius: var(--radius);
}
.prose pre {
    margin-top: 24px; background: var(--ink); color: #F1E9E1; padding: 20px;
    border-radius: var(--radius); overflow-x: auto;
}
.prose pre code { background: none; padding: 0; color: inherit; }

/* Врезка-предупреждение */
.prose .callout, .callout {
    margin-top: 36px; border: 1px solid var(--line); background: var(--bg-white);
    padding: 28px 30px; font-family: var(--font-ui); font-size: 15px;
    line-height: 1.65; color: var(--muted);
}
.callout strong { color: var(--ink); display: block; margin-bottom: 8px; font-size: 16px; }
.prose .callout p { font-family: var(--font-ui); font-size: 15px; margin-top: 8px; color: var(--muted); }

.article-author {
    margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
    display: flex; gap: 20px; align-items: center;
}
.article-author__name { font-size: 17px; font-weight: 600; }
.article-author__bio { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* --- О компании ---------------------------------------------------------- */

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-split__media { height: 440px; background: var(--bg-tint); overflow: hidden; }
.about-split__media img { width: 100%; height: 100%; object-fit: cover; }

.principles { display: flex; flex-direction: column; gap: 26px; margin-top: 32px; }
.principle { display: flex; gap: 16px; }
.principle .diamond { width: 9px; height: 9px; margin-top: 7px; }
.principle__title { font-size: 17px; font-weight: 600; }
.principle__text { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.team-card { padding: 32px; }
.team-card__name { font-size: 18px; font-weight: 600; margin-top: 20px; }
.team-card__role { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* --- Контакты ------------------------------------------------------------ */

.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-card { padding: 28px; }
.contact-card__label {
    font-size: 12px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--accent);
}
.contact-card__value { font-size: 19px; font-weight: 600; margin-top: 12px; }
.contact-card__value a { color: var(--ink); }
.contact-card__value a:hover { color: var(--accent); }
.contact-card__note { font-size: 14px; color: var(--muted); margin-top: 4px; }

.map {
    height: 280px; background: var(--bg-tint); margin-top: 24px;
    border: 1px solid var(--line); display: flex; align-items: center;
    justify-content: center; color: var(--accent); font-size: 14px;
    font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-panel { border: 1px solid var(--line); background: var(--bg-white); padding: 40px; }
.form-panel h2 { margin-bottom: 8px; font-size: 26px; letter-spacing: -.015em; }

/* --- Страница ошибки и простая страница --------------------------------- */

.simple-page { padding: 96px 0 100px; }
.error-page { padding: 140px 0; text-align: center; }
.error-page__code {
    font-size: 12px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent);
}
.error-page h1 { margin-top: 18px; font-size: 46px; }
.error-page__text {
    margin: 20px auto 0; max-width: 520px;
    font-size: 17px; line-height: 1.6; color: var(--muted);
}
.error-page__actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Подвал -------------------------------------------------------------- */

.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 72px 0 32px; }
.footer__top {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__logo img { height: 30px; width: auto; }
.footer__about { margin-top: 24px; max-width: 320px; font-size: 15px; line-height: 1.65; }
.footer__heading {
    font-size: 12px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: #fff;
}
.footer__links {
    display: flex; flex-direction: column; gap: 11px; margin-top: 20px;
    font-size: 15px; list-style: none;
}
.footer__links a, .footer a { color: rgba(255,255,255,.62); }
.footer__links a:hover, .footer a:hover { color: #fff; }
.footer__phone { color: #fff !important; font-weight: 600; }
.footer__bottom {
    display: flex; justify-content: space-between; gap: 24px;
    padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.4);
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom a { color: rgba(255,255,255,.4); }
.footer__requisites { margin-top: 8px; }

/* --- Заглушка для незаполненного слота изображения ---------------------- */

.slot-empty {
    width: 100%; height: 100%; background: var(--bg-tint);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 24px;
    color: var(--accent); font-size: 13px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
}

/* ===========================================================================
   Адаптив. Контрольные точки по §7 ТЗ: 1280, 1024, 768, 480, 360.
   =========================================================================== */

@media (max-width: 1280px) {
    :root { --gutter: 32px; }
    h1, .h1 { font-size: 52px; }
    .page-title { font-size: 46px; }
    h2, .h2 { font-size: 38px; }
    .nav { gap: 22px; }
    .header__inner { gap: 24px; }
    .cta { padding: 56px; gap: 48px; }
    .article-layout { gap: 48px; }
    .blog-layout { gap: 48px; }
    .equipment { gap: 48px; }
}

/* Планшет: сетки схлопываются в две колонки. */
@media (max-width: 1024px) {
    .nav, .header__phone { display: none; }
    .burger { display: flex; }
    .header__actions { gap: 12px; }

    /* Мобильное меню */
    .mobile-menu {
        display: none; border-top: 1px solid var(--line);
        background: var(--bg-white); padding: 12px var(--gutter) 24px;
    }
    .mobile-menu.is-open { display: block; }
    .mobile-menu__link {
        display: block; padding: 14px 0; font-size: 17px; font-weight: 500;
        color: var(--ink); border-bottom: 1px solid var(--line);
    }
    .mobile-menu__link.is-active { color: var(--accent); }
    /* Телефон дежурного инженера остаётся видимым (§7 ТЗ). */
    .mobile-menu__phone {
        display: flex; align-items: center; gap: 10px; margin-top: 20px;
        font-size: 18px; font-weight: 600; color: var(--ink);
    }
    .mobile-menu__note { font-size: 13px; color: var(--muted); margin-top: 4px; }

    h1, .h1 { font-size: 44px; }
    .page-title { font-size: 38px; }
    h2, .h2, .h2--sm { font-size: 32px; }
    .section { padding: 72px 0; }
    .section--tight { padding: 56px 0; }

    .hero__inner { grid-template-columns: 1fr; gap: 0; min-height: 0; }
    .hero__text { padding: 56px 0 40px; }
    .hero__lead { font-size: 17px; }
    .hero__stats { margin-top: 40px; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hero__media { min-height: 380px; margin: 0 calc(-1 * var(--gutter)); }
    .hero__media-bg, .hero__media-img { inset: 0; }
    .hero__mark { display: none; }

    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .feature { border-bottom: 1px solid var(--line); }
    .feature:nth-child(2n) { border-right: 0; padding-right: 0; }
    .feature:nth-child(2n+1) { padding-left: 0; }
    .feature:nth-last-child(-n+2) { border-bottom: 0; }

    .hairline-grid--3, .hairline-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .equipment { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .post-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .tariffs { grid-template-columns: 1fr; }
    .tariff--highlight { order: -1; }

    .cta { grid-template-columns: 1fr; padding: 44px; gap: 36px; margin: 72px 0; }
    .cta h2 { font-size: 30px; }

    .blog-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .article-layout { grid-template-columns: 1fr; gap: 40px; }
    .toc {
        position: static; border: 1px solid var(--line);
        background: var(--bg-white); padding: 20px 24px;
    }
    .article-head h1 { font-size: 38px; }
    .article-cover { height: 320px; }

    .about-split { grid-template-columns: 1fr; gap: 40px; }
    .about-split__media { height: 320px; }
    .contacts-layout { grid-template-columns: 1fr; gap: 40px; }

    .footer__top { grid-template-columns: repeat(2, 1fr); gap: 36px; }

    .price__head { display: none; }
    .price__row {
        grid-template-columns: 1fr auto; gap: 8px 20px; padding: 22px 0;
        align-items: baseline;
    }
    .price__name { grid-column: 1; }
    .price__value { grid-column: 2; grid-row: 1; }
    .price__composition { grid-column: 1 / -1; }
    .price__term { grid-column: 1 / -1; font-size: 13px; }
    .price__row > :last-child { text-align: left; }
    .price__value { text-align: right; }

    .worklog__row { grid-template-columns: 1fr auto; gap: 6px 16px; }
    .worklog__date { grid-column: 1; }
    .worklog__city { grid-column: 2; grid-row: 1; }
    .worklog__equipment, .worklog__work { grid-column: 1 / -1; }
}

/* Телефон: одна колонка. */
@media (max-width: 768px) {
    :root { --gutter: 20px; --header-h: 64px; }

    h1, .h1 { font-size: 34px; letter-spacing: -.02em; }
    .page-title { font-size: 32px; }
    h2, .h2, .h2--sm { font-size: 27px; }
    .section { padding: 56px 0; }
    .section--tight { padding: 44px 0; }

    .header__logo img { height: 26px; }

    .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .section-head__note { max-width: none; }

    .hero__text { padding: 40px 0 32px; }
    .hero h1 { margin-top: 20px; }
    .hero__lead { font-size: 16px; margin-top: 20px; }
    .hero__actions { margin-top: 28px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
    .stat__value { font-size: 28px; }
    .hero__media { min-height: 260px; }

    .features__grid { grid-template-columns: 1fr; }
    .feature {
        border-right: 0; border-bottom: 1px solid var(--line);
        padding: 22px 0;
    }
    .feature:last-child { border-bottom: 0; }

    .hairline-grid--2, .hairline-grid--3, .hairline-grid--4 { grid-template-columns: 1fr; }
    .service-card { padding: 28px 24px; min-height: 0; }
    .steps { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
    .step { padding: 24px 0; border-top-width: 1px; }
    .step:first-child { border-top-width: 2px; }

    .post-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
    .post-row { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
    .post-row__cover { height: 200px; }
    .post-row__title { font-size: 22px; }

    .cta { padding: 32px 24px; gap: 28px; margin: 56px 0; }
    .cta h2 { font-size: 25px; }
    .cta__mark { width: 38px; }

    .form__row { grid-template-columns: 1fr; }
    .form-panel { padding: 24px 20px; }

    .article-head { padding: 40px 0 36px; }
    .article-head h1 { font-size: 29px; }
    .article-cover { height: 220px; }
    .prose > p:first-child { font-size: 19px; }
    .prose p, .prose li { font-size: 17px; }
    .prose h2 { font-size: 24px; margin-top: 36px; }
    .prose blockquote { font-size: 18px; padding-left: 20px; }
    .prose .callout, .callout { padding: 20px 22px; }
    .article-author { flex-direction: column; align-items: flex-start; gap: 14px; }

    .about-split__media { height: 240px; }
    .team-card { padding: 24px; }

    .footer { padding: 48px 0 24px; }
    .footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
    .footer__about { max-width: none; }
    .footer__bottom { flex-direction: column; gap: 14px; }

    .error-page { padding: 88px 0; }
    .error-page h1 { font-size: 32px; }
    .simple-page { padding: 56px 0 64px; }
}

@media (max-width: 480px) {
    h1, .h1 { font-size: 29px; }
    .page-title { font-size: 27px; }
    h2, .h2, .h2--sm { font-size: 24px; }
    .btn { padding: 14px 22px; font-size: 14px; }
    .hero__badge { font-size: 11px; letter-spacing: .08em; }
    .hero__media { min-height: 220px; }
    .stat__value { font-size: 25px; }
    .cta h2 { font-size: 22px; }
    .article-head h1 { font-size: 26px; }
    .prose > p:first-child { font-size: 18px; }
    .prose p, .prose li { font-size: 16.5px; }
    .chips { gap: 8px; }
    .chip { padding: 8px 14px; font-size: 13px; }
    .tariff { padding: 26px 22px; }
    .tariff__price { font-size: 28px; }
}

@media (max-width: 360px) {
    :root { --gutter: 16px; }
    h1, .h1 { font-size: 26px; }
    h2, .h2, .h2--sm { font-size: 22px; }
    .hero__stats { grid-template-columns: 1fr; }
    .service-card { padding: 22px 18px; }
    .cta { padding: 26px 18px; }
    .form-panel { padding: 20px 16px; }
}

/* --- Печать -------------------------------------------------------------- */

@media print {
    .header, .footer, .cta, .sidebar, .toc, .form, .burger { display: none !important; }
    body { background: #fff; }
    .prose { max-width: none; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #666; }
}

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


/* ========================================================================
   Nomad Service — публичный сайт v2
   Утвержденный дизайн: темная шапка, белый фон, медный акцент.
   ======================================================================== */

:root {
    --ns-black: #171716;
    --ns-black-soft: #21201f;
    --ns-text: #171717;
    --ns-muted: #66625e;
    --ns-muted-light: #8d8883;
    --ns-accent: #a7663d;
    --ns-accent-dark: #87502f;
    --ns-accent-soft: #f2e8df;
    --ns-line: #e7e3df;
    --ns-surface: #ffffff;
    --ns-surface-soft: #f8f7f5;
    --ns-shadow: 0 8px 25px rgba(22, 20, 18, .06);
    --ns-radius: 9px;
    --ns-container: 1440px;
    --header-h: 72px;
}

html { scroll-padding-top: calc(var(--header-h) + 24px); }
body {
    background: var(--ns-surface);
    color: var(--ns-text);
    font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.container { max-width: var(--ns-container); padding-left: 48px; padding-right: 48px; }
.page__main { overflow: hidden; }

h1, h2, h3, h4 { font-family: "Golos Text", system-ui, sans-serif; color: var(--ns-text); }
h1 { font-size: clamp(42px, 4.1vw, 62px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
a { color: inherit; }
a:hover { color: var(--ns-accent); }

/* Шапка */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(23, 23, 22, .98);
    border: 0;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.header__inner {
    max-width: var(--ns-container);
    height: var(--header-h);
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 48px;
}
.header__logo img { width: 150px; height: auto; }
.nav { margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.nav__link {
    padding: 25px 0 22px;
    border-bottom: 3px solid transparent;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    font-weight: 600;
}
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; border-bottom-color: var(--ns-accent); }
.header__actions { margin-left: 0; gap: 16px; }
.header .btn--sm { min-width: 165px; }

.btn {
    min-height: 48px;
    padding: 13px 26px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .005em;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ns-accent); color: #fff; box-shadow: 0 8px 22px rgba(167,102,61,.22); }
.btn--primary:hover { background: var(--ns-accent-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--ns-text); border-color: #77716c; box-shadow: none; }
.btn--outline:hover { color: var(--ns-accent-dark); border-color: var(--ns-accent); }
.btn--sm { min-height: 42px; padding: 11px 20px; }
.btn--block { width: 100%; }

.burger {
    border-color: rgba(255,255,255,.25);
    background: transparent;
}
.burger span, .burger span::before, .burger span::after { background: #fff; }
.burger[aria-expanded="true"] span { background: transparent; }
.mobile-menu {
    background: var(--ns-black);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 28px 28px;
}
.mobile-menu__link { color: #fff; border-bottom-color: rgba(255,255,255,.12); }
.mobile-menu__link:hover, .mobile-menu__link.is-active { color: #d79a74; }

/* Главный экран */
.home-hero { background: #fff; border-bottom: 1px solid var(--ns-line); }
.home-hero__grid {
    max-width: var(--ns-container);
    min-height: 515px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 49% 51%;
}
.home-hero__content {
    padding: 58px 34px 42px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.home-hero h1 { max-width: 670px; }
.home-hero__lead {
    max-width: 620px;
    margin-top: 22px;
    color: #4d4a47;
    font-size: 17px;
    line-height: 1.55;
}
.home-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 31px; }
.home-hero__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 655px;
    margin-top: 38px;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #282523;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
.hero-feature__icon { color: var(--ns-accent); flex: 0 0 auto; }
.home-hero__media { position: relative; min-height: 515px; overflow: hidden; background: #eef0ef; }
.home-hero__media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 16%;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.75) 35%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.home-hero__media picture { display: block; width: 100%; height: 100%; }
.home-hero__photo { width: 100%; height: 100%; min-height: 515px; object-fit: cover; object-position: center center; }

/* Общие секции главной */
.home-section { padding: 42px 0 22px; background: #fff; }
.home-section--compact { padding-top: 22px; }
.home-section--process { padding-bottom: 34px; }
.home-section__head { margin-bottom: 24px; }
.home-section__head--center { text-align: center; }
.home-section__head h2 { font-size: clamp(28px, 2.35vw, 38px); }

.info-card {
    background: #fff;
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    box-shadow: var(--ns-shadow);
}
.info-card__icon { color: var(--ns-accent); }
.info-card p { color: var(--ns-muted); font-size: 14px; line-height: 1.5; }

.service-grid { display: grid; gap: 18px; }
.service-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card-v2 {
    min-height: 205px;
    padding: 26px 24px 23px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-card-v2 h3, .service-card-v2 h2 { margin-top: 16px; font-size: 18px; }
.service-card-v2 p { margin-top: 15px; max-width: 290px; }
.service-card-v2--link { min-height: 285px; align-items: flex-start; text-align: left; padding: 34px; }
.service-card-v2--link h2 { font-size: 25px; }
.service-card-v2--link h3 { font-size: 21px; }
.service-card-v2--link p { max-width: 530px; font-size: 15px; }
.service-card-v2--link .text-link { margin-top: auto; padding-top: 24px; }
.service-card-v2 a::after { content: ""; position: absolute; inset: 0; }
.service-card-v2 { position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card-v2:hover { transform: translateY(-3px); border-color: #d9c9bd; box-shadow: 0 14px 32px rgba(22,20,18,.09); }
.service-card-v2 .text-link { position: relative; z-index: 2; }
.service-card-v2 .text-link::after { display: none; }

.equipment-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.equipment-tile {
    min-height: 119px;
    padding: 16px 12px;
    border: 1px solid var(--ns-line);
    border-radius: 7px;
    background: #fff;
    color: #2b2927;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.equipment-tile__icon { color: #4e4a46; }
.equipment-tile:hover { transform: translateY(-3px); color: var(--ns-accent-dark); border-color: #d7c3b5; box-shadow: var(--ns-shadow); }
.equipment-tile:hover .equipment-tile__icon { color: var(--ns-accent); }

.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.advantage-card { min-height: 174px; padding: 23px 21px; text-align: center; }
.advantage-card h3 { margin-top: 12px; font-size: 17px; }
.advantage-card p { margin-top: 10px; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px; }
.process-step { position: relative; text-align: center; padding: 0 10px; }
.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 41px;
    right: -34px;
    width: 50px;
    height: 1px;
    background: #d5d1cd;
}
.process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 37px;
    right: -34px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #aaa49e;
    border-right: 1px solid #aaa49e;
    transform: rotate(45deg);
}
.process-step__top { min-height: 84px; display: flex; align-items: center; justify-content: center; position: relative; }
.process-step__number {
    position: absolute;
    top: 4px;
    left: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ns-accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}
.process-step__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid var(--ns-line);
    color: var(--ns-accent);
    display: grid;
    place-items: center;
    background: #fff;
}
.process-step h3 { margin-top: 8px; font-size: 16px; }
.process-step p { margin-top: 8px; color: var(--ns-muted); font-size: 13px; line-height: 1.4; }

/* Партнеры */
.partner-section { padding: 27px 0 25px; background: #fff; border-top: 1px solid #f1efed; }
.partner-section h2 { text-align: center; margin-bottom: 19px; font-size: 30px; }
.partner-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 22px; align-items: center; }
.partner-logo {
    min-height: 76px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .18s ease, transform .18s ease;
}
.partner-logo:hover { background: var(--ns-surface-soft); transform: translateY(-2px); }
.partner-logo picture, .partner-logo img { display: block; width: 100%; }
.partner-logo img { height: 55px; object-fit: contain; }
.partner-logo span { font-size: 21px; font-weight: 700; color: #315f8e; }
.partner-section--page { padding: 50px 0; }

/* Главная: компания + форма */
.home-contact { padding: 28px 0 16px; background: #fff; }
.home-contact__grid {
    display: grid;
    grid-template-columns: 23% 29% 48%;
    border: 1px solid #ece9e6;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ns-surface-soft);
}
.home-contact__image { min-height: 310px; background: #ddd; }
.home-contact__image picture { display: block; height: 100%; }
.home-contact__image img { width: 100%; height: 100%; object-fit: cover; }
.home-about { padding: 28px 25px; background: rgba(255,255,255,.45); }
.home-about h2, .home-request h2 { font-size: 23px; }
.home-about__text { margin-top: 16px; color: #45413e; font-size: 13px; line-height: 1.6; }
.home-about__text p + p { margin-top: 12px; }
.home-request { padding: 27px 30px; background: #fff; }
.home-request__contacts { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 14px 0 17px; }
.home-request__contacts a, .home-request__contacts span { display: inline-flex; align-items: center; gap: 8px; color: #3f3b38; font-size: 13px; font-weight: 600; }
.home-request__contacts svg { color: var(--ns-accent); }

/* Формы */
.form { display: grid; gap: 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field {
    width: 100%;
    min-height: 43px;
    padding: 10px 13px;
    border: 1px solid #dedbd8;
    border-radius: 3px;
    background: #fff;
    color: var(--ns-text);
    font-size: 13px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.field { min-height: 86px; resize: vertical; }
.field:focus { border-color: var(--ns-accent); box-shadow: 0 0 0 3px rgba(167,102,61,.11); }
.field::placeholder { color: #98938f; }
.form .btn { width: 100%; min-height: 43px; padding: 12px 20px; }
.form__consent { color: #85807b; font-size: 10px; line-height: 1.4; }
.form-note { border-radius: 5px; padding: 14px; font-size: 13px; }
.form-note--ok { background: #edf7ee; color: #24652e; }
.form-note--error { background: #fff0ef; color: #9a2f27; }
.field--error { border-color: #b54035; }
.field-error { color: #a3372d; font-size: 11px; margin-top: 3px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Внутренние страницы */
.page-hero { background: linear-gradient(135deg, #faf8f5 0%, #fff 70%); border-bottom: 1px solid var(--ns-line); }
.page-hero__inner { padding-top: 47px; padding-bottom: 62px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: #8b8580; font-size: 12px; }
.breadcrumbs a { color: #817a74; }
.breadcrumbs span:last-child { color: #4b4744; }
.page-hero__content { max-width: 880px; margin-top: 35px; }
.page-hero__content .eyebrow { margin-bottom: 14px; }
.page-hero__content p { max-width: 760px; margin-top: 21px; color: var(--ns-muted); font-size: 18px; line-height: 1.6; }
.page-hero--service .page-hero__inner { position: relative; }
.page-hero__service-icon { margin-top: 34px; color: var(--ns-accent); }
.page-hero--service .page-hero__content { margin-top: 15px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ns-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }

.content-section { padding: 76px 0; background: #fff; border: 0; }
.content-section--tint { background: var(--ns-surface-soft); border-top: 1px solid var(--ns-line); border-bottom: 1px solid var(--ns-line); }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-title p { max-width: 500px; color: var(--ns-muted); font-size: 16px; }
.section-title--center { display: block; text-align: center; }
.section-title--center p { margin: 14px auto 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ns-accent-dark); font-size: 14px; font-weight: 700; }

.service-standards { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.service-standards > div:first-child h2 { margin-top: 16px; }
.service-standards__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.service-standards__grid > div { display: flex; flex-direction: column; gap: 10px; color: var(--ns-accent); }
.service-standards__grid strong { color: var(--ns-text); font-size: 16px; }
.service-standards__grid span { color: var(--ns-muted); font-size: 14px; line-height: 1.5; }

.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 70px; align-items: start; }
.service-detail__body { max-width: 780px; }
.form-panel {
    padding: 31px;
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    background: #fff;
    box-shadow: var(--ns-shadow);
}
.form-panel--sticky { position: sticky; top: calc(var(--header-h) + 28px); }
.form-panel h2 { margin-top: 15px; font-size: 28px; }
.form-panel > p { margin: 12px 0 22px; color: var(--ns-muted); font-size: 14px; }
.form-panel--contact { padding: 38px; }

.prose { color: #393633; font-family: "Golos Text", system-ui, sans-serif; font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 44px; font-size: 29px; }
.prose h3 { margin-top: 34px; font-size: 22px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 9px; }
.prose--compact { font-size: 16px; line-height: 1.68; }

.equipment-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.equipment-card { padding: 32px; border: 1px solid var(--ns-line); border-radius: var(--ns-radius); background: #fff; box-shadow: var(--ns-shadow); }
.equipment-card__icon { color: var(--ns-accent); }
.equipment-card h2 { margin-top: 20px; font-size: 24px; }
.equipment-card > p { margin-top: 15px; color: var(--ns-muted); font-size: 15px; }
.equipment-card ul { margin-top: 22px; list-style: none; display: grid; gap: 10px; }
.equipment-card li { position: relative; padding-left: 22px; color: #4d4946; font-size: 14px; }
.equipment-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--ns-accent); }
.equipment-note { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 26px; align-items: center; }
.equipment-note__icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: var(--ns-accent); background: #fff; border: 1px solid var(--ns-line); }
.equipment-note h2 { font-size: 28px; }
.equipment-note p { margin-top: 9px; max-width: 750px; color: var(--ns-muted); }

.partners-page .partner-grid { padding: 20px 0 54px; }
.partners-copy { max-width: 790px; margin: 28px auto 0; padding-top: 48px; border-top: 1px solid var(--ns-line); text-align: center; }
.partners-copy h2 { font-size: 31px; }
.partners-copy p { margin-top: 15px; color: var(--ns-muted); font-size: 16px; line-height: 1.7; }

.about-intro { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.about-intro__media { min-height: 480px; overflow: hidden; border-radius: var(--ns-radius); background: #eee; }
.about-intro__media picture { display: block; height: 100%; }
.about-intro__media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.about-intro__content h2 { margin-top: 18px; }
.about-intro__content .prose { margin-top: 25px; }
.mission-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.mission-grid article { padding: 28px 28px 30px; border-left: 2px solid var(--ns-accent); background: #fff; }
.mission-grid__icon { color: var(--ns-accent); }
.mission-grid h2 { margin-top: 16px; font-size: 24px; }
.mission-grid p { margin-top: 12px; color: var(--ns-muted); font-size: 15px; }

.contacts-page__grid { display: grid; grid-template-columns: minmax(0,1fr) 500px; gap: 70px; align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 35px; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 17px 18px; border: 1px solid var(--ns-line); border-radius: 7px; background: #fff; }
.contact-line > span:first-child { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ns-accent); background: var(--ns-accent-soft); flex: 0 0 auto; }
.contact-line div { display: grid; gap: 3px; }
.contact-line small { color: var(--ns-muted-light); font-size: 12px; }
.contact-line strong { color: var(--ns-text); font-size: 15px; font-weight: 700; }
.map { overflow: hidden; border-radius: var(--ns-radius); background: #ece9e6; }
.map--contacts { margin-top: 28px; min-height: 300px; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }

.contact-cta { padding: 49px 0; background: var(--ns-black); color: #fff; }
.contact-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-cta h2 { color: #fff; font-size: 32px; }
.contact-cta p { margin-top: 9px; color: rgba(255,255,255,.68); }

/* Блог и произвольные страницы — вписываем старые шаблоны в новую систему */
.section { border-color: var(--ns-line); }
.section--white { background: #fff; }
.article-head { background: #faf8f5; }
.card, .post-card, .article-cover, .tariff, .contact-card { border-radius: var(--ns-radius); }

/* Подвал */
.footer { position: relative; background: #181818; color: rgba(255,255,255,.72); border: 0; }
.footer .container { max-width: var(--ns-container); }
.footer__top { padding: 37px 0 31px; display: grid; grid-template-columns: 1.25fr .75fr .75fr 1fr; gap: 52px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { width: 130px; }
.footer__about { max-width: 265px; margin-top: 14px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; }
.footer__heading { color: #fff; font-size: 13px; font-weight: 700; }
.footer__links { margin-top: 13px; list-style: none; display: grid; gap: 7px; }
.footer__links a, .footer__links span { color: rgba(255,255,255,.66); font-size: 12px; }
.footer__links a:hover { color: #fff; }
.footer__contacts li { display: flex; align-items: center; gap: 8px; }
.footer__contacts svg { color: rgba(255,255,255,.58); flex: 0 0 auto; }
.footer__bottom { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: rgba(255,255,255,.42); font-size: 10px; }
.footer__bottom a { color: rgba(255,255,255,.48); }
.footer__bottom a:hover { color: #fff; }
.back-to-top { position: absolute; right: 28px; bottom: 62px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(167,102,61,.7); border-radius: 5px; color: #fff; font-size: 19px; }
.back-to-top:hover { background: var(--ns-accent); color: #fff; }

/* Адаптивность */
@media (max-width: 1220px) {
    .container, .header__inner { padding-left: 32px; padding-right: 32px; }
    .nav { gap: 25px; }
    .home-hero__content { padding-left: 32px; }
    .home-hero__features { gap: 12px; }
    .partner-grid { gap: 12px; }
    .home-contact__grid { grid-template-columns: 25% 31% 44%; }
    .home-request { padding: 26px 22px; }
    .contacts-page__grid { grid-template-columns: minmax(0,1fr) 440px; gap: 45px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }
    .nav { display: none; }
    .header__actions { margin-left: auto; }
    .burger { display: inline-flex; }
    .header__actions > .btn { display: none; }
    .mobile-menu.is-open { display: grid; gap: 0; }
    .home-hero__grid { grid-template-columns: 1fr; }
    .home-hero__content { padding: 55px 32px 45px; }
    .home-hero__media { min-height: 470px; }
    .home-hero__photo { min-height: 470px; }
    .home-hero__media::before { width: 100%; height: 16%; inset: 0 0 auto; background: linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 100%); }
    .service-grid--home, .advantage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .equipment-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 40px; }
    .process-step::before, .process-step::after { display: none; }
    .partner-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .home-contact__grid { grid-template-columns: 38% 62%; }
    .home-contact__image { min-height: 360px; }
    .home-request { grid-column: 1 / -1; }
    .service-detail { grid-template-columns: 1fr; }
    .form-panel--sticky { position: static; }
    .equipment-page-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .service-standards { grid-template-columns: 1fr; gap: 38px; }
    .about-intro { gap: 40px; }
    .contacts-page__grid { grid-template-columns: 1fr; }
    .form-panel--contact { max-width: 760px; }
    .footer__top { grid-template-columns: 1.35fr 1fr 1fr; }
    .footer__top > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
    .container, .header__inner { padding-left: 20px; padding-right: 20px; }
    .header__inner { gap: 18px; }
    .header__logo img { width: 132px; }
    h1 { font-size: clamp(36px, 10.5vw, 48px); }
    h2 { font-size: 30px; }
    .home-hero__content { padding: 42px 20px 38px; }
    .home-hero__lead { font-size: 16px; }
    .home-hero__features { grid-template-columns: 1fr; gap: 14px; }
    .home-hero__media, .home-hero__photo { min-height: 360px; }
    .home-section { padding-top: 35px; }
    .service-grid--home, .service-grid--page, .advantage-grid { grid-template-columns: 1fr; }
    .service-card-v2 { min-height: auto; }
    .equipment-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .process-grid { grid-template-columns: 1fr; gap: 32px; }
    .process-step__number { left: calc(50% - 65px); }
    .partner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .partner-logo img { height: 47px; }
    .home-contact__grid { grid-template-columns: 1fr; }
    .home-contact__image { min-height: 280px; }
    .home-about, .home-request { padding: 27px 22px; }
    .form__row { grid-template-columns: 1fr; }
    .page-hero__inner { padding-top: 32px; padding-bottom: 43px; }
    .page-hero__content { margin-top: 27px; }
    .page-hero__content p { font-size: 16px; }
    .content-section { padding: 54px 0; }
    .section-title { display: block; }
    .section-title p { margin-top: 14px; }
    .service-standards__grid { grid-template-columns: 1fr; }
    .equipment-page-grid { grid-template-columns: 1fr; }
    .equipment-note { grid-template-columns: 1fr; text-align: left; }
    .equipment-note .btn { width: 100%; }
    .about-intro { grid-template-columns: 1fr; }
    .about-intro__media, .about-intro__media img { min-height: 360px; }
    .mission-grid { grid-template-columns: 1fr; }
    .form-panel, .form-panel--contact { padding: 26px 20px; }
    .contact-cta__inner { display: block; }
    .contact-cta .btn { width: 100%; margin-top: 25px; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__top > :last-child { grid-column: 1 / -1; }
    .footer__bottom { align-items: flex-start; flex-direction: column; padding: 15px 0; }
    .back-to-top { right: 18px; bottom: 78px; }
}

@media (max-width: 440px) {
    .home-hero__actions { display: grid; }
    .home-hero__actions .btn { width: 100%; }
    .home-hero__media, .home-hero__photo { min-height: 300px; }
    .equipment-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
    .equipment-tile { min-height: 110px; font-size: 12px; }
    .partner-grid { gap: 8px; }
    .partner-logo { min-height: 66px; padding: 5px; }
    .partner-logo img { height: 42px; }
    .footer__top { grid-template-columns: 1fr; }
    .footer__brand, .footer__top > :last-child { grid-column: auto; }
}



/* ========================================================================
   Nomad Service v3 — точная компактная версия утвержденного макета.
   Отдельный файл и уникальный URL исключают конфликт со старой версткой.
   ======================================================================== */
:root {
    --ns-container: 1460px;
    --header-h: 58px;
    --ns-radius: 8px;
    --ns-shadow: 0 7px 22px rgba(22, 20, 18, .055);
}

body.ns-v3 { background: #fff; }
body.ns-v3 .page__main { overflow: clip; }
body.ns-v3 h1 { font-size: clamp(36px, 3.2vw, 48px); line-height: 1.03; letter-spacing: -.035em; }
body.ns-v3 h2 { font-size: clamp(25px, 2vw, 31px); line-height: 1.08; }
body.ns-v3 h3 { font-size: 16px; }

body.ns-v3 .header__inner {
    height: 58px;
    padding-left: 46px;
    padding-right: 46px;
    gap: 36px;
}
body.ns-v3 .header__logo img { width: 135px; }
body.ns-v3 .nav { gap: 34px; }
body.ns-v3 .nav__link { padding: 19px 0 16px; font-size: 13px; }
body.ns-v3 .header .btn--sm { min-width: 145px; min-height: 38px; padding: 10px 17px; font-size: 12px; }

body.ns-v3 .container { max-width: var(--ns-container); padding-left: 46px; padding-right: 46px; }

/* Первый экран */
body.ns-v3 .home-hero__grid {
    max-width: var(--ns-container);
    min-height: 390px;
    grid-template-columns: 48.5% 51.5%;
}
body.ns-v3 .home-hero__content { padding: 38px 34px 32px 46px; }
body.ns-v3 .home-hero h1 { max-width: 610px; }
body.ns-v3 .home-hero__lead {
    max-width: 580px;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.52;
}
body.ns-v3 .home-hero__actions { margin-top: 22px; gap: 14px; }
body.ns-v3 .home-hero__actions .btn { min-height: 40px; padding: 11px 22px; font-size: 12px; }
body.ns-v3 .home-hero__features {
    max-width: 610px;
    margin-top: 24px;
    gap: 14px;
}
body.ns-v3 .hero-feature { gap: 9px; font-size: 11px; line-height: 1.25; }
body.ns-v3 .hero-feature__icon svg { width: 24px; height: 24px; }
body.ns-v3 .home-hero__media,
body.ns-v3 .home-hero__photo { min-height: 390px; }
body.ns-v3 .home-hero__photo { object-position: 54% center; }
body.ns-v3 .home-hero__media::before { width: 19%; }

/* Секции главной */
body.ns-v3 .home-section { padding: 25px 0 10px; }
body.ns-v3 .home-section--compact { padding-top: 12px; }
body.ns-v3 .home-section--process { padding-bottom: 20px; }
body.ns-v3 .home-section__head { margin-bottom: 16px; }
body.ns-v3 .home-section__head h2 { font-size: clamp(24px, 1.8vw, 29px); }

body.ns-v3 .service-grid { gap: 14px; }
body.ns-v3 .service-card-v2 {
    min-height: 150px;
    padding: 18px 18px 16px;
}
body.ns-v3 .service-card-v2 .info-card__icon svg { width: 34px; height: 34px; }
body.ns-v3 .service-card-v2 h3,
body.ns-v3 .service-card-v2 h2 { margin-top: 10px; font-size: 15px; }
body.ns-v3 .service-card-v2 p { margin-top: 10px; max-width: 275px; font-size: 11.5px; line-height: 1.42; }

body.ns-v3 .equipment-strip { gap: 12px; }
body.ns-v3 .equipment-tile {
    min-height: 84px;
    padding: 10px 8px;
    gap: 7px;
    font-size: 10.5px;
}
body.ns-v3 .equipment-tile__icon svg { width: 34px; height: 34px; }

body.ns-v3 .advantage-grid { gap: 14px; }
body.ns-v3 .advantage-card { min-height: 126px; padding: 16px 15px; }
body.ns-v3 .advantage-card .info-card__icon svg { width: 31px; height: 31px; }
body.ns-v3 .advantage-card h3 { margin-top: 8px; font-size: 14px; }
body.ns-v3 .advantage-card p { margin-top: 7px; font-size: 10.5px; line-height: 1.4; }

body.ns-v3 .process-grid { gap: 34px; }
body.ns-v3 .process-step { padding: 0 8px; }
body.ns-v3 .process-step__top { min-height: 62px; }
body.ns-v3 .process-step__icon { width: 54px; height: 54px; }
body.ns-v3 .process-step__icon svg { width: 29px; height: 29px; }
body.ns-v3 .process-step__number { top: 2px; left: 4px; width: 22px; height: 22px; font-size: 10px; }
body.ns-v3 .process-step:not(:last-child)::after { top: 30px; right: -28px; width: 43px; }
body.ns-v3 .process-step:not(:last-child)::before { top: 26px; right: -28px; }
body.ns-v3 .process-step h3 { margin-top: 5px; font-size: 13px; }
body.ns-v3 .process-step p { margin-top: 5px; font-size: 10px; line-height: 1.35; }

body.ns-v3 .partner-section { padding: 14px 0 13px; }
body.ns-v3 .partner-section h2 { margin-bottom: 8px; font-size: 25px; }
body.ns-v3 .partner-grid { gap: 15px; }
body.ns-v3 .partner-logo { min-height: 54px; padding: 5px 6px; }
body.ns-v3 .partner-logo img { height: 38px; }

body.ns-v3 .home-contact { padding: 10px 0 0; }
body.ns-v3 .home-contact__grid { grid-template-columns: 21% 29% 50%; border-radius: 8px; }
body.ns-v3 .home-contact__image { min-height: 235px; }
body.ns-v3 .home-about { padding: 20px 19px; }
body.ns-v3 .home-request { padding: 19px 22px; }
body.ns-v3 .home-about h2,
body.ns-v3 .home-request h2 { font-size: 18px; }
body.ns-v3 .home-about__text { margin-top: 10px; font-size: 10px; line-height: 1.48; }
body.ns-v3 .home-about__text p + p { margin-top: 8px; }
body.ns-v3 .home-request__contacts { gap: 7px 15px; margin: 10px 0 11px; }
body.ns-v3 .home-request__contacts a,
body.ns-v3 .home-request__contacts span { gap: 6px; font-size: 10px; }
body.ns-v3 .form { gap: 7px; }
body.ns-v3 .form__row { gap: 7px; }
body.ns-v3 .field { min-height: 34px; padding: 7px 10px; font-size: 10px; }
body.ns-v3 textarea.field { min-height: 58px; }
body.ns-v3 .form .btn { min-height: 34px; padding: 9px 16px; font-size: 10px; }
body.ns-v3 .form__consent { font-size: 8px; }

body.ns-v3 .footer { padding: 30px 0 12px; }
body.ns-v3 .footer__top { gap: 35px; padding-bottom: 24px; }
body.ns-v3 .footer__brand img { width: 112px; }
body.ns-v3 .footer__about { margin-top: 12px; max-width: 240px; font-size: 10px; line-height: 1.45; }
body.ns-v3 .footer__heading { margin-bottom: 10px; font-size: 10px; }
body.ns-v3 .footer__links { gap: 6px; font-size: 9.5px; }
body.ns-v3 .footer__bottom { min-height: 38px; padding: 10px 0 0; font-size: 8px; }
body.ns-v3 .back-to-top { width: 34px; height: 34px; right: 28px; bottom: 58px; }

/* Внутренние страницы остаются в единой дизайн-системе, но компактнее. */
body.ns-v3 .page-hero__inner { padding-top: 38px; padding-bottom: 48px; }
body.ns-v3 .page-hero__content { margin-top: 26px; }
body.ns-v3 .content-section { padding: 58px 0; }

@media (max-width: 1180px) {
    body.ns-v3 .header__inner,
    body.ns-v3 .container { padding-left: 28px; padding-right: 28px; }
    body.ns-v3 .header__inner { gap: 24px; }
    body.ns-v3 .nav { gap: 22px; }
    body.ns-v3 .home-hero__content { padding-left: 28px; padding-right: 24px; }
    body.ns-v3 .home-hero__features { gap: 10px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 58px; }
    body.ns-v3 .home-hero__grid { grid-template-columns: 1fr; }
    body.ns-v3 .home-hero__content { padding: 42px 28px 34px; }
    body.ns-v3 .home-hero__media,
    body.ns-v3 .home-hero__photo { min-height: 420px; }
    body.ns-v3 .service-grid--home,
    body.ns-v3 .advantage-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    body.ns-v3 .equipment-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
    body.ns-v3 .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 28px; }
    body.ns-v3 .partner-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    body.ns-v3 .home-contact__grid { grid-template-columns: 1fr; }
    body.ns-v3 .home-contact__image { min-height: 320px; }
}

@media (max-width: 680px) {
    body.ns-v3 .header__inner,
    body.ns-v3 .container { padding-left: 18px; padding-right: 18px; }
    body.ns-v3 h1 { font-size: clamp(34px, 10vw, 44px); }
    body.ns-v3 .home-hero__content { padding: 34px 18px 30px; }
    body.ns-v3 .home-hero__lead { font-size: 15px; }
    body.ns-v3 .home-hero__features { grid-template-columns: 1fr; }
    body.ns-v3 .home-hero__media,
    body.ns-v3 .home-hero__photo { min-height: 300px; }
    body.ns-v3 .service-grid--home,
    body.ns-v3 .advantage-grid,
    body.ns-v3 .process-grid { grid-template-columns: 1fr; }
    body.ns-v3 .equipment-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
    body.ns-v3 .partner-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    body.ns-v3 .home-contact__image { min-height: 250px; }
}

/* ========================================================================
   v3.1 — финальная калибровка пропорций по утвержденному изображению.
   Контрольная ширина: 1086–1440 px.
   ======================================================================== */
@media (min-width: 1025px) {
    body.ns-v3 .home-hero__grid { min-height: 350px; }
    body.ns-v3 .home-hero__content { padding-top: 27px; padding-bottom: 25px; }
    body.ns-v3 .home-hero__media,
    body.ns-v3 .home-hero__photo { min-height: 350px; }
    body.ns-v3 .home-hero__lead { margin-top: 12px; line-height: 1.44; }
    body.ns-v3 .home-hero__actions { margin-top: 18px; }
    body.ns-v3 .home-hero__features { margin-top: 21px; }

    body.ns-v3 .home-section { padding-top: 18px; padding-bottom: 7px; }
    body.ns-v3 .home-section--compact { padding-top: 9px; }
    body.ns-v3 .home-section--process { padding-top: 10px; padding-bottom: 14px; }
    body.ns-v3 .home-section__head { margin-bottom: 11px; }

    body.ns-v3 .service-card-v2 { min-height: 132px; padding: 14px 14px 13px; }
    body.ns-v3 .service-card-v2 .info-card__icon svg { width: 30px; height: 30px; }
    body.ns-v3 .service-card-v2 h3,
    body.ns-v3 .service-card-v2 h2 { margin-top: 7px; font-size: 13px; }
    body.ns-v3 .service-card-v2 p { margin-top: 7px; font-size: 10px; line-height: 1.35; }

    body.ns-v3 .equipment-tile { min-height: 72px; padding: 7px 7px; gap: 5px; font-size: 9.5px; }
    body.ns-v3 .equipment-tile__icon svg { width: 29px; height: 29px; }

    body.ns-v3 .advantage-card { min-height: 104px; padding: 11px 12px; }
    body.ns-v3 .advantage-card .info-card__icon svg { width: 27px; height: 27px; }
    body.ns-v3 .advantage-card h3 { margin-top: 5px; font-size: 12px; }
    body.ns-v3 .advantage-card p { margin-top: 5px; font-size: 9px; line-height: 1.32; }

    body.ns-v3 .process-step__top { min-height: 50px; }
    body.ns-v3 .process-step__icon { width: 45px; height: 45px; }
    body.ns-v3 .process-step__icon svg { width: 24px; height: 24px; }
    body.ns-v3 .process-step__number { width: 19px; height: 19px; font-size: 8px; }
    body.ns-v3 .process-step:not(:last-child)::after { top: 24px; }
    body.ns-v3 .process-step:not(:last-child)::before { top: 20px; }
    body.ns-v3 .process-step h3 { margin-top: 3px; font-size: 11.5px; }
    body.ns-v3 .process-step p { margin-top: 4px; font-size: 8.8px; line-height: 1.3; }

    body.ns-v3 .partner-section { padding: 9px 0 6px; }
    body.ns-v3 .partner-section h2 { margin-bottom: 4px; font-size: 22px; }
    body.ns-v3 .partner-logo { min-height: 43px; padding: 2px 5px; }
    body.ns-v3 .partner-logo img { height: 31px; }

    body.ns-v3 .home-contact { padding-top: 6px; }
    body.ns-v3 .home-contact__image { min-height: 210px; }
    body.ns-v3 .home-about,
    body.ns-v3 .home-request { padding-top: 14px; padding-bottom: 14px; }
    body.ns-v3 .home-about h2,
    body.ns-v3 .home-request h2 { font-size: 16px; }
    body.ns-v3 .home-about__text { margin-top: 7px; font-size: 9px; line-height: 1.42; }
    body.ns-v3 .home-about__text p + p { margin-top: 6px; }
    body.ns-v3 .home-request__contacts { margin: 7px 0 7px; }
    body.ns-v3 .field { min-height: 29px; padding: 5px 8px; font-size: 9px; }
    body.ns-v3 textarea.field { min-height: 48px; }
    body.ns-v3 .form .btn { min-height: 29px; padding: 7px 12px; font-size: 9px; }

    body.ns-v3 .footer { padding: 12px 0 4px; }
    body.ns-v3 .footer__top { padding: 10px 0 11px; gap: 28px; }
    body.ns-v3 .footer__brand img { width: 94px; }
    body.ns-v3 .footer__about { margin-top: 7px; font-size: 8px; line-height: 1.35; }
    body.ns-v3 .footer__heading { margin-bottom: 5px; font-size: 8.5px; }
    body.ns-v3 .footer__links { margin-top: 5px; gap: 3px; font-size: 8px; }
    body.ns-v3 .footer__links a,
    body.ns-v3 .footer__links span { font-size: 8px; }
    body.ns-v3 .footer__bottom { min-height: 27px; padding: 5px 0 0; font-size: 7px; }
    body.ns-v3 .back-to-top { width: 28px; height: 28px; bottom: 36px; font-size: 14px; }
}

/* V3.1 — финальная подгонка по утвержденному вертикальному макету 1086 px. */
body.ns-v3 h1 { font-size: clamp(30px, 2.8vw, 42px); }
body.ns-v3 h2 { font-size: clamp(22px, 1.75vw, 28px); }
body.ns-v3 .home-hero__grid { min-height: 350px; }
body.ns-v3 .home-hero__content { padding-top: 29px; padding-bottom: 24px; }
body.ns-v3 .home-hero__lead { margin-top: 13px; font-size: 12.5px; line-height: 1.45; }
body.ns-v3 .home-hero__actions { margin-top: 17px; }
body.ns-v3 .home-hero__actions .btn { min-height: 36px; padding: 9px 20px; font-size: 11px; }
body.ns-v3 .home-hero__features { margin-top: 19px; }
body.ns-v3 .hero-feature { font-size: 10px; }
body.ns-v3 .hero-feature__icon svg { width: 22px; height: 22px; }
body.ns-v3 .home-hero__media,
body.ns-v3 .home-hero__photo { min-height: 350px; }

body.ns-v3 .home-section { padding-top: 18px; padding-bottom: 6px; }
body.ns-v3 .home-section--compact { padding-top: 8px; }
body.ns-v3 .home-section--process { padding-bottom: 12px; }
body.ns-v3 .home-section__head { margin-bottom: 11px; }
body.ns-v3 .home-section__head h2 { font-size: clamp(21px, 1.7vw, 27px); }

body.ns-v3 .service-card-v2 { min-height: 126px; padding: 13px 15px 12px; }
body.ns-v3 .service-card-v2 .info-card__icon svg { width: 29px; height: 29px; }
body.ns-v3 .service-card-v2 h3,
body.ns-v3 .service-card-v2 h2 { margin-top: 7px; font-size: 13px; }
body.ns-v3 .service-card-v2 p { margin-top: 7px; font-size: 10px; line-height: 1.35; }

body.ns-v3 .equipment-tile { min-height: 68px; padding: 7px 6px; gap: 4px; font-size: 9px; }
body.ns-v3 .equipment-tile__icon svg { width: 28px; height: 28px; }

body.ns-v3 .advantage-card { min-height: 102px; padding: 11px 12px; }
body.ns-v3 .advantage-card .info-card__icon svg { width: 26px; height: 26px; }
body.ns-v3 .advantage-card h3 { margin-top: 5px; font-size: 12px; }
body.ns-v3 .advantage-card p { margin-top: 5px; font-size: 9px; line-height: 1.3; }

body.ns-v3 .process-grid { gap: 28px; }
body.ns-v3 .process-step__top { min-height: 50px; }
body.ns-v3 .process-step__icon { width: 44px; height: 44px; }
body.ns-v3 .process-step__icon svg { width: 24px; height: 24px; }
body.ns-v3 .process-step__number { width: 19px; height: 19px; font-size: 9px; }
body.ns-v3 .process-step:not(:last-child)::after { top: 24px; }
body.ns-v3 .process-step:not(:last-child)::before { top: 20px; }
body.ns-v3 .process-step h3 { margin-top: 3px; font-size: 11px; }
body.ns-v3 .process-step p { margin-top: 3px; font-size: 8.5px; line-height: 1.25; }

body.ns-v3 .partner-section { padding-top: 9px; padding-bottom: 8px; }
body.ns-v3 .partner-section h2 { margin-bottom: 4px; font-size: 22px; }
body.ns-v3 .partner-logo { min-height: 42px; padding: 3px 5px; }
body.ns-v3 .partner-logo img { height: 31px; }

body.ns-v3 .home-contact { padding-top: 6px; }
body.ns-v3 .home-contact__image { min-height: 205px; }
body.ns-v3 .home-about { padding: 15px 16px; }
body.ns-v3 .home-request { padding: 14px 17px; }
body.ns-v3 .home-about h2,
body.ns-v3 .home-request h2 { font-size: 16px; }
body.ns-v3 .home-about__text { margin-top: 8px; font-size: 8.8px; line-height: 1.4; }
body.ns-v3 .home-about__text p + p { margin-top: 6px; }
body.ns-v3 .home-request__contacts { margin: 7px 0 8px; }
body.ns-v3 .home-request__contacts a,
body.ns-v3 .home-request__contacts span { font-size: 8.5px; }
body.ns-v3 .form { gap: 5px; }
body.ns-v3 .form__row { gap: 5px; }
body.ns-v3 .field { min-height: 29px; padding: 5px 8px; font-size: 8.5px; }
body.ns-v3 textarea.field { min-height: 46px; }
body.ns-v3 .form .btn { min-height: 29px; padding: 7px 13px; font-size: 8.5px; }

body.ns-v3 .footer { padding-top: 23px; padding-bottom: 9px; }
body.ns-v3 .footer__top { padding-bottom: 17px; }
body.ns-v3 .footer__brand img { width: 102px; }
body.ns-v3 .footer__about { margin-top: 9px; font-size: 8.5px; }
body.ns-v3 .footer__heading { margin-bottom: 7px; font-size: 9px; }
body.ns-v3 .footer__links { gap: 4px; font-size: 8px; }
body.ns-v3 .footer__bottom { min-height: 31px; padding-top: 8px; font-size: 7px; }

@media (max-width: 1024px) {
    body.ns-v3 h1 { font-size: clamp(34px, 7vw, 46px); }
    body.ns-v3 .home-hero__content { padding-top: 38px; padding-bottom: 32px; }
    body.ns-v3 .home-hero__lead { font-size: 15px; }
    body.ns-v3 .home-hero__media,
    body.ns-v3 .home-hero__photo { min-height: 390px; }
    body.ns-v3 .service-card-v2,
    body.ns-v3 .advantage-card { min-height: 150px; }
    body.ns-v3 .home-contact__image { min-height: 310px; }
}
