@import url('https://fonts.googleapis.com/css2?family=Asap+Sharp:ital,wght@0,100..900;1,100..900&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Asap Sharp', sans-serif;
}

html {
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE и старый Edge */
}

html::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera, новый Edge */
}

/* Если нужно применить ещё и к body */
body {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

body::-webkit-scrollbar {
	display: none;
}

.btn_address_sat {
	display: flex;
	align-items: center;
	text-align: center;
	gap: 20px;
}

.btn_address {
	text-decoration: none;
	color: white;
	background: #366ee6;
	padding: 4px 12px;
	border: 1px solid #366ee6;
	border-radius: 10px;
}

.btn_address_1 {
	margin-left: 10.5px;
}

.btn_address_2 {
	margin-left: 9.5px;
}

.btn_address_3 {
}

/*TODO: Header */
header {
	position: fixed;
	top: 20px;
	left: 0;
	width: 100%;
	z-index: 180;
	transition:
		transform 0.35s ease,
		opacity 0.35s ease;
}

.login-text {
	display: flex;
	justify-content: center;
	font-size: 29px;
	font-weight: 600;
	padding-bottom: 13px;
	color: #366ee6;
}

.header {
	display: flex;
	justify-content: space-between;
	text-align: center;
	align-items: center;
	padding: 10px 30px;
	margin: 0 30px;
	border-radius: 20px;

	background: rgba(216, 216, 216, 0.03);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.hide {
	transform: translateY(-120%);
	opacity: 0;
	pointer-events: none;
}

.logo {
	display: flex;
	text-align: center;
	align-items: center;
	gap: 5px;
	text-decoration: none;
}

.logo img {
	width: 35px;
}

.logo p {
	font-family: 'Asap Sharp', sans-serif;
	font-size: 25px;
	font-weight: 600;
	color: #366ee6;
}

.items li a {
	display: inline-block;
	position: relative;
	text-decoration: none;
	color: black;
	transition: color 0.4s ease;
}

.items li a::after {
	content: '';
	position: absolute;
	top: 22px;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2.9px;
	background-color: #9a9a9a;
	border-radius: 90px;
	transform: scaleX(0);
	transform-origin: left;
	transition:
		transform 0.4s ease,
		background-color 0.4s ease;
}

.items li a:hover::after {
	transform: scaleX(1);
	background-color: #9a9a9a;
	border-radius: 90px;
}

.items li a.active {
	color: #366ee6;
}

.items li a.active::after {
	transform: scaleX(1);
	background-color: #366ee6;
	border-radius: 70px;
}

.items li a:hover {
	color: #9a9a9a;
}

ul {
	list-style-type: none;
}

.items {
	display: flex;
	align-items: center;
	text-align: center;
	gap: 45px;
}

/* ============ Бургер-кнопка ============ */
.burger {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	padding: 0;
	z-index: 210;
	box-sizing: border-box;
	transition: background-color 0.25s ease;
}

.burger:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.burger.active {
	background-color: rgba(0, 0, 0, 0.06);
}

.burger span {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	background-color: #1a1a1a;
	border-radius: 2px;
	transform: translate(-50%, -50%);
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}

.burger span:nth-child(1) {
	top: calc(50% - 7px);
}
.burger span:nth-child(2) {
	top: 50%;
}
.burger span:nth-child(3) {
	top: calc(50% + 7px);
}

/* активное состояние — крестик */
.burger.active span:nth-child(1) {
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}
.burger.active span:nth-child(2) {
	opacity: 0;
}
.burger.active span:nth-child(3) {
	top: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* ============ Адаптив хедера ============ */
@media (max-width: 1024px) {
	/* хедер всегда поверх выезжающей панели, чтобы крестик был виден */
	header {
		z-index: 210;
	}

	.header {
		padding: 10px 18px;
		margin: 0 12px;
	}

	.burger {
		display: flex;
	}

	.nav-wrapper {
		position: fixed;
		top: 0;
		right: -100%;
		width: min(320px, 85%);
		height: 100vh;
		background: #ffffff;
		box-shadow: -6px 0 30px rgba(0, 0, 0, 0.12);
		padding: 90px 24px 24px;
		overflow-y: auto;
		overflow-x: hidden;
		transition: right 0.35s ease;
		z-index: 190;
		border-radius: 20px;
	}

	.nav-wrapper.open {
		right: 0;
	}

	.items {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.items > li {
		width: 100%;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	}

	.items li a {
		display: block;
		padding: 14px 4px;
		width: 100%;
		white-space: normal;
	}

	.items li a::after {
		display: none;
	}

	/* дропдауны — аккордеон, полностью сбрасываем десктопные стили */
	.has-dropdown .dropdown-list {
		position: static !important;
		display: none;
		width: 100%;
		min-width: 0;
		transform: none !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		box-shadow: none;
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		padding: 0 0 4px 12px;
		margin: 0;
		border-radius: 0;
	}

	.has-dropdown.open > .dropdown-list {
		display: block;
	}

	.dropdown-list li a {
		white-space: normal;
		font-size: 13.5px;
		color: black;
		padding: 10px 8px;
	}

	.dropdown-toggle {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.dropdown-toggle::after {
		content: '▾';
		color: inherit;
		transition: transform 0.3s ease;
	}

	.has-dropdown.open > .dropdown-toggle::after {
		transform: rotate(180deg);
	}

	body.menu-open {
		overflow: hidden;
	}
}

@media (max-width: 480px) {
	.logo p {
		font-size: 20px;
	}
	.logo img {
		width: 28px;
	}
	.user-account-name {
		max-width: 60px;
	}
	.button-header {
		width: 70px;
	}
}

.button-header {
	border: none;
	background-color: #366ee6;
	border-radius: 10px;
	height: 35px;
	width: 80px;
	font-size: 12px;
	color: white;
	cursor: pointer;
	transition:
		background-color 0.4s ease,
		transform 0.2s ease;
}

.button-header:hover {
	background-color: #074ce0;
	transform: translateY(-2px);
}

.has-dropdown {
	position: relative;
}

.dropdown-list {
	position: absolute;
	top: calc(100% + 22px);
	left: 50%;
	transform: translateX(-50%) translateY(-10px);
	min-width: 180px;
	padding: 10px 0;
	margin: 0;
	list-style: none;

	background: rgba(255, 255, 255, 0.942);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 14px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);

	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.dropdown-list.open {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.dropdown-list li a {
	display: block;
	padding: 8px 20px;
	font-size: 13px;
	white-space: nowrap;
	color: black;
	text-decoration: none;
	transition:
		color 0.3s ease,
		background-color 0.3s ease;
}

.dropdown-list li a::after {
	display: none;
}

.dropdown-list li a:hover {
	color: #366ee6;
	background-color: rgba(54, 110, 230, 0.08);
}

.auth-switch {
	display: flex;
	padding: 4px;
	margin-bottom: 28px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.05);
}

.auth-switch-item {
	flex: 1;
	text-align: center;
	padding: 9px 0;
	border-radius: 9px;
	font-size: 13px;
	text-decoration: none;
	color: #6b6b6b;
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
}

.auth-switch-item.active {
	background: #ffffff;
	color: #366ee6;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.auth-title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 600;
	color: #1a1a1a;
}

.auth-subtitle {
	margin: 0 0 26px;
	font-size: 13px;
	color: #7a7a7a;
}

/* форма */

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.auth-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.auth-field label {
	font-size: 12px;
	color: #4a4a4a;
}

.auth-field input {
	padding: 11px 14px;
	font-size: 14px;
	font-family: inherit;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.7);
	outline: none;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.auth-field input::placeholder {
	color: #b0b0b0;
}

.auth-field input:focus {
	border-color: #366ee6;
	box-shadow: 0 0 0 3px rgba(54, 110, 230, 0.15);
}

.auth-field input:invalid:not(:placeholder-shown) {
	border-color: #e05555;
}

/* строка "запомнить / забыли пароль" */

.auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: -2px;
}

.auth-checkbox {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	color: #4a4a4a;
	cursor: pointer;
}

.auth-checkbox input {
	width: 15px;
	height: 15px;
	accent-color: #366ee6;
	cursor: pointer;
}

.auth-checkbox-terms {
	margin-top: 2px;
}

.auth-link {
	font-size: 12px;
	color: #366ee6;
	text-decoration: none;
}

.auth-link:hover {
	text-decoration: underline;
}

/* ошибка */

.auth-error {
	margin: -6px 0 0;
	font-size: 12px;
	color: #e05555;
	min-height: 14px;
}

/* кнопка отправки */

.auth-submit {
	margin-top: 6px;
	padding: 12px 0;
	border: none;
	border-radius: 10px;
	background-color: #366ee6;
	color: white;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition:
		background-color 0.4s ease,
		transform 0.2s ease;
}

.auth-submit:hover {
	background-color: #074ce0;
	transform: translateY(-2px);
}

.auth-footer {
	margin: 22px 0 0;
	text-align: center;
	font-size: 12px;
	color: #7a7a7a;
}

.auth-footer a {
	color: #366ee6;
	text-decoration: none;
}

.auth-footer a:hover {
	text-decoration: underline;
}

/*TODO: FirstPage */
.first {
	padding-top: 160px;
	background-color: #ebebfa;
}

.first-page {
	min-height: 100vh;
}

.first_page_img {
	color: #366ee6;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0 20px;
}

.first_page_img img {
	width: 160px;
	margin-bottom: 40px;
}

.hero-title {
	font-family: 'Asap Sharp', sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
	max-width: 800px;
}

.hero-subtitle {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.6;
	letter-spacing: 0.5px;
	max-width: 620px;
	margin-top: 24px;
	color: black;
}

.hero-tagline {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 1px;
	margin-top: 20px;
	color: #6fa2ff;
}

/*TODO: SecondPage */
.home-away {
	padding: 140px 60px;
	background-color: #ebebfa;
}

.home-away-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 90px auto;
}

.home-away-header .section-title {
	font-family: 'Asap Sharp', sans-serif;
	font-size: 40px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #4c4c4c;
	margin-top: 16px;
}

.home-away-body {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 80px;
	max-width: 1200px;
	margin: 0 auto 100px auto;
}

.story-column {
	position: relative;
	padding-left: 36px;
}

.timeline-line {
	position: absolute;
	left: 5px;
	top: 8px;
	bottom: 8px;
	width: 1px;
	background: linear-gradient(
		180deg,
		rgba(111, 162, 255, 0.6) 0%,
		rgba(255, 255, 255, 0.06) 100%
	);
}

.timeline-item {
	position: relative;
	margin-bottom: 48px;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-dot {
	position: absolute;
	left: -36px;
	top: 4px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #f4f4fe;
	border: 2px solid #6fa2ff;
}

.timeline-item p {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.85;
	color: rgb(80, 79, 79);
}

.stats-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.stat-card {
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.035) 0%,
		rgba(255, 255, 255, 0.015) 100%
	);
	border: 1px solid #ebebfa;
	border-radius: 18px;
	padding: 28px 32px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	transition:
		transform 0.4s ease,
		background-color 0.4s ease;
}

.stat-card:hover {
	transform: translateY(-4px);
	border-color: rgba(111, 162, 255, 0.35);
}

.stat-card-accent {
	background: linear-gradient(
		135deg,
		rgba(54, 110, 230, 0.16) 0%,
		rgba(255, 255, 255, 0.02) 70%
	);
}

.stat-card-us {
	background: linear-gradient(
		135deg,
		rgba(54, 110, 230, 0.16) 0%,
		rgba(255, 255, 255, 0.02) 70%
	);
}

.stat-number {
	font-family: 'Asap Sharp', sans-serif;
	font-size: 40px;
	font-weight: 600;
	color: #6fa2ff;
	white-space: nowrap;
}

.stat-label {
	font-size: 14px;
	font-weight: 300;
	color: rgb(80, 79, 79);
	text-align: right;
	max-width: 160px;
	line-height: 1.5;
}

.home-away-quote {
	max-width: 780px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-mark {
	width: 32px;
	height: 32px;
	color: rgba(36, 112, 255, 0.4);
	margin-bottom: 20px;
}

.home-away-quote p {
	font-size: 19px;
	font-weight: 300;
	font-style: italic;
	line-height: 1.8;
	color: rgba(79, 79, 79, 0.75);
}

/*TODO: ThirdPage */
.why-us {
	padding: 140px 60px;
	background-color: #ebebfa;
}

.why-us-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 80px auto;
}

.section-label {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #0059ff;
	margin-bottom: 16px;
	font-weight: 500;
}

.section-title {
	font-family: 'Asap Sharp', sans-serif;
	font-size: 38px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
	color: #4c4c4c;
}

.section-subtitle {
	font-size: 16.5px;
	font-weight: 300;
	line-height: 1.75;
	color: #4c4c4c;
}

.bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(220px, auto);
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.bento-card {
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.035) 0%,
		rgba(255, 255, 255, 0.015) 100%
	);
	border: 1px solid #ebebfa;
	border-radius: 20px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	transition:
		border-color 0.4s ease,
		background 0.4s ease,
		transform 0.4s ease;
	position: relative;
	overflow: hidden;
}

