* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: #fefcf5; /* тёплый песочный фон */
	color: #2c2b28;
	line-height: 1.5;
	scroll-behavior: smooth;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Цветовая гамма */
:root {
	--sand-light: #fdf8ed;
	--sand: #eadbc6;
	--sand-dark: #d9b990;
	--mint: #e6f0e8;
	--mint-dark: #c2d4c2;
	--primary: #7c9a6e;
	--primary-dark: #5d7e4e;
	--accent: #e0b28a;
	--text-dark: #2e2c2a;
	--white: #ffffff;
}

/* Header */
.header {
	background: rgba(255, 253, 248, 0.96);
	backdrop-filter: blur(6px);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
	border-bottom: 1px solid var(--sand);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 24px;
}

.logo {
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--primary-dark);
	letter-spacing: -0.3px;
}

.logo i {
	color: var(--accent);
	margin-right: 6px;
}

.nav-list {
	display: flex;
	gap: 28px;
	list-style: none;
}

.nav-link {
	text-decoration: none;
	font-weight: 500;
	color: #3d3a36;
	transition: 0.2s;
	font-size: 1rem;
}

.nav-link:hover {
	color: var(--primary);
	border-bottom: 2px solid var(--accent);
	padding-bottom: 6px;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 1.8rem;
	cursor: pointer;
	color: var(--primary-dark);
}

/* Hero */
.hero {
	padding: 140px 0 80px;
	background: linear-gradient(135deg, #fef7e6 0%, #f5ede0 100%);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: #2f3e2e;
}

.hero-title span {
	color: var(--primary-dark);
	border-bottom: 3px solid var(--accent);
}

.hero-text {
	font-size: 1.2rem;
	margin: 24px 0;
	color: #4a4a46;
}

.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 60px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
	font-size: 1rem;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
	box-shadow: 0 8px 16px rgba(124, 154, 110, 0.2);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	transform: translateY(-3px);
}

.btn-submit {
	background: var(--sand-dark);
	color: #2c2b28;
	width: 100%;
	font-weight: 600;
}

.btn-submit:hover {
	background: #c8a16f;
}

