/*
 * Sun-Travel — основная таблица стилей темы.
 * Палитра и ритм взяты из дизайн-проекта (design/Sun-Travel * v3).
 */

/* ============================================================
   1. Токены
   ============================================================ */

:root {
	/* Небо и снег — фон; глубокая синева гор — текст; солнце — акцент. */
	--sky: #E6F1FA;
	--sky-2: #D7E8F5;
	--sky-3: #C4DBEF;
	--cloud: #FFFFFF;

	/* Небесная синева вместо графитовой. Прежние значения оставлены рядом —
	   вернуть можно, поменяв местами строки. */
	--deep: #17557D;
	--deep-2: #23689A;
	/* --deep: #0F2C3F; */
	/* --deep-2: #1C455C; */

	--sun: #E8912F;
	--sun-lt: #F6B25C;
	--sun-ink: #9A560A;

	--azure: #1B6E9C;
	--azure-lt: #3D96C4;

	--line: rgba(15, 44, 63, 0.14);
	--line-soft: rgba(15, 44, 63, 0.08);
	--muted: rgba(15, 44, 63, 0.68);
	--muted-2: rgba(15, 44, 63, 0.48);

	/* Тени на светлом фоне — синеватые и многослойные, иначе плоско. */
	--shade-1: 0 2px 10px rgba(15, 44, 63, .06);
	--shade-2: 0 18px 44px rgba(15, 44, 63, .12);
	--shade-3: 0 36px 90px rgba(15, 44, 63, .2);

	--index: calc(1vw + 1vh);
	--pad: 48px;
	--max: 1440px;
	--scrollTop: 0px;

	--ease: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 900px) {
	:root { --pad: 24px; --index: calc(1.6vw + 1.2vh); }
}

/* ============================================================
   2. База
   ============================================================ */

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

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

/*
 * Небо под страницей: вертикальный градиент от белёсого верха к голубому низу
 * плюс несколько мягких облаков. Слой лежит отдельным фиксированным блоком —
 * background-attachment: fixed заставлял браузер перерисовывать весь фон на
 * каждом кадре прокрутки.
 */
body {
	margin: 0;
	background-color: var(--sky);
	color: var(--deep);
	font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body::before {
	content: '';
	position: fixed; inset: 0; z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(ellipse 60% 40% at 12% 14%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .6) 38%, rgba(255, 255, 255, .22) 62%, transparent 80%),
		radial-gradient(ellipse 46% 30% at 82% 30%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .44) 42%, rgba(255, 255, 255, .16) 66%, transparent 84%),
		radial-gradient(ellipse 70% 34% at 50% 76%, rgba(255, 255, 255, .74) 0%, rgba(255, 255, 255, .4) 44%, rgba(255, 255, 255, .14) 70%, transparent 86%),
		linear-gradient(180deg, #F1F8FD 0%, #EAF3FB 22%, #E0EDF8 40%, #D9EAF7 58%, #E2EFF9 80%, #E9F3FB 100%);
}

a { color: inherit; text-decoration: none; transition: color .45s ease, border-color .45s ease, background .45s ease; }
a:hover { color: var(--azure); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
	outline: 2px solid var(--azure);
	outline-offset: 3px;
}

img { display: block; max-width: 100%; }
.st-cover { width: 100%; height: 100%; object-fit: cover; }

h1, h2, h3, h4 { font-weight: 200; margin: 0; }
p { margin: 0; }
::selection { background: var(--sun); color: var(--deep); }

.st-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--sun); color: var(--deep); padding: 14px 22px;
	font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.st-skip:focus { left: 12px; top: 12px; }

.st-shell { max-width: var(--max); margin: 0 auto; }
.st-narrow { max-width: 1120px; margin: 0 auto; }

/* Служебные типографические роли */
.st-kicker {
	font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
	color: var(--sun-ink); margin: 0;
}
.st-label {
	font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
	color: var(--muted-2);
}
.st-h2 {
	font-size: calc(var(--index) * 1.6);
	letter-spacing: calc(var(--index) / 6);
	text-transform: uppercase;
	line-height: 1.14;
}
.st-lead {
	font-size: calc(var(--index) * .78);
	line-height: 1.8;
	font-weight: 300;
	color: rgba(15, 44, 63, .7);
}
.st-body { font-size: calc(var(--index) * .74); line-height: 1.85; font-weight: 300; color: var(--muted); }

/* Кнопки */
.st-btn {
	display: inline-block;
	font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
	padding: 18px 36px; border: 1px solid transparent; cursor: pointer;
	font-family: inherit; text-align: center;
}
.st-btn--solid { background: var(--sun); color: var(--deep); box-shadow: var(--shade-1); }
.st-btn--solid:hover { background: var(--sun-lt); color: var(--deep); box-shadow: var(--shade-2); }
.st-btn--ghost { border-color: rgba(15, 44, 63, .3); color: var(--deep); font-weight: 500; }
.st-btn--ghost:hover { border-color: var(--sun); color: var(--sun-ink); background: rgba(232, 145, 47, .1); }
.st-btn--sun { border-color: rgba(232, 145, 47, .6); color: var(--sun-ink); font-weight: 500; }
.st-btn--sun:hover { background: var(--sun); color: var(--deep); }

/* Анимации */
@keyframes st-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes st-cue {
	0% { transform: scaleY(0); transform-origin: top; }
	45% { transform: scaleY(1); transform-origin: top; }
	55% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes st-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(232, 145, 47, .5), 0 0 22px rgba(232, 145, 47, .8); }
	50% { box-shadow: 0 0 0 12px rgba(232, 145, 47, 0), 0 0 22px rgba(232, 145, 47, .8); }
}

/* Появление работает только когда скрипт темы жив: класс js ставится им же.
   Без JavaScript блоки просто видны — прятать контент нельзя. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   3. Шапка
   ============================================================ */

