@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/montserrat-400.woff2") format("woff2");
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/montserrat-600.woff2") format("woff2");
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/montserrat-700.woff2") format("woff2");
}

@font-face {
	font-family: Roboto;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/roboto-400.woff2") format("woff2");
}

:root {
	--title: #204251;
	--muted: #6c7380;
	--gray: #8e95a3;
	--ink: #263e50;
	--card: #e8f3fa;
	--surface: #f4f7f7;
	--page: 420px;
	--lead-dock: calc(68px + env(safe-area-inset-bottom, 0px));
}

* {
	box-sizing: border-box;
}

html {
	background: #fff;
}

html,
body {
	margin: 0;
	touch-action: pan-y;
}

body {
	min-height: 100%;
	background: #e7eef2;
	color: var(--title);
	font-family: Roboto, sans-serif;
}

.page {
	width: min(100%, var(--page));
	min-height: 100vh;
	margin: 0 auto;
	padding-bottom: var(--lead-dock);
	background: #fff;
}

a {
	color: inherit;
}

img {
	display: block;
}

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding-bottom: 24px;
	border-radius: 0 0 20px 20px;
	overflow: hidden;
	color: #fff;
}

.hero-photo,
.hero-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.hero-photo {
	object-fit: cover;
	object-position: center 42%;
}

.hero-shade {
	background:
		radial-gradient(
			120% 90% at 100% 0%,
			rgba(0, 10, 17, 1) 0%,
			rgba(3, 23, 34, 0.875) 12%,
			rgba(5, 37, 50, 0.75) 25%,
			rgba(11, 63, 84, 0.5) 50%,
			rgba(21, 116, 150, 0) 100%
		),
		linear-gradient(
			84deg,
			rgba(0, 10, 17, 0.95) 0%,
			#000a11 8%,
			rgba(20, 92, 118, 0.85) 66%,
			rgba(21, 116, 150, 0.4) 100%
		);
}

