/* ===== HEADER ===== */
header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 16px rgba(155, 107, 223, 0.08);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Контейнер */
._container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 20px;
}

@media(max-width: 1200px) {
	._container {
		padding: 14px 20px;
	}
}

.header_container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Логотип */
.header_logo {}

.header_logo img {
	width: 40%;
}

/* Меню */
.header_menu {
	display: flex;
	align-items: center;
	gap: 28px;
}

.header_link {
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.15s ease;
}

.header_link:hover {
	color: var(--accent);
	transform: translateY(-2px);
}

/* Кнопка */
.header_button {
	background: var(--accent);
	color: #fff;
	padding: 10px 18px;
	border-radius: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 16px rgba(155, 107, 223, 0.2);
}

.header_button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(155, 107, 223, 0.3);
}

/* ===== АДАПТИВ ===== */

@media(max-width: 768px) {
	.header_logo img {
		width: 100px;
	}

}


/* Бургер для мобильной версии */
.burger {
	display: none;
	width: 32px;
	height: 24px;
	position: relative;
	cursor: pointer;
	background: none;
	border: none;
}

.burger span {
	position: absolute;
	height: 3px;
	width: 100%;
	background: var(--accent);
	border-radius: 3px;
	left: 0;
	transition: all 0.3s ease;
}

.burger span:nth-child(1) {
	top: 0;
}

.burger span:nth-child(2) {
	top: 10px;
}

.burger span:nth-child(3) {
	top: 20px;
}

.burger.active span:nth-child(1) {
	transform: rotate(45deg);
	top: 10px;
}

.burger.active span:nth-child(2) {
	opacity: 0;
}

.burger.active span:nth-child(3) {
	transform: rotate(-45deg);
	top: 10px;
}

@media (max-width: 768px) {
	.burger {
		display: block;
	}

	.header_menu {
		position: fixed;
		top: 70px;
		right: 0px;
		flex-direction: column;
		gap: 18px;
		background: rgba(255, 255, 255, 1);
		padding: 20px 30px;
		border-radius: 12px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
		transform: translateY(-10px);
		opacity: 0;
		pointer-events: none;
		transition: all 0.3s ease;
		width: 100%;
	}

	.header_menu.active {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.burger {
		display: block;
	}
}



main {
	background: linear-gradient(90deg, rgba(70, 112, 250, 1) 0%, rgba(18, 81, 181, 1) 50%, rgba(70, 112, 250, 1) 100%);
}

.main_container {
	display: flex;
	justify-content: space-between;
	padding: 80px 20px 20px 20px;
}

.main_content {
	flex: 1;
	display: flex;
	flex-direction: column;
	margin-top: 50px;
}

.main_title {
	font-size: 42px;
	font-weight: 700;
	color: #fff;
	/* глубокий сиренево-фиолетовый */
	line-height: 1.2;
	margin-bottom: 25px;
}

.main_subtitle {
	font-size: 18px;
	color: #fff;
	line-height: 1.6;
	max-width: 550px;
	margin-bottom: 25px;
}

.main_buttons {
	display: flex;
}

.main_button {
	background: white;
	color: var(--accent);
	font-weight: 600;
	font-size: 18px;
	padding: 16px 36px;
	border-radius: 50px;
	width: fit-content;
	transition: all 0.3s ease;
	cursor: pointer;
	margin-right: 10px;
	white-space: nowrap;
	text-decoration: none;
}

.main_button_2 {
	background-color: transparent;
	color: white;
	font-weight: 600;
	font-size: 18px;
	padding: 16px 36px;
	border-radius: 50px;
	width: fit-content;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid white;
	white-space: nowrap;
	text-decoration: none;
}

.main_button_2:hover {
	transform: translateY(-3px);
}

.main_button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(155, 123, 255, 0.4);
}

.main_img {
	display: flex;
	justify-content: right;
}

.main_img img {
	width: 60%;
	height: auto;
	object-fit: cover;
}


/* 📱 Мобильная адаптация */
@media (max-width: 1100px) {
	.main_container {
		flex-direction: column;
		text-align: center;
		padding: 60px 20px;
	}

	.main_content {
		align-items: center;
	}

	.main_title {
		font-size: 32px;
	}

	.main_subtitle {
		font-size: 16px;
	}

	.main_img {
		justify-content: center;
		margin-top: 25px;
	}

	.main_img img {
		max-width: 350px;
		margin-left: 130px;
	}
}

