/* Cargoriga — стили сайта. Токены — из «ТЗ на дизайн» (раздел 1а) и гейта neuroslop-design шага 07:
   шкала кеглей 14/16/18/22/28/34/48, шкала отступов 4…72, три радиуса, три тени, рамка полей ≥ 3:1. */

@font-face { font-family: "Rubik"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/rubik-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

:root {
	/* Цвет */
	--brand: #ff3514;          /* логотип; текстом не используется — контраст */
	--action: #d71920;         /* кнопки, ссылки (5,2:1 на белом) */
	--action-hover: #b5141a;
	--action-active: #8f0f14;
	--ink: #06163a;            /* заголовки, тёмные секции */
	--text: #3f485d;           /* текст (9,1:1) */
	--muted: #5a6376;          /* подписи (6,0:1 на белом, 5,2:1 на #ededed) */
	--surface: #f6f6f6;
	--surface-2: #ededed;
	--line: #d9dde4;           /* разделители (декоративные) */
	--field: #7a8396;          /* рамка полей (3,8:1 — ≥ 3:1 для элементов управления) */
	--on-dark: #dfe3ea;
	--on-dark-2: #c9d1e0;
	--on-dark-accent: #ff8a70;
	--white: #ffffff;
	--ok-bg: #e8f4ec; --ok-ink: #14532d;
	--err: #b3121a; --err-bg: #fdecec;

	/* Шрифты и кегли */
	--font-head: "Rubik", system-ui, sans-serif;
	--font-body: "Open Sans", system-ui, sans-serif;
	--fs-1: 14px; --fs-2: 16px; --fs-3: 18px; --fs-4: 22px; --fs-5: 28px; --fs-6: 34px; --fs-7: 48px;

	/* Отступы */
	--sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 72px;

	/* Радиусы и тени */
	--r-1: 6px; --r-2: 10px; --r-3: 999px;
	--sh-1: 0 1px 2px rgba(6, 22, 58, .08);
	--sh-2: 0 4px 12px rgba(6, 22, 58, .10);
	--sh-3: 0 16px 32px rgba(6, 22, 58, .12);

	--dot: 48px;               /* круг номера шага */
	--tap: 44px;               /* минимальная зона нажатия на телефоне (WCAG 2.5.5) */
	--anchors-h: 53px;         /* высота липкого меню по странице */
	--wrap: 1200px;
	--gutter: var(--sp-5);
	--sec-pad: var(--sp-8);
	--h1: var(--fs-7); --h2: var(--fs-6); --h3: var(--fs-4);
	--header-h: 72px;
}
@media (max-width: 719px) {
	:root { --gutter: var(--sp-4); --sec-pad: var(--sp-7); --h1: var(--fs-6); --h2: var(--fs-5); }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--sp-4); }
/* Липкое меню по странице (.anchors, 53 px) закрывало заголовок при переходе по якорю — отступ на его высоту. */
html:has(.anchors) { scroll-padding-top: calc(var(--anchors-h) + var(--sp-4)); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: var(--fs-2); line-height: 1.55; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 500; }
p { margin: 0; }
a { color: var(--action); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.skip { position: absolute; left: var(--sp-4); top: -100px; z-index: 50; background: var(--ink); color: var(--white); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-1); }
.skip:focus { top: var(--sp-4); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(860px + 2 * var(--gutter)); }
.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.stack > h2 + * { margin-top: var(--sp-1); }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
@media (max-width: 899px) { .split, .cols2 { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); } }

.lead { font-size: var(--fs-3); max-width: 38em; }
.lead-s { font-size: var(--fs-2); max-width: 46em; }
.note { font-size: var(--fs-1); color: var(--muted); }
.kicker { font-size: var(--fs-1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-1); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.more { font-weight: 600; }
.empty { padding: var(--sp-4); background: var(--surface); border-radius: var(--r-2); }

.prose > * + * { margin-top: var(--sp-4); }
.prose h2 + *, .prose h3 + * { margin-top: var(--sp-3); }
.prose h3 { margin-top: var(--sp-5); }
.prose ul, .prose ol, .list { margin: 0; padding-left: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.list { margin-top: var(--sp-1); }
/* margin: 0 выше перебивал отступ над списком внутри текста — список прилипал к заголовку и абзацу */
.prose > * + :is(ul, ol) { margin-top: var(--sp-4); }
.prose :is(h2, h3) + :is(ul, ol) { margin-top: var(--sp-3); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 48px; padding: 0 var(--sp-5); border-radius: var(--r-1); border: 2px solid var(--action); background: var(--action); color: var(--white); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-2); line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); color: var(--white); }
.btn:active { background: var(--action-active); border-color: var(--action-active); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--surface-2); border-color: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-ghost:active { background: #020a1d; border-color: #020a1d; color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--surface-2); border-color: var(--surface-2); color: var(--ink); }
.btn-light:active { background: var(--line); border-color: var(--line); color: var(--ink); }
.btn-on-dark { background: transparent; color: var(--white); border-color: var(--white); }
.btn-on-dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-on-dark:active { background: var(--surface-2); color: var(--ink); }
.btn-light:focus-visible, .btn-on-dark:focus-visible { outline-color: var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.seg { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); border-radius: var(--r-1); border: 1px solid var(--field); background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-2); cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.seg:hover { border-color: var(--ink); }
.seg:focus-visible, .seg--radio:has(input:focus-visible) { outline: 3px solid var(--action); outline-offset: 2px; }
.seg.is-on, .seg--radio:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.seg--radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ---------- Шапка ---------- */
.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--surface-2); }
.site-header__bar { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }
.logo { display: flex; flex: 0 0 auto; }
.logo img { width: 160px; height: 40px; object-fit: contain; }
.nav { display: flex; align-items: center; justify-content: center; gap: var(--sp-5); flex: 1 1 auto; min-width: 0; }
.navbtn, .navlink { display: inline-flex; align-items: center; gap: var(--sp-1); min-height: 44px; padding: 0 var(--sp-1); background: none; border: 0; border-bottom: 3px solid transparent; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-2); text-decoration: none; cursor: pointer; }
.navbtn:hover, .navlink:hover { color: var(--action); }
.navbtn[aria-expanded="true"], .navlink.is-current { border-bottom-color: var(--action); } /* подчёркивание активного пункта — не декоративный кант */
.navbtn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.site-header__tel { flex: 0 0 auto; font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-header__tel:hover { color: var(--action); }
.site-header__cta { flex: 0 0 auto; white-space: nowrap; }
.burger { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--field); border-radius: var(--r-1); background: var(--white); color: var(--ink); cursor: pointer; }
.burger:hover { border-color: var(--ink); }
@media (max-width: 1023px) {
	.nav, .site-header__tel, .site-header__cta { display: none; }
	.burger { display: inline-flex; margin-left: auto; }
	.logo img { width: 140px; height: 35px; }
}

