/* ==========================================================================
   BURSTANOK — буровые установки. Вёрстка макета.
   Mobile-first: базовые правила для телефона, min-width добавляет раскладку.
   Палитра общая с «Гидроперфораторами»: жёлтый акцент + кобальтовый синий.
   ========================================================================== */

:root {
	--c-yellow: #fdb900;
	--c-yellow-600: #e9a800;
	--c-yellow-700: #b98400;
	--c-yellow-50: #fff7df;
	--c-blue: #2456d6;
	--c-blue-50: #eef3fd;
	--c-ink: #1e2226;
	--c-text: #333940;
	--c-muted: #6b7178;
	--c-line: #e4e6e8;
	--c-bg: #fff;
	--c-bg-soft: #f6f7f9;
	--c-sky: #eef4fa;

	--radius: 12px;
	--shadow-sm: 0 2px 10px rgba(16, 24, 40, .05);
	--shadow: 0 10px 30px rgba(16, 24, 40, .10);
	--shadow-lg: 0 18px 50px rgba(16, 24, 40, .18);

	--container: 1200px;
	--gutter: 16px;
	--header-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --header-h: 76px; } }

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
	font-family: "Onest", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: var(--c-text);
	background: var(--c-bg);
	overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--c-yellow-600); outline-offset: 2px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.sr-only {
	position: absolute; width: 1px; height: 1px; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px;
	border: 1.5px solid transparent; border-radius: 10px;
	font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center;
	transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-1px) scale(1.02); }

.btn--primary {
	background: var(--c-yellow); color: #171717;
	box-shadow: 0 6px 16px rgba(253, 185, 0, .28);
}
.btn--primary:hover { background: var(--c-yellow-600); box-shadow: 0 10px 24px rgba(253, 185, 0, .36); }

.btn--ghost { background: #fff; border-color: #cfd3d7; color: var(--c-ink); }
.btn--ghost:hover { border-color: var(--c-yellow); }

.btn--light { background: rgba(255, 255, 255, .92); border-color: rgba(30, 34, 38, .12); color: var(--c-ink); }
.btn--light:hover { background: #fff; border-color: var(--c-yellow); }

.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Секции ---------- */

.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 84px 0; } }

.section--soft { background: var(--c-bg-soft); border-block: 1px solid #eceef0; }
.section--sky { background: var(--c-sky); border-block: 1px solid #e1e9f2; }

.section-head { margin-bottom: 32px; }
.section-head--center { text-align: center; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin-bottom: 12px;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--c-muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--c-yellow); }
.section-head--center .eyebrow::before { display: none; }

.section-title {
	font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; line-height: 1.18;
	color: var(--c-ink); text-wrap: balance;
}

.section-lead { max-width: 680px; margin-top: 12px; color: var(--c-muted); text-wrap: pretty; }
.section-head--center .section-lead { margin-inline: auto; }

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

.site-header {
	position: absolute; inset: 0 0 auto; z-index: 30;
	background: rgba(255, 255, 255, .94);
	border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 20px; font-weight: 900; letter-spacing: -.01em; color: var(--c-ink); }
.logo__name span { color: var(--c-yellow-600); }
.logo__tag { margin-top: 3px; font-size: 11px; color: var(--c-muted); }

.nav { display: none; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
	position: relative; display: block; padding: 8px 12px;
	font-size: 14px; transition: color .2s;
}
.nav__list a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
	height: 2px; background: transparent; transition: background-color .2s;
}
.nav__list a:hover { color: var(--c-yellow-700); }
.nav__list a:hover::after { background: var(--c-yellow); }

.header-phone { margin-left: auto; text-align: right; }
.header-phone__num { display: block; font-size: 15px; font-weight: 800; color: var(--c-ink); white-space: nowrap; }
/* На телефоне подпись не помещается и ломает строку — оставляем только номер. */
.header-phone__note { display: none; font-size: 11px; color: var(--c-muted); }

@media (min-width: 760px) {
	.header-phone__num { font-size: 17px; }
	.header-phone__note { display: block; }
}

.header-cta { display: none; }

.menu-toggle {
	display: grid; place-items: center; width: 44px; height: 44px;
	border: 0; background: none; color: var(--c-ink);
}
.menu-toggle svg { width: 26px; height: 26px; }

@media (min-width: 1100px) {
	.nav { display: block; margin-left: 24px; }
	.header-cta { display: inline-flex; }
	.menu-toggle { display: none; }
	.header-phone { margin-left: auto; }
	.logo__name { font-size: 23px; }
}

