/* =========================================================
   СИБ ЛОМБАРД — стили сайта
   Тема «Северное сияние»: ночное небо, лёд, фиолет и мята
   ========================================================= */

:root {
	--night: #0b1026;
	--night-2: #131a3d;
	--night-3: #1c2452;
	--violet: #7c5cff;
	--violet-d: #5b3df0;
	--mint: #3ddc97;
	--sky: #5ac8fa;
	--ice: #f2f5fc;
	--snow: #ffffff;
	--ink: #12152b;
	--muted: #5d6380;
	--line: #e2e6f3;
	--grad: linear-gradient(120deg, var(--violet) 0%, var(--sky) 55%, var(--mint) 100%);

	--font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Cormorant Garamond", Georgia, serif;
	--radius: 28px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ База ============ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	overflow-x: hidden;
	overflow-x: clip;
	max-width: 100%;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	background: var(--snow);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	cursor: pointer;
}

ul,
ol {
	list-style: none;
}

::selection {
	background: var(--violet);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--violet);
	outline-offset: 3px;
	border-radius: 8px;
}

.container {
	width: 100%;
	max-width: 1220px;
	margin-inline: auto;
	padding-inline: 20px;
}
@media (min-width: 768px) {
	.container {
		padding-inline: 32px;
	}
}

/* Прогресс прокрутки */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(0);
	background: var(--grad);
	z-index: 100;
}

/* ============ Кнопки ============ */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 30px;
	border-radius: 16px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.3s var(--ease),
		box-shadow 0.3s var(--ease),
		background-color 0.3s,
		color 0.3s;
}
.btn svg {
	width: 18px;
	height: 18px;
	flex: none;
	transition: transform 0.3s var(--ease);
}
.btn:hover svg {
	transform: translateX(4px);
}
.btn:active {
	transform: scale(0.97);
}
@media (max-width: 480px) {
	.btn {
		white-space: normal;
		text-align: center;
	}
}

.btn-primary {
	color: #fff;
	background: linear-gradient(120deg, var(--violet-d), var(--violet) 45%, #5f8bff);
	box-shadow:
		0 12px 32px -12px rgba(124, 92, 255, 0.85),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(120deg, var(--violet), var(--sky), var(--mint));
	opacity: 0;
	transition: opacity 0.4s;
}
.btn-primary:hover::before {
	opacity: 1;
}
.btn-primary:hover {
	box-shadow: 0 16px 40px -12px rgba(61, 220, 151, 0.7);
}

.btn-glass {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover {
	background: rgba(255, 255, 255, 0.15);
}

.btn-dark {
	color: #fff;
	background: var(--night);
}
.btn-dark:hover {
	background: var(--violet-d);
	box-shadow: 0 14px 30px -14px rgba(91, 61, 240, 0.8);
}

.btn-sm {
	padding: 12px 20px;
	font-size: 15px;
	border-radius: 12px;
}
.btn-lg {
	padding: 20px 30px;
	font-size: 17px;
}
.btn-block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--violet-d);
	white-space: nowrap;
}
.link-arrow span {
	transition: transform 0.3s var(--ease);
}
.link-arrow:hover span {
	transform: translateX(5px);
}

/* ============ Логотип ============ */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.logo-mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	color: #fff;
	background: var(--grad);
	box-shadow: 0 8px 20px -8px rgba(124, 92, 255, 0.9);
	flex: none;
}
.logo-mark svg {
	width: 24px;
	height: 24px;
	transition: transform 0.8s var(--ease);
}
.logo:hover .logo-mark svg {
	transform: rotate(180deg);
}
.logo-text {
	display: flex;
	flex-direction: column;
	font-weight: 800;
	font-size: 17px;
	letter-spacing: 0.04em;
	line-height: 1.1;
}
.logo-text small {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.55;
	margin-top: 4px;
}

/* ============ Шапка ============ */
.header {
	position: fixed;
	top: 14px;
	left: 0;
	right: 0;
	z-index: 50;
	padding-inline: 14px;
	transition: top 0.4s var(--ease);
}
.header-inner {
	max-width: 1220px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 10px 10px 10px 16px;
	border-radius: 22px;
	color: #fff;
	background: rgba(11, 16, 38, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	transition:
		background 0.4s,
		color 0.4s,
		box-shadow 0.4s,
		border-color 0.4s;
}
.header.is-scrolled {
	top: 8px;
}
.header.is-light .header-inner {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.82);
	border-color: rgba(18, 21, 43, 0.06);
	box-shadow: 0 14px 40px -20px rgba(18, 21, 43, 0.35);
}
.header .logo {
	margin-right: auto;
}
.nav {
	display: none;
	gap: 6px;
}
.nav a {
	position: relative;
	padding: 9px 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	opacity: 0.8;
	transition:
		opacity 0.25s,
		background 0.25s;
}
.nav a:hover {
	opacity: 1;
	background: rgba(127, 127, 160, 0.14);
}
.nav a.is-active {
	opacity: 1;
}
.nav a.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: var(--mint);
}
.header-cta {
	display: none;
}
.burger {
	display: grid;
	gap: 6px;
	place-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(127, 127, 160, 0.16);
}
.burger span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.burger span:last-child {
	width: 13px;
	margin-left: auto;
}
@media (min-width: 640px) {
	.header-cta {
		display: inline-flex;
	}
}
@media (min-width: 1100px) {
	.nav {
		display: flex;
	}
	.burger {
		display: none;
	}
}