/* Мега-меню */
.mm { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--surface-2); border-bottom: 1px solid var(--line); box-shadow: var(--sh-3); }
.mm__inner { padding-block: var(--sp-6); display: grid; gap: var(--sp-6); }
.mm__inner--tj { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); }
.mm__inner--la { grid-template-columns: clamp(270px, 24%, 340px) minmax(0, 1fr); gap: var(--sp-7); }
.mm__foot { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); margin-top: var(--sp-2); }
.mm__foot .mm__more { white-space: nowrap; }
.mm__inner--la .mm__feature-title { white-space: nowrap; }
.mm__col { display: flex; flex-direction: column; gap: var(--sp-3); }
.mm__item { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.mm__item:hover .mm__name { color: var(--action); }
.mm__name { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-3); }
.mm__text, .mm__days { font-size: var(--fs-1); color: var(--muted); }
.mm__help { background: var(--surface); border-radius: var(--r-2); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.mm__help-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: var(--fs-3); }
.mm__tel { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.mm__feature { background: var(--ink); color: var(--white); border-radius: var(--r-2); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); text-decoration: none; }
.mm__feature:hover { background: #0b2357; color: var(--white); }
.mm__feature:focus-visible { outline-color: var(--action); }
.mm__feature-kicker { font-size: var(--fs-1); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-accent); font-weight: 600; }
.mm__feature-title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-4); }
.mm__feature-text { color: var(--on-dark); font-size: var(--fs-1); }
.mm__feature-price { font-size: var(--fs-1); display: flex; flex-direction: column; gap: 2px; }
.mm__lands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: var(--sp-1) var(--sp-6); }
.mm__lands a { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); min-height: 44px; border-bottom: 1px solid var(--surface-2); color: var(--ink); font-weight: 600; text-decoration: none; }
.mm__lands a:hover { color: var(--action); }
.mm__lands .mm__days { white-space: nowrap; flex: 0 0 auto; }

/* Мобильное меню */
.mob { position: fixed; inset: 0; z-index: 40; background: var(--white); overflow-y: auto; display: flex; flex-direction: column; }
.mob[hidden] { display: none; }
.mob__top { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-2) var(--gutter); border-bottom: 1px solid var(--surface-2); }
.mob__top img { width: 140px; height: 35px; object-fit: contain; }
.mob__top .burger { display: inline-flex; }
.mob__nav { padding: var(--sp-2) var(--gutter) var(--sp-5); display: flex; flex-direction: column; }
.mob__nav .eyebrow { margin: var(--sp-5) 0 var(--sp-1); }
.mob__link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--surface-2); color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-3); text-decoration: none; }
.mob__feature { display: flex; flex-direction: column; gap: 2px; background: var(--ink); color: var(--on-dark); border-radius: var(--r-2); padding: var(--sp-3) var(--sp-4); text-decoration: none; font-size: var(--fs-1); }
.mob__feature-title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-3); color: var(--white); }
.mob__lands { list-style: none; margin: var(--sp-3) 0 var(--sp-2); padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.mob__lands a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-1); color: var(--ink); font-weight: 600; text-decoration: none; }
.mob__lands .mob__more { border-color: transparent; color: var(--action); }
.mob__bottom { margin-top: auto; padding: var(--sp-4) var(--gutter); border-top: 1px solid var(--surface-2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); background: var(--surface); }

/* Липкая панель на мобильном */
.sticky-bar { display: none; }
@media (max-width: 719px) {
	.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); background: var(--white); border-top: 1px solid var(--line); }
	.sticky-bar .btn { padding: 0 var(--sp-2); }
	body { padding-bottom: var(--sp-8); }
}

/* ---------- Секции ---------- */
.sec { padding-block: var(--sec-pad); }
.sec--vit { background: var(--white); }
.sec--gra { background: var(--surface); }
.sec--mork { background: var(--ink); color: var(--on-dark); }
.sec--mork h2, .sec--mork h3 { color: var(--white); }
.sec--mork a:not(.btn) { color: var(--white); }
.sec--cta { background: var(--action); color: var(--white); padding-block: var(--sp-7); }
.sec--cta h2 { color: var(--white); }
.sec--band { padding-block: var(--sp-7); }
.cta { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between; }
.cta p { margin-top: var(--sp-2); }
.sec--cta .btn-light:focus-visible, .sec--cta .btn-on-dark:focus-visible { outline-color: var(--white); }

/* Первый экран */
.hero { position: relative; overflow: hidden; }
.hero--dark { background: var(--ink); color: var(--white); }
.hero--light { background: var(--surface); border-bottom: 1px solid var(--surface-2); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: rgba(6, 22, 58, .80); }
.hero__inner { position: relative; padding-block: var(--sp-6) var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-5); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
.hero--form .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; } /* текст по центру высоты формы — без пустоты слева (2026-10-21) */
.hero__text { display: flex; flex-direction: column; gap: var(--sp-4); }
.hero--dark h1 { color: var(--white); }
.hero--dark .lead { color: var(--on-dark); }
.hero--dark .kicker { color: var(--on-dark-accent); }
.hero--light .kicker { color: var(--muted); }
@media (max-width: 899px) {
	.hero--form .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
	.hero__inner { padding-block: var(--sp-5) var(--sp-7); }
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chips li { padding: var(--sp-2) var(--sp-3); border-radius: var(--r-1); background: var(--white); color: var(--ink); font-size: var(--fs-2); }
.hero--dark .chips li { background: rgba(255, 255, 255, .12); color: var(--white); }
.chips strong { font-weight: 600; }

/* Крошки */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1); font-size: var(--fs-1); }
.crumbs li + li::before { content: "›"; margin-right: var(--sp-1); }
.crumbs a { color: inherit; }
.hero--dark .crumbs { color: var(--on-dark-2); }
.hero--dark .crumbs a { color: var(--white); }
.hero--dark .crumbs a:focus-visible { outline-color: var(--white); }