.st-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 200;
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 16px var(--pad);
	transition: background .5s ease, backdrop-filter .5s ease, border-color .5s ease, padding .5s ease;
	border-bottom: 1px solid transparent;
}
.st-nav.is-stuck {
	background: rgba(238, 246, 252, .84);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--line);
	box-shadow: var(--shade-1);
	padding-top: 16px; padding-bottom: 16px;
}
.st-nav__brand {
	font-size: 13px; letter-spacing: .42em; text-transform: uppercase; font-weight: 700;
	white-space: nowrap; flex: 0 0 auto; display: flex; align-items: center;
}
/* Логотип цветной и на светлом hero пропадает. Пока шапка прозрачная, он
   скрыт; появляется вместе с подложкой, когда шапка «прилипает». */
.st-brand__img {
	width: auto; height: 64px;
	transition: height .5s ease, opacity .45s ease, transform .55s var(--ease);
}
.home .st-nav:not(.is-stuck) .st-brand__img {
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
}
.st-nav.is-stuck .st-brand__img { height: 59px; opacity: 1; transform: none; }
.st-nav__brand { min-width: 1px; }

/* Прозрачная шапка нужна только над hero главной. На остальных страницах
   она сразу с подложкой, иначе логотип и меню тонут в фотографии. */
body:not(.home) .st-nav {
	background: rgba(238, 246, 252, .84);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--line);
	box-shadow: var(--shade-1);
}

