/* CSS Variables based on Design System */
:root {
	--primary-blue: #1e5fa8;
	--primary-hover: #174d8e;
	--sky-blue: #4a9fd4;
	--text-dark: #1a2537;
	--text-muted: #536480;
	--bg-page: #f4f6f9;
	--surface: #ffffff;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 20px;
	--radius-pill: 9999px;
	--shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
	--apple-bezier: cubic-bezier(0.16, 1, 0.3, 1);
	--color-stars: #f5a623;
	--color-white: #ffffff;
}

body {
	font-family: 'Inter', sans-serif;
	color: var(--text-dark);
	background-color: var(--bg-page);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-montserrat {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Apple Style Glass Header */
.glass-header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 970;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.3s ease;
}
.navbar-brand {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	color: var(--primary-blue) !important;
	font-size: 1.5rem;
	letter-spacing: -0.03em;
}
.nav-link {
	font-weight: 500;
	color: var(--text-dark) !important;
	font-size: 1.2rem;
	transition: color 0.2s;
}
.nav-link:hover {
	color: var(--primary-blue) !important;
}

/* Buttons */
.btn-apple-primary {
	background-color: var(--primary-blue);
	color: white;
	border-radius: var(--radius-pill);
	padding: 12px 28px;
	font-weight: 600;
	transition: all 0.3s var(--apple-bezier);
	border: none;
	
}
.btn-apple-primary:hover {
	background-color: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(30, 95, 168, 0.3);
	color: white;
}
.btn-apple-outline {
	background-color: transparent;
	color: var(--primary-blue);
	border: 2px solid var(--primary-blue);
	border-radius: var(--radius-pill);
	padding: 10px 26px;
	font-weight: 600;
	transition: all 0.3s var(--apple-bezier);
	
}
.btn-apple-outline:hover {
	background-color: var(--primary-blue);
	color: white;
}

.logo {
	width: 300px;
}

/* Hero Section */
.hero-section {
	position: relative;
	height: 100vh;
	min-height: 800px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: 0; /* offset for header */
}

.hero-section .hero-content{
	height: 100%;
}

.hero-section .row{
	height: 100%;
}

.hero-bg-image {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	z-index: -2;
	object-fit: cover;
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(26, 37, 55, 0.3) 0%, rgba(30, 95, 168, 0.3) 100%);
	z-index: -1;
}
.hero-title {
	font-size: 4rem;
	color: white;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}
.hero-subtitle {
	font-size: 1.25rem;
	color: rgba(255,255,255,1);
	font-weight: 500;
	margin-bottom: 3rem;
}

.hero-content .btn{
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Set container max-width to 1400px */
@media (min-width: 1400px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1400px;
	}
}

/* Glass Form */
.glass-form {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-xl);
	padding: 2rem;
	box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.form-control, .form-select {
	background: rgba(255,255,255,0.9);
	border: none;
	border-radius: var(--radius-md);
	padding: 14px 16px;
	font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
	box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}
.form-label {
	color: white;
	font-weight: 500;
	font-size: 0.85rem;
	margin-bottom: 0.5rem;
}

/* Advantages */
.section-padding { padding: 100px 0; }
.adv-icon-wrapper {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: var(--sky-blue);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, var(--sky-blue) 0%, var(--primary-blue) 100%);
}
.counter-value {
	font-size: 3rem;
	font-weight: 800;
	color: var(--primary-blue);
	line-height: 1;
	margin-bottom: 0.5rem;
	font-family: 'Montserrat', sans-serif;
}
.adv-text { color: var(--text-muted); font-size: 1.1rem; }