.hero-image img {
	width: 100%;
	border-radius: 48px;
	box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

/* Статистика */
.stats {
	background: var(--white);
	padding: 48px 0;
	border-radius: 48px 48px 0 0;
	margin-top: -24px;
	position: relative;
	z-index: 2;
}

.stats-grid {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 32px;
	text-align: center;
}

.stat-item {
	flex: 1;
	background: var(--sand-light);
	padding: 20px;
	border-radius: 32px;
	min-width: 160px;
}

.stat-item i {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: 12px;
	display: block;
}

.stat-number {
	font-size: 1.8rem;
	font-weight: 800;
	display: block;
	color: var(--primary-dark);
}

.stat-label {
	font-size: 0.9rem;
	font-weight: 500;
	color: #5f5b55;
}

/* Секция About */
.about {
	padding: 80px 0;
	background: var(--sand-light);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.section-title {
	font-size: 2.4rem;
	font-weight: 700;
	margin-bottom: 28px;
	color: #3d523a;
	position: relative;
	display: inline-block;
}
.section-title:after {
	content: '';
	display: block;
	width: 70px;
	height: 4px;
	background: var(--accent);
	margin-top: 12px;
}

.about-text p {
	margin-bottom: 20px;
	color: #3f3d39;
}

.about-list div {
	margin: 16px 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.about-list i {
	color: var(--primary);
	font-size: 1.3rem;
}

.about-image img {
	width: 100%;
	border-radius: 40px;
	box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

/* Таблица состава */
.composition {
	padding: 80px 0;
	background: #fcf8f0;
}

.table-wrapper {
	overflow-x: auto;
	margin: 40px 0;
}

.benefits-table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.benefits-table th,
.benefits-table td {
	padding: 18px 24px;
	text-align: left;
	border-bottom: 1px solid var(--sand);
}

.benefits-table th {
	background: var(--mint);
	color: #2d4a2a;
	font-weight: 600;
}

.suitable-block {
	margin-top: 56px;
}

.suitable-title {
	font-size: 1.8rem;
	margin-bottom: 24px;
	font-weight: 600;
	color: #5b7a4b;
}

.suitable-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.suitable-card {
	background: white;
	padding: 12px 24px;
	border-radius: 48px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
	border: 1px solid var(--sand);
	font-weight: 500;
}

.suitable-card i {
	font-size: 1.4rem;
	color: var(--accent);
}

/* Технология с параллакс-фоном */
.technology {
	position: relative;
	background: #e9f0e6;
	padding: 100px 0;
	overflow: hidden;
}
.parallax-bg-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background: url('./assets/background.jpeg') center/cover no-repeat;
	opacity: 0.08;
	transform: translateY(0);
	will-change: transform;
	pointer-events: none;
}
.tech-content {
	position: relative;
	z-index: 2;
}
.tech-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	margin-top: 32px;
}
.tech-list li {
	margin-bottom: 16px;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
}
.tech-list i {
	color: var(--primary);
}
.quality-box {
	background: rgba(255, 251, 240, 0.9);
	padding: 24px;
	border-radius: 28px;
	margin-top: 32px;
	border-left: 6px solid var(--accent);
}
.tech-image img {
	width: 100%;
	border-radius: 32px;
	box-shadow: 0 20px 32px rgba(0, 0, 0, 0.1);
}
.parallax-fixed img {
	transition: transform 0.1s linear;
}

/* Shop + форма */
.shop {
	background: var(--white);
	padding: 80px 0;
}
.shop-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
}
.channels {
	margin-top: 30px;
}
.chips {
	display: inline-block;
	background: var(--sand-light);
	padding: 8px 16px;
	border-radius: 32px;
	margin: 6px 8px 0 0;
	font-size: 0.9rem;
}
.form-wrapper {
	background: #fef7e8;
	padding: 32px;
	border-radius: 32px;
	box-shadow: 0 20px 32px rgba(0, 0, 0, 0.05);
}
.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}
.form-group input,
.form-group select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--sand);
	border-radius: 28px;
	font-size: 1rem;
	background: white;
}
.form-note {
	font-size: 0.8rem;
	margin-top: 12px;
	color: #7a6e5d;
}

/* Контакты */
.contacts {
	background: var(--mint);
	padding: 70px 0;
}
.contacts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.contact-details p {
	margin: 16px 0;
	font-size: 1.1rem;
}
.contact-details i {
	width: 32px;
	color: var(--primary-dark);
}
.grant-card {
	background: var(--sand-light);
	border-radius: 32px;
	padding: 28px;
	text-align: center;
}
.grant-card i {
	font-size: 3rem;
	color: #d6a15a;
	margin-bottom: 16px;
}
.grant-link {
	display: inline-block;
	margin-top: 12px;
	color: var(--primary-dark);
	font-weight: 500;
}
.grant-card-imgs {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	gap: 20px;
}
.grant-card-imgs img {
	max-width: 240px;
	width: 50%;
	background: white;
	border-radius: 12px;
}

/* Блог */
.blog {
	padding: 80px 0;
}
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 32px;
	margin-top: 48px;
}
.blog-card {
	background: white;
	padding: 28px;
	border-radius: 28px;
	transition: all 0.2s;
	border: 1px solid var(--sand);
}
.blog-card i {
	font-size: 2.2rem;
	color: var(--accent);
	margin-bottom: 20px;
}
.blog-card h3 {
	margin-bottom: 12px;
	font-size: 1.3rem;
}
.read-more {
	display: inline-block;
	margin-top: 16px;
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
}

