/* ========================================
   Variables & Base Styles
   ======================================== */
:root {
	--primary-color: #2A6BFF;
	--primary-dark: #1E4DB8;
	--text-dark: #1A1A1A;
	--text-gray: #666666;
	--text-light: #999999;
	--bg-light: #F8F9FA;
	--bg-gray: #E9ECEF;
	--white: #FFFFFF;
	--shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	--shadow-hover: 0 4px 20px rgba(42, 107, 255, 0.2);
	--border-radius: 12px;
	--transition: all 0.3s ease;
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--text-dark);
	line-height: 1.6;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 80px 0;
}

.section--gray {
	background-color: var(--bg-light);
}

.section--blue {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	color: var(--white);
}

.section__title {
	font-size: 36px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 20px;
	color: var(--text-dark);
}

.section__title--white {
	color: var(--white);
}

.section__subtitle {
	text-align: center;
	color: var(--text-gray);
	font-size: 18px;
	margin-bottom: 50px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
	display: inline-block;
	padding: 16px 32px;
	border-radius: var(--border-radius);
	font-weight: 500;
	font-size: 16px;
	text-align: center;
	cursor: pointer;
	border: none;
	transition: var(--transition);
	text-decoration: none;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background-color: var(--primary-color);
	color: var(--white);
}

.btn-white {
	background-color: var(--white);
	color: var(--primary-color);
	box-shadow: var(--shadow);
}

.btn-white:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

/* ========================================
   Header
   ======================================== */
.header {
	background-color: var(--white);
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
}

.header__logo {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
}

.header__nav {
	display: flex;
	align-items: center;
}

.nav__list {
	display: flex;
	gap: 30px;
	align-items: center;
}

.nav__link {
	color: var(--text-dark);
	font-weight: 500;
	position: relative;
}

.nav__link:hover {
	color: var(--primary-color);
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: var(--transition);
}

.nav__link:hover::after {
	width: 100%;
}

.header__phone {
	color: var(--primary-color);
	font-weight: 600;
	font-size: 18px;
	white-space: nowrap;
}

.header__phone:hover {
	color: var(--primary-dark);
}

.burger-menu {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.burger-menu span {
	width: 25px;
	height: 3px;
	background-color: var(--text-dark);
	border-radius: 3px;
	transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
	padding: 100px 0;
	background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.hero__content {
	max-width: 600px;
}

.hero__title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--text-dark);
}

.hero__subtitle {
	font-size: 20px;
	color: var(--text-gray);
	margin-bottom: 40px;
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

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

.hero__image-img {
	width: 100%;
	max-width: 600px;
	height: auto;
	object-fit: cover;
}

/* ========================================
   Services Section
   ======================================== */
.services__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.service-card {
	background: var(--white);
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	transition: var(--transition);
	text-align: center;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.service-card__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
	border-radius: 50%;
	color: var(--white);
}

.service-card__title {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--text-dark);
}

.service-card__text {
	color: var(--text-gray);
	line-height: 1.6;
}

/* ========================================
   About Section
   ======================================== */
.about__inner {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 60px;
	align-items: center;
}

.about__image {
	display: flex;
	justify-content: center;
}

.about__image-img {
	width: 100%;
	max-width: 400px;
	height: auto;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(42, 107, 255, 0.2);
}

.about__text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--text-gray);
}

.about__list {
	margin: 20px 0;
}

.about__list li {
	padding: 8px 0;
	color: var(--text-gray);
	font-size: 16px;
}

.about__list li strong {
	color: var(--text-dark);
}

/* ========================================
   Process Section
   ======================================== */
.process__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.process-step {
	text-align: center;
	padding: 30px 20px;
	background: var(--white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.process-step:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.process-step__number {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
	border-radius: 50%;
	color: var(--white);
	font-size: 28px;
	font-weight: 700;
}

.process-step__title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--text-dark);
}

.process-step__text {
	color: var(--text-gray);
	line-height: 1.6;
	font-size: 14px;
}

/* ========================================
   Prices Section
   ======================================== */
.prices__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.price-card {
	background: var(--white);
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	text-align: center;
	transition: var(--transition);
	border: 2px solid transparent;
}

.price-card:hover {
	border-color: var(--primary-color);
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.price-card__title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--text-dark);
}

.price-card__price {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.price-card__note {
	color: var(--text-light);
	font-size: 14px;
	margin-bottom: 10px;
}

.price-card__text {
	color: var(--text-gray);
	font-size: 14px;
	line-height: 1.6;
}

.prices__note {
	margin-top: 40px;
	text-align: center;
	padding: 20px;
	background: var(--white);
	border-radius: var(--border-radius);
	border-left: 4px solid var(--primary-color);
}

.prices__note p {
	margin: 0;
	color: var(--text-gray);
	font-size: 16px;
}

/* ========================================
   Reviews Section
   ======================================== */
.reviews__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.review-card {
	background: var(--white);
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.review-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

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

.review-card__avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 20px;
	font-weight: 600;
}

.review-card__name {
	font-weight: 600;
	color: var(--text-dark);
}

.review-card__date {
	font-size: 14px;
	color: var(--text-light);
}

.review-card__rating {
	margin-bottom: 15px;
	font-size: 18px;
}

.review-card__text {
	color: var(--text-gray);
	line-height: 1.6;
}

/* ========================================
   Contacts Section
   ======================================== */
.contacts__inner {
	text-align: center;
}

.contacts__subtitle {
	font-size: 18px;
	margin-bottom: 50px;
	opacity: 0.9;
}

.contacts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 50px;
}