/* Меню по странице */
.anchors { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--surface-2); }
.anchors ul { list-style: none; margin: 0 auto; display: flex; gap: var(--sp-5); overflow-x: auto; scrollbar-width: none; }
.anchors ul::-webkit-scrollbar { display: none; }
.anchors a { display: flex; align-items: center; min-height: 52px; white-space: nowrap; color: var(--ink); font-weight: 600; text-decoration: none; }
.anchors a:hover { color: var(--action); }

/* Карточки */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-4); }
.cards--two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* 5 и 6 карточек — по 3 в ряд, без одной висящей в следующем ряду */
@media (min-width: 900px) { .cards:not(.rail):has(> :nth-child(5):last-child, > :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); border-radius: var(--r-2); }
.cards--ram .card { border: 1px solid var(--line); background: var(--white); }
.cards--yta .card { background: var(--white); }
.sec--vit .cards--yta .card { background: var(--surface); }
.card h3 { font-size: var(--fs-4); }
.card__img { display: block; width: calc(100% + 2 * var(--sp-5)); max-width: none; aspect-ratio: 4 / 3; height: auto; margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) var(--sp-2); object-fit: cover; border-radius: var(--r-2) var(--r-2) 0 0; }
/* место под фото до запуска (только не на production) */
.card__img--tom { display: grid; place-items: center; background: var(--surface-2); border-bottom: 1px dashed var(--line); color: var(--ink); font-size: var(--fs-1); }
.card__fact { font-size: var(--fs-1); color: var(--muted); }
.card__link { margin-top: auto; padding-top: var(--sp-2); font-weight: 600; }
.cards--lankar .card { padding: 0; border: 1px solid var(--line); background: var(--white); }
.card__cover { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-5); height: 100%; color: var(--text); text-decoration: none; border-radius: var(--r-2); }
.card__cover:hover .card__title { color: var(--action); }
.card__title { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-3); color: var(--ink); }
.sec--mork .card { color: var(--text); }
.sec--mork .card h3 { color: var(--ink); }
.sec--mork .card a:not(.btn) { color: var(--action); }
.sec--mork .card__fact { color: var(--muted); }

/* Лента со свайпом (мобильный) */
@media (max-width: 719px) {
	.rail { display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
	.rail::-webkit-scrollbar { display: none; }
	.rail > * { flex: 0 0 82%; scroll-snap-align: start; }
}

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5); }
.steps li { counter-increment: st; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-3); align-items: start; }
.steps li::before { content: counter(st); grid-row: span 2; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-5); line-height: 1; color: var(--action); }
.sec--mork .steps li::before { color: var(--on-dark-accent); }
.steps strong { color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-3); }
.sec--mork .steps strong { color: var(--white); }

/* Цифры */
.figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-5); }
.figures li { display: flex; flex-direction: column; }
.figures__num { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-6); line-height: 1.1; color: var(--white); }
.sec--vit .figures__num, .sec--gra .figures__num { color: var(--ink); }

/* Таблица цен / карточки цен */
.ptable__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--white); }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; padding: var(--sp-3) var(--sp-4); color: var(--muted); font-size: var(--fs-1); }
th, td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); font-size: var(--fs-2); }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-family: var(--font-head); font-weight: 500; color: var(--ink); background: var(--surface); white-space: nowrap; }
tbody th { font-weight: 600; color: var(--ink); }
tbody th a { color: var(--ink); }
tbody th a:hover { color: var(--action); }
td { white-space: nowrap; }
.pris { font-weight: 600; color: var(--ink); }
.pris-offert { font-weight: 600; }
.pcards { display: none; list-style: none; margin: 0; padding: 0; flex-direction: column; gap: var(--sp-2); }
.pcard { border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--sp-3) var(--sp-4); background: var(--white); }
.pcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.pcard__head a, .pcard__head strong { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-3); color: var(--ink); }
.pcard__tid { font-size: var(--fs-1); white-space: nowrap; }
.pcard__prices { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: var(--sp-2); }
.pcard__prices dt { font-size: var(--fs-1); color: var(--muted); }
.pcard__prices dd { margin: 0; white-space: nowrap; }
@media (max-width: 719px) {
	.ptable .ptable__scroll { display: none; }
	.pcards { display: flex; }
}
.ptable [data-hide] { display: none !important; }
.tider { list-style: none; margin: 0; padding: 0; }
.tider li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--line); }
.tider li span:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }

/* Блок справа */
.side { background: var(--surface); border-radius: var(--r-2); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.sec--gra .side { background: var(--white); }
.side__title { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-3); color: var(--ink); }