/* Над фотографией hero буквы белые: тёмные по снимку не читаются. */
.home .st-nav:not(.is-stuck),
.home .st-nav:not(.is-stuck) a { color: #FFF; }
.home .st-nav:not(.is-stuck) .st-nav__menu,
.home .st-nav:not(.is-stuck) .st-nav__side { text-shadow: 0 1px 16px rgba(15, 44, 63, .6); }
.home .st-nav:not(.is-stuck) .st-btn--sun { border-color: rgba(255, 255, 255, .55); color: #FFF; }
.home .st-nav:not(.is-stuck) .st-burger span { background: #FFF; }
.st-footer__brand .st-brand__img { height: 90px; }

@media (max-width: 900px) {
	.st-brand__img, .st-nav.is-stuck .st-brand__img { height: 56px; }
}
.st-nav__menu {
	display: flex; flex-wrap: wrap; gap: 12px clamp(18px, 2.6vw, 44px);
	font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
	list-style: none; margin: 0; padding: 0; flex: 0 1 auto; min-width: 0; justify-content: center;
}
.st-nav__menu a { white-space: nowrap; }
.st-nav__menu .current-menu-item > a,
.st-nav__menu .current_page_item > a { color: var(--sun-ink); }
.st-nav__side { display: flex; gap: 20px; align-items: center; flex: 0 0 auto; }
.st-nav__phone { font-size: 11px; letter-spacing: .2em; color: rgba(15, 44, 63, .6); white-space: nowrap; }
.st-nav__cta { padding: 13px 24px; font-size: 10.5px; font-weight: 500; }

.st-burger {
	display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0;
	cursor: pointer; position: relative; flex: 0 0 auto;
}
.st-burger span {
	position: absolute; left: 10px; right: 10px; height: 1px; background: var(--deep);
	transition: transform .4s var(--ease), opacity .3s ease;
}
.st-burger span:nth-child(1) { top: 16px; }
.st-burger span:nth-child(2) { top: 22px; }
.st-burger span:nth-child(3) { top: 28px; }
.st-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.st-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.st-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.st-nav__phone { display: none; }
}
@media (max-width: 900px) {
	.st-burger { display: block; }

	/*
	 * До прокрутки шапки как таковой нет: над фотографией висят только две
	 * круглые кнопки. Плашка появляется вместе с прокруткой — тогда же
	 * возвращается и логотип.
	 */
	.st-nav {
		padding: 10px var(--pad);
		background: none;
		backdrop-filter: none;
		border-bottom-color: transparent;
		box-shadow: none;
	}
	.st-nav.is-stuck {
		padding: 8px var(--pad);
		background: rgba(238, 246, 252, .93);
		backdrop-filter: blur(10px);
		border-bottom-color: var(--line);
		box-shadow: var(--shade-1);
	}
	body:not(.home) .st-nav {
		background: none;
		backdrop-filter: none;
		border-bottom-color: transparent;
		box-shadow: none;
	}
	body:not(.home) .st-nav.is-stuck {
		background: rgba(238, 246, 252, .93);
		backdrop-filter: blur(10px);
		border-bottom-color: var(--line);
		box-shadow: var(--shade-1);
	}

	/* Логотип не просто прячем, а убираем из потока: иначе прозрачная шапка
	   всё равно занимала бы восемьдесят пикселей высоты. */
	.st-nav:not(.is-stuck) .st-nav__brand { display: none; }
	.st-nav.is-stuck .st-brand__img { height: 44px; opacity: 1; }

	/* Пальцем в ссылку высотой в десять пикселей не попасть. */
	.st-footer__col ul a,
	.st-footer__legal a,
	.st-reads__row a,
	.st-crumbs a { display: inline-block; padding: 6px 0; }
	.st-footer__col ul { gap: 6px; }
	.st-footer__legal { gap: 4px 20px; }

	.st-nav:not(.is-stuck) .st-a11y-open,
	.st-nav:not(.is-stuck) .st-burger {
		background: rgba(255, 255, 255, .92);
		border: 1px solid rgba(15, 44, 63, .1);
		border-radius: 999px;
		box-shadow: 0 4px 14px rgba(15, 44, 63, .18);
		color: var(--deep);
	}
	.st-nav:not(.is-stuck) .st-burger span { background: var(--deep); }
	.home .st-nav:not(.is-stuck) .st-burger span { background: var(--deep); }

	.st-a11y-open, .st-burger { width: 42px; height: 42px; }
	.st-burger span { left: 12px; right: 12px; }
	.st-burger span:nth-child(1) { top: 15px; }
	.st-burger span:nth-child(2) { top: 21px; }
	.st-burger span:nth-child(3) { top: 27px; }

	.st-nav__side { gap: 10px; }
	.st-nav__side .st-nav__cta { display: none; }
	.st-nav__menu {
		position: fixed; inset: 0 0 0 auto; width: min(84vw, 380px);
		background: var(--sky); box-shadow: var(--shade-3); flex-direction: column; justify-content: flex-start;
		align-items: flex-start; gap: 0; padding: 96px 32px 32px;
		transform: translateX(100%); transition: transform .6s var(--ease);
		border-left: 1px solid var(--line); overflow-y: auto;
	}
	.st-nav__menu.is-open { transform: none; }
	.st-nav__menu li { width: 100%; border-bottom: 1px solid var(--line-soft); }
	.st-nav__menu a { display: block; padding: 20px 0; font-size: 12px; letter-spacing: .24em; }
}

/* ============================================================
   4. Hero-диорама
   ============================================================ */

.st-hero { position: relative; }
.st-hero__stage {
	position: relative; height: 100svh; min-height: 620px;
	display: flex; align-items: center; justify-content: center; text-align: center;
	overflow: hidden;
}
/*
 * Слои диорамы. Все три рисуются в ОДНОМ прямоугольнике (inset: 0, cover,
 * центр) — это обязательное условие: кадр разрезан на планы, и любое
 * расхождение позиционирования разведёт вырезы. Двигаются с разной
 * скоростью, глубина берётся из альфа-канала самих файлов.
 */
.st-hero__layer {
	position: absolute; inset: 0;
	background-size: cover; background-position: center center;
	background-repeat: no-repeat;
	transition: transform .75s cubic-bezier(.075, .5, 0, 1);
	will-change: transform;
}
.st-hero__layer--sky  { z-index: 0; transform: translate3d(0, calc(var(--scrollTop) / 1.6), 0); }
.st-hero__layer--mid  { z-index: 2; transform: translate3d(0, calc(var(--scrollTop) / 2.5), 0); }
.st-hero__layer--fore { z-index: 3; transform: translate3d(0, calc(var(--scrollTop) / 5.7), 0); }

/* Затемнение — между дальним и средним планом, чтобы передний остался сочным. */
.st-hero__veil {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg,
		rgba(15, 44, 63, .4) 0%,
		rgba(15, 44, 63, .26) 12%,
		rgba(15, 44, 63, .1) 22%,
		rgba(15, 44, 63, .03) 32%,
		rgba(15, 44, 63, .08) 52%,
		rgba(15, 44, 63, .2) 70%,
		rgba(15, 44, 63, .36) 86%,
		rgba(15, 44, 63, .54) 100%);
}
.st-hero__inner {
	position: relative; z-index: 4; padding: 0 var(--pad);
	transform: translate3d(0, calc(var(--scrollTop) / 2), 0);
	transition: transform .75s cubic-bezier(.075, .5, 0, 1);
	will-change: transform;
	text-transform: uppercase;
	color: #FFF;
	text-shadow: 0 2px 30px rgba(15, 44, 63, .7);
}
/* Мягкая подложка только под текстом: кадр дневной и светлый, сплошное
   затемнение убило бы его, а белые буквы по снегу иначе не читаются. */
.st-hero__inner::before {
	content: '';
	position: absolute; left: 50%; top: 50%;
	width: 160%; height: 260%;
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse at center,
		rgba(15, 44, 63, .52) 0%,
		rgba(15, 44, 63, .44) 22%,
		rgba(15, 44, 63, .3) 42%,
		rgba(15, 44, 63, .14) 58%,
		rgba(15, 44, 63, .04) 68%,
		rgba(15, 44, 63, 0) 78%);
	pointer-events: none;
	z-index: -1;
}
.st-hero__eyebrow {
	font-size: calc(var(--index) / 1.3); letter-spacing: calc(var(--index) / 3.5);
	font-weight: 900; animation: st-in 1.2s var(--ease) .2s both;
}
.st-hero__title {
	font-size: calc(var(--index) * 2.5); letter-spacing: calc(var(--index) / 2.4);
	font-weight: 900; line-height: 1.05; margin-top: calc(var(--index) * -.2);
	animation: st-in 1.4s var(--ease) .35s both;
}
.st-hero__title--light { font-weight: 200; }
.st-hero__sub {
	font-size: calc(var(--index) * .6); letter-spacing: .24em; font-weight: 500;
	color: rgba(255, 255, 255, .9); margin-top: calc(var(--index) * 1.2);
	text-shadow: none; animation: st-in 1.3s var(--ease) .6s both;
}
.st-hero__meta {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: calc(var(--index) * .6) calc(var(--index) * 2.6);
	margin-top: calc(var(--index) * 2);
	text-shadow: none; animation: st-in 1.3s var(--ease) .6s both;
}
.st-hero__meta dt { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.st-hero__meta dd { margin: 8px 0 0; font-size: calc(var(--index) * .95); font-weight: 300; letter-spacing: .08em; }
.st-hero__cue {
	position: absolute; left: 50%; bottom: 0; width: 1px; height: 76px;
	background: rgba(255, 255, 255, .7); animation: st-cue 3.6s ease-in-out infinite; z-index: 5;
}
/* Силуэт травы на стыке hero и следующей секции — прячет ровную линию среза. */
.st-hero__ground {
	position: absolute; z-index: 100; left: 0; width: 100%; height: calc(var(--index) * 10);
	background-size: 100% 100%; background-repeat: no-repeat; background-position: center bottom;
	bottom: calc(var(--index) * -4.5); pointer-events: none;
	/* Силуэт нарисован чёрным под тёмную тему. Инверсия красит его в цвет
	   страницы, и трава «прорастает» из светлой секции в фотографию. */
	filter: invert(1);
}

/* Компактный hero для внутренних страниц */
.st-phero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; }
.st-phero__bg { position: absolute; inset: 0; }
.st-phero__bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg,
		rgba(15, 44, 63, .3) 0%,
		rgba(15, 44, 63, .16) 14%,
		rgba(15, 44, 63, .05) 28%,
		rgba(196, 219, 239, .3) 44%,
		rgba(214, 232, 246, .62) 56%,
		rgba(230, 241, 250, .88) 70%,
		rgba(230, 241, 250, .98) 84%,
		var(--sky) 100%);
}
.st-phero__inner { position: relative; padding: calc(var(--index) * 8) var(--pad) calc(var(--index) * 2.6); width: 100%; }
.st-phero__title {
	margin-top: calc(var(--index) * 1);
	font-size: calc(var(--index) * 2); letter-spacing: calc(var(--index) / 4);
	text-transform: uppercase; line-height: 1.06;
}