/* Мобильное меню */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	padding: 24px 22px 32px;
	color: #fff;
	background:
		radial-gradient(600px 400px at 100% 0%, rgba(124, 92, 255, 0.35), transparent 60%),
		radial-gradient(500px 400px at 0% 100%, rgba(61, 220, 151, 0.22), transparent 60%),
		var(--night);
	clip-path: circle(0 at calc(100% - 40px) 40px);
	visibility: hidden;
	transition:
		clip-path 0.7s var(--ease),
		visibility 0s 0.7s;
	overflow-y: auto;
}
.mobile-menu.is-open {
	clip-path: circle(150% at calc(100% - 40px) 40px);
	visibility: visible;
	transition:
		clip-path 0.7s var(--ease),
		visibility 0s;
}
.mobile-menu-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.menu-close {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.1);
}
.menu-close svg {
	width: 20px;
	height: 20px;
}
.mobile-nav {
	flex: 1;
	margin: 40px 0 28px;
}
.mobile-nav a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 14px 0;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.5s,
		transform 0.5s var(--ease),
		color 0.25s;
}
.mobile-nav a i {
	font-style: normal;
	font-size: 13px;
	color: var(--mint);
}
.mobile-nav a:hover {
	color: var(--mint);
}
.mobile-menu.is-open .mobile-nav a {
	opacity: 1;
	transform: none;
}
.mobile-menu.is-open .mobile-nav a:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-nav a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-nav a:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-nav a:nth-child(4) { transition-delay: 0.3s; }
.mobile-menu.is-open .mobile-nav a:nth-child(5) { transition-delay: 0.35s; }
.mobile-menu-info {
	margin-top: 22px;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.5);
}

/* ============ Небо: сияние, звёзды ============ */
.aurora {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}
.aurora span {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.55;
	mix-blend-mode: screen;
	will-change: transform;
}
.aurora span:nth-child(1) {
	width: 60vw;
	height: 32vw;
	min-width: 420px;
	min-height: 260px;
	left: -10%;
	top: -8%;
	background: linear-gradient(90deg, var(--mint), var(--sky));
	animation: auroraA 16s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
	width: 55vw;
	height: 30vw;
	min-width: 380px;
	min-height: 240px;
	right: -12%;
	top: 4%;
	background: linear-gradient(90deg, var(--violet), #c86bff);
	animation: auroraB 19s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
	width: 40vw;
	height: 22vw;
	min-width: 300px;
	min-height: 200px;
	left: 30%;
	top: 30%;
	background: linear-gradient(90deg, var(--sky), var(--violet));
	opacity: 0.35;
	animation: auroraC 22s ease-in-out infinite alternate;
}
.aurora-soft span {
	opacity: 0.3;
}
@keyframes auroraA {
	0% { transform: translate(0, 0) rotate(-8deg) scale(1); }
	100% { transform: translate(12%, 10%) rotate(6deg) scale(1.15); }
}
@keyframes auroraB {
	0% { transform: translate(0, 0) rotate(10deg) scale(1.1); }
	100% { transform: translate(-14%, 14%) rotate(-6deg) scale(0.95); }
}
@keyframes auroraC {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(-20%, -16%) scale(1.25); }
}