.bento-card:hover {
	border-color: rgba(111, 162, 255, 0.35);
	transform: translateY(-4px);
}

.bento-age {
	background: linear-gradient(
		160deg,
		rgba(130, 164, 238, 0.12) 0%,
		rgba(255, 255, 255, 0.02) 33%
	);
}

.bento-large {
	grid-column: span 2;
	grid-row: span 2;
	background: linear-gradient(
		160deg,
		rgba(54, 110, 230, 0.12) 0%,
		rgba(255, 255, 255, 0.02) 50%
	);
	justify-content: center;
}

.bento-large h3 {
	font-size: 26px;
}

.bento-large p {
	font-size: 15.5px;
}

.bento-large .bento-icon {
	width: 52px;
	height: 52px;
	margin-bottom: 24px;
}

.bento-card:not(.bento-large):not(.bento-wide) {
	grid-column: span 2;
}

.bento-wide {
	grid-column: span 4;
}

.bento-wide-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.bento-wide-content > div:first-child {
	max-width: 320px;
}

.bento-icon {
	width: 34px;
	height: 34px;
	color: #6fa2ff;
	margin-bottom: 18px;
}

.bento-icon svg {
	width: 100%;
	height: 100%;
}

.bento-card h3 {
	font-size: 18.5px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #4c4c4c;
}