/* ============================================================
   5. Главная — манифест
   ============================================================ */

.st-manifest {
	position: relative; z-index: 10; top: -1px;
	padding: calc(var(--index) * 6) var(--pad) calc(var(--index) * 5);
	text-align: center;
}
.st-manifest__text {
	margin-top: calc(var(--index) * 1.6);
	font-size: calc(var(--index) * 1.2); font-weight: 200; line-height: 1.42; text-wrap: pretty;
}
.st-numbers {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: calc(var(--index) * 2) calc(var(--index) * 3.4);
	margin-top: calc(var(--index) * 3.4);
}
.st-numbers__v { font-size: calc(var(--index) * 2); font-weight: 200; color: var(--sun-ink); line-height: 1; }
.st-numbers__l { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(15, 44, 63, .5); margin-top: 14px; }

/* ============================================================
   6. Главная — горная дорога (направления)
   ============================================================ */

.st-road__head { position: relative; z-index: 2; text-align: center; margin-bottom: calc(var(--index) * 3.4); }
.st-road__head p { margin: calc(var(--index) * 1.2) auto 0; max-width: 52ch; }
.st-road__more { position: relative; z-index: 2; padding-top: calc(var(--index) * 3.4); display: flex; justify-content: center; }

/* ============================================================
   7. Сетка «почему мы» / «что входит»
   ============================================================ */

.st-grid-lines {
	display: grid; gap: 1px; background: var(--line);
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
	max-width: var(--max); margin: 0 auto;
}
.st-grid-lines > * {
	background: rgba(255, 255, 255, .78);
	padding: calc(var(--index) * 2.1) calc(var(--index) * 1.8) calc(var(--index) * 2.5);
	transition: background .6s ease;
}
.st-grid-lines > *:hover { background: #FFF; }
.st-cell__n { font-size: 11px; letter-spacing: .3em; color: var(--sun-ink); }
.st-cell__t {
	font-size: calc(var(--index) * .94); letter-spacing: .16em; text-transform: uppercase;
	font-weight: 400; margin-top: calc(var(--index) * 1.2); line-height: 1.35;
}
.st-cell p { margin-top: calc(var(--index) * .8); }

.st-why { position: relative; z-index: 10; padding: 0 var(--pad) calc(var(--index) * 6); }

@media (max-width: 1100px) { .st-grid-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .st-grid-lines { grid-template-columns: 1fr; } }
/* ============================================================
   9. Дневник (карточки статей)
   ============================================================ */

.st-journal { position: relative; z-index: 10; padding: 0 var(--pad) calc(var(--index) * 6); }

/*
 * Дневник на главной. Первая статья идёт крупной карточкой, остальные —
 * рядом поменьше: маленькие миниатюры в строку читались как случайный мусор.
 */
.st-reads {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: calc(var(--index) * 1.6);
	max-width: var(--max);
	margin-inline: auto;
}

.st-read {
	display: flex; flex-direction: column;
	background: #FFF;
	border: 1px solid var(--line);
	box-shadow: var(--shade-1);
	transition: transform .5s var(--ease), box-shadow .5s ease, border-color .5s ease;
}
.st-read:hover {
	transform: translateY(-5px);
	box-shadow: var(--shade-2);
	border-color: rgba(232, 145, 47, .4);
}

.st-read__shot {
	position: relative; display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.st-read--lead .st-read__shot { aspect-ratio: 16 / 11; }
.st-read__shot img { transition: transform 1.3s var(--ease); }
.st-read:hover .st-read__shot img { transform: scale(1.06); }
.st-read__shot::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg,
		rgba(15, 44, 63, .34) 0%,
		rgba(15, 44, 63, .14) 26%,
		rgba(15, 44, 63, 0) 54%);
}

.st-read__cat {
	position: absolute; left: 14px; top: 12px; z-index: 2;
	font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase;
	color: #FFF;
	text-shadow: 0 1px 8px rgba(15, 44, 63, .7);
}

.st-read__body {
	display: flex; flex-direction: column;
	flex: 1 1 auto;
	padding: calc(var(--index) * 1.4);
}
.st-read__title {
	font-size: calc(var(--index) * .92);
	letter-spacing: .08em; text-transform: uppercase; font-weight: 400;
	line-height: 1.35;
	transition: color .4s ease;
}
.st-read--lead .st-read__title { font-size: calc(var(--index) * 1.15); font-weight: 300; }
.st-read:hover .st-read__title { color: var(--azure); }

.st-read__lead {
	margin-top: calc(var(--index) * .9);
	font-size: 13.5px; line-height: 1.75; font-weight: 300;
	color: var(--muted);
}
.st-read__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: auto;
	padding-top: calc(var(--index) * 1.2);
	font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--muted-2);
}
.st-read__go { font-size: 15px; transition: transform .4s var(--ease), color .4s ease; }
.st-read:hover .st-read__go { color: var(--sun); transform: translateX(5px); }