/* FAQ */
.faq {
	background: #fcf6ea;
	padding: 70px 0;
}
.faq-list {
	max-width: 800px;
	margin: 40px auto 0;
}
.faq-item {
	background: white;
	margin-bottom: 18px;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.faq-question {
	padding: 20px 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-weight: 600;
	background: #fffcf5;
}
.faq-question i {
	transition: transform 0.2s;
}
.faq-answer {
	padding: 5px 0px 28px 20px;
	display: none;
	color: #4a4a46;
	border-top: 1px solid var(--sand);
}
.faq-item.active .faq-answer {
	display: block;
}
.faq-item.active .faq-question i {
	transform: rotate(180deg);
}

.faq-item {
	background: white;
	margin-bottom: 16px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: all 0.2s;
}
.faq-question {
	padding: 20px 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-weight: 600;
	background: #fffcf5;
	border-radius: 20px;
	transition: background 0.2s;
}
.faq-question:hover {
	background: #f9f3e6;
}
.faq-question i {
	transition: transform 0.3s ease;
	font-size: 1.2rem;
	color: var(--accent);
}
.faq-answer {
	max-height: 0;
	padding: 5px 0px 28px;
	overflow: hidden;
	transition:
		max-height 0.4s ease-out,
		padding 0.3s ease;
	color: #4a4a46;
	border-top: 0px solid var(--sand);
}
.faq-item.active .faq-answer {
	max-height: 200px; /* достаточно для текста */
	padding: 10px 28px 20px 28px;
	border-top-width: 1px;
}
.faq-item.active .faq-question i {
	transform: rotate(180deg);
}

/* Футер */
.footer {
	background: #2e3b2b;
	color: #ddd2bf;
	padding: 32px 0;
	text-align: center;
}
.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.footer-links a {
	color: #e7dcc8;
	margin-left: 28px;
	text-decoration: none;
}
.footer-links a:hover {
	text-decoration: underline;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.modal.show {
	display: flex;
	opacity: 1;
}
.modal-content {
	background: #fffcf5;
	border-radius: 20px;
	max-width: 400px;
	width: 90%;
	padding: 28px;
	position: relative;
	text-align: center;
	box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.3);
	transform: scale(0.95);
	transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.modal.show .modal-content {
	transform: scale(1);
}
.modal-close {
	position: absolute;
	top: 8px;
	right: 20px;
	font-size: 28px;
	font-weight: 300;
	cursor: pointer;
	color: #a28c6f;
	transition: 0.1s;
}
.modal-close:hover {
	color: #5d4a2e;
}
#modalMessage {
	font-size: 1.1rem;
	line-height: 1.5;
	color: #2c2b28;
	margin: 12px 0 4px;
}

/* Параллакс эффекты */
.parallax-img img,
.parallax-scroll img {
	transition: transform 0.1s cubic-bezier(0.2, 0.6, 0.4, 1);
	will-change: transform;
}

/* ========== МИКРО-АНИМАЦИЯ ПОЯВЛЕНИЯ (нераздражающая) ========== */
.fade-up {
	opacity: 0;
	transition:
		opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1),
		transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
	will-change: opacity, transform;
}

/* Начальные трансформации в зависимости от направления */
.fade-up.from-left {
	transform: translateX(-6px);
}
.fade-up.from-right {
	transform: translateX(6px);
}
.fade-up.from-bottom {
	transform: translateY(8px);
}

/* Видимое состояние — возвращаем в исходное положение */
.fade-up.visible {
	opacity: 1;
	transform: translateX(0) translateY(0);
}

/* Плавное появление для всех крупных блоков (можно ускорить за счёт небольшой задержки) */
.hero,
.stats,
.about,
.composition,
.technology,
.shop,
.contacts,
.blog,
.faq {
	transition-delay: 0.05s;
}

/* Адаптивность */
@media (max-width: 880px) {
	.hero-grid,
	.about-grid,
	.tech-grid,
	.shop-grid,
	.contacts-grid {
		grid-template-columns: 1fr;
	}
	.nav-list {
		display: none;
		flex-direction: column;
		background: white;
		position: absolute;
		top: 70px;
		left: 0;
		width: 100%;
		padding: 28px;
		gap: 20px;
		box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
	}
	.nav-list.active {
		display: flex;
	}
	.mobile-menu-btn {
		display: block;
	}
	.hero-title {
		font-size: 2.5rem;
	}
	.stats-grid {
		justify-content: center;
	}
	.section-title {
		font-size: 2rem;
	}
}
@media (max-width: 560px) {
	.container {
		padding: 0 20px;
	}
	.hero {
		padding-top: 110px;
	}
	.nav-list {
		top: 40px;
	}
}