/* Мобильное меню */
.nav.is-open {
	position: absolute; top: 100%; left: 0; right: 0; display: block;
	padding: 8px var(--gutter) 18px; background: #fff; box-shadow: var(--shadow);
}
.nav.is-open .nav__list { flex-direction: column; gap: 0; }
.nav.is-open .nav__list a { padding: 13px 0; border-bottom: 1px solid var(--c-line); font-size: 16px; }

/* ---------- Первый экран ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; background: #dfe6ee; }

.hero__media { position: absolute; inset: 0; z-index: -1; }

/* Слайд — <picture>: на телефоне отдаём вертикальный кадр,
   иначе в узкий экран попадает только мачта установки. */
.hero__img {
	position: absolute; inset: 0; display: block;
	opacity: 0; transition: opacity 1.6s ease;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__img.is-active { opacity: 1; }

/* Светлая вуаль: заказчик просил светлый, просторный визуал без «грязи».
   На телефоне текст идёт поверх всего кадра — вуаль плотная.
   На десктопе гасим только левую часть, чтобы техника на фото осталась видна. */
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .74) 45%, rgba(255, 255, 255, .56) 100%);
}

@media (min-width: 760px) {
	.hero__img img { object-position: 55% 50%; }
}

@media (min-width: 1040px) {
	.hero__media::after {
		background:
			linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .8) 38%, rgba(255, 255, 255, .34) 66%, rgba(255, 255, 255, .22) 100%),
			linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .18) 40%, rgba(255, 255, 255, .42) 100%);
	}
}

.hero__inner { position: relative; display: grid; gap: 26px; padding: calc(var(--header-h) + 28px) 0 40px; }

.hero__title { font-size: clamp(27px, 6vw, 50px); font-weight: 800; line-height: 1.08; color: var(--c-ink); text-wrap: balance; }
.hero__title span { color: var(--c-yellow-600); }

.hero__text { max-width: 540px; margin-top: 16px; font-size: 15px; color: #2a2f35; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero__play { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--c-ink); }
.hero__play-ring {
	display: grid; place-items: center; width: 46px; height: 46px;
	border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--c-blue);
	transition: transform .2s var(--ease);
}
.hero__play:hover .hero__play-ring { transform: scale(1.08); }
.hero__play small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); }

.hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }

.hero-feature { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--c-ink); }
.hero-feature img { flex: 0 0 34px; width: 34px; height: 34px; }

@media (min-width: 1000px) {
	.hero__inner { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; padding: calc(var(--header-h) + 54px) 0 72px; }
	.hero__features { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
	.hero-feature { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
	.hero-feature img { width: 40px; height: 40px; }
}

/* ---------- Карточка формы ---------- */

.lead-card { padding: 22px 18px; border-radius: 16px; background: rgba(255, 255, 255, .98); box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .lead-card { padding: 26px; } }

.lead-card__eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
	font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted);
}
.lead-card__eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--c-yellow); }

.lead-card__title { font-size: 19px; font-weight: 800; line-height: 1.25; text-transform: uppercase; color: var(--c-ink); }
.lead-card__title span { color: var(--c-yellow-600); }
.lead-card__text { margin: 8px 0 16px; font-size: 13.5px; color: var(--c-muted); }

.field { margin-bottom: 10px; }
.field__input {
	width: 100%; height: 48px; padding: 0 14px;
	border: 1px solid #dadde1; border-radius: 9px; background: #fff;
	font-size: 16px; color: var(--c-ink);
	transition: border-color .2s, box-shadow .2s;
}
textarea.field__input { height: auto; min-height: 76px; padding: 12px 14px; resize: vertical; }
.field__input::placeholder { color: #8b9096; }
.field__input:focus { outline: none; border-color: var(--c-yellow); box-shadow: 0 0 0 3px rgba(253, 185, 0, .22); }

/* Прикрепить карточку организации — заказчик просил это на первом шаге. */
.attach {
	display: flex; align-items: center; gap: 10px;
	margin: 4px 0 12px; padding: 11px 14px;
	border: 1.5px dashed #cdd2d7; border-radius: 9px; background: #fafbfc;
	font-size: 13px; color: var(--c-muted); cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.attach:hover { border-color: var(--c-yellow); background: var(--c-yellow-50); }
.attach svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--c-yellow-700); }
.attach input { display: none; }

.lead-card__note { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11.5px; color: #8b8e91; }
.lead-card__note svg { flex: 0 0 14px; width: 14px; height: 14px; }

/* ---------- Карусель направлений ---------- */

.directions { position: relative; padding: 28px 0 0; }

.directions__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px;
	margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.directions__track::-webkit-scrollbar { display: none; }

@media (min-width: 900px) {
	.directions__track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-inline: 0; padding: 0; overflow: visible; }
}