.bento-card p {
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.65;
	color: #636363;
}

.extra-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 510px;
}

.extra-tags span {
	font-size: 15px;
	font-weight: 400;
	color: #4c4c4c;
	padding: 10px 16px;
	border: 1px solid rgba(111, 162, 255, 0.3);
	border-radius: 20px;
	transition:
		border-color 0.3s ease,
		color 0.3s ease,
		background 0.3s ease;
}

.extra-tags span:hover {
	color: #6fa2ff;
	border-color: #6fa2ff;
	background: rgba(111, 162, 255, 0.08);
}

/*TODO: FourthPage */
.bridge-section {
	padding: 140px 60px;
	background-color: #ebebfa;
	color: white;
}

.bridge-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 80px auto;
}

.bridge-header .section-title {
	font-family: 'Asap Sharp', sans-serif;
	font-size: 38px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin: 16px 0 20px 0;
	color: #4c4c4c;
}

.bridge-header .section-subtitle {
	font-size: 16.5px;
	font-weight: 300;
	line-height: 1.75;
	color: #4c4c4c;
}

.bridge-paths {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 30px;
	max-width: 1100px;
	margin: 0 auto 90px auto;
}

.path-card {
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.035) 0%,
		rgba(255, 255, 255, 0.015) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 40px;
	transition:
		border-color 0.4s ease,
		transform 0.4s ease;
}