@media (max-width: 1000px) {
	.st-reads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-read--lead { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
	.st-reads { grid-template-columns: 1fr; }
	.st-read--lead { grid-column: auto; }
}

.st-sechead {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
	border-bottom: 1px solid var(--line);
	padding-bottom: calc(var(--index) * 1.4); margin: 0 auto calc(var(--index) * 2.4);
	max-width: var(--max);
}
.st-sechead a { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--azure); padding-bottom: 8px; white-space: nowrap; }
.st-cards {
	display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: calc(var(--index) * 1.6); max-width: var(--max); margin: 0 auto;
}
.st-card { display: block; }
.st-card__shot { aspect-ratio: 4 / 5; overflow: hidden; }
.st-card__shot img { transition: transform 1.4s var(--ease); }
.st-card:hover .st-card__shot img { transform: scale(1.05); }
.st-card__cat { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--azure); margin-top: 22px; }
.st-card__title {
	font-size: calc(var(--index) * .92); letter-spacing: .1em; text-transform: uppercase;
	font-weight: 400; margin-top: 12px; line-height: 1.35;
}
.st-card p { margin-top: 12px; font-size: 14px; line-height: 1.75; font-weight: 300; color: rgba(15, 44, 63, .6); }

@media (max-width: 1000px) { .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .st-cards { grid-template-columns: 1fr; } }

/* ============================================================
   10. Формы и CTA
   ============================================================ */

.st-cta { position: relative; z-index: 10; padding: calc(var(--index) * 6) var(--pad); }
.st-cta__bg { position: absolute; inset: 0; opacity: .28; }
.st-cta__veil {
	position: absolute; inset: 0;
	background: linear-gradient(180deg,
		var(--sky) 0%,
		rgba(226, 239, 250, .92) 18%,
		rgba(215, 232, 245, .84) 50%,
		rgba(226, 239, 250, .92) 82%,
		var(--sky) 100%);
}
.st-cta__inner { position: relative; max-width: 1100px; margin: 0 auto; text-align: center; }
.st-cta__title {
	margin-top: calc(var(--index) * 1.2);
	font-size: calc(var(--index) * 1.85); letter-spacing: calc(var(--index) / 7);
	text-transform: uppercase; line-height: 1.12;
}
.st-cta p { margin: calc(var(--index) * 1.4) auto 0; max-width: 52ch; }

.st-form { display: grid; gap: calc(var(--index) * 1.5); margin-top: calc(var(--index) * 2.6); text-align: left; }
.st-form--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-form--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-field { display: block; min-width: 0; }
.st-field > span {
	display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
	color: rgba(15, 44, 63, .62); margin-bottom: 12px;
}
.st-field input, .st-field textarea, .st-field select {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(15, 44, 63, .32);
	color: var(--deep); font-family: inherit; font-size: 16px; font-weight: 300;
	padding: 0 0 13px; outline: none; border-radius: 0;
	transition: border-color .4s ease;
}
.st-field select { padding-bottom: 12px; }
.st-field select option { background: var(--sky-2); color: var(--deep); }
.st-field textarea { min-height: 92px; resize: vertical; }
.st-field input::placeholder, .st-field textarea::placeholder { color: rgba(15, 44, 63, .42); }
.st-field input:focus, .st-field textarea:focus, .st-field select:focus { border-bottom-color: var(--sun); }
.st-field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.st-field.is-error input, .st-field.is-error textarea, .st-field.is-error select { border-bottom-color: #E0705C; }

/* Подсказка под полем — например, что дети до двух лет бесплатно. */
.st-field__hint {
	display: block;
	margin-top: 9px;
	font-size: 11px; line-height: 1.5; font-weight: 300;
	color: var(--sun-ink);
}

.st-form__wide { grid-column: 1 / -1; }
.st-form__submit { grid-column: 1 / -1; justify-self: center; margin-top: calc(var(--index) * 1.2); padding: 20px 52px; letter-spacing: .26em; }
.st-form__submit[disabled] { opacity: .5; cursor: progress; }
.st-form__note {
	grid-column: 1 / -1; font-size: 12px; line-height: 1.7; font-weight: 300;
	color: rgba(15, 44, 63, .42); text-align: center; margin: 0;
}
.st-form__note a { color: rgba(15, 44, 63, .62); text-decoration: underline; text-underline-offset: 3px; }
.st-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.st-form__msg {
	grid-column: 1 / -1; margin: 0; padding: 18px 22px; border: 1px solid var(--line);
	font-size: 14px; font-weight: 300; line-height: 1.7; text-align: center;
}
/* Плейсхолдер статуса нужен скрипту всегда, но пустым он не должен занимать
   место. :empty тут не годится — внутри перевод строки из шаблона. */
.st-form__msg { display: none; }
.st-form__msg.is-ok,
.st-form__msg.is-err { display: block; }
.st-form__msg.is-ok { border-color: rgba(232, 145, 47, .5); color: var(--sun); }
.st-form__msg.is-err { border-color: rgba(224, 112, 92, .5); color: #E0705C; }

@media (max-width: 900px) {
	.st-form--3, .st-form--4 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	/* Заголовок секции и подпись рядом не помещаются — ставим их столбиком. */
	.st-sechead {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* ============================================================
   11. Подвал
   ============================================================ */

.st-footer { position: relative; z-index: 10; border-top: 1px solid var(--line); padding: calc(var(--index) * 3) var(--pad) calc(var(--index) * 1.6); }
.st-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
	gap: calc(var(--index) * 2.2) calc(var(--index) * 2.4);
	max-width: var(--max); margin: 0 auto;
}
.st-footer__brand { font-size: 13px; letter-spacing: .42em; text-transform: uppercase; font-weight: 700; }
.st-footer__about { margin-top: 20px; max-width: 32ch; font-size: 14px; line-height: 1.8; font-weight: 300; color: rgba(15, 44, 63, .55); }
.st-footer__col { display: grid; gap: 14px; font-size: 14px; font-weight: 300; align-content: start; }
.st-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.st-footer__bottom {
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
	margin: calc(var(--index) * 2.4) auto 0; max-width: var(--max);
	padding-top: 22px; border-top: 1px solid var(--line-soft);
	font-size: 12px; color: rgba(15, 44, 63, .4);
}
.st-footer__bottom a { color: inherit; }
.st-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.st-footer__col ul li { margin: 0; }

@media (max-width: 1100px) {
	.st-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.st-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-footer__about { max-width: none; }
}
@media (max-width: 420px) {
	/* Восемнадцать ссылок в один столбик — это экран прокрутки, поэтому даже
	   на узком телефоне держим две колонки. */
	.st-footer__grid { gap: calc(var(--index) * 1.6) calc(var(--index) * 1.2); }
	.st-footer__col .st-label { font-size: 9px; letter-spacing: .2em; }
}

/* ============================================================
   12. Страница маршрута
   ============================================================ */

.st-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: left; z-index: 210; }

.st-about { position: relative; z-index: 10; top: -1px; padding: calc(var(--index) * 6) var(--pad) calc(var(--index) * 5); }
.st-about__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
	gap: calc(var(--index) * 3.4); align-items: start; max-width: var(--max); margin: 0 auto;
}
.st-about__claim { margin-top: calc(var(--index) * 1.6); font-size: calc(var(--index) * 1.12); font-weight: 200; line-height: 1.44; max-width: 34ch; text-wrap: pretty; }
.st-about__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--index) * 2.4); margin-top: calc(var(--index) * 2.6); }
.st-about__cols p { font-size: calc(var(--index) * .76); line-height: 1.85; font-weight: 300; color: rgba(15, 44, 63, .7); }
.st-facts { border-top: 1px solid rgba(15, 44, 63, .2); }
.st-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(15, 44, 63, .12); }
.st-facts dt, .st-facts b { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(15, 44, 63, .5); font-weight: 400; }
.st-facts dd, .st-facts i { margin: 0; font-size: 14px; font-weight: 300; text-align: right; font-style: normal; }