.stars {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
		radial-gradient(1px 1px at 80px 120px, rgba(255, 255, 255, 0.8), transparent),
		radial-gradient(1.5px 1.5px at 160px 60px, rgba(255, 255, 255, 0.9), transparent),
		radial-gradient(1px 1px at 230px 170px, #fff, transparent),
		radial-gradient(1px 1px at 300px 40px, rgba(255, 255, 255, 0.7), transparent),
		radial-gradient(2px 2px at 360px 140px, rgba(255, 255, 255, 0.9), transparent);
	background-size: 400px 220px;
	opacity: 0.55;
	animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle {
	from { opacity: 0.3; }
	to { opacity: 0.7; }
}

/* ============ HERO ============ */
.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(1200px 600px at 50% 120%, var(--night-3), transparent 70%),
		linear-gradient(180deg, #070a1c 0%, var(--night) 55%, var(--night-2) 100%);
	padding: 150px 0 0;
}
.hero-bg {
	position: absolute;
	inset: 0;
	background: url("img/top_bg.jpg") center 30% / cover no-repeat;
	transform: scale(1.06);
	animation: heroZoom 24s ease-in-out infinite alternate;
}
.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(7, 10, 28, 0.94) 0%, rgba(11, 16, 38, 0.82) 45%, rgba(11, 16, 38, 0.6) 100%),
		linear-gradient(180deg, rgba(7, 10, 28, 0.55) 0%, transparent 35%, rgba(19, 26, 61, 0.9) 100%);
}
@keyframes heroZoom {
	to { transform: scale(1.14) translate(-1%, -1%); }
}
.hero .aurora span {
	opacity: 0.38;
}
.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 56px;
	align-items: center;
}
@media (min-width: 1000px) {
	.hero {
		padding-top: 180px;
	}
	.hero-grid {
		grid-template-columns: 1.15fr 0.85fr;
		gap: 40px;
	}
}

.pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mint);
}
.pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--mint);
	animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
	from { transform: scale(0.6); opacity: 1; }
	to { transform: scale(2); opacity: 0; }
}

.hero-title {
	margin-top: 28px;
	font-size: clamp(42px, 7vw, 88px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}
.hero-title .word {
	display: block;
	overflow: hidden;
	padding-bottom: 0.08em;
}
.hero-title .word > span {
	display: inline-block;
	transform: translateY(110%);
	animation: wordUp 1s var(--ease) forwards;
}
.hero-title .word:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .word:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes wordUp {
	to { transform: none; }
}
.hero-title em,
.h2 em {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.hero-title em {
	font-size: 1.12em;
}
.aurora-text {
	background: linear-gradient(90deg, var(--mint), var(--sky), #a68bff, var(--mint));
	background-size: 300% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
	to { background-position: 300% 0; }
}

.hero-lead {
	margin-top: 28px;
	max-width: 560px;
	font-size: clamp(17px, 1.6vw, 19px);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
}
.hero-actions {
	margin-top: 38px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
@media (max-width: 480px) {
	.hero-actions .btn {
		width: 100%;
	}
}

.appear {
	opacity: 0;
	transform: translateY(24px);
	animation: appear 1s var(--ease) forwards;
	animation-delay: var(--delay, 0.1s);
}
@keyframes appear {
	to { opacity: 1; transform: none; }
}

/* Карточка онлайн-оценки */
.hero-visual {
	position: relative;
	max-width: 440px;
	width: 100%;
	margin-inline: auto;
	padding: 34px 0;
}
.eval-card {
	position: relative;
	padding: 26px;
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
	animation: floatY 7s ease-in-out infinite;
}
.eval-card::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, rgba(61, 220, 151, 0.8), transparent 35%, transparent 65%, rgba(124, 92, 255, 0.9));
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
@keyframes floatY {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
.eval-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	font-weight: 600;
}
.live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--mint);
}
.live i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 10px var(--mint);
	animation: blink 1.2s steps(2) infinite;
}
@keyframes blink {
	50% { opacity: 0.2; }
}
.eval-time {
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.75);
}
.eval-item {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	padding: 16px;
	border-radius: 18px;
	background: rgba(11, 16, 38, 0.45);
}
.eval-ic {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--grad);
	flex: none;
}
.eval-ic svg {
	width: 26px;
	height: 26px;
}
.eval-item small {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}
.eval-item b {
	display: block;
	font-size: 19px;
	transition:
		opacity 0.3s,
		transform 0.3s;
}
.eval-item b.is-swap,
.eval-ic.is-swap {
	opacity: 0;
	transform: translateY(8px);
}
.eval-ic {
	transition:
		opacity 0.3s,
		transform 0.3s;
}
.eval-steps {
	margin-top: 20px;
	display: grid;
	gap: 4px;
}
.eval-steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 4px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.4);
	transition: color 0.4s;
}
.eval-steps li span {
	position: relative;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	flex: none;
	transition:
		background 0.4s,
		border-color 0.4s;
}
.eval-steps li span::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3.5px;
	width: 5px;
	height: 10px;
	border: solid var(--night);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.35s var(--ease);
}
.eval-steps li.is-current {
	color: #fff;
}
.eval-steps li.is-current span {
	border-color: var(--mint);
	border-top-color: transparent;
	animation: spin 0.9s linear infinite;
}
.eval-steps li.is-done {
	color: rgba(255, 255, 255, 0.85);
}
.eval-steps li.is-done span {
	background: var(--mint);
	border-color: var(--mint);
}
.eval-steps li.is-done span::after {
	transform: rotate(45deg) scale(1);
}
@keyframes spin {
	to { transform: rotate(360deg); }
}
.eval-bar {
	margin-top: 16px;
	height: 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}
