@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
	margin: 0;
	font-family: 'Inter', system-ui, sans-serif;
	background: #000;
	color: #fff;
	overflow-x: hidden;
}
.sticky-header {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #000;
	border-bottom: 1px solid #222;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
}
.service-card {
	width: 364px;
	background: #1C1C1E;
	border-radius: 24px;
	padding: 24px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}
.service-card:hover {
	transform: translateY(-6px);
}
.service-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.service-header .title {
	font-size: 20px;
	font-weight: 600;
}
.arrow {
	font-size: 22px;
	transition: transform 0.3s ease;
}
.service-preview {
	color: #aaa;
	margin: 12px 0;
}
.price {
	color: #666;
	font-size: 14px;
}
@keyframes floatDown {
	0% {
		transform: translate(-50%, 0);
	}
	50% {
		transform: translate(-50%, 10px);
	}
	100% {
		transform: translate(-50%, 0);
	}
}
.scroll-down {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 28px;
	animation: floatDown 2s ease-in-out infinite;
	z-index: 5;
}
.service-details {
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
	margin-top: 0;
	opacity: 0;
}
.service-card.active .service-details {
	max-height: 500px;
	margin-top: 16px;
	opacity: 1;
}
.service-card.active .arrow {
	transform: rotate(90deg);
}
.sticky-header.visible {
	transform: translateY(0);
}
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	padding: 0 80px;
	overflow: hidden;
	background: #000;
	background-image: url('img/big-wall.jpg');
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.personal-image {
	margin: 80px auto 0;
	width: 100%;
	max-width: 1140px;
	height: 476px;
	background: url('img/back-personal.jpg') center/cover;
	border-radius: 24px;
	position: relative;
}
#infoBtn {
	bottom: 16px !important;
	right: 16px !important;
	padding: 10px !important;
}
.hero-bg {
	position: absolute;
	top: 0;
	height: 100%;
	right: 0;
	transform: translateX(30%);
	z-index: 0;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( 90deg, #000 35%, rgba(0, 0, 0, 0.7) 55%, transparent);
	z-index: -1;
}
.hero-content {
	position: relative;
	align-items: center;
	z-index: 2;
}
.hero h1 {
	font-size: 56px;
	font-weight: 700;
	margin-bottom: 16px;
}
.hero-sub {
	font-size: 20px;
	color: #aaa;
	margin-bottom: 32px;
}
.hero-btn {
	position: relative;
	display: inline-block;
	padding: 18px 84px;
	font-size: 18px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	background: transparent;
	border: 1px solid transparent;
	background-image: linear-gradient(#000, #000), linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
	background-origin: border-box;
	background-clip: padding-box, border-box;
	transition: all 0.25s ease;
}
.hero-btn:hover {
	background-image: linear-gradient(#000, #000), linear-gradient(180deg, #ff3b3b, #7a0000);
	transform: translateY(-1px);
}
.card {
	background: #1C1C1E;
	border-radius: 24px;
	overflow: hidden;
	transition: transform 0.3s;
}
.card:hover {
	transform: translateY(-8px);
}
.next-btn {
	position: relative;
	display: inline-block;
	padding: 24px 20px;
	font-size: 18px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	background: transparent;
	border: 1px solid transparent;
	background-image: linear-gradient(#111, #111), linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
	background-origin: border-box;
	background-clip: padding-box, border-box;
	transition: all 0.25s ease;
}
.next-btn:hover {
	background-image: linear-gradient(#111, #111), linear-gradient(180deg, #ff3b3b, #7a0000);
	transform: translateY(-1px);
}
.section-title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
}
.scroll-container {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	padding: 40px 0;
	scrollbar-width: none;
}
.scroll-container::-webkit-scrollbar {
	display: none;
}
.hero-logo {
	position: absolute;
	top: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
}
.hero-logo img {
	height: 60px;
}
.services-section {
	position: relative;
	padding: 120px 40px;
	background: #111;
	overflow: hidden;
}
.services-wrapper {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	gap: 80px;
	align-items: flex-start;
}
.services-left {
	flex: 1;
}
.services-title {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 60px;
}
.services-list {
	display: flex;
	flex-direction: column;
}
.service-card {
	background: transparent;
	border-radius: 0;
	padding: 0;
	border-bottom: 1px solid #333;
}
.service-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 0;
	cursor: pointer;
}
.title {
	font-size: 20px;
	font-weight: 600;
}
.service-preview {
	font-size: 14px;
	color: #aaa;
	margin-top: 6px;
}
.arrow {
	font-size: 22px;
	transition: 0.3s;
}
.service-card.active .arrow {
	transform: rotate(90deg);
}
.service-details {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s ease;
}
.service-card.active .service-details {
	max-height: 500px;
	opacity: 1;
	margin-bottom: 20px;
}
.service-details ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.service-details li {
	margin-bottom: 12px;
}
.price {
	font-size: 13px;
	color: #666;
}
.services-bg {
	position: absolute;
	top: 0;
	right: 0;
	width: 45%;
	height: 100%;
	background: url('img/back-services.jpg') center/cover no-repeat;
	z-index: 1;
}
.services-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #111 0%, transparent 40%);
}
.info-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
	z-index: 9999;
}
.info-modal.active {
	opacity: 1;
	pointer-events: all;
}
.info-modal-content {
	background: #1C1C1E;
	padding: 40px;
	border-radius: 20px;
	max-width: 500px;
	width: 90%;
	position: relative;
	transform: translateY(20px);
	transition: 0.3s;
}
.info-modal.active .info-modal-content {
	transform: translateY(0);
}
.info-close {
	position: absolute;
	top: 16px;
	right: 20px;
	cursor: pointer;
	font-size: 20px;
	color: #aaa;
}
.info-close:hover {
	color: #fff;
}
.info-modal h2 {
	margin-top: 0;
	font-size: 28px;
}
.info-modal p {
	color: #ccc;
	line-height: 1.6;
}
.card-img {
	display: block;
	width: 100%;
	height: auto;
	justify-content: center;
  	align-items: center;
	object-fit: contain;
	margin: 0;
}
.footer {
	background: #000;
	position: absolute;
  	left: 0;
  	bottom: 0;
  	width: 100%;
	padding: 20px 20px 20px;
	border-top: 1px solid #222;
}

.footer-container {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.footer-left {
	display: flex;
}

.footer-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #fff;
	border: 1px solid #333;
	padding: 12px 16px;
	border-radius: 12px;
}

.footer-center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	font-size: 13px;
	color: #666;
	line-height: 1.8;
}