@media (max-width: 900px) {
	.st-about__grid, .st-about__cols { grid-template-columns: 1fr; }
}

.st-quote {
	position: relative; z-index: 10; height: 80vh; min-height: 460px; overflow: hidden;
	display: flex; align-items: center; justify-content: center; text-align: center;
}
.st-quote__bg { position: absolute; inset: -8% 0; z-index: 1; transform: translate3d(0, calc(var(--scrollTop) / -18), 0); transition: transform .75s cubic-bezier(.075, .5, 0, 1); will-change: transform; }
.st-quote__veil {
	position: absolute; inset: 0; z-index: 2;
	background: linear-gradient(180deg,
		var(--sky) 0%,
		rgba(180, 208, 232, .8) 8%,
		rgba(94, 138, 175, .66) 16%,
		rgba(15, 44, 63, .5) 26%,
		rgba(15, 44, 63, .54) 74%,
		rgba(94, 138, 175, .66) 84%,
		rgba(180, 208, 232, .8) 92%,
		var(--sky) 100%);
}
.st-quote p {
	position: relative; z-index: 3; padding: 0 var(--pad); max-width: 26ch;
	font-size: calc(var(--index) * 1.3); font-weight: 200; line-height: 1.38;
	color: #FFF;
	text-shadow: 0 4px 40px rgba(15, 44, 63, .75);
}

.st-program { position: relative; z-index: 10; padding: calc(var(--index) * 5) var(--pad) calc(var(--index) * 4); }
.st-program__body { position: relative; display: grid; grid-template-columns: minmax(0, 88px) minmax(0, 1fr); max-width: var(--max); margin: 0 auto; }
.st-program__rail { position: relative; }
.st-program__rail i { position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.st-program__rail b { position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--sun); transform: scaleY(0); transform-origin: top; will-change: transform; }
/* Стоимость и FAQ */
.st-price { position: relative; z-index: 10; padding: calc(var(--index) * 5) var(--pad); background: rgba(255, 255, 255, .62); }
.st-price__title { margin-top: calc(var(--index) * 1.4); font-size: calc(var(--index) * 1.5); letter-spacing: calc(var(--index) / 7); text-transform: uppercase; line-height: 1.16; max-width: 26ch; }
.st-price__table { margin-top: calc(var(--index) * 2.6); border-top: 1px solid rgba(15, 44, 63, .18); }
.st-price__row {
	display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr) 160px;
	gap: calc(var(--index) * 1.4); align-items: baseline;
	padding: calc(var(--index) * 1.1) 0; border-bottom: 1px solid var(--line-soft);
}
.st-price__who { font-size: calc(var(--index) * .95); letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.st-price__note { font-size: 13.5px; line-height: 1.7; font-weight: 300; color: rgba(15, 44, 63, .6); }
.st-price__sum { font-size: calc(var(--index) * 1.15); font-weight: 200; color: var(--sun-ink); text-align: right; }
.st-price__foot { margin-top: calc(var(--index) * 1.4); max-width: 60ch; font-size: 13.5px; line-height: 1.85; font-weight: 300; color: rgba(15, 44, 63, .58); }

@media (max-width: 760px) {
	.st-price__row { grid-template-columns: 1fr auto; gap: 8px 16px; }
	.st-price__note { grid-column: 1 / -1; }
	.st-price__sum { text-align: right; }
}

/* Что не входит и что взять с собой */
.st-extras { position: relative; z-index: 10; padding: 0 var(--pad) calc(var(--index) * 5); }
.st-extras__grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: calc(var(--index) * 3.4); align-items: start;
}
.st-packing {
	list-style: none; margin: calc(var(--index) * 1.4) 0 0; padding: 0;
	border-top: 1px solid rgba(15, 44, 63, .2);
}
.st-packing li {
	padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line-soft);
	font-size: 15px; font-weight: 300; color: rgba(15, 44, 63, .8); position: relative;
}
.st-packing li::before {
	content: ''; position: absolute; left: 2px; top: 22px;
	width: 8px; height: 1px; background: var(--sun);
}