.eval-bar i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: var(--grad);
	transition: width 0.8s var(--ease);
}

.float-chip {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	background: #fff;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
	white-space: nowrap;
}
.float-chip svg {
	width: 18px;
	height: 18px;
	color: var(--violet-d);
}
.chip-1 {
	top: 0;
	right: -10px;
	animation: floatY 6s ease-in-out infinite reverse;
}
.chip-2 {
	bottom: 0;
	left: -18px;
	animation: floatY 8s ease-in-out infinite;
}
@media (max-width: 520px) {
	.chip-1 { right: 0; }
	.chip-2 { left: 0; }
}

.hero-stats {
	position: relative;
	z-index: 2;
	margin-top: 70px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-radius: var(--radius) var(--radius) 0 0;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 0;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.hero-stats > div {
	padding: 26px 22px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stats b {
	display: block;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}
.hero-stats span:not([data-count]) {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 900px) {
	.hero-stats {
		grid-template-columns: repeat(4, 1fr);
	}
	.hero-stats > div {
		padding: 32px;
		border-bottom: 0;
	}
	.hero-stats > div:last-child {
		border-right: 0;
	}
}

.mountains {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 200px;
	z-index: 1;
	pointer-events: none;
}
.mountains svg {
	width: 100%;
	height: 100%;
}
.m-back {
	fill: rgba(124, 92, 255, 0.12);
}
.m-front {
	fill: rgba(11, 16, 38, 0.55);
}

/* ============ Ленты ============ */
.ribbons {
	position: relative;
	height: 150px;
	overflow: hidden;
	background: var(--snow);
}
.ribbon {
	position: absolute;
	left: -5%;
	width: 110%;
	top: 50%;
	padding: 14px 0;
	overflow: hidden;
}
.ribbon-a {
	z-index: 2;
	background: var(--grad);
	color: #fff;
	transform: translateY(-50%) rotate(-2.5deg);
	box-shadow: 0 16px 30px -18px rgba(124, 92, 255, 0.8);
}
.ribbon-b {
	background: var(--night);
	color: rgba(255, 255, 255, 0.85);
	transform: translateY(-50%) rotate(2.5deg);
}
.ribbon-track {
	display: flex;
	width: max-content;
	animation: marquee 34s linear infinite;
}
.ribbon-b .ribbon-track {
	animation-direction: reverse;
	animation-duration: 40s;
}
.ribbon-track span {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	font-size: 19px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.ribbon-track span::after {
	content: "✳";
	font-size: 16px;
	opacity: 0.7;
}
@keyframes marquee {
	to { transform: translateX(-50%); }
}

/* ============ Секции ============ */
.section {
	position: relative;
	padding: 100px 0;
}
@media (min-width: 900px) {
	.section {
		padding: 130px 0;
	}
}
.section-ice {
	background:
		radial-gradient(700px 400px at 90% 0%, rgba(124, 92, 255, 0.08), transparent 70%),
		radial-gradient(600px 400px at 0% 100%, rgba(61, 220, 151, 0.08), transparent 70%),
		var(--ice);
}
.section-night {
	overflow: hidden;
	color: #fff;
	background: var(--night);
}

.section-head {
	max-width: 760px;
	margin-bottom: 56px;
}
.section-head.center {
	margin-inline: auto;
	text-align: center;
}
.tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--violet-d);
	background: rgba(124, 92, 255, 0.1);
}
.tag::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--grad);
}
.tag-light {
	color: var(--mint);
	background: rgba(61, 220, 151, 0.12);
}
.h2 {
	margin-top: 18px;
	font-size: clamp(32px, 4.6vw, 58px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
}
.h2 em {
	font-size: 1.1em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 0.06em;
}
.h2-light {
	color: #fff;
}
.lead {
	margin-top: 20px;
	font-size: 18px;
	line-height: 1.65;
	color: var(--muted);
}

/* Появление при прокрутке */
.js .reveal {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 0.9s var(--ease),
		transform 0.9s var(--ease);
	transition-delay: var(--d, 0s);
}
.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ============ Что принимаем: вкладки ============ */
.tabs {
	display: grid;
	gap: 20px;
}
@media (min-width: 1000px) {
	.tabs {
		grid-template-columns: 380px 1fr;
		gap: 28px;
	}
}
.tab-list {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	margin-inline: -20px;
	padding: 4px 20px;
	scroll-snap-type: x mandatory;
}
.tab-list::-webkit-scrollbar {
	display: none;
}
@media (min-width: 1000px) {
	.tab-list {
		flex-direction: column;
		overflow: visible;
		margin: 0;
		padding: 0;
	}
}
.tab {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border-radius: 18px;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
	color: var(--muted);
	background: var(--ice);
	border: 1px solid transparent;
	overflow: hidden;
	scroll-snap-align: start;
	transition:
		color 0.3s,
		background 0.3s,
		border-color 0.3s,
		transform 0.3s var(--ease);
}
.tab i {
	font-style: normal;
	font-size: 13px;
	font-weight: 700;
	color: var(--violet);
	opacity: 0.6;
}
.tab:hover {
	color: var(--ink);
	transform: translateX(4px);
}
.tab.is-active {
	color: var(--ink);
	background: #fff;
	border-color: var(--line);
	box-shadow: 0 16px 40px -24px rgba(18, 21, 43, 0.4);
}
.tab.is-active i {
	opacity: 1;
}
@media (min-width: 1000px) {
	.tab {
		padding: 22px 24px;
		font-size: 18px;
	}
}
.tab-timer {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 100%;
	background: var(--grad);
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.tab.is-active .tab-timer {
	animation: tabTimer var(--tab-time, 6s) linear forwards;
}
.tabs.is-paused .tab.is-active .tab-timer {
	animation: none;
	transform: scaleX(1);
	opacity: 0.4;
}
@keyframes tabTimer {
	to { transform: scaleX(1); }
}

.tab-panels {
	position: relative;
	min-height: 440px;
	padding: 36px 28px 110px;
	border-radius: 32px;
	color: #fff;
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(124, 92, 255, 0.55), transparent 70%),
		radial-gradient(500px 300px at 0% 100%, rgba(61, 220, 151, 0.35), transparent 70%),
		var(--night);
	overflow: hidden;
}
@media (min-width: 768px) {
	.tab-panels {
		padding: 56px 56px 120px;
	}
}
.tab-panels::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(circle at 80% 30%, #000, transparent 70%);
	mask-image: radial-gradient(circle at 80% 30%, #000, transparent 70%);
}
.panel {
	position: relative;
	display: none;
}
.panel.is-active {
	display: block;
	animation: panelIn 0.7s var(--ease);
}
@keyframes panelIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: none; }
}
.panel-ic {
	position: absolute;
	right: -10px;
	top: -20px;
	width: clamp(120px, 22vw, 230px);
	height: clamp(120px, 22vw, 230px);
	color: rgba(255, 255, 255, 0.85);
	opacity: 0.25;
	animation: iconSpin 0.9s var(--ease);
}
.panel-ic svg {
	width: 100%;
	height: 100%;
}
@keyframes iconSpin {
	from { transform: rotate(-25deg) scale(0.7); opacity: 0; }
}
.panel-label {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--mint);
	background: rgba(61, 220, 151, 0.12);
}
.panel h3 {
	position: relative;
	margin-top: 22px;
	max-width: 520px;
	font-size: clamp(30px, 4vw, 50px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
}
.panel p {
	position: relative;
	margin-top: 18px;
	max-width: 520px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.72);
}
.chips {
	position: relative;
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chips li {
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.panel-cta {
	position: absolute;
	left: 28px;
	bottom: 32px;
	color: var(--ink);
	background: #fff;
}
.panel-cta:hover {
	color: #fff;
}
@media (min-width: 768px) {
	.panel-cta {
		left: 56px;
		bottom: 48px;
	}
}
@media (max-width: 480px) {
	.panel-cta {
		right: 28px;
	}
}

.not-found {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 24px;
	padding: 24px 28px;
	border-radius: 24px;
	border: 1.5px dashed #cfd4ea;
}
.nf-ic {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 22px;
	font-weight: 800;
	color: var(--violet-d);
	background: rgba(124, 92, 255, 0.1);
	flex: none;
}
.not-found p {
	flex: 1 1 320px;
	color: var(--muted);
}
.not-found b {
	color: var(--ink);
}

/* ============ Таймлайн ============ */
.timeline {
	position: relative;
	max-width: 980px;
	margin-inline: auto;
	display: grid;
	gap: 28px;
}
.timeline-line {
	position: absolute;
	left: 27px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--line);
	border-radius: 2px;
}
.timeline-line i {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--grad);
	transform-origin: 50% 0;
	transform: scaleY(0);
	border-radius: inherit;
}
.t-step {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 20px;
	align-items: start;
}
.t-dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 800;
	color: var(--muted);
	background: #fff;
	border: 2px solid var(--line);
	transition:
		color 0.5s,
		background 0.5s,
		border-color 0.5s,
		box-shadow 0.5s;
}
.t-step.is-lit .t-dot {
	color: #fff;
	background: var(--violet);
	border-color: var(--violet);
	box-shadow: 0 0 0 8px rgba(124, 92, 255, 0.14);
}
.t-card {
	position: relative;
	padding: 28px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--line);
	transition:
		transform 0.4s var(--ease),
		box-shadow 0.4s var(--ease);
}
.t-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 50px -30px rgba(18, 21, 43, 0.4);
}
.t-ic {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	color: var(--violet-d);
	background: rgba(124, 92, 255, 0.1);
}
.t-ic svg {
	width: 22px;
	height: 22px;
}
.t-card h3 {
	margin-top: 18px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.t-card p {
	margin-top: 8px;
	color: var(--muted);
}
@media (min-width: 900px) {
	.timeline {
		gap: 0;
	}
	.timeline-line {
		left: 50%;
		margin-left: -1px;
	}
	.t-step {
		grid-template-columns: 1fr 56px 1fr;
		gap: 40px;
		padding-bottom: 30px;
	}
	.t-step .t-dot {
		grid-column: 2;
		grid-row: 1;
	}
	.t-step:nth-child(odd) .t-card {
		grid-column: 3;
		grid-row: 1;
	}
	.t-step:nth-child(even) .t-card {
		grid-column: 1;
		grid-row: 1;
		text-align: right;
	}
	.t-step:nth-child(even) .t-ic {
		margin-left: auto;
	}
}

/* ============ О нас ============ */
.about-grid {
	display: grid;
	gap: 70px;
	align-items: center;
}
@media (min-width: 1000px) {
	.about-grid {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}
}
.collage {
	position: relative;
	max-width: 560px;
	width: 100%;
	margin-inline: auto;
	padding: 0 0 60px 0;
}
.collage-main {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	aspect-ratio: 4 / 4.4;
	box-shadow: 0 40px 80px -40px rgba(18, 21, 43, 0.6);
}
.collage-main img,
.collage-small img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.collage-main img {
	object-position: 55% 50%;
}
.collage-small {
	position: absolute;
	right: -10px;
	bottom: 0;
	width: 44%;
	aspect-ratio: 3 / 4;
	border-radius: 26px;
	overflow: hidden;
	border: 6px solid #fff;
	box-shadow: 0 30px 60px -30px rgba(18, 21, 43, 0.7);
}
.tilt {
	transition: transform 0.5s var(--ease);
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.seal {
	position: absolute;
	left: -14px;
	bottom: 20px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: var(--night);
	color: #fff;
	box-shadow: 0 20px 40px -20px rgba(11, 16, 38, 0.8);
}
.seal svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: spin 18s linear infinite;
}
.seal text {
	font-family: var(--font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 3.2px;
	fill: currentColor;
}
.seal-core {
	position: absolute;
	inset: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--grad);
}
.seal-core svg {
	position: static;
	width: 30px;
	height: 30px;
	animation: spin 10s linear infinite reverse;
}
@media (min-width: 640px) {
	.seal {
		width: 170px;
		height: 170px;
		left: -30px;
	}
	.seal-core {
		inset: 48px;
	}
}

.features {
	margin-top: 40px;
	display: grid;
	gap: 16px;
}
@media (min-width: 640px) {
	.features {
		grid-template-columns: 1fr 1fr;
	}
}
.feature {
	position: relative;
	padding: 26px;
	border-radius: 24px;
	background: var(--ice);
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.4s var(--ease),
		background 0.4s;
}
.feature::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, 0.16), transparent 70%);
	opacity: 0;
	transition: opacity 0.4s;
}
.feature:hover {
	transform: translateY(-4px);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
}
.feature:hover::before {
	opacity: 1;
}
.f-ic {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	color: #fff;
	background: var(--night);
	transition:
		background 0.4s,
		transform 0.5s var(--ease);
}
.feature:hover .f-ic {
	background: var(--violet);
	transform: rotate(-8deg) scale(1.06);
}
.f-ic svg {
	width: 22px;
	height: 22px;
}
.feature h3 {
	margin-top: 18px;
	font-size: 19px;
	font-weight: 700;
}
.feature p {
	margin-top: 6px;
	font-size: 15.5px;
	color: var(--muted);
}

