:root {
	--bg-dark: #121212;
	--bg-card: #1e1e1e;
	--neon-green: #39ff14;
	--text-light: #f0f0f0;
	--text-gray: #b0b0b0;
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--bg-dark);
	color: var(--text-light);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Шапка */
.header {
	padding: 20px 0;
	border-bottom: 1px solid #333;
	position: sticky;
	top: 0;
	background-color: rgba(18, 18, 18, 0.95);
	z-index: 100;
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.logo h1 {
	font-family: 'Bruno Ace', cursive;
	font-size: 1.8rem;
	color: var(--text-light);
}

.logo span {
	color: var(--neon-green);
}

.logo-link {
	text-decoration: none;
	color: var(--text-light);
}

/* Контакты в шапке */
.header-contacts {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-left: auto;
	margin-right: 20px;
}

.header-contacts a {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text-light);
	text-decoration: none;
	font-size: 0.9rem;
	padding: 6px 10px;
	border-radius: 20px;
	transition: var(--transition);
	white-space: nowrap;
}

.phone-link {
	background: rgba(57, 255, 20, 0.1);
	border: 1px solid rgba(57, 255, 20, 0.3);
}

.tg-link {
	background: rgba(0, 136, 204, 0.1);
	border: 1px solid rgba(0, 136, 204, 0.3);
}

.header-contacts a:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.header-contacts .icon {
	font-size: 1.1rem;
}

/* Бургер-меню */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 21px;
	cursor: pointer;
	z-index: 1100;
}

.menu-toggle span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--text-light);
	border-radius: 3px;
	transition: var(--transition);
}

/* Навигация */
.nav ul {
	display: flex;
	list-style: none;
	gap: 25px;
}

.nav a {
	color: var(--text-gray);
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
	position: relative;
}

.nav a:hover,
.nav a.active {
	color: var(--neon-green);
}

.nav a.active::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--neon-green);
}

/* Мобильное меню */
@media (max-width: 992px) {
	.header-contacts {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background: var(--bg-card);
		padding: 100px 25px 25px;
		transition: 0.4s ease;
		z-index: 1000;
		box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
	}

	.nav.active {
		right: 0;
	}

	.nav ul {
		flex-direction: column;
		gap: 0;
	}

	.nav ul li a {
		display: block;
		padding: 15px 0;
		font-size: 1.1rem;
		border-bottom: 1px solid #333;
	}

	/* Анимация бургера */
	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}
}

/* Герой-секция */
.hero {
	min-height: 85vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 650px;
}

.hero h2 {
	font-family: 'Bruno Ace', cursive;
	font-size: 3.2rem;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero p {
	font-size: 1.15rem;
	color: var(--text-gray);
	margin-bottom: 30px;
	max-width: 600px;
}

.btn {
	display: inline-block;
	background-color: var(--neon-green);
	color: var(--bg-dark);
	padding: 12px 28px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.05rem;
	transition: var(--transition);
	border: 2px solid var(--neon-green);
}

.btn:hover {
	background-color: transparent;
	color: var(--neon-green);
	transform: translateY(-3px);
	box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

/* Секции */
.section {
	padding: 80px 0;
}

.section-title {
	font-family: 'Bruno Ace', cursive;
	font-size: 2.4rem;
	margin-bottom: 50px;
	text-align: center;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 70px;
	height: 3px;
	background: var(--neon-green);
}

/* Карточки услуг */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
}

.service-card {
	background: var(--bg-card);
	border-radius: 10px;
	padding: 30px;
	transition: var(--transition);
	border: 1px solid #333;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	border-color: var(--neon-green);
}

.service-icon {
	font-size: 2.3rem;
	color: var(--neon-green);
	margin-bottom: 18px;
}

.service-card h3 {
	font-size: 1.4rem;
	margin-bottom: 15px;
}

.service-card .price {
	color: var(--neon-green);
	font-weight: 600;
	margin-top: 15px;
	font-size: 1.1rem;
}

/* Стили для портфолио */
.portfolio-item {
	background: var(--bg-card);
	border-radius: 10px;
	padding: 30px;
	margin-bottom: 40px;
	border: 1px solid #333;
}

.portfolio-screenshots {
	display: flex;
	gap: 25px;
	margin: 25px 0;
	flex-wrap: wrap;
}

.screenshot {
	flex: 1;
	min-width: 300px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transition: var(--transition);
}

.screenshot:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(57, 255, 20, 0.2);
}

.screenshot img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}