/* Fleet Tabs (Apple Style) */
.apple-tabs {
	background: rgba(0,0,0,0.05);
	border-radius: var(--radius-pill);
	padding: 6px;
	display: inline-flex;
	margin-bottom: 3rem;
	justify-content: center;
}
.apple-tabs .nav-link {
	border-radius: var(--radius-pill);
	color: var(--text-muted) !important;
	font-weight: 600;
	padding: 10px 32px;
	border: none;
	transition: all 0.3s ease;
}
.apple-tabs .nav-link.active {
	background: white;
	color: var(--primary-blue) !important;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Cards */
.apple-card {
	background: var(--surface);
	border-radius: var(--radius-xl);
	border: none;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.4s var(--apple-bezier);
	height: 100%;
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;
}
.apple-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-md);
}
.card-img-wrap {
	position: relative;
	padding-top: 65%; /* Aspect ratio */
	overflow: hidden;
	background: #e9ecef;
}
.card-img-wrap img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.apple-card:hover .card-img-wrap img {
	transform: scale(1);
}
.bus-specs {
	display: flex;
	gap: 12px;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
.spec-badge {
	background: var(--bg-page);
	padding: 6px 8px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 6px;
}
.spec-badge i { color: var(--sky-blue); }

/* Security Section */
.security-section {
	background: white;
	border-radius: var(--radius-xl);
	padding: 4rem;
	box-shadow: var(--shadow-sm);
	margin: 4rem 0;
}
.sec-list li {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	gap: 12px;
}
.sec-list i {
	color: #2e7d32; /* Success green */
	font-size: 1.25rem;
}

/* Testimonials Slider */
.testimonial-card {
	background: var(--surface);
	border-radius: var(--radius-xl);
	padding: 2.5rem;
	box-shadow: var(--shadow-sm);
	margin: 1rem;
	border: 1px solid rgba(0,0,0,0.03);
}
.client-info { display: flex; align-items: center; gap: 16px; margin-bottom: 1.5rem; }
.client-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.carousel-indicators [data-bs-target] {
	width: 10px; height: 10px; border-radius: 50%; background-color: var(--primary-blue);
}

/* FAQ */
.apple-accordion .accordion-item {
	border: none;
	background: transparent;
	margin-bottom: 1rem;
	border-radius: var(--radius-lg) !important;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.apple-accordion .accordion-button {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 1.1rem;
	padding: 1.5rem;
	color: var(--text-dark);
	background: var(--surface);
	border: none;
}
.apple-accordion .accordion-button:not(.collapsed) {
	color: var(--primary-blue);
	background: var(--surface);
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}
.apple-accordion .accordion-body {
	background: var(--surface);
	color: var(--text-muted);
	padding: 1.5rem 1.5rem 1.5rem 1.5rem;
	line-height: 1.6;
}

/* Footer */
.footer {
	background: #0d1520; /* Dark mode bg from design system */
	color: #d6e4f5;
	padding: 4rem 0 2rem;
	margin-top: 4rem;
}
.footer-heading { color: white; font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-link { color: #96a7bc; text-decoration: none; transition: color 0.2s; display: block; margin-bottom: 0.8rem; }
.footer-link:hover { color: white; }
.footer-link.active { color: white; }


.footer .text-muted {
	--bs-text-opacity: 1;
	color: var(--surface) !important;
}

.hero-section::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(60,71,77,.4);
	opacity: 1;
	-webkit-transition: all ease 1s;
	-o-transition: all ease 1s;
	transition: all ease 1s;
	z-index: -1;
}

.develop .wrap img {
	width: 175px;
	display: inline-block;
	position: relative;
	background: #fff;
	padding: 5px 10px;
	border-radius: 20px;
}

.fs-1 {
	font-size: 1rem !important;
}

.glass-form .form-check a{
	сolor: rgba(255,255,255,.5) !important;
	text-decoration: none;
}

.glass-form .form-check a:hover{
	text-decoration: underline;
}

.modal.fade.show {
	opacity: 1;
}

.call-form {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	/*border: 1px solid rgba(0, 0, 0, 0.3);*/
	border-radius: var(--radius-xl);
	padding: 2rem;
	/* box-shadow: 0 20px 40px rgba(0,0,0,0.2);*/
}

.call-form .form-control{
	background: #f5f5f5;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.call-form .form-check{
	padding-left: 0;
}

.text-black-50 {
	--bs-text-opacity: 1;
	color: rgba(0, 0, 0,.5) !important;
	text-decoration: none;
}

.text-black-50:hover {
	text-decoration: underline;
}

.modal-header {
	border-bottom: none;
}

.rating-stars .bx-rating-icon {
	fill: var(--color-stars);
}

.product-item-big-card .card-img-wrap {
    position: relative;
    overflow: hidden;
}

.card-img-wrap {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background: #e9ecef;
}

.card-img-wrap .busGalleryItem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-img-wrap .busGalleryItem .swiper-wrapper,
.card-img-wrap .busGalleryItem .swiper-slide {
    height: 100%;
}

.card-img-wrap .busGalleryItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card.apple-card .card-title a{
	text-decoration: none;
	color: inherit;
}

.card.apple-card .card-title a:hover{
	text-decoration: underline;
	
}

.content.others .bx_catalog_tile{
	margin-bottom: 0;
}

.smart-filter {
	background: var(--bs-gray-200);
	border-radius: var(--radius-xl);
	border: none;
}

.smart-filter_title {
	color: var(--text-dark);
}

.smart-filter_bottons input#set_filter {
	background-color: var(--primary-blue);
	color: white;
	border-radius: var(--radius-pill);
	height: 45px;
	transition: all 0.3s var(--apple-bezier);
}

.smart-filter_bottons input#set_filter:hover {
	background-color: #174981;
}

.smart-filter-input-group-checkbox-pictures{
	display: flex;
	flex-direction: column;
}

.smart-filter-input-group-checkbox-pictures .smart-filter-checkbox-label{
	margin-bottom: 10px;
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	align-items: center;
}

.smart-filter-input-group-checkbox-pictures .smart-filter-checkbox-btn{
	display: grid;
	width: 30px;
	height: 30px;
	margin-right: 7px;
}

.smart-filter-input-group-checkbox-pictures .smart-filter-checkbox-label.bx-active .smart-filter-checkbox-btn-image {
	outline: 2px solid var(--primary-blue);
	outline-offset: -1px;
}

.smart-filter-input-group-checkbox-pictures .smart-filter-checkbox-btn-image{
	border-radius: 6px;
}

.navbar-nav .nav-item {
	display: flex;
	align-items: center;
}

.navbar-nav .dropdown_menu {
    background: #ffffff none repeat scroll 0 0;
    box-shadow: 0 1px 2px rgba(86, 86, 90, 0.5);
    opacity: 0;
    position: absolute;
    text-align: left;
    top: 80px;
    transition: all 0.5s ease 0s;
    visibility: hidden;
    min-width: 230px;
    z-index: 100;
    padding-left: 0px;
}

.nav-item:hover .dropdown_menu {
    visibility: visible;
    opacity: 1;
    top: 80px;
}

.dropdown_menu .nav-link{
	font-weight: 400;
	color: var(--text-dark) !important;
	font-size: 1.1rem;
}

.dropdown_menu li {
    display: block;
    border-bottom: 1px solid #e5e5e5;
    list-style: none;
    padding: 6px 12px;
}

.dropdown_menu .nav-link:hover {
	color: var(--primary-blue) !important;
}

.navbar-nav li:hover .indicator .feather-chevron-down {
    rotate: 180deg;
}

.navbar-nav li:hover .indicator .feather-chevron-down.two {
	
	rotate: -90deg;
}

.navbar-nav li .indicator .feather-chevron-down {
    transition: .5s ease-in-out;
}

.nav-item .current.nav-link{
	font-weight: 400;
	color: var(--primary-blue) !important;
	font-size: 1rem;
}

.bx-pagination .bx-pagination-container ul li.bx-active span {
	background: var(--primary-blue);
	color: #fff;
}

.dropdown-menu_submenu {
	background: #ffffff none repeat scroll 0 0;
	box-shadow: 0 1px 2px rgba(86, 86, 90, 0.5);
	opacity: 0;
	position: absolute;
	text-align: left;
	top: 31px;
	transition: all 0.5s ease 0s;
	visibility: hidden;
	min-width: 230px;
	z-index: 100;
	padding-left: 0px;
}

.dropdown-menu_submenu .dropdown_menu2 {
	position: absolute;
	left: 90%;
	top: 100%;
	width: 100%;
	background: #fff;
	box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
	font-size: 15px;
	margin: -9px 0;
	padding: 0;
}

.dropdown_menu li:hover .dropdown-menu_submenu {
	visibility: visible;
	opacity: 1;
	top: 10px;
}

.section-contacts a{
	color: var(--text-dark);
	text-decoration: none;
}

.section-contacts a:hover{
	color: var(--primary-blue);
    text-decoration: underline;
}

.section-contacts i{
	color: var(--primary-blue);
}

.section-contacts .contacts-wrap, .section-contacts .form-wrap{
	padding: 20px 25px;
	background: white;
	border-radius: 15px;
}

.smart_filter_checked_items button{
	color: #fff;
	background: var(--color-primary);
	border-radius: 5px;
	padding: 5px 7px;
	border: none;
	margin-right: 10px;
}

.smart_filter_checked_items button:hover{
	background: var(--color-primary-hover);
}

.wrap_back_block .arrow-link {
	padding: 0 0 0 12px;
	color: var(--color-text-muted)
	font-size: 15px;
	line-height: 25px;
	transition: all .3s;
	text-decoration: none;
}

.wrap_back_block .arrow-link:hover {
	text-decoration: underline;
}

.service-img-wrap {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	background: #e9ecef;
}

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

.social-list img{
	width: 45px;
	height: 45px;
}

.certificates a img{
	border: 2px solid var(--color-text);
	border-radius: 15px;
	opacity: .8;
	transition: all .5s;
}

.certificates a img:hover{
	border: 2px solid var(--color-text);
	border-radius: 15px;
	opacity: 1;
}

.menu-btn-mobile {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 20px;
}

.menu-btn-mobile span,
.menu-btn-mobile span::before,
.menu-btn-mobile span::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark); 
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, background-color 0.3s ease;
}