@media (max-width: 900px) {
	.st-extras__grid { grid-template-columns: 1fr; }
}

.st-faq { margin-top: calc(var(--index) * 3.4); }
.st-faq details { border-top: 1px solid var(--line); padding: calc(var(--index) * 1) 0; }
.st-faq summary {
	display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
	font-size: calc(var(--index) * .86); letter-spacing: .1em; text-transform: uppercase;
	font-weight: 400; cursor: pointer; list-style: none;
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary i { font-style: normal; font-size: 14px; color: var(--sun-ink); transition: transform .4s var(--ease); }
.st-faq details[open] summary i { transform: rotate(45deg); }
.st-faq p { margin-top: 16px; max-width: 64ch; font-size: 14.5px; line-height: 1.85; font-weight: 300; color: rgba(15, 44, 63, .68); }

/* Нижняя панель брони */
.st-bookbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 14px var(--pad); background: rgba(238, 246, 252, .93); backdrop-filter: blur(10px);
	border-top: 1px solid var(--line); box-shadow: 0 -16px 44px rgba(15, 44, 63, .12);
	transform: translateY(120%); transition: transform .7s var(--ease); will-change: transform;
}
.st-bookbar.is-in { transform: none; }
.st-bookbar__l { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; min-width: 0; }
.st-bookbar__name { font-size: calc(var(--index) * .86); letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.st-bookbar__meta { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(15, 44, 63, .5); }
.st-bookbar__r { display: flex; gap: 20px; align-items: center; flex: 0 0 auto; }
.st-bookbar__price { font-size: calc(var(--index) * 1); font-weight: 200; color: var(--sun-ink); white-space: nowrap; }
.st-bookbar .st-btn { padding: 15px 30px; }

@media (max-width: 760px) {
	.st-bookbar { padding: 12px 16px; gap: 12px; }
	.st-bookbar__meta { display: none; }
	.st-bookbar .st-btn { padding: 14px 20px; font-size: 10px; letter-spacing: .18em; }
}

/* ============================================================
   13. Каталог направлений
   ============================================================ */

.st-filters {
	display: flex; flex-wrap: wrap; gap: 10px;
	padding: calc(var(--index) * 2.4) var(--pad) 0; max-width: var(--max); margin: 0 auto;
}
.st-chip {
	font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
	padding: 13px 22px; border: 1px solid var(--line); color: rgba(15, 44, 63, .7);
	background: none; cursor: pointer; font-family: inherit;
}
.st-chip:hover { border-color: var(--sun); color: var(--sun-ink); background: rgba(232, 145, 47, .08); }
.st-chip.is-active { background: var(--sun); border-color: var(--sun); color: var(--deep); }

.st-collection { padding: calc(var(--index) * 2.4) var(--pad) calc(var(--index) * 5); }
.st-tours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--index) * 1.6); max-width: var(--max); margin: 0 auto; }
.st-tour { display: block; }
.st-tour__shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.st-tour__shot img { transition: transform 1.4s var(--ease); }
.st-tour:hover .st-tour__shot img { transform: scale(1.05); }
.st-tour__shot::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg,
		rgba(15, 44, 63, 0) 38%,
		rgba(15, 44, 63, .08) 56%,
		rgba(15, 44, 63, .26) 76%,
		rgba(15, 44, 63, .48) 92%,
		rgba(15, 44, 63, .58) 100%);
}
.st-tour__alt {
	position: absolute; left: 18px; bottom: 14px; z-index: 2;
	font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .92);
}
.st-tour__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-top: 18px; }
.st-tour__name { font-size: calc(var(--index) * .95); letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.st-tour__price { font-size: calc(var(--index) * .9); font-weight: 200; color: var(--sun-ink); white-space: nowrap; }
.st-tour__meta { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; }
.st-tour p { margin-top: 12px; font-size: 13.5px; line-height: 1.75; font-weight: 300; color: rgba(15, 44, 63, .58); }
.st-tour.is-hidden { display: none; }

@media (max-width: 1000px) { .st-tours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .st-tours { grid-template-columns: 1fr; } }

/* ============================================================
   14. Текстовые страницы: статья, юридические, контакты
   ============================================================ */

.st-article { padding: calc(var(--index) * 3) var(--pad) calc(var(--index) * 5); }
.st-article__body { max-width: 68ch; margin: 0 auto; font-size: 17px; line-height: 1.9; font-weight: 300; color: rgba(15, 44, 63, .82); }
.st-article__body > * + * { margin-top: calc(var(--index) * 1.2); }
.st-article__body h2 {
	font-size: calc(var(--index) * 1.15); letter-spacing: .1em; text-transform: uppercase;
	font-weight: 300; line-height: 1.3; margin-top: calc(var(--index) * 2.4);
}
.st-article__body h3 { font-size: calc(var(--index) * .95); letter-spacing: .08em; font-weight: 400; margin-top: calc(var(--index) * 1.8); }
.st-article__body a { color: var(--azure); text-decoration: underline; text-underline-offset: 4px; }
.st-article__body ul, .st-article__body ol { padding-left: 1.3em; }
.st-article__body li + li { margin-top: 10px; }
.st-article__body blockquote {
	margin: calc(var(--index) * 2) 0; padding-left: calc(var(--index) * 1.4);
	border-left: 1px solid var(--sun);
	font-size: calc(var(--index) * 1.05); font-weight: 200; line-height: 1.5; color: var(--deep);
}
.st-article__body img, .st-article__body figure img { width: 100%; height: auto; }
.st-article__body figcaption { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-top: 12px; }
.st-article__meta {
	max-width: 68ch; margin: 0 auto calc(var(--index) * 2);
	display: flex; flex-wrap: wrap; gap: 10px 28px;
	font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2);
}