.footer-right {
	display: flex;
	gap: 12px;
}

.footer-socials img {
	width: 28px;
	height: 28px;
	filter: invert(1);
	opacity: 0.8;
	transition: 0.2s;
}

.footer-socials img:hover {
	opacity: 1;
}
/* ================= MOBILE ================= */

@media (max-width: 768px) {
	body {
		overflow-x: hidden;
	}
	footer-container {
	position: absolute;
  	left: 0;
  	bottom: 0;
  	width: 100%;
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}
	.scroll-down {
		bottom: 20px;
		font-size: 20px;
	}
	.footer-center {
		position: static;
		transform: none;
		order: 3;
		margin-bottom: 20px;
	}

	.footer-left {
		order: 2;
		margin-bottom: 20px;
	}

	.footer-right {
		order: 1;
		margin-bottom: 20px;
	}
	.hero {
		height: 70vh;
		padding: 0 20px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		position: relative;
		overflow: hidden;

	}
	.hero::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.4); 
		z-index: 1;
	}	

	.hero h1 {
		font-size: 26px;
		line-height: 1.2;
		text-shadow: 0 2px 20px rgba(0,0,0,0.8);
		margin-bottom: 20px;
	}
	.hero-sub {
		font-size: 14px;
		margin-bottom: 20px;
		color: rgba(255,255,255,0.85);
	}
	.hero-btn {
		width: 100%;
		box-sizing: border-box;
		padding: 14px 20px;
		font-size: 15px;
	}
	.hero-bg {
		object-fit: cover;
		object-position: 80% center; /* двигаем машину */
		height: 165%;
		transform: none;
		transform: scale(0.8);
		z-index: 0;
	}
	.hero-logo img {
		height: 40px;
	}
	.scroll-down {
		position: absolute;
		bottom: 50px;
		left: 50%;
		transform: translateX(-50%);
		font-size: 20px;
		z-index: 5;
	}
	section {
		padding: 80px 20px !important;
	}
	h2, .section-title {
		font-size: 28px !important;
	}
	p {
		font-size: 16px !important;
	}
	.personal-image {
		height: 260px;
		margin-top: 40px;
	}
	#personal p:first-child {
		font-size: 26px !important;
	}
	#personal p:nth-child(2) {
		font-size: 16px !important;
		line-height: 1.5;
	}
	.services-wrapper {
		flex-direction: column;
		gap: 40px;
	}
	.services-bg {
		display: none;
	}
	.scroll-container {
		flex-direction: column;
		gap: 20px;
		padding: 20px 0;
	}
	.scroll-container>div, .card {
		width: 100% !important;
	}
	.scroll-container div[style*="height:640px"] {
		height: 320px !important;
	}
	.scroll-container div[style*="position:absolute"] {
		left: 16px !important;
		right: 16px !important;
		bottom: 16px !important;
	}
	#form>div {
		padding: 32px 20px !important;
	}
	input {
		font-size: 16px !important;
		padding: 16px !important;
	}
	.next-btn {
		padding: 18px !important;
		font-size: 16px !important;
	}
	footer div {
		flex-direction: column !important;
		text-align: center !important;
	}
	.mobile-nav {
		margin-top: -60px;
	}
	.footer-socials {
		display: flex !important;
		flex-direction: row !important;
		justify-content: center;
		gap: 14px;
		margin-top: 60px;
	}
	.info-modal {
		padding: 0 10%;
	}
	.info-modal-content {
		width: 100%;
		max-width: 100%;
		padding: 14px;
		border-radius: 16px;
		max-height: 100vh;
		overflow-y: auto;
	}
}