.menu-btn-mobile span {
    top: 9px;
}

.menu-btn-mobile span::before {
    content: "";
    top: -9px;
}

.menu-btn-mobile span::after {
    content: "";
    top: 9px;
}

/* активное состояние — крестик */
.menu-btn-mobile[aria-expanded="true"] span {
    background-color: transparent;
}

.menu-btn-mobile[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-btn-mobile[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}

.sortline{
	display: flex;
	gap: 9px;
	margin-bottom: 15px;
	align-items: center;
}

.sortline button{
	/*background: var(--bs-gray-200);*/
	background: none;
	padding: 6px 8px;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 400;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 6px;
	border: 0px solid var(--color-primary-active);
}

.sortline button.selected{
	/*background: var(--color-primary);*/
	background: none;
	padding: 6px 8px;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 6px;
}
/******************************** Media *****************************************************************************************************/

@media (max-width: 991px) {
	.hero-title { font-size: 2.5rem; }
	.security-section { padding: 2rem; }
	.glass-header { background: rgba(255, 255, 255, 0.95); padding: 5px 0 5px 0 !important; }
}

@media (max-width: 767px) {
	.hero-section {
		padding-top: 0;
		height: 100%;
	}
	
	.hero-section.swiper .container{
		padding: 20px 20px;
	}
	
	.hero-content .btn {
		font-size: 18px;
	}
	
	.logo {
		width: 220px;
	}
	
	.card.apple-card .card-title a {
		font-size: 17px;
	}
	
	.call-form {
		padding: 1rem;
	}
	
	/* Отключаем hover-раскрытие на мобильных — конфликтует с тапом */
	.nav-item:hover .dropdown_menu,
	.dropdown_menu li:hover .dropdown-menu_submenu {
		visibility: hidden;
		opacity: 0;
		top: auto;
	}
	
	.navbar-nav .dropdown_menu,
	.dropdown-menu_submenu {
		position: static;
		visibility: hidden;
		opacity: 0;
		max-height: 0;
		overflow: hidden;
		box-shadow: none;
		transition: max-height 0.3s ease;
	}
	
	.navbar-nav .dropdown_menu.open,
	.dropdown-menu_submenu.open {
		visibility: visible !important;
		opacity: 1 !important;
		max-height: 1000px;
	}
	
	.dropdown-menu_submenu .dropdown_menu2 {
		position: static;
		/*padding: 0;*/
	}
	
	.indicator {
		cursor: pointer;
	}
	
	.indicator.active .feather-chevron-down {
		rotate: 180deg;
	}
	
	.navbar-nav li:hover .indicator .feather-chevron-down {
		rotate: 180deg;
	}
	
	/* Заставляем dropdown уходить на новую строку под ссылкой,
	а не вставать в ряд рядом с ней (из-за display:flex на .nav-item) */
	.navbar-nav .nav-item {
		flex-wrap: wrap;
		justify-content: flex-start !important;
	}
	
	.navbar-nav .dropdown_menu,
	.dropdown-menu_submenu {
		flex-basis: 100%;
		width: 100%;
	}
	
	.nav-link {
		/*font-size: inherit;*/
		margin-right: 10px;
	}
	
	.dropdown_menu .nav-link{
		/*padding: 0;*/
	}
	
	.dropdown_menu.open .indicator svg{
		transition: .5s ease-in-out;
	}
	
	.dropdown_menu.open .indicator.active svg{
		transition: .5s ease-in-out;
		rotate: 180deg;
	}
	
	.navbar-nav .dropdown_menu {
		background: none;
	}
	
	.sortline {
		flex-wrap: wrap;
	}
	
}