@media (max-width: 540px) {
	.main_buttons {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.main_button {
		margin-bottom: 25px;
		margin-right: 0px;
	}

	.main_img img {
		margin-left: 70px;
	}
}

/*cars-------cars-------cars-----------cars-------------cars----------cars*/

.cars {
	padding: 60px 0;
	background: var(--bg);
}

.cars_title {
	font-size: 36px;
	font-weight: 700;
	color: var(--text);
	text-align: center;
	margin-bottom: 40px;
}

.cars_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
	gap: 24px;
}

.car_card {
	background: #ffffff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	cursor: pointer;
}

.car_card:hover .car_img_img {
	transform: scale(1.1);
	transition: all 0.3s ease;
}

.car_img {
	overflow: hidden;
	border-radius: 12px;
	margin-bottom: 14px;
}

.car_img_img {
	width: 100%;
	border-radius: 12px;
	transition: all 0.3s ease;

}

.car_name {
	font-size: 20px;
	font-weight: 600;
	color: var(--text);
}

.car_info {
	color: var(--muted);
	margin: 6px 0 10px;
}

.car_price {
	font-size: 22px;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 16px;
}

.car_btn {
	text-align: center;
	padding: 12px 0;
	border-radius: 10px;
	font-weight: 600;
	background: var(--accent);
	color: #fff;
	transition: 0.3s;
	margin-top: auto;
	text-decoration: none;
}

.car_btn:hover {
	background: #3b78d2;
}

@media(max-width: 550px) {
	.cars_grid {
		grid-template-columns: 1fr;
	}
}

/*why-------why-------why-----------why-------------why----------why*/

.why {
	padding: 70px 0;

}

.why_title {
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 40px;
}

.why_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 32px;
}

.why_item {
	background: #fff;
	padding: 28px;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
	text-align: center;
	transition: .3s;
}

.why_item:hover {
	transform: translateY(-6px);
}

.why_icon {
	font-size: 40px;
	margin-bottom: 18px;
	color: var(--accent);
}

.why_item h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 10px;
}

.why_item p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
}


/*services-------services-------services-----------services-------------services----------services*/

.services {
	padding: 70px 0;
	background: var(--bg);
}

.services_title {
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 40px;
}

.accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.accordion_item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.accordion_header {
	width: 100%;
	padding: 20px;
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
	background: #fff;
	border: none;
	outline: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.accordion_header .arrow {
	font-size: 22px;
	color: var(--accent);
	transition: 0.3s;
}

.accordion_item.active .arrow {
	transform: rotate(45deg);
}

.accordion_body {
	max-height: 0;
	overflow: hidden;
	padding: 0 20px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion_item.active .accordion_body {
	max-height: 200px;
	padding: 0 20px 20px;
}


.how {
	background: var(--bg);
	padding: 64px 0;
	color: var(--text);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.how__title {
	text-align: center;
	font-size: 32px;
	margin-bottom: 28px;
	font-weight: 700;
	color: var(--text);
}

/* Grid: шаги + детали */
.how__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}

/* Шаги */
.how__steps {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.step {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: #fff;
	padding: 18px;
	border-radius: var(--radius);
	box-shadow: 0 6px 20px rgba(22, 27, 44, 0.06);
}

.step__num {
	min-width: 56px;
	height: 56px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(83, 148, 253, 0.12), rgba(83, 148, 253, 0.06));
	color: var(--accent);
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 20px;
	border: 1px solid rgba(83, 148, 253, 0.12);
}

.step__title {
	margin: 0 0 6px;
	font-size: 18px;
	color: var(--text);
	font-weight: 700;
}

.step__text {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Details — правый блок */
.how__details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Стили для details */
.info {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 6px 18px rgba(22, 27, 44, 0.05);
	overflow: hidden;
	border: 1px solid rgba(26, 26, 26, 0.04);
}

.info__summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
	color: var(--text);
	gap: 12px;
}

.info[open] .info__summary {
	background: linear-gradient(90deg, rgba(83, 148, 253, 0.04), rgba(83, 148, 253, 0.02));
}

.info__tag {
	font-weight: 600;
	color: var(--accent);
	font-size: 13px;
	opacity: 0.95;
}

/* Контент внутри details */
.info__content {
	padding: 14px 18px 18px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

/* Чек-лист */
.checklist,
.notes {
	padding-left: 18px;
	margin: 8px 0 0;
}

.checklist li,
.notes li {
	margin-bottom: 8px;
	position: relative;
	padding-left: 18px;
}

.checklist li::before,
.notes li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--accent);
	font-weight: 700;
}

/* CTA */
.how__cta {
	margin-top: 22px;
	display: flex;
	gap: 12px;
	justify-content: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	font-size: 15px;
	border: 1px solid transparent;
}

.btn--accent {
	background: linear-gradient(90deg, var(--accent), var(--accent-light));
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--accent);
	border-color: rgba(83, 148, 253, 0.12);
}