/* Страны */
.landlist { display: flex; flex-direction: column; gap: var(--sp-4); }
.landlist__feature { display: flex; flex-direction: column; gap: var(--sp-1); background: var(--ink); color: var(--on-dark); border-radius: var(--r-2); padding: var(--sp-5); text-decoration: none; }
.landlist__feature:hover { background: #0b2357; color: var(--on-dark); }
.landlist__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-4); color: var(--white); }
.landlist__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.landlist__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-1); background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.landlist__list a:hover { border-color: var(--ink); }
.landlist__sub { font-size: var(--fs-3); margin-top: var(--sp-2); }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); min-height: 56px; padding: var(--sp-3) 0; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-3); color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: var(--fs-4); line-height: 1; flex: 0 0 auto; }
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--action); }
.faq__a { padding: 0 0 var(--sp-4); }
.faq-cat { display: flex; flex-direction: column; gap: var(--sp-2); }
.faq-cat + .faq-cat { margin-top: var(--sp-6); }
.faq-cat h2 { font-size: var(--fs-4); }
.faq-search { max-width: 560px; }
.empty-box { border: 2px dashed var(--field); border-radius: var(--r-2); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.empty-box__title { font-weight: 600; color: var(--ink); }

/* Чек-лист */
.checklist { background: var(--white); border-radius: var(--r-2); padding: var(--sp-2) var(--sp-6); }
.checklist__col { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--sp-6); padding-block: var(--sp-5); }
.checklist__col + .checklist__col { border-top: 1px solid var(--line); }
.checklist__head { display: flex; align-items: baseline; gap: var(--sp-3); }
.sec--vit .checklist { background: var(--surface); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-6); align-content: start; }
.checklist .check { font-size: var(--fs-2); }
@media (max-width: 899px) {
	.checklist { padding: var(--sp-1) var(--sp-5); }
	.checklist__col { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
	.checklist ul { grid-template-columns: minmax(0, 1fr); }
}
.checklist h3 { font-size: var(--fs-3); }

/* Отзывы */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-4); }
.reviews blockquote { margin: 0 0 var(--sp-2); font-size: var(--fs-3); color: var(--ink); }
.reviews li { display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--sp-5); }
.revsum { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.revsum a { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--sp-2); min-height: 44px; padding: var(--sp-2) var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-1); background: var(--white); color: var(--ink); text-decoration: none; }
.revsum a:hover { border-color: var(--ink); }
.revsum a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Автопарк */
.fleet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-4); }
/* 6 типов машин: 3 × 2 вместо 5 + 1 висящей */
@media (min-width: 900px) { .fleet:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .fleet:has(> :nth-child(7):last-child), .fleet:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); } }
.fleet__item { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--white); }
.form__ts:empty { display: none; }
.form__ts { margin-top: var(--sp-2); }
.fleet__img { display: block; width: calc(100% + 2 * var(--sp-4)); max-width: none; aspect-ratio: 4 / 3; height: auto; margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) var(--sp-2); object-fit: cover; border-radius: var(--r-2) var(--r-2) 0 0; }
.fleet__item strong { color: var(--ink); font-family: var(--font-head); font-weight: 500; }

/* Контакты */
.kkort { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-4); }
.kkort__item { background: var(--white); border-radius: var(--r-2); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-1); }
.kkort__label { font-size: var(--fs-1); color: var(--muted); }
.kkort__big { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-5); color: var(--ink); text-decoration: none; white-space: nowrap; }
.kkort__mid { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-4); color: var(--ink); overflow-wrap: anywhere; }
.kontaktrad a { font-weight: 600; }

/* ---------- Формы ---------- */
.form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form--card { background: var(--white); color: var(--text); border-radius: var(--r-2); padding: var(--sp-5); box-shadow: var(--sh-2); }
.sec--gra .form, .sec--form .form { background: var(--white); border-radius: var(--r-2); padding: var(--sp-6); }
@media (max-width: 719px) { .sec--gra .form, .sec--form .form { padding: var(--sp-5) var(--sp-4); } }
.form__title { font-size: var(--fs-4); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.form--card .form__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.field--full, .field--seg, .field--checks, .field--textarea { grid-column: 1 / -1; }
@media (max-width: 559px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: var(--sp-1); min-width: 0; }
.field label, .field legend { font-size: var(--fs-1); font-weight: 600; color: var(--ink); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { margin-bottom: var(--sp-2); padding: 0; }
.req { color: var(--err); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 0 var(--sp-3); border: 1px solid var(--field); border-radius: var(--r-1);
	font-family: var(--font-body); font-size: var(--fs-2); color: var(--ink); background: var(--white);
	transition: border-color .15s ease;
}
.field textarea { padding: var(--sp-3); resize: vertical; min-height: 112px; }
.field textarea[rows="2"] { min-height: 0; } /* «Övrigt» в коротких формах — две строки, форма первого экрана не вытягивается */
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--action); outline-offset: 1px; border-color: var(--ink); }
.field input[type="date"]:focus { outline: 3px solid var(--action); outline-offset: 1px; border-color: var(--ink); } /* у даты фокус внутри частей поля, :focus-visible не срабатывает */
.field input::-webkit-calendar-picker-indicator:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 2px; }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--surface); color: var(--muted); cursor: not-allowed; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.field__err { font-size: var(--fs-1); color: var(--err); font-weight: 600; }
.field__err:empty { display: none; }
.field--on-dark label { color: var(--white); }
[data-when][hidden] { display: none; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: var(--sp-3); align-items: start; font-size: var(--fs-1); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: calc((1lh - 22px) / 2) 0 0; accent-color: var(--ink); } /* квадрат по центру первой строки текста */
.checks { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); }
.checks .check { font-size: var(--fs-2); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); }
.form__msg { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-1); font-weight: 600; }
.form__msg--ok { background: var(--ok-bg); color: var(--ok-ink); }
.form__msg--err { background: var(--err-bg); color: var(--err); }
.form.is-sending .btn[type="submit"] { cursor: progress; }
.form.is-done .form__grid, .form.is-done .form__foot, .form.is-done > .field, .form.is-done > .note { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--sp-7); align-items: start; }
.formsplit--form-first .formsplit__form { order: -1; }
.formsplit--form-first { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 899px) { .formsplit, .formsplit--form-first { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); } .formsplit--form-first .formsplit__form { order: 0; } }
.hero--dark .form--card a { color: var(--action); }