.direction {
	position: relative; display: block; aspect-ratio: 4 / 3;
	border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
	scroll-snap-align: start;
	transition: transform .25s var(--ease), box-shadow .25s;
}
.direction:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.direction img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.direction:hover img { transform: scale(1.05); }

.direction::after {
	content: ""; position: absolute; inset: 0;
	/* Фото заказчика разные по яркости — тень делаем плотнее, иначе подпись теряется. */
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(10, 16, 24, .55) 62%, rgba(10, 16, 24, .9) 100%);
}

.direction__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px; color: #fff; }
.direction__title { font-size: 16px; font-weight: 800; }
.direction__text { margin-top: 3px; font-size: 12.5px; opacity: .85; }
.direction__body::before {
	content: ""; display: block; width: 28px; height: 3px; margin-bottom: 10px;
	border-radius: 2px; background: var(--c-yellow);
}

/* ---------- Что мы делаем ---------- */

.services__layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .services__layout { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; } }

.services-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.service-card {
	position: relative; display: flex; flex-direction: column;
	padding: 20px 18px 56px;
	border: 1px solid #e3eaf5; border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
	box-shadow: 0 8px 24px rgba(36, 86, 214, .06);
	transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(36, 86, 214, .3); box-shadow: 0 16px 36px rgba(36, 86, 214, .16); }

.service-card__pic { display: grid; place-items: center; height: 96px; margin-bottom: 12px; }
.service-card__pic img { width: 96px; height: 96px; object-fit: contain; transition: transform .35s var(--ease); }
.service-card:hover .service-card__pic img { transform: translateY(-5px) scale(1.07); }

.service-card__title { font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--c-ink); }
.service-card__text { margin-top: 6px; font-size: 13.5px; color: var(--c-muted); }