/* ============ Отзывы ============ */
.section-night .container {
	position: relative;
	z-index: 1;
}
.reviews-rows {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 20px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-row {
	overflow: hidden;
}
.reviews-track {
	display: flex;
	width: max-content;
	animation: marquee 45s linear infinite;
}
.reviews-row.reverse .reviews-track {
	animation-direction: reverse;
	animation-duration: 52s;
}
.reviews-rows:hover .reviews-track {
	animation-play-state: paused;
}
.review {
	flex: none;
	width: min(400px, 82vw);
	margin-right: 20px;
	padding: 28px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		background 0.3s,
		border-color 0.3s,
		transform 0.3s var(--ease);
}
.review:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(61, 220, 151, 0.4);
	transform: translateY(-4px);
}
.review-stars {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	color: #ffc95a;
	background: rgba(255, 201, 90, 0.1);
	letter-spacing: 3px;
	font-size: 15px;
	line-height: 1.2;
}
.review p {
	margin-top: 14px;
	font-size: 16.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}
.who {
	margin-top: 22px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.who img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.25);
}
.who b {
	font-weight: 700;
}

/* ============ FAQ ============ */
.faq-grid {
	display: grid;
	gap: 48px;
}
@media (min-width: 1000px) {
	.faq-grid {
		grid-template-columns: 0.8fr 1.2fr;
		gap: 80px;
		align-items: start;
	}
	.faq-aside {
		position: sticky;
		top: 120px;
	}
}
.faq-aside .btn {
	margin-top: 30px;
}
.faq-list {
	display: grid;
	gap: 12px;
}
.faq-item {
	border-radius: 22px;
	background: var(--ice);
	border: 1px solid transparent;
	transition:
		background 0.3s,
		border-color 0.3s,
		box-shadow 0.3s;
}
.faq-item:hover {
	border-color: var(--line);
}
.faq-item.is-open {
	background: #fff;
	border-color: var(--line);
	box-shadow: 0 24px 50px -32px rgba(18, 21, 43, 0.45);
}
.faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 24px 26px;
	text-align: left;
	font-size: 18px;
	font-weight: 700;
}
.faq-icon {
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #fff;
	flex: none;
	transition:
		background 0.3s,
		transform 0.4s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2px;
	margin: -1px 0 0 -7px;
	border-radius: 2px;
	background: var(--ink);
	transition:
		transform 0.4s var(--ease),
		background 0.3s;
}
.faq-icon::after {
	transform: rotate(90deg);
}
.faq-item.is-open .faq-icon {
	background: var(--violet);
	transform: rotate(180deg);
}
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
	background: #fff;
}
.faq-item.is-open .faq-icon::after {
	transform: rotate(0);
}
.faq-a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s var(--ease);
}
.faq-a > div {
	overflow: hidden;
}
.faq-a p {
	padding: 0 26px 24px;
	color: var(--muted);
}
.faq-item.is-open .faq-a {
	grid-template-rows: 1fr;
}