.hero-bar,
.hero-copy,
.actions {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hero-bar {
	display: flex;
	padding: 24px 24px 0;
}

.logo {
	position: relative;
	width: 56.889px;
	height: 48px;
	flex: none;
	transition: transform 0.15s ease;
}

.logo:hover {
	transform: scale(1.04);
}

.logo img {
	position: absolute;
	left: 7.2%;
	top: 8.49%;
	width: 48.242px;
	height: 39.396px;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 24px;
}

.hero-lead {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.hero-title {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.64px;
}

.hero-title em {
	font-style: italic;
	font-weight: 700;
}

.hero-cta {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.32px;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 24px;
}

.action[hidden],
.modal-phone[hidden],
.modal-social-btn[hidden] {
	display: none;
}

.action {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 calc(50% - 4px);
	width: calc(50% - 4px);
	max-width: calc(50% - 4px);
	min-height: 40px;
	padding: 2px 8px 2px 2px;
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	backdrop-filter: blur(2px);
	filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
	transition: transform 0.15s ease;
}

.action img {
	width: 36px;
	height: 36px;
	flex: none;
}

.action span {
	flex: 1;
}

.action-wa {
	background: #009f46;
}

.action-tg {
	background: linear-gradient(#2aabee, #229ed9);
}

.action-max {
	background: linear-gradient(14deg, #3fc1fd 12%, #3289fc 20%, #8142e4 55%, #a45cdc 100%);
}

.action-phone {
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
	filter: none;
}

.action-lead {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
	height: 40px;
	justify-content: center;
	padding: 8px;
	background: linear-gradient(7deg, #c90d0d, #e20000);
	text-align: center;
}

.action:hover {
	transform: scale(1.03);
}

.lead-dock {
	position: fixed;
	z-index: 15;
	left: 50%;
	bottom: 4px;
	display: flex;
	width: min(calc(100% - 8px), calc(var(--page) - 8px));
	padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 -8px 20px rgba(32, 66, 81, 0.08);
	transform: translate(-50%, calc(100% + 4px));
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0.25s;
}

.lead-dock.is-on {
	visibility: visible;
	transform: translate(-50%, 0);
}

.lead-dock-btn {
	width: 100%;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(7deg, #c90d0d, #e20000);
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.lead-dock-btn:hover {
	transform: scale(1.03);
}

.channels {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 8px;
}

.channels-head,
.channels-note {
	padding: 0 8px;
}

.channels-head h2 {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	color: var(--gray);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.channels-head img {
	width: 24px;
	height: 24px;
}

.channels-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
}

.channel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: var(--card);
	border-radius: 20px;
	overflow: hidden;
}

.channel-calc {
	grid-column: 1 / -1;
	padding: 24px;
}

.channel-cars {
	position: relative;
	grid-row: span 2;
	justify-content: flex-end;
	padding: 16px 8px 8px;
}

.channel-photo {
	position: absolute;
	left: 0;
	top: -96px;
	width: 100%;
	height: 247px;
	object-fit: cover;
	object-position: center 62%;
	transform: scaleX(-1);
	pointer-events: none;
}

.channel-moto {
	padding: 24px 12px 16px;
}
.channel-spec {
	padding: 24px 12px 12px;
}

.channel-cars .channel-copy,
.channel-moto .channel-copy,
.channel-spec .channel-copy {
	position: relative;
	padding: 0 8px;
}

.channel h3 {
	margin: 0;
	color: var(--title);
	font-family: Montserrat, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.68px;
	font-feature-settings: "zero" 1;
}

.channel h3 a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.channel h3 a:hover {
	color: #2aabee;
}

.channel p {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.3;
}

.channel-row {
	display: flex;
	gap: 4px;
	align-items: center;
}

.subscribe {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 28px;
	padding: 4px 4px 4px 12px;
	border-radius: 100px;
	background: #229ed9;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease;
}

.subscribe:hover {
	transform: scale(1.03);
}

.subscribe img {
	width: 20px;
	height: 20px;
	flex: none;
}

.subscribe-fixed {
	width: 138px;
	flex: none;
}

.pill {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 4px 12px;
	border-radius: 100px;
	background: #4d6d82;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.channels-note {
	margin: 0;
	color: var(--gray);
	font-family: Roboto, sans-serif;
	font-size: 13px;
	line-height: normal;
}

.services {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 8px;
}

.service {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 20px;
	background: var(--surface);
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.service:hover:not(.service-japan) {
	border-color: #e20000;
}

.service-photo,
.service-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.service-photo {
	object-fit: cover;
	object-position: center bottom;
}

.service-shade {
	background: rgba(8, 54, 78, 0.9);
}

.service-japan {
	color: #fff;
}

.service-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 32px;
}

.service-japan .service-body {
	padding-right: 48px;
}

.flag {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 24px;
	height: 24px;
}

.service-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: Montserrat, sans-serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.34px;
	color: var(--title);
	transition: color 0.15s ease;
}

.service-japan .service-title {
	color: #fff;
}

.service:hover .service-title {
	color: #e20000;
}

.service-text {
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: -0.14px;
	color: var(--muted);
	font-feature-settings: "zero" 1;
}

.service-japan .service-text {
	color: #fff;
}

.pop {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 90px;
	flex: none;
}

.pop img {
	width: 7.514px;
	height: 10.696px;
}

.pop-bright {
	background: rgba(88, 196, 74, 0.2);
	backdrop-filter: blur(20px);
}

.pop-soft {
	background: #d5edd4;
}

.service:active {
	transform: scale(0.995);
}

.site-wrap {
	padding: 8px;
}

.site-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 22px;
	border: 1px solid var(--surface);
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink);
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: -0.3px;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.site-link:hover {
	border-color: #e20000;
	color: #e20000;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 20;
	height: 100%;
	height: 100dvh;
	overflow: hidden;
}

.modal[hidden] {
	display: none;
}

.modal-overflow {
	position: absolute;
	inset: 0;
	min-height: 100%;
	background: rgba(0, 0, 0, 0.8);
}

.modal-sheet {
	position: absolute;
	top: 4px;
	right: 4px;
	bottom: 4px;
	left: 4px;
	z-index: 1;
	width: auto;
	min-height: 0;
	color: #282b2f;
}

.modal-body {
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 32px;
	border-radius: 20px;
	background: #fff;
	color: #282b2f;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.modal.is-open .modal-overflow,
.modal.is-closing .modal-overflow,
.modal.is-open .modal-close,
.modal.is-closing .modal-close {
	animation: modal-fade 0.3s ease both;
}

.modal.is-open .modal-body,
.modal.is-closing .modal-body {
	animation: modal-sheet-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal.is-closing .modal-overflow,
.modal.is-closing .modal-body,
.modal.is-closing .modal-close {
	animation-direction: reverse;
	animation-duration: 0.22s;
}

@keyframes modal-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes modal-sheet-in {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.modal.is-open .modal-overflow,
	.modal.is-open .modal-body,
	.modal.is-open .modal-close,
	.modal.is-closing .modal-overflow,
	.modal.is-closing .modal-body,
	.modal.is-closing .modal-close,
	.modal.is-open .modal-sheet,
	.modal.is-closing .modal-sheet {
		animation: none;
	}
}

.modal-close {
	position: fixed;
	top: 16px;
	right: 12px;
	z-index: 2;
	padding: 4px;
	border: 0;
	border-radius: 90px;
	background: #fff;
	line-height: 0;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.modal-close:hover {
	transform: scale(1.06);
}

.modal-close svg {
	display: block;
	width: 24px;
	height: 24px;
}

.modal-title {
	width: min(100%, 256px);
	margin: 0 0 24px;
	font-family: Montserrat, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: #282b2f;
}

.modal-text {
	width: min(100%, 256px);
	margin: 0 0 16px;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #282b2f;
}

.modal-form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
	max-width: 360px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-form .field,
.modal-submit {
	width: 100%;
}

.field {
	position: relative;
	width: 256px;
	max-width: 100%;
	height: 48px;
}

.field-wide {
	width: 100%;
}

.field.required::before {
	content: "";
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 2;
	width: 5px;
	height: 5px;
	border-radius: 10px;
	background: linear-gradient(45deg, #c90d0d, #e20000);
}

.field-input {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 16px 16px 0 12px;
	border: 1px solid #d6d6d6;
	border-radius: 10px;
	background: #fff;
	color: #282b2f;
	font-family: Roboto, sans-serif;
	font-size: 15px;
	font-weight: 400;
}

.field-input:hover {
	border-color: rgba(0, 0, 0, 0.2);
}

.field-input:focus {
	outline: none;
	border-color: rgba(0, 0, 0, 0.2);
	padding-top: calc(6px + 1.2em);
	padding-bottom: 6px;
}

.field.active .field-input {
	padding-top: calc(6px + 1.2em);
	padding-bottom: 6px;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #204251;
}

.field-label {
	position: absolute;
	z-index: 1;
	left: 12px;
	right: 16px;
	top: 50%;
	overflow: hidden;
	color: #204251;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 16px;
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
	transform: translateY(-50%);
	transition:
		top 0.15s ease-in-out,
		transform 0.15s ease-in-out,
		font-size 0.15s ease-in-out;
}

.field.active .field-label,
.field-input:focus + .field-label,
.field-input:hover + .field-label {
	top: 6px;
	font-size: 13px;
	font-weight: 300;
	line-height: 1;
	transform: none;
}

.field.error .field-input {
	color: #c90d0d;
	border-color: rgba(201, 13, 13, 0.6);
}

.field.error .field-label {
	color: #c90d0d;
}

.modal-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(45deg, #c90d0d 0%, #e20000 100%);
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.modal-submit:hover {
	transform: scale(1.03);
}

.modal-submit:disabled {
	background: rgba(0, 0, 0, 0.1);
	color: rgba(0, 0, 0, 0.25);
	cursor: not-allowed;
	transform: none;
}

.switch {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	margin: 0;
	color: var(--title);
	cursor: pointer;
}

.switch input {
	position: absolute;
	width: 44px;
	height: 24px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.switch.is-error .switch-track {
	box-shadow: 0 0 0 1px #e20000;
}

.switch-track {
	position: relative;
	flex: 0 0 44px;
	width: 44px;
	height: 24px;
	border-radius: 20px;
	background: #d1d5db;
}

.switch-track:before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s ease;
}

.switch input:checked + .switch-track {
	background: #e20000;
}

.switch input:checked + .switch-track:before {
	transform: translateX(20px);
}

.switch input:focus-visible + .switch-track {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.switch-text {
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: inherit;
}

.switch-text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.switch-text a:hover {
	color: #e20000;
}

.switch-error {
	width: 100%;
	margin: 0;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.3;
	color: #e20000;
}

.modal-footer {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.modal-phone {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #282b2f;
	text-decoration: none;
}

.modal-phone-title {
	font-family: Montserrat, sans-serif;
	font-size: 19px;
	font-weight: 700;
	transition: color 0.15s ease;
}

.modal-phone:hover .modal-phone-title {
	color: #e20000;
	text-decoration: underline;
}

.modal-phone-sub {
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.3;
	color: #6c7380;
}

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

.modal-social-btn {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
	transition: transform 0.15s ease;
}

.modal-social-btn:hover {
	transform: scale(1.08);
}

.modal-social-btn img {
	width: 32px;
	height: 32px;
}

.modal-social-tg {
	background: #2aabee;
}
.modal-social-wa {
	background: #4dcb5b;
}
.modal-social-max {
	background: linear-gradient(135deg, #3fc1fd 0%, #3289fc 30%, #8142e4 60%, #a45cdc 100%);
}

@media (min-width: 768px) {
	.modal-overflow {
		min-height: 100dvh;
	}

	.modal-sheet {
		top: 50%;
		right: auto;
		bottom: auto;
		left: 50%;
		width: 800px;
		max-width: calc(100% - 64px);
		height: auto;
		max-height: calc(100dvh - 48px);
		transform: translate3d(-50%, -50%, 0);
	}

	.modal-body {
		height: auto;
		max-height: calc(100dvh - 48px);
		padding: 64px 72px;
	}

	.modal.is-open .modal-body,
	.modal.is-closing .modal-body {
		animation: none;
	}

	.modal.is-open .modal-sheet,
	.modal.is-closing .modal-sheet {
		animation: modal-sheet-in-wide 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.modal.is-closing .modal-sheet {
		animation-direction: reverse;
		animation-duration: 0.22s;
	}

	@keyframes modal-sheet-in-wide {
		from {
			opacity: 0;
			transform: translate3d(-50%, -46%, 0) scale(0.96);
		}
		to {
			opacity: 1;
			transform: translate3d(-50%, -50%, 0);
		}
	}

	.modal-close {
		top: 28px;
		right: 28px;
	}

	.modal-title {
		font-size: 20px;
	}

	.modal-form {
		width: calc(256px * 2 + 16px);
		max-width: 100%;
	}

	.modal-form .field {
		width: 256px;
	}

	.modal-form .field-wide {
		width: 100%;
	}

	.modal-submit {
		width: 256px;
	}

	.modal-footer {
		flex-flow: row wrap;
		align-items: flex-start;
	}
}

html.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(14px);
}

html.js .reveal.is-in {
  animation: reveal-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--d, 0) * 55ms);
}

html.js .reveal.is-shown {
  opacity: 1;
  animation: none;
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.is-in),
  html.js .reveal.is-in,
  html.js .reveal.is-shown {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .lead-dock {
    transition: none;
  }
}

@media (min-width: 480px) {
	body {
		padding: 24px 0;
	}
	.page {
		min-height: auto;
		border-radius: 24px;
		overflow: hidden;
		/* box-shadow: 0 16px 50px rgba(32, 66, 81, 0.12); */
	}
}