/* ---------- Текстовые страницы ---------- */
.textpage { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: var(--sp-7); align-items: start; }
.toc { position: sticky; top: var(--sp-4); font-size: var(--fs-1); }
.toc summary { min-height: 44px; display: flex; align-items: center; font-family: var(--font-head); font-weight: 500; color: var(--ink); cursor: pointer; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: var(--sp-2) 0; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--action); text-decoration: underline; }
.textpage__body { display: flex; flex-direction: column; gap: var(--sp-6); }
.textpage__body > * + * { margin-top: 0; }
.doc-sec { display: flex; flex-direction: column; gap: var(--sp-3); scroll-margin-top: var(--sp-4); }
.doc-sec h2 { font-size: var(--fs-4); }
@media (max-width: 899px) {
	.textpage { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
	.toc { position: static; border: 1px solid var(--line); border-radius: var(--r-2); padding: 0 var(--sp-4); }
}
.summary { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-4); background: var(--surface); border-radius: var(--r-2); padding: var(--sp-5); }
.summary dt { font-size: var(--fs-1); color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--ink); }
.foretag { margin: 0; background: var(--surface); border-radius: var(--r-2); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.foretag div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--sp-4); }
.foretag dt { color: var(--muted); }
.foretag dd { margin: 0; color: var(--ink); }
@media (max-width: 559px) { .foretag div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: var(--fs-2); }
.site-footer__brand { padding-block: var(--sp-7) 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); }
.site-footer__brand p { margin: 0; color: var(--on-dark); }
.site-footer__logo { display: inline-flex; align-items: center; min-height: var(--tap); padding: var(--sp-1) var(--sp-3); background: var(--white); border-radius: var(--r-1); }
.site-footer__logo img { display: block; width: 145px; height: 35px; }
.site-footer__cols { padding-block: var(--sp-6) var(--sp-6); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); }
.site-footer__title { font-family: var(--font-head); font-weight: 700; color: var(--white); margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.site-footer a { display: inline-flex; align-items: center; min-height: 32px; color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark-accent); text-decoration: underline; }
.site-footer a:focus-visible { outline-color: var(--white); }
.site-footer__tel { font-family: var(--font-head); font-weight: 700; }
.site-footer__bottom { padding-block: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-4); }
@media (max-width: 899px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .site-footer__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cookie: компактная карточка слева внизу ---------- */
.cookie { position: fixed; z-index: 60; left: var(--sp-4); bottom: var(--sp-4); width: min(400px, calc(100vw - 2 * var(--sp-4))); background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--sh-3); padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--fs-1); }
.cookie__title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: var(--fs-2); }
.cookie__form { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-1); }
.cookie__opts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.cookie__more { min-height: 44px; padding: 0 var(--sp-2); background: none; border: 0; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cookie__more:hover { color: var(--action); }
.btn-sm { min-height: 44px; padding: 0 var(--sp-3); font-size: var(--fs-1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 719px) { .cookie { bottom: calc(var(--sp-8) + var(--sp-1)); } }

/* ---------- Вариант D (редизайн 2026-10-20): те же токены, живее подача ---------- */

/* Надпись над H2 — «пункт в меню по странице» секции */
.kick { display: flex; align-items: center; gap: var(--sp-3); margin: 0; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-1); letter-spacing: .08em; text-transform: uppercase; color: var(--action); }
.kick::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; flex: 0 0 auto; }
.kick--dark { color: var(--on-dark-accent); }
.stack > .kick { margin-bottom: calc(-1 * var(--sp-2)); }
.prose > .kick + h2 { margin-top: var(--sp-2); }
h2 { letter-spacing: -.005em; }

/* Полоса доверия после первого экрана */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__row { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__item { padding: var(--sp-5) var(--sp-4); display: flex; flex-direction: column; gap: 2px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; }
.trust__link:hover .trust__lbl { color: var(--action); }
.trust__num { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-5); line-height: 1.1; color: var(--ink); }
.trust__lbl { font-size: var(--fs-1); color: var(--muted); }
.trust__stars { color: var(--action); font-size: var(--fs-2); letter-spacing: 1px; }
@media (max-width: 719px) {
	.trust__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust__item:nth-child(3) { border-left: 0; }
	.trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.trust__item { padding: var(--sp-4) var(--sp-3); }
}

/* Первый экран без своего фото: техника справа, полупрозрачно */
.hero__side { position: absolute; right: 0; top: 0; width: 48%; height: 100%; object-fit: cover; opacity: .3; }
.hero__side-fade { position: absolute; right: 0; top: 0; width: 48%; height: 100%; background: linear-gradient(90deg, var(--ink) 0%, rgba(6, 22, 58, 0) 70%); }
@media (max-width: 899px) {
	.hero__side, .hero__side-fade { width: 100%; }
	.hero__side { opacity: .14; }
	.hero__side-fade { background: linear-gradient(180deg, rgba(6, 22, 58, .4) 0%, var(--ink) 100%); }
}

/* Карточки */
.card { gap: var(--sp-3); transition: border-color .15s ease; }
.cards:has(> :only-child) { grid-template-columns: minmax(0, 420px); } /* одна карточка не растягивается на всю ширину */
.cards--ram .card:hover, .cards--lankar .card:hover { border-color: var(--ink); }
.card__media { position: relative; margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) var(--sp-2); }
.card__media .card__img { width: 100%; margin: 0; }
.card__badge { position: absolute; left: var(--sp-4); bottom: var(--sp-4); margin: 0; padding: var(--sp-1) var(--sp-3); border-radius: var(--r-1); background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-1); }
.card h3, .card__title { display: flex; align-items: center; gap: var(--sp-2); }
.svc-ico { width: 26px; height: 26px; flex: 0 0 auto; color: var(--action); }
.card__link { display: inline-flex; align-items: center; gap: var(--sp-1); }
.card__link:hover { color: var(--ink); }
.cards--lankar .card__cover { padding: var(--sp-5); gap: var(--sp-2); }