.contact-item {
	background: rgba(255, 255, 255, 0.1);
	padding: 30px;
	border-radius: var(--border-radius);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	transition: var(--transition);
}

.contact-item:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-5px);
}

.contact-item__icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--white);
}

.contact-item__label {
	font-size: 14px;
	opacity: 0.8;
}

.contact-item__value {
	font-size: 18px;
	font-weight: 600;
	color: var(--white);
}

.contact-item__value:hover {
	opacity: 0.9;
}

.contacts__cta {
	margin-top: 40px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
	background-color: var(--text-dark);
	color: var(--white);
	padding: 60px 0 20px;
}

.footer__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer__logo {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 15px;
}

.footer__text {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

.footer__title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
}

.footer__list li {
	margin-bottom: 10px;
}

.footer__list a {
	color: rgba(255, 255, 255, 0.7);
	transition: var(--transition);
}

.footer__list a:hover {
	color: var(--white);
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
}

.footer__copyright {
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	margin: 0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
	.hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero__image {
		order: -1;
	}

	.hero__content {
		order: 1;
	}

	.hero__title {
		font-size: 36px;
	}

	.about__inner {
		grid-template-columns: 1fr;
	}

	.header__nav {
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		background: white;
		padding: 20px;
		padding-bottom: max(20px, env(safe-area-inset-bottom));
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
		transform: translateX(-100%);
		-webkit-transform: translateX(-100%);
		transition: transform 0.3s ease, -webkit-transform 0.3s ease;
		z-index: 999;
		height: auto;
		max-height: calc(100vh - 70px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		width: 100%;
		display: block !important;
		visibility: visible;
		opacity: 1;
	}

	.header__nav.active {
		transform: translateX(0);
		-webkit-transform: translateX(0);
	}

	.nav__list {
		display: flex !important;
		flex-direction: column;
		gap: 20px;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.nav__list li {
		display: block;
		width: 100%;
	}

	.nav__link {
		display: block;
		padding: 15px 0;
		font-size: 18px;
		width: 100%;
		color: var(--text-dark);
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}

	.burger-menu {
		display: flex;
	}

	.burger-menu.active span:nth-child(1) {
		transform: rotate(45deg) translate(8px, 8px);
	}

	.burger-menu.active span:nth-child(2) {
		opacity: 0;
	}

	.burger-menu.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	.header__phone {
		display: none;
	}

	body.menu-open {
		overflow: hidden;
	}
}

@media (max-width: 768px) {
	.section {
		padding: 60px 0;
	}

	.section__title {
		font-size: 28px;
	}

	.hero {
		padding: 60px 0;
	}

	.hero__title {
		font-size: 32px;
	}

	.hero__subtitle {
		font-size: 18px;
	}

	.hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.services__grid,
	.prices__grid,
	.reviews__grid {
		grid-template-columns: 1fr;
	}

	.process__steps {
		grid-template-columns: 1fr;
	}

	.contacts__grid {
		grid-template-columns: 1fr;
	}

	.footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.section__title {
		font-size: 24px;
	}

	.hero__title {
		font-size: 28px;
	}

	.btn {
		padding: 14px 24px;
		font-size: 14px;
	}
}

/* ========================================
   Floating Telegram Button
   ======================================== */
.floating-telegram-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 24px;
	background: linear-gradient(135deg, #0088cc, #00a8e8);
	color: var(--white);
	font-weight: 600;
	font-size: 16px;
	border-radius: 50px;
	box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5),
	            0 0 0 0 rgba(0, 136, 204, 0.7);
	text-decoration: none;
	transition: all 0.3s ease;
	animation: pulse-glow 2s ease-in-out infinite;
	backdrop-filter: blur(10px);
}

.floating-telegram-btn:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 12px 35px rgba(0, 136, 204, 0.7),
	            0 0 0 8px rgba(0, 136, 204, 0.1);
}

.floating-telegram-btn:active {
	transform: translateY(-1px) scale(0.98);
}

.floating-telegram-btn svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-telegram-btn span {
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-glow {
	0% {
		box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5),
		            0 0 0 0 rgba(0, 136, 204, 0.7);
	}
	50% {
		box-shadow: 0 8px 30px rgba(0, 136, 204, 0.7),
		            0 0 0 10px rgba(0, 136, 204, 0);
	}
	100% {
		box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5),
		            0 0 0 0 rgba(0, 136, 204, 0.7);
	}
}

/* Анимация привлечения внимания */
@keyframes attention-bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.floating-telegram-btn {
	animation: pulse-glow 2s ease-in-out infinite,
	           attention-bounce 3s ease-in-out infinite;
}

@media (max-width: 768px) {
	.floating-telegram-btn {
		bottom: 80px;
		right: 15px;
		padding: 14px 20px;
		font-size: 14px;
	}
	
	.floating-telegram-btn svg {
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 480px) {
	.floating-telegram-btn {
		bottom: 70px;
		right: 10px;
		padding: 12px 18px;
		font-size: 13px;
		gap: 8px;
	}
	
	.floating-telegram-btn svg {
		width: 18px;
		height: 18px;
	}
}