.screenshot:hover img {
	transform: scale(1.03);
}

.screenshot-caption {
	text-align: center;
	padding: 10px;
	background: #2a2a2a;
	font-size: 0.9rem;
	color: var(--text-gray);
}

.portfolio-details p {
	margin-bottom: 10px;
	line-height: 1.7;
}

/* Процесс работы */
.process-timeline {
	max-width: 800px;
	margin: 0 auto;
}

.timeline-item {
	display: flex;
	margin-bottom: 35px;
	align-items: flex-start;
}

.timeline-number {
	background: var(--neon-green);
	color: var(--bg-dark);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.2rem;
	margin-right: 20px;
	flex-shrink: 0;
}

.timeline-content h3 {
	font-size: 1.4rem;
	margin-bottom: 8px;
}

.guarantee {
	margin-top: 50px;
	text-align: center;
	padding: 25px;
	background: var(--bg-card);
	border-radius: 10px;
	border: 1px solid var(--neon-green);
	max-width: 700px;
	margin: 50px auto 0;
}

/* Контакты */
.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.contact-info p {
	margin-bottom: 25px;
	color: var(--text-gray);
}

.contact-methods {
	margin-top: 25px;
}

.contact-method {
	margin-bottom: 22px;
}

.contact-method h3 {
	color: var(--neon-green);
	margin-bottom: 8px;
	font-size: 1.2rem;
}

.contact-method a {
	color: var(--text-light);
}

.contact-form .form-group {
	margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 15px;
	border-radius: 8px;
	border: 1px solid #333;
	background: var(--bg-card);
	color: var(--text-light);
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--neon-green);
	box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.2);
}

/* Подвал */
.footer {
	padding: 40px 0;
	border-top: 1px solid #333;
	background: var(--bg-card);
}

.footer .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer p {
	margin-bottom: 20px;
	color: var(--text-gray);
	text-align: center;
}

/* Контакты для мобильных */
.header-contacts.mobile {
	display: none;
	width: 100%;
	justify-content: center;
	margin-top: 15px;
	gap: 10px;
}

.social-links {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	color: var(--text-light);
}

.social-links a {
	color: var(--text-light);
	text-decoration: none;
	transition: var(--transition);
	font-weight: 500;
}

.social-links a:hover {
	color: var(--neon-green);
}

/* Анимированный кот */
.cat-mascot {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 110px;
	height: 110px;
	z-index: 1000;
	cursor: pointer;
	filter: drop-shadow(0 5px 15px rgba(57, 255, 20, 0.2));
	transition: transform 0.3s ease;
}

.cat-mascot:hover {
	transform: scale(1.08);
}

/* Адаптация для мобильных */
@media (max-width: 992px) {
	.contact-wrapper {
		grid-template-columns: 1fr;
	}

	.hero h2 {
		font-size: 2.6rem;
	}
}

@media (max-width: 768px) {
	.header .container {
		flex-wrap: wrap;
	}

	.logo {
		order: 1;
		flex: 1;
	}

	.menu-toggle {
		order: 2;
	}

	.nav {
		order: 4;
		width: 100%;
	}

	.header-contacts.mobile {
		order: 3;
		display: flex;
		margin: 15px 0 0;
		width: 100%;
	}

	.portfolio-screenshots {
		flex-direction: column;
	}

	.screenshot {
		min-width: 100%;
	}

	.hero {
		min-height: 75vh;
	}

	.hero h2 {
		font-size: 2.2rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.cat-mascot {
		width: 85px;
		height: 85px;
		bottom: 20px;
		right: 20px;
	}
}

@media (max-width: 576px) {
	.header-contacts a {
		font-size: 0.82rem;
		padding: 6px 8px;
	}

	.header-contacts.mobile a {
		padding: 8px 10px;
		font-size: 0.85rem;
	}

	.hero h2 {
		font-size: 1.9rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.btn {
		padding: 10px 24px;
		font-size: 1rem;
	}

	.section {
		padding: 60px 0;
	}

	/*.cat-mascot {
		display: none;
	}*/
}

@media (max-width: 480px) {
	.logo h1 {
		font-size: 1.6rem;
	}

	.hero h2 {
		font-size: 1.7rem;
	}

	.section-title {
		font-size: 1.6rem;
	}

	.service-card {
		padding: 25px;
	}

	.portfolio-item {
		padding: 25px;
	}

	.timeline-item {
		flex-direction: column;
		gap: 15px;
	}

	.timeline-number {
		margin-right: 0;
	}
}