.path-card:hover {
	border-color: rgba(111, 162, 255, 0.35);
	transform: translateY(-4px);
}

.path-icon {
	width: 40px;
	height: 40px;
	color: #6fa2ff;
	margin-bottom: 22px;
}

.path-icon svg {
	width: 100%;
	height: 100%;
}

.path-tag {
	display: inline-block;
	font-size: 11.5px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(0, 89, 255, 0.8);
	margin-bottom: 14px;
	font-weight: 500;
}

.path-card h3 {
	font-size: 21px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #4c4c4c;
}

.path-card p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.75;
	color: #4c4c4c;
}

.path-connector {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

.connector-line {
	width: 1px;
	flex: 1;
	background: linear-gradient(
		180deg,
		transparent,
		rgba(111, 162, 255, 0.5),
		transparent
	);
	min-height: 40px;
}

.connector-node {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	background: rgba(111, 162, 255, 0.08);
	border: 1px solid rgba(111, 162, 255, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 11px;
	color: #6fa2ff;
	margin: 14px 0;
}

.connector-node svg {
	width: 100%;
	height: 100%;
}

.bridge-footer {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.bridge-footer p {
	font-size: 17px;
	font-weight: 300;
	line-height: 1.75;
	color: #4c4c4c;
	margin-bottom: 36px;
}

.bridge-cta {
	display: inline-block;
	padding: 15px 36px;
	background-color: #366ee6;
	color: white;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	border-radius: 10px;
	transition:
		background-color 0.4s ease,
		transform 0.25s ease;
}

.bridge-cta:hover {
	background-color: #074ce0;
	transform: translateY(-3px);
}

/*TODO: FifthPage */
.final-cta {
	padding: 0 60px;
	background-color: #ebebfa;
	display: flex;
	justify-content: center;
	align-items: center;
}

.final-cta-container {
	position: relative;
	max-width: 1080px;
	width: 100%;
	text-align: center;
	padding: 100px 80px;
	border-radius: 28px;
	overflow: hidden;
}

.final-cta-container::before,
.final-cta-container::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 45%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	filter: blur(8px);
	z-index: 0;
}

.final-cta-container::before {
	left: -5px;
	background-image: url('/front/src/left.png');
}

.final-cta-container::after {
	right: -5px;
	background-image: url('/front/src/right.png');
}

.text {
	position: relative;
	z-index: 1;
	padding-bottom: 200px;
}

.two-photos {
	display: flex;
	gap: 20px;
}

.photo-item {
	flex: 1;
	height: 300px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 16px;
}

.final-glow {
	position: absolute;
	top: -100px;
	left: 50%;
	width: 500px;
	height: 300px;
	bottom: 500px;
	transform: translateX(-50%);
	pointer-events: none;
}

.final-cta-container > * {
	position: relative;
	z-index: 1;
}

.final-title {
	font-family: 'Asap Sharp', sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.5px;
	color: black;
	margin-bottom: 24px;
}

.final-text {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.8;
	color: black;
	max-width: 560px;
	margin: 0 auto 44px auto;
}

.final-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 60px;
}

.final-btn {
	display: inline-block;
	padding: 15px 34px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.35s ease;
}

.final-btn-primary {
	background-color: #366ee6;
	color: white;
}

.final-btn-primary:hover {
	background-color: #074ce0;
	transform: translateY(-3px);
}

.final-btn-secondary {
	background: transparent;
	color: #4c4c4c;
	border: 1px solid #4c4c4c;
}

.final-btn-secondary:hover {
	border-color: #6fa2ff;
	color: #6fa2ff;
	transform: translateY(-3px);
}

/*TODO: Footer */
.site-footer {
	background-color: #e8e8ff;
	color: white;
	padding: 90px 60px 30px 60px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 50px;
	max-width: 1300px;
	margin: 0 auto 60px auto;
}

.footer-col h4 {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
	color: #010101;
}

.footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-col ul li,
.footer-col ul li a {
	font-size: 14px;
	font-weight: 300;
	color: #4c4c4c;
	text-decoration: none;
	transition: color 0.3s ease;
	list-style: none;
}

.footer-col ul li a:hover {
	color: #6fa2ff;
}

.footer-logo {
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
}

.footer-brand h4 {
	margin-bottom: 14px;
}

.footer-brand p {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.7;
	color: #4c4c4c;
	margin-bottom: 22px;
	max-width: 300px;
}

.footer-socials {
	display: flex;
	gap: 12px;
}

.footer-socials a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4c4c4c;
	transition:
		border-color 0.3s ease,
		color 0.3s ease;
}