.service-card__arrow {
	position: absolute; left: 18px; bottom: 16px;
	display: grid; place-items: center; width: 36px; height: 36px;
	border-radius: 50%; background: #fff; color: var(--c-blue);
	box-shadow: 0 4px 12px rgba(36, 86, 214, .18);
	transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.service-card:hover .service-card__arrow { background: var(--c-blue); color: #fff; transform: scale(1.08); }

/* ---------- Что подбираем ---------- */

.picker { display: grid; gap: 20px; }
@media (min-width: 900px) { .picker { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.picker__col { padding: 24px 22px; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.picker__title { margin-bottom: 14px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink); }
.picker__title span { color: var(--c-yellow-700); }

.picker__list { display: flex; flex-wrap: wrap; gap: 8px; }

.picker-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px 8px 8px;
	border: 1px solid var(--c-line); border-radius: 999px; background: #fff;
	font-size: 13.5px; font-weight: 600; color: var(--c-text);
	transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.picker-chip img { width: 30px; height: 30px; object-fit: contain; }
.picker-chip--text { padding-left: 14px; }
.picker-chip:hover { border-color: var(--c-yellow); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Как мы работаем ---------- */

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(6, 1fr); gap: 20px; } }

.step { position: relative; text-align: center; }

@media (min-width: 900px) {
	.step:not(:last-child)::after {
		content: ""; position: absolute; top: 34px;
		left: calc(50% + 46px); right: calc(-50% + 46px);
		border-top: 1.5px dashed #b7bdc4;
	}
}

.step__top { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 68px; }
.step__num {
	display: grid; place-items: center; width: 30px; height: 30px;
	border-radius: 50%; background: var(--c-yellow); font-size: 13px; font-weight: 800; color: #161616;
}
.step__top img { width: 52px; height: 52px; object-fit: contain; }
.step__title { margin: 10px 0 4px; font-size: 14px; font-weight: 800; color: var(--c-ink); }
.step__text { max-width: 190px; margin-inline: auto; font-size: 12.5px; color: var(--c-muted); }

/* ---------- Сравнение вариантов ---------- */

.compare { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid #edf0f3; text-align: left; vertical-align: top; }
.compare thead th { background: var(--c-bg-soft); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c-ink); }
.compare tbody th { width: 190px; font-weight: 700; color: var(--c-ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare__note { margin-top: 12px; font-size: 13px; color: var(--c-muted); }

/* ---------- Сопровождение закупки ---------- */

.chain { display: grid; gap: 10px; }
@media (min-width: 700px) { .chain { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); } }

.chain__item {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 14px; border: 1px solid #dfe7f0; border-radius: var(--radius);
	background: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--c-ink);
	transition: transform .25s var(--ease), border-color .2s, box-shadow .25s;
}
.chain__item:hover { transform: translateY(-3px); border-color: var(--c-yellow); box-shadow: var(--shadow-sm); }
.chain__num { flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-blue-50); font-size: 12px; font-weight: 800; color: var(--c-blue); }

/* ---------- Кейсы ---------- */

.cases { display: grid; gap: 18px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.case { display: flex; flex-direction: column; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case__pic { position: relative; aspect-ratio: 16 / 10; }
.case__pic img { width: 100%; height: 100%; object-fit: cover; }
.case__tag { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--c-ink); }
.case__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.case__title { font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--c-ink); }
.case__list { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; color: var(--c-muted); }
.case__list li { display: flex; gap: 8px; }
.case__list b { color: var(--c-ink); font-weight: 700; }

/* ---------- Бренды ---------- */

.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .brands { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

.brand {
	display: grid; place-items: center; height: 84px; padding: 12px;
	border: 1px solid var(--c-line); border-radius: 12px; background: #fff;
	font-size: 15px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--c-ink);
	box-shadow: var(--shadow-sm);
	transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.brand:hover { transform: translateY(-3px); border-color: var(--c-yellow); box-shadow: var(--shadow); }

.brands-note { margin-top: 14px; font-size: 12.5px; color: var(--c-muted); }

/* ---------- Почему нам доверяют ---------- */

.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; }
@media (min-width: 900px) { .advantages { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

.advantage { text-align: center; }
.advantage img { width: 60px; height: 60px; margin: 0 auto 12px; object-fit: contain; transition: transform .3s var(--ease); }
.advantage:hover img { transform: translateY(-5px) scale(1.07); }
.advantage__title { font-size: 15px; font-weight: 800; color: var(--c-ink); }
.advantage__text { margin-top: 4px; font-size: 13px; color: var(--c-muted); }

/* ---------- Форма заявки ---------- */

.request__inner { display: grid; gap: 28px; }
@media (min-width: 1000px) { .request__inner { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; } }

.checklist { display: grid; gap: 12px; margin-top: 20px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.checklist svg { flex: 0 0 24px; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--c-yellow); color: #1a1a1a; }

.form-steps { display: grid; gap: 18px; }

.form-step { padding: 20px; border: 1px solid var(--c-line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.form-step__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.form-step__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-yellow); font-size: 13px; font-weight: 800; color: #161616; }
.form-step__title { font-size: 15px; font-weight: 800; color: var(--c-ink); }
.form-step__title small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); }

.form-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .field--wide { grid-column: 1 / -1; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
	border: 1px solid #dadde1; border-radius: 999px; background: #fff;
	font-size: 14px; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.chip span:hover { border-color: var(--c-yellow); }
.chip input:checked + span { background: var(--c-yellow-50); border-color: var(--c-yellow); color: #6b4d00; font-weight: 600; }

.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--c-muted); cursor: pointer; }
.consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--c-yellow-600); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

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

.site-footer { padding-top: 44px; border-top: 1px solid #e8eaed; background: #f4f5f7; font-size: 14px; color: var(--c-muted); }
.site-footer__inner { display: grid; gap: 28px; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; } }

.site-footer .logo__name { color: var(--c-ink); }
.site-footer__note { max-width: 380px; margin-top: 14px; font-size: 12.5px; line-height: 1.5; }

.footer-title { margin-bottom: 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--c-ink); }
.footer-list { display: grid; gap: 9px; }
.footer-list a:hover { color: var(--c-ink); }

.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
	margin-top: 34px; padding-block: 18px; border-top: 1px solid #e3e5e8; font-size: 12.5px;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 899px) { .site-footer { padding-bottom: 76px; } }

/* ---------- Мобильная панель ---------- */

.mobile-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 8px;
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 20px rgba(16, 24, 40, .12);
}
.mobile-bar__btn {
	display: flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 46px; border: 1px solid #dcdfe3; border-radius: 10px; background: #fff;
	font-size: 13px; font-weight: 700; color: var(--c-ink);
}
.mobile-bar__btn svg { width: 18px; height: 18px; }
.mobile-bar__btn--primary { border-color: var(--c-yellow); background: var(--c-yellow); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Появление блоков ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Разделы сайта: внутренняя перелинковка ---------- */
.seo-nav {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}

.seo-nav__col {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	padding: 20px 18px;
}

.seo-nav__title {
	font-size: 15px;
	font-weight: 800;
	color: var(--c-ink);
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--c-line);
}

.seo-nav__list {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.seo-nav__list a {
	font-size: 14px;
	line-height: 1.45;
	color: var(--c-muted);
	transition: color .2s;
}

.seo-nav__list a:hover { color: var(--c-accent); }

@media (min-width: 640px) {
	.seo-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
	.seo-nav { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.seo-nav__col { padding: 24px 22px; }
}