/* ============ Заявка ============ */
.contact {
	overflow: hidden;
	color: #fff;
	background: linear-gradient(180deg, var(--night-2), var(--night));
}
.contact-grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 56px;
	align-items: center;
}
@media (min-width: 1000px) {
	.contact-grid {
		grid-template-columns: 1fr 1fr;
		gap: 70px;
	}
}
.contact-lead {
	margin-top: 22px;
	max-width: 500px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.65);
}
.contact-cards {
	margin-top: 36px;
	display: grid;
	gap: 12px;
}
.c-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	line-height: 1.5;
	word-break: break-word;
	transition:
		background 0.3s,
		transform 0.3s var(--ease);
}
a.c-card:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateX(6px);
}
.c-ic {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	color: var(--night);
	background: var(--mint);
	flex: none;
}
.c-ic svg {
	width: 20px;
	height: 20px;
}
.c-card small {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 2px;
}

.form-card {
	position: relative;
	padding: 32px 24px;
	border-radius: 32px;
	color: var(--ink);
	background: #fff;
	box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
}
@media (min-width: 640px) {
	.form-card {
		padding: 44px;
	}
}
.form-card::before {
	content: "";
	position: absolute;
	inset: -8px;
	z-index: -1;
	border-radius: 38px;
	background: var(--grad);
	opacity: 0.45;
	filter: blur(24px);
}
.form-card-head {
	margin-bottom: 26px;
}
.form-card-head h3 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.form-card-head p {
	margin-top: 4px;
	color: var(--muted);
	font-size: 15px;
}
#leadForm {
	display: grid;
	gap: 14px;
}