.footer-socials a svg {
	width: 16px;
	height: 16px;
}

.footer-socials a:hover {
	border-color: #6fa2ff;
	color: #6fa2ff;
}

.footer-contacts li {
	color: #4c4c4c;
}

.footer-contacts li a {
	color: #4c4c4c;
}

.footer-outline-btn {
	display: inline-block;
	margin-top: 24px;
	padding: 12px 26px;
	border: 1px solid #4c4c4c;
	border-radius: 10px;
	color: #4c4c4c;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition:
		border-color 0.3s ease,
		color 0.3s ease;
}

.footer-outline-btn:hover {
	border-color: #6fa2ff;
	color: #6fa2ff;
}

.footer-cta-col {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}

.footer-cta-btn {
	display: inline-block;
	padding: 16px 28px;
	background-color: #366ee6;
	color: white;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: 10px;
	text-align: center;
	white-space: nowrap;
	transition:
		background-color 0.35s ease,
		transform 0.25s ease;
}

.footer-cta-btn:hover {
	background-color: #074ce0;
	transform: translateY(-3px);
}

.footer-bottom {
	max-width: 1300px;
	margin: 0 auto;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-bottom p {
	font-size: 13px;
	font-weight: 300;
	color: #4c4c4c;
}

.footer-bottom p a {
	color: #4c4c4c;
	text-decoration: none;
}

.footer-bottom p a:hover {
	color: #6fa2ff;
}

.footer-bottom-links {
	display: flex;
	gap: 24px;
}

.footer-bottom-links a {
	font-size: 13px;
	font-weight: 300;
	color: #4c4c4c;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
	color: #6fa2ff;
}

.big_bg {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
}

.footer-logo-bg {
	width: 130px;
	height: 170px;
	margin-bottom: 16px;
}

.footer_address {
	font-weight: 600;
	margin-bottom: 3px;
}

@media (max-width: 1024px) {
	.header {
		justify-content: space-between; /* логотип слева, остальное справа */
	}

	.header-auth {
		order: 2;
	}

	.burger {
		order: 3;
		margin-left: -70px; /* расстояние между "Войти" и бургером */
	}

	.first {
		padding-top: 130px;
	}

	.hero-title {
		font-size: 32px;
	}
	.hero-subtitle {
		font-size: 16px;
	}
	.hero-tagline {
		font-size: 17px;
		padding-top: 50px;
	}

	.home-away,
	.why-us,
	.bridge-section {
		padding: 50px 24px;
	}

	.home-away-header .section-title,
	.bridge-header .section-title,
	.why-us .section-title {
		font-size: 28px;
	}

	.home-away-body {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.stat-label {
		text-align: left;
		max-width: none;
	}

	/* бенто-сетка: всё в один столбец */
	.bento-grid {
		grid-template-columns: 1fr;
	}
	.bento-large,
	.bento-card:not(.bento-large):not(.bento-wide),
	.bento-wide {
		grid-column: span 1;
		grid-row: span 1;
	}

	.bridge-paths {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.path-connector {
		flex-direction: row;
		height: auto;
		width: 100%;
	}
	.connector-line {
		flex: 1;
		height: 1px;
		min-height: 0;
	}
	.connector-node {
		margin: 0 10px;
	}

	.final-cta {
		padding: 0 24px;
	}
	.final-cta-container {
		padding: 60px 30px;
	}
	.final-cta-container::before,
	.final-cta-container::after {
		width: 55%;
		opacity: 0.5;
	}
	.final-title {
		font-size: 26px;
	}
	.final-text {
		font-size: 15px;
	}
	.final-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.final-btn {
		text-align: center;
	}

	.site-footer {
		padding: 60px 24px 24px;
	}
	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
	.footer-cta-col {
		justify-content: flex-start;
	}
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	.footer-top {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero-title {
		font-size: 26px;
	}
	.section-title {
		font-size: 24px;
	}
	.bento-wide-content {
		flex-direction: column;
		align-items: flex-start;
	}
}