/* Responsive */
@media (max-width: 900px) {
	.how__grid {
		grid-template-columns: 1fr;
	}

	.how__title {
		font-size: 28px;
	}

	.step__num {
		min-width: 48px;
		height: 48px;
		font-size: 18px;
	}
}


/*modal-------modal-------modal-----------modal-------------modal----------modal*/

/* MODAL */
.modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
	z-index: 999;
}

.modal.show {
	opacity: 1;
	pointer-events: auto;
}

.modal_content {
	background: #fff;
	width: 100%;
	max-width: 420px;
	padding: 28px;
	border-radius: 14px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	animation: modalShow 0.3s ease;
}

@keyframes modalShow {
	from {
		transform: translateY(20px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.modal_close {
	float: right;
	font-size: 26px;
	cursor: pointer;
	color: #999;
}

.modal_title {
	margin-top: 0;
	font-size: 22px;
	margin-bottom: 16px;
	text-align: center;
}

.modal_label {
	margin-top: 10px;
	display: block;
	color: #444;
	font-weight: 600;
	font-size: 14px;
}

.modal_input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 10px;
	margin-top: 6px;
	font-size: 15px;
}

.modal_btn {
	width: 100%;
	padding: 12px;
	background: #5394fd;
	border: none;
	margin-top: 20px;
	color: #fff;
	font-size: 16px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	transition: 0.2s;
}

.modal_btn:hover {
	background: #3c7ff3;
}


/*footer-------footer-------footer-----------footer-------------footer----------footer*/

.footer {
	background: linear-gradient(90deg, rgba(70, 112, 250, 1) 0%, rgba(18, 81, 181, 1) 50%, rgba(70, 112, 250, 1) 100%);
	color: #fff;
	padding: 60px 0 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.footer_top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
}

.footer_logo {
	font-size: 28px;
	font-weight: 700;
	color: #fff;
}

.footer_text {
	opacity: 0.7;
	margin-top: 10px;
}

.footer_title {
	font-size: 18px;
	margin-bottom: 15px;
	font-weight: 600;
}

.footer_list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer_list a {
	color: #fff;
	opacity: 0.8;
	transition: 0.2s;
}

.footer_list a:hover {
	opacity: 1;
	color: #3c7ff3;
}

.footer_socials {
	display: flex;
	gap: 12px;
}

.social_icon {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	transition: 0.2s;
	color: #fff;
}

.social_icon:hover {
	border-color: #3c7ff3;
	color: #3c7ff3;
}

.footer_bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer_bottom p {
	opacity: 0.6;
}

.footer_policy {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.footer_policy a {
	opacity: 0.6;
	transition: 0.2s;
}

.footer_policy a:hover {
	opacity: 1;
	color: #FF7A00;
}

/* Mobile */
@media(max-width: 480px) {
	.footer_top {
		grid-template-columns: 1fr;
	}
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}


.success_modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s;
	z-index: 9999;
}

.success_modal.show {
	opacity: 1;
	visibility: visible;
}

.success_box {
	background: #fff;
	padding: 30px;
	border-radius: 15px;
	max-width: 350px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	animation: popup 0.25s ease;
}

.success_box h3 {
	margin-bottom: 10px;
	color: #5394fd;
}

.success_box p {
	color: #333;
	margin-bottom: 20px;
	font-size: 15px;
}

.success_box button {
	background: #5394fd;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 15px;
	transition: 0.2s;
}

.success_box button:hover {
	background: #3a7ee0;
}

@keyframes popup {
	from {
		transform: scale(0.7);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}