/* Шаги: линия с номерами в кругах */
.steps { gap: var(--sp-6); }
.steps li { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); }
.steps li::before { width: var(--dot); height: var(--dot); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); font-size: var(--fs-4); margin-bottom: var(--sp-2); position: relative; z-index: 1; }
.steps li:first-child::before { background: var(--action); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 2px); left: calc(var(--dot) + var(--sp-2)); right: calc(-1 * var(--sp-6) + var(--sp-2)); border-top: 4px solid var(--line); }
.sec--mork .steps li::before { background: var(--white); color: var(--ink); }
.sec--mork .steps li:first-child::before { background: var(--action); color: var(--white); }
.sec--mork .steps li:not(:last-child)::after { border-top-color: rgba(223, 227, 234, .25); }
@media (min-width: 900px) {
	.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
	.steps { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
	.steps li { padding-left: calc(var(--dot) + var(--sp-4)); min-height: var(--dot); }
	.steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
	.steps li:not(:last-child)::after { left: calc(var(--dot) / 2 - 2px); top: calc(var(--dot) + var(--sp-1)); bottom: calc(-1 * var(--sp-5)); right: auto; border-top: 0; border-left: 4px solid var(--line); }
}

/* Полоса-призыв на фото */
.sec--cta { position: relative; overflow: hidden; }
.sec--cta-photo { background: var(--ink); padding-block: var(--sp-8); }
.sec--cta-photo p { color: var(--on-dark); }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.cta__img--scene { opacity: .12; } /* вид страны — только фон, не должен спорить с текстом (владелец 2026-10-21) */
.sec--cta .cta { position: relative; }
.sec--cta-photo .btn:focus-visible { outline-color: var(--white); }

/* FAQ: карточки + помощь справа */
.faqgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
@media (max-width: 899px) { .faqgrid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); } }
.sec--faq .faq { gap: var(--sp-3); }
.sec--faq .faq__item { border: 1px solid var(--line); border-radius: var(--r-2); background: var(--white); padding-inline: var(--sp-5); transition: border-color .15s ease; }
.sec--gra.sec--faq .faq__item { border-color: transparent; }
.sec--faq .faq__item[open], .sec--faq .faq__item:hover { border-color: var(--ink); }
.sec--mork.sec--faq .faq__item { color: var(--text); }
.sec--mork.sec--faq .faq__item summary { color: var(--ink); }
.faqhelp { position: sticky; top: calc(var(--anchors-h) + var(--sp-4)); display: flex; flex-direction: column; gap: var(--sp-3); align-items: stretch; padding: var(--sp-6); border-radius: var(--r-2); background: var(--ink); color: var(--on-dark); }
.sec--mork .faqhelp { background: rgba(255, 255, 255, .08); }
.faqhelp__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-4); color: var(--white); }
.faqhelp .btn:focus-visible { outline-color: var(--white); }

/* Списки с галочками, плюсами и точками */
.list--ok, .list--plus, .list--dot, .side--ok ul, .side--plus ul { list-style: none; padding-left: 0; }
.list--ok > li, .list--plus > li, .list--dot > li, .side--ok li, .side--plus li { position: relative; padding-left: 32px; }
.list--ok > li::before, .side--ok li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.4 3.4L16.5 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.list--plus > li::before, .side--plus li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 4.5v9M4.5 9h9' stroke='%2306163a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.list--dot > li::before { content: ""; position: absolute; left: var(--sp-2); top: var(--sp-3); width: 8px; height: 8px; border-radius: 2px; background: var(--action); }
.sec--mork .list--ok > li::before { background-color: var(--action); }
.sec--mork .list--plus > li::before { border-color: var(--white); filter: invert(1); }

/* Два списка — колонки-карточки */
.cols2__col { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); border-radius: var(--r-2); background: var(--surface); }
.sec--gra .cols2__col { background: var(--white); }
.sec--mork .cols2__col { background: rgba(255, 255, 255, .06); }
.cols2__col h3 { font-weight: 700; }

/* Блок справа */
.side { gap: var(--sp-4); }
.side__title { font-weight: 700; }

/* Таблица цен */
.ptable thead th { background: var(--ink); color: var(--white); }
.ptable tbody tr:nth-child(even) > * { background: var(--surface); }
.ptable tbody tr:hover > * { background: #fff4f2; }
.ptable tbody th a { text-decoration: none; }
.ptable tbody th a:hover { text-decoration: underline; }
.pcard { transition: border-color .15s ease; }
.pcard:hover { border-color: var(--ink); }

/* Автопарк */
.fleet__item { position: relative; transition: border-color .15s ease; }
.fleet__item:hover { border-color: var(--ink); }
.fleet__sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fleet__count { position: absolute; right: var(--sp-3); top: var(--sp-3); padding: 2px var(--sp-2); border-radius: var(--r-1); background: var(--action); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-1); }
.fleet__item strong { font-size: var(--fs-3); }

/* Отзывы */
.stars { color: var(--action); letter-spacing: 2px; font-size: var(--fs-2); line-height: 1; }
.reviews li { gap: var(--sp-3); justify-content: flex-start; }
.reviews li .note { margin-top: auto; }
.sec--vit .reviews li { background: var(--surface); border-color: transparent; }

/* Меню по странице */
.anchors a { position: relative; }
.anchors a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.anchors a:hover::after { background: var(--action); } /* подчёркивание пункта — как в шапке, не декоративный кант */
.anchors a.is-current { color: var(--action); }
.anchors a.is-current::after { background: var(--action); } /* раздел, который сейчас на экране (main.js) */

/* Отзывы — раскладка D: слева оценки, справа 2×2 */
.revgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--sp-7); align-items: start; }
.revgrid__side { display: flex; flex-direction: column; gap: var(--sp-4); }
.revgrid__side .kick { margin-bottom: calc(-1 * var(--sp-2)); }
.sec--rev .revsum { flex-direction: column; flex-wrap: nowrap; gap: var(--sp-3); }
.sec--rev .revsum a { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-2); background: var(--white); }
.revsum__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.srclogo { flex: 0 0 auto; display: block; }
.rate { font-size: var(--fs-3); letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, #fbbc04 var(--p, 100%), #dadce0 var(--p, 100%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fbbc04; }
.revtop { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.revtop .stars { color: #fbbc04; letter-spacing: 2px; }
.revsum__val { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-5); line-height: 1.15; color: var(--ink); }
.revsum__src { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-1); color: var(--muted); }
.revsum__cnt { font-size: var(--fs-1); color: var(--muted); }
.sec--rev .revsum a:hover .revsum__cnt { color: var(--action); }
.sec--rev .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.sec--rev .reviews li { border: 0; background: var(--surface); }
.sec--gra.sec--rev .reviews li { background: var(--white); }
.sec--rev .reviews blockquote { font-size: var(--fs-3); }
@media (max-width: 899px) {
	.revgrid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
	.sec--rev .reviews { grid-template-columns: minmax(0, 1fr); }
}

/* Цены — раскладка D: слева текст, справа таблица */
.prisgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--sp-7); align-items: start; }
.prisgrid__side { display: flex; flex-direction: column; gap: var(--sp-4); position: sticky; top: calc(var(--anchors-h) + var(--sp-4)); }
.prisgrid__side .kick { margin-bottom: calc(-1 * var(--sp-2)); }
.prisgrid__side .btn { align-self: flex-start; }
@media (max-width: 899px) { .prisgrid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); } .prisgrid__side { position: static; } }