.field {
	position: relative;
}
.field input,
.field textarea {
	width: 100%;
	padding: 28px 18px 12px;
	border-radius: 16px;
	font-size: 16px;
	background: var(--ice);
	border: 1.5px solid transparent;
	outline: none;
	transition:
		border-color 0.3s,
		background 0.3s,
		box-shadow 0.3s;
}
.field textarea {
	min-height: 130px;
	resize: vertical;
}
.field input:focus,
.field textarea:focus {
	background: #fff;
	border-color: var(--violet);
	box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}
.field label {
	position: absolute;
	left: 19px;
	top: 20px;
	font-size: 16px;
	color: var(--muted);
	pointer-events: none;
	transform-origin: 0 0;
	transition:
		transform 0.25s var(--ease),
		color 0.25s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
	transform: translateY(-11px) scale(0.78);
	color: var(--violet-d);
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#submitBtn {
	margin-top: 6px;
}
.spinner {
	display: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2.5px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	animation: spin 0.8s linear infinite;
}
#submitBtn.is-loading .spinner {
	display: block;
}
#submitBtn.is-loading .btn-arrow {
	display: none;
}
#submitBtn:disabled {
	cursor: wait;
	opacity: 0.85;
}
.form-status {
	min-height: 0;
	font-size: 15px;
	font-weight: 600;
}
.form-status:empty {
	display: none;
}
.form-status.is-error {
	padding: 12px 16px;
	border-radius: 12px;
	color: #c2264b;
	background: #ffe9ee;
}
.form-note {
	font-size: 13px;
	line-height: 1.5;
	color: #8a8fa8;
}