.st-legal { padding: calc(var(--index) * 4) var(--pad) calc(var(--index) * 6); }
.st-legal__grid {
	max-width: 1180px; margin: 0 auto; display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: calc(var(--index) * 3.4); align-items: start;
}
.st-legal__toc { position: sticky; top: 120px; }
.st-legal__toc ol { list-style: none; margin: 18px 0 0; padding: 0 0 0 18px; display: grid; gap: 12px; border-left: 1px solid var(--line); }
.st-legal__toc a { font-size: 13px; font-weight: 300; color: rgba(15, 44, 63, .6); line-height: 1.5; }
.st-legal__rev { margin-top: calc(var(--index) * 2); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(15, 44, 63, .35); }
.st-legal__title { margin-top: calc(var(--index) * 1.2); font-size: calc(var(--index) * 1.6); letter-spacing: calc(var(--index) / 8); text-transform: uppercase; line-height: 1.16; max-width: 28ch; }
.st-legal__lead { margin-top: calc(var(--index) * 1.6); max-width: 68ch; font-size: calc(var(--index) * .8); line-height: 1.85; font-weight: 300; color: rgba(15, 44, 63, .72); }
.st-legal__sections { margin-top: calc(var(--index) * 2.6); }
.st-legal__sec { border-top: 1px solid var(--line); padding: calc(var(--index) * 1.6) 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: calc(var(--index) * 1.2); }
.st-legal__n { font-size: calc(var(--index) * .9); font-weight: 200; color: var(--sun-ink); }
.st-legal__sec h2 { font-size: calc(var(--index) * .9); letter-spacing: .14em; text-transform: uppercase; font-weight: 400; line-height: 1.4; }
.st-legal__sec p { margin-top: 16px; max-width: 66ch; font-size: 15px; line-height: 1.9; font-weight: 300; color: rgba(15, 44, 63, .68); }
.st-legal__ask {
	margin-top: calc(var(--index) * 2.6); border: 1px solid rgba(232, 145, 47, .35);
	padding: calc(var(--index) * 1.8); display: flex; flex-wrap: wrap;
	gap: calc(var(--index) * 1.4); align-items: center; justify-content: space-between;
}

@media (max-width: 900px) {
	.st-legal__grid { grid-template-columns: 1fr; }
	.st-legal__toc { position: static; }
	.st-legal__sec { grid-template-columns: 1fr; gap: 0; }
	.st-legal__n { margin-bottom: 10px; }
}

.st-contacts {
	padding: calc(var(--index) * 3.4) var(--pad) calc(var(--index) * 5);
	max-width: var(--max); margin: 0 auto;
}
.st-contacts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.st-contacts__grid > div { background: rgba(255, 255, 255, .8); padding: calc(var(--index) * 1.8); }
.st-contacts__l { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2); }
.st-contacts__v { font-size: calc(var(--index) * .92); font-weight: 300; margin-top: 14px; line-height: 1.5; }
.st-contacts__n { font-size: 13px; font-weight: 300; color: rgba(15, 44, 63, .55); margin-top: 8px; line-height: 1.7; }

@media (max-width: 1000px) { .st-contacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .st-contacts__grid { grid-template-columns: 1fr; } }

/* 404 */
.st-404 {
	position: relative; min-height: 76vh; display: flex; align-items: center;
	justify-content: center; text-align: center; overflow: hidden;
}
.st-404__bg { position: absolute; inset: 0; opacity: .32; }
.st-404__veil {
	position: absolute; inset: 0;
	background: linear-gradient(180deg,
		var(--sky) 0%,
		rgba(216, 231, 242, .9) 20%,
		rgba(196, 219, 239, .82) 45%,
		rgba(216, 231, 242, .9) 72%,
		var(--sky) 100%);
}
.st-404__inner { position: relative; padding: calc(var(--index) * 4) var(--pad); }
.st-404__code {
	font-size: calc(var(--index) * 3.6); font-weight: 200; letter-spacing: calc(var(--index) / 2.4);
	color: var(--sun-ink); line-height: 1; text-shadow: 0 14px 44px rgba(232, 145, 47, .3);
}
.st-404__title { margin-top: calc(var(--index) * 1.6); font-size: calc(var(--index) * 1.3); letter-spacing: calc(var(--index) / 8); text-transform: uppercase; line-height: 1.2; }
.st-404 p { margin: calc(var(--index) * 1.2) auto 0; max-width: 44ch; }
.st-404__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: calc(var(--index) * 2.2); }

/* Пагинация */
.st-pager { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: calc(var(--index) * 3); }
.st-pager .page-numbers {
	display: inline-block; min-width: 48px; padding: 14px 16px; text-align: center;
	border: 1px solid var(--line); font-size: 12px; letter-spacing: .16em;
}
.st-pager .page-numbers:hover { border-color: var(--sun); color: var(--sun-ink); }
.st-pager .page-numbers.current { background: var(--sun); border-color: var(--sun); color: var(--deep); }

/* Поиск */
.st-search { display: flex; gap: 0; max-width: 460px; margin: 0 auto; }
.st-search input {
	flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(15, 44, 63, .28);
	color: var(--deep); font-family: inherit; font-size: 16px; font-weight: 300; padding: 0 0 13px; outline: none;
}
.st-search button {
	background: none; border: 0; border-bottom: 1px solid rgba(15, 44, 63, .28); color: var(--azure);
	font-family: inherit; font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
	padding: 0 0 13px 20px; cursor: pointer;
}

/* Хлебные крошки */
.st-crumbs {
	max-width: var(--max); margin: 0 auto; padding: calc(var(--index) * 6) var(--pad) 0;
	font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2);
}
.st-crumbs a:hover { color: var(--azure); }
.st-crumbs span + span::before { content: ' · '; }

/* Скрытые визуально, но доступные скринридеру */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