/* Линия маршрута над «A → B» */
.route { display: flex; align-items: center; gap: var(--sp-1); margin-top: var(--sp-1); }
.route i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: 0 0 auto; }
.route i:last-child { background: var(--action); }
.route b { flex: 1 1 auto; border-top: 2px dashed var(--field); }

/* Схема маршрута Дениса в секции «Vägen» */
.prose > .routemap { margin-top: var(--sp-5); }
.routehead .routemap { margin-top: var(--sp-5); margin-bottom: var(--sp-6); }
.routemap { margin-inline: 0; margin-bottom: var(--sp-2); padding: var(--sp-5) var(--sp-5) var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--white); overflow-x: auto; }
.sec--vit .routemap { background: var(--surface); border-color: transparent; }
.routemap .routemap__line { list-style: none; margin: 0; padding: var(--sp-2) var(--sp-6) var(--sp-6); display: flex; flex-direction: row; gap: 0; align-items: center; min-width: max-content; }
.routemap__stop { position: relative; flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.routemap__stop--start { background: var(--white); border: 3px solid var(--ink); }
.routemap__stop--end { width: 20px; height: 20px; background: var(--action); }
.routemap__stop span { position: absolute; top: calc(100% + var(--sp-2)); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: var(--fs-1); font-weight: 600; color: var(--ink); }
.routemap__stop--end span { color: var(--action); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-2); }
.routemap__leg { position: relative; flex: 1 0 64px; border-top: 3px dashed var(--field); margin-inline: var(--sp-1); }
.routemap__leg--farja { border-top-style: dotted; border-top-color: var(--ink); }
.routemap__leg span { position: absolute; bottom: var(--sp-1); left: 50%; transform: translateX(-50%); font-size: var(--fs-1); color: var(--muted); font-style: italic; }
.routemap__line:has(> :nth-child(9)) .routemap__leg { flex-basis: 56px; }
@media (max-width: 640px) { /* телефон: схема сверху вниз, названия справа — без горизонтальной прокрутки */
	.routemap .routemap__line { flex-direction: column; width: var(--sp-5); min-width: 0; padding: var(--sp-1) 0; margin-left: var(--sp-2); }
	.routemap__stop span, .routemap__leg span { top: 50%; bottom: auto; left: calc(100% + var(--sp-3)); transform: translateY(-50%); }
	.routemap .routemap__line .routemap__leg { flex: 0 0 auto; width: 0; height: var(--sp-5); border-top: 0; border-left: 3px dashed var(--field); margin: var(--sp-1) 0; }
	.routemap__leg--farja { border-left-style: dotted; border-left-color: var(--ink); }
}

/* Карточка без фото в ряду с фото — тёмно-синяя */
.cards .card--solid { background: var(--ink); border-color: var(--ink); color: var(--on-dark); justify-content: flex-start; }
.cards .card--solid h3 { color: var(--white); }
.cards .card--solid .svc-ico { color: var(--on-dark-accent); }
.card__btn { align-self: flex-start; margin-top: auto; }
.sec--mork .cards .card--solid { background: #0b2357; border-color: #0b2357; }

/* Автопарк — тёмная секция с фото */
.sec.sec--fleet { background: var(--ink); color: var(--on-dark); }
.sec--fleet h2 { color: var(--white); }
.sec--fleet .lead-s { color: var(--on-dark); }
.sec--fleet .fleet__item { background: #0b2357; border-color: #0b2357; color: var(--on-dark); }
.sec--fleet .fleet__item strong { color: var(--white); }
.sec--fleet .fleet__item:hover { border-color: var(--on-dark-2); }

/* Форма заявки — тёмная на фото */
.sec--form-photo { position: relative; overflow: hidden; padding-block: var(--sp-8); }
.sec--form-photo .formsplit { position: relative; }
.sec--form-photo .formsplit__text, .sec--form-photo .formsplit__text p { color: var(--on-dark); }
.sec--form-photo .formsplit__text h2 { color: var(--white); }
.sec--form-photo .formsplit__text a:not(.btn) { color: var(--white); }
.sec--form-photo .form { background: var(--white); color: var(--text); border-radius: var(--r-2); padding: var(--sp-6); }
.sec--form-photo .note { color: var(--on-dark-2); }
.sec--form-photo .form .note { color: var(--muted); }
.sec--form-photo .form a:not(.btn) { color: var(--action); }

/* Чек-лист */
.checklist__n { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-5); line-height: 1; color: var(--action); }

/* ---------- Движение и печать ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
	body.print-only > *:not(main), body.print-only main > *:not(.is-printing), .no-print, .sticky-bar, .cookie { display: none !important; }
	.sec { padding-block: var(--sp-4); }
}

/* ---------- Зоны нажатия на телефоне: не меньше 44×44 (проверка 2026-10-20, 390 px) ---------- */
@media (pointer: coarse), (max-width: 640px) {
	.site-footer ul { gap: 0; }
	.site-footer li { min-height: var(--tap); display: flex; align-items: center; }
	.site-footer a, .logo, .card__link, .kkort__big { min-height: var(--tap); }
	.site-footer a { min-width: var(--tap); }
	.logo { align-items: center; }
	.more { display: inline-flex; align-items: center; min-height: var(--tap); }
	.anchors a { min-width: var(--tap); justify-content: center; }
	.toc a { display: inline-flex; align-items: center; min-height: var(--tap); }
	.check { min-height: var(--tap); padding-block: calc((var(--tap) - 1lh) / 2); } /* одна строка = 44 px, ровный шаг у однострочных и многострочных */
	.checklist ul { row-gap: 0; }
	/* короткие ссылки в строке текста: зона нажатия шире видимого текста, вёрстка не меняется */
	.crumbs a, .pcard__head a, .linklist a, .formsplit__text a, .kkort__mid, .cookie__text a, .pris-offert, .side p > a:only-child, .foretag a { position: relative; }
	.crumbs a::after, .pcard__head a::after, .linklist a::after, .formsplit__text a::after, .kkort__mid::after, .cookie__text a::after, .pris-offert::after, .side p > a:only-child::after, .foretag a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--tap); transform: translateY(-50%); }
}