/* ============ Футер ============ */
.footer {
	position: relative;
	overflow: hidden;
	padding: 80px 0 32px;
	color: rgba(255, 255, 255, 0.6);
	background: #070a1c;
}
.footer .logo {
	color: #fff;
}
.footer-grid {
	display: grid;
	gap: 40px;
}
@media (min-width: 900px) {
	.footer-grid {
		grid-template-columns: 1.4fr 0.8fr 1.2fr;
		gap: 60px;
	}
}
.footer-about {
	margin-top: 22px;
	max-width: 380px;
	line-height: 1.65;
}
.footer h4 {
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}
.footer ul {
	display: grid;
	gap: 12px;
}
.footer a {
	transition: color 0.25s;
}
.footer ul a:hover {
	color: var(--mint);
}
.footer-word {
	margin-top: 60px;
	font-size: clamp(48px, 13.5vw, 190px);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.05em;
	white-space: nowrap;
	text-align: center;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
	background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.4), rgba(61, 220, 151, 0.4), transparent);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: wordGlow 10s linear infinite;
	user-select: none;
}
@keyframes wordGlow {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}
.footer-bottom {
	margin-top: 36px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.4);
}

/* Наверх */
.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	color: #fff;
	background: var(--violet);
	box-shadow: 0 14px 30px -10px rgba(124, 92, 255, 0.8);
	opacity: 0;
	transform: translateY(20px) scale(0.8);
	pointer-events: none;
	transition:
		opacity 0.4s,
		transform 0.4s var(--ease),
		background 0.3s;
}
.to-top svg {
	width: 22px;
	height: 22px;
}
.to-top.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.to-top:hover {
	background: var(--violet-d);
}

/* ============ Страница «Заявка отправлена» ============ */
.thanks {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	overflow: hidden;
	padding: 60px 0;
	color: #fff;
	background: linear-gradient(180deg, #070a1c, var(--night) 60%, var(--night-2));
}
.thanks .container {
	position: relative;
	z-index: 2;
	text-align: center;
}
.thanks .logo {
	color: #fff;
}
.thanks-card {
	max-width: 620px;
	margin: 44px auto 0;
	padding: 48px 28px;
	border-radius: 32px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}
@media (min-width: 640px) {
	.thanks-card {
		padding: 60px;
	}
}
.check {
	position: relative;
	width: 96px;
	height: 96px;
	margin: 0 auto;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--night);
	background: var(--grad);
	box-shadow: 0 0 0 12px rgba(61, 220, 151, 0.12);
	animation: pop 0.8s var(--ease) both;
}
.check svg {
	width: 46px;
	height: 46px;
	stroke-dasharray: 30;
	stroke-dashoffset: 30;
	animation: draw 0.6s 0.4s var(--ease) forwards;
}
@keyframes pop {
	from { transform: scale(0.3); opacity: 0; }
}
@keyframes draw {
	to { stroke-dashoffset: 0; }
}
.thanks h1 {
	margin-top: 32px;
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
}
.thanks h1 em {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 600;
	font-size: 1.1em;
}
.thanks-card p {
	margin: 20px auto 0;
	max-width: 440px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.7);
}
.thanks-card .btn {
	margin-top: 34px;
}
.thanks-foot {
	margin-top: 40px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.4);
}

/* ============ Без анимаций ============ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.hero-title .word > span,
	.appear {
		transform: none;
		opacity: 1;
	}
}