/* ---------- Фото в текстовой секции: правая колонка, под блоком справа (2026-10-21) ---------- */
.sec-photo { margin: 0; }
.sec-photo__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-2); }
/* справа пусто: фото на высоту текста */
.split--photo { align-items: stretch; }
.sec-photo--col { display: flex; flex-direction: column; min-height: 0; }
.sec-photo--col .sec-photo__img { flex: 1 1 0; height: auto; min-height: 280px; aspect-ratio: auto; }
/* справа блок: фото полосой под колонками */
.sec-photo.sec-photo--band { margin: var(--sp-7) auto 0; }
.sec-photo--band .sec-photo__img { aspect-ratio: 5 / 2; }
@media (max-width: 899px) {
	.sec-photo--col .sec-photo__img { min-height: 0; aspect-ratio: 4 / 3; }
	.sec-photo.sec-photo--band { margin-top: var(--sp-6); }
	.sec-photo--band .sec-photo__img { aspect-ratio: 4 / 3; }
}
.sec-photo figcaption { margin-top: var(--sp-2); font-size: var(--fs-1); color: var(--muted); }
.sec--mork .sec-photo figcaption { color: var(--on-dark-2); }
/* Видео (sec-video.php): справа ролик 16:9, слева текст; на узком экране — друг под другом */
.split--video { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); align-items: center; }
.video { margin: 0; }
.video__el { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-2); background: var(--ink); }
.video__el:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
@media (max-width: 899px) { .split--video { grid-template-columns: minmax(0, 1fr); } }

/* ---------- «Почему мы» (inc/usp.php, 2026-10-21): слева заголовок и действие, справа причины ---------- */
.usp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--sp-7); align-items: start; }
.usp__head { display: flex; flex-direction: column; gap: var(--sp-4); }
.usp__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-6); }
.usp__list h3 { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-3); color: var(--white); }
.usp__list p { margin: var(--sp-1) 0 0; color: var(--on-dark); }
.usp__ok { flex: 0 0 auto; color: var(--on-dark-accent); }
@media (max-width: 899px) {
	.usp { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
	.usp__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Переключатель языка SV / EN (inc/i18n.php, 2026-10-21) ---------- */
.lang { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-1); font-weight: 600; }
.lang__cur { color: var(--muted); }
.lang__alt { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lang__alt:hover { color: var(--action); }
.mob .lang { padding: var(--sp-3) var(--sp-5); }
.ptable tbody th a { text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ptable tbody th a:hover { color: var(--action); text-decoration-color: var(--action); }
.prisgrid--wide { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
.prisgrid--wide .prisgrid__side { position: static; max-width: 72ch; }
.cols2--one { grid-template-columns: minmax(0, 1fr); }
.cols2--one .list { display: block; columns: 2; column-gap: var(--sp-7); }
.cols2--one .list > li { break-inside: avoid; margin-bottom: var(--sp-3); }
@media (max-width: 899px) { .cols2--one .list { columns: 1; } }
.files__title { font-weight: 600; color: var(--ink); font-size: var(--fs-1); }
.files__pick { position: relative; display: inline-flex; align-self: flex-start; cursor: pointer; }
.field .files__input { position: absolute; min-height: 0; background: transparent; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.files__pick:focus-within .btn { outline: 2px solid var(--ink); outline-offset: 2px; }
.files__pick:hover .btn { border-color: var(--ink); }
.files__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1); }
.files__list:empty { display: none; }
.files__list li { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-1); padding: var(--sp-1) var(--sp-3); background: var(--surface); border-radius: var(--r-1); overflow-wrap: anywhere; }
.files__rm { flex: 0 0 auto; min-width: 32px; min-height: 32px; border: 0; background: transparent; color: var(--ink); font-size: var(--fs-3); line-height: 1; cursor: pointer; border-radius: var(--r-1); }
.files__rm:hover { color: var(--action); }
.files__rm:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

/* Кнопка связи (правый нижний угол) */
.cwidget { position: fixed; right: var(--sp-4); bottom: var(--sp-4); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-3); }
.cwidget__fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--action); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(6, 22, 58, .28); transition: background-color .15s ease; }
.cwidget__fab:hover { background: #b9151b; }
.cwidget__fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cwidget__close, .cwidget.is-open .cwidget__open { display: none; }
.cwidget.is-open .cwidget__close { display: block; }
.cwidget__panel { width: min(300px, calc(100vw - 2 * var(--sp-4))); background: var(--white); border-radius: var(--r-2); box-shadow: 0 10px 34px rgba(6, 22, 58, .26); padding: var(--sp-3); display: grid; gap: var(--sp-2); }
.cwidget__panel[hidden] { display: none; }
.cwidget__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1); }
.cwidget__item { display: flex; align-items: center; gap: var(--sp-3); min-height: 48px; padding: 0 var(--sp-3); border-radius: var(--r-2); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-2); }
.cwidget__item:hover { background: var(--surface); }
.cwidget__item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.cwidget__item svg { flex: 0 0 auto; }
.cwidget__val { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-1); color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.cwidget__note { margin: 0; padding: var(--sp-1) var(--sp-3) var(--sp-2); font-size: var(--fs-1); color: var(--muted); }
@media (max-width: 719px) { .cwidget { bottom: calc(var(--sp-8) + var(--sp-3)); } }
@media (prefers-reduced-motion: reduce) { .cwidget__fab { transition: none; } }
