:root {
	--main: #005f00;
	--main-light: #006900;
	--grey: #eaedea;
	--red: #c01414;
	--black: #191919;
	--frame: #d4d4d4ba;
	--radius: 10px;
	--header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--black);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

h1, h2 {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--main);
	margin: 0 0 30px;
}
h3 {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 30px;
}

.container {
	width: 100%;
	max-width: 1590px;
	padding: 0 40px;
	margin: 0 auto;
	position: relative;
}

/* Buttons */
.btn, .btn2 {
	display: inline-block;
	font: inherit;
	cursor: pointer;
	background: none;
	border-radius: var(--radius);
	transition: background .2s, color .2s;
	color: inherit;
}
.btn {
	height: 46px;
	line-height: 44px;
	padding: 0 25px;
	font-size: 14px;
	border: 1px solid var(--grey);
}
.btn:hover { background: var(--grey); }
.btn2 {
	height: 60px;
	line-height: 56px;
	padding: 0 40px;
	font-size: 18px;
	font-weight: 500;
	border: 2px solid var(--red);
}
.btn2:hover { color: #fff; background: var(--red); }

/* Header */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	height: var(--header-h);
	padding: 13px 0;
	background: #fff;
	transition: background .3s, color .3s, box-shadow .3s;
}
.head {
	display: flex;
	align-items: center;
	gap: 30px;
	height: 100%;
}
.logo {
	display: flex;
	align-items: center;
	height: 66px;
	flex-shrink: 0;
}
.logo img { max-height: 66px; width: auto; }
.logo-text {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--main);
}
.main-nav { flex: 1; }
.top-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.top-menu a {
	display: inline-block;
	height: 40px;
	line-height: 38px;
	padding: 0 15px;
	font-size: 15px;
	border: 1px solid var(--frame);
	border-radius: 5px;
	transition: background .2s;
}
.top-menu a:hover,
.top-menu .current-menu-item > a,
.top-menu .current_page_item > a { background: rgb(0 0 0 / 8%); }
.head-right {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}
.tel { font-weight: 500; white-space: nowrap; }
.head-right { gap: 12px; }
.wa { display: block; width: 32px; height: 32px; flex-shrink: 0; transition: transform .2s; }
.wa svg { display: block; width: 100%; height: 100%; }
.wa:hover { transform: scale(1.1); }

.burger {
	display: none;
	position: relative;
	width: 47px;
	height: 38px;
	padding: 0;
	background: none;
	border: 1px solid var(--frame);
	border-radius: 5px;
	cursor: pointer;
	color: inherit;
}
.burger span,
.burger span::before,
.burger span::after {
	position: absolute;
	left: 10px; right: 10px;
	height: 3px;
	background: currentColor;
	transition: transform .3s, background .3s;
}
.burger span { top: 17px; }
.burger span::before, .burger span::after { content: ''; left: 0; right: 0; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(8px) rotate(45deg); background: var(--black); }
.nav-open .burger span::after { transform: translateY(-8px) rotate(-45deg); background: var(--black); }

/* Home: transparent header over hero */
.is-home .site-header:not(.is-scrolled) {
	background: rgb(25 25 25 / 30%);
	color: #fff;
}
.is-home .site-header:not(.is-scrolled) .logo-text { color: #fff; }
.site-header.is-scrolled { box-shadow: 0 2px 20px rgb(0 0 0 / 8%); }

.content-main {
	position: relative;
	padding-bottom: 85px;
}
.content-main::before {
	content: '';
	position: absolute;
	top: var(--header-h);
	left: 0;
	width: 100%;
	height: 210px;
	background: linear-gradient(180deg, var(--grey), #fff0);
	z-index: -1;
}
.is-home .content-main::before { display: none; }

/* Hero */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	color: #fff;
	overflow: hidden;
}
.hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__media--empty {
	background:
		radial-gradient(ellipse at 70% 30%, #f6c342 0%, #d99a1b 25%, transparent 55%),
		linear-gradient(160deg, #3d6b2a 0%, #1f3d16 60%, #0f2410 100%);
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgb(0 0 0 / 35%), transparent 50%);
	pointer-events: none;
}
.hero__text {
	position: absolute;
	left: 0; right: 0;
	bottom: 45px;
	z-index: 2;
}
.hero__blob {
	position: absolute;
	left: 0;
	bottom: -40px;
	width: 485px;
	height: 506px;
	background: rgb(0 95 0 / 55%);
	filter: blur(2px);
	animation: blobs 25s ease-in-out infinite alternate;
	z-index: -1;
}
.hero__blob--img {
	background-color: transparent;
	background-size: contain;
	background-repeat: no-repeat;
	filter: none;
	animation: none;
	border-radius: 0;
}
.hero__box {
	display: inline-block;
	width: 382px;
	max-width: 100%;
	margin-left: 30px;
	padding: 60px 50px;
	border: 2px solid #fff;
	border-radius: var(--radius);
	font-size: 38px;
	line-height: 1;
}
.hero__box strong { font-weight: 800; }
.hero__year { font-size: 60px; font-weight: 400; }
.hero__small { display: inline-block; margin-top: 25px; font-size: 22px; line-height: 1.2; }
.hero__accent { font-size: 22px; font-weight: 800; }

/* About */
.about { padding-top: 100px; }
.about__row {
	display: grid;
	grid-template-columns: minmax(0, 510px) 1fr;
	gap: 60px;
	align-items: start;
}
.about__img img,
.img-placeholder {
	width: 100%;
	border-radius: var(--radius);
	aspect-ratio: 510 / 440;
	object-fit: cover;
}
.img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(45deg, var(--grey) 0 12px, #f4f6f4 12px 24px);
	color: #8a948a;
	font-size: 14px;
}
.about__text { padding-left: 5%; }

.numbers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 60px;
	position: relative;
	z-index: 0;
}
.dost {
	position: relative;
	padding: 40px 30px;
	border: 2px solid var(--main);
	border-radius: var(--radius);
	isolation: isolate;
}
.dost__check {
	display: block;
	width: 30px;
	margin: 0 0 60px auto;
	color: var(--main);
}
.dost__value { font-size: 48px; font-weight: 800; line-height: 1.1; color: var(--red); }
.dost__unit { font-size: 22px; font-weight: 500; margin-bottom: 10px; }

.teardrop {
	position: absolute;
	width: 200px;
	height: 200px;
	left: 23px;
	top: -20px;
	background: #eaedea;
	animation: blobs 25s ease-in-out infinite alternate;
	z-index: -1;
}
.dost--1 .teardrop { width: 280px; height: 243px; top: 53px; left: -32px; }
.dost--2 .teardrop { width: 165px; height: 185px; top: 100px; left: 15px; animation-duration: 15s; }
.dost--3 .teardrop { width: 286px; height: 220px; top: -23px; left: 23px; animation-duration: 32s; }

@keyframes blobs {
	0%   { border-radius: 26% 74% 61% 39% / 54% 67% 33% 46%; }
	20%  { border-radius: 48% 52% 30% 70% / 27% 37% 63% 73%; }
	40%  { border-radius: 63% 37% 56% 44% / 25% 28% 72% 75%; }
	60%  { border-radius: 27% 73% 29% 71% / 73% 51% 49% 27%; }
	80%  { border-radius: 55% 45% 37% 63% / 38% 30% 70% 62%; }
	100% { border-radius: 66% 34% 33% 67% / 65% 73% 27% 35%; }
}

/* Products */
.products { margin-top: 125px; }
.banners {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	color: #fff;
}
.ban {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	overflow: hidden;
	background-size: cover;
	background-position: center;
}
.ban--green { background-color: var(--main); }
.ban--photo { background-color: #3a4a3a; }
.ban--photo::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgb(0 0 0 / 35%), transparent 50%);
}
.ban__icon {
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 96px;
	opacity: .95;
}
.ban__icon svg, .ban__icon img { width: 100%; height: auto; }
.ban__icon:has(img) { width: 164px; }
.ban__title {
	position: absolute;
	left: 30px; right: 30px; bottom: 50px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
}
.ban__big { font-size: 48px; font-weight: 800; line-height: 1.1; }

/* Partners */
.partners { margin-top: 100px; }
.partners__row {
	display: grid;
	grid-template-columns: 1fr 524px;
	gap: 100px;
	align-items: center;
}
.partners__right {
	position: relative;
	padding: 60px 25px;
	isolation: isolate;
}
.partners__right .teardrop { width: 80%; height: 76%; left: 10%; top: 8%; animation-duration: 22s; }
.partners__right h2 { color: #000; font-weight: 400; }

/* Logos */
.logos { margin-top: 60px; }
.logos__track {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__list {
	display: flex;
	align-items: center;
	gap: 40px;
	width: max-content;
	animation: marquee 40s linear infinite;
}
.logos__track:hover .logos__list { animation-play-state: paused; }
.logos__list img { max-height: 120px; width: auto; }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* Form */
.feedback {
	margin-top: 80px;
	margin-bottom: -85px;
	padding: 60px 0 80px;
	background: var(--grey);
}
.s-form input:not([type=checkbox]),
.s-form textarea {
	width: 100%;
	height: 52px;
	padding: 0 18px;
	margin-bottom: 16px;
	font: inherit;
	background: #fff;
	border: 1px solid #d0d7dd;
	border-radius: var(--radius);
	outline: none;
}
.s-form textarea { height: 120px; padding: 14px 18px; resize: vertical; }
.s-form input:focus, .s-form textarea:focus { border-color: var(--main); }
.s-form__grid {
	display: grid;
	grid-template-columns: 300px 300px 1fr 180px;
	gap: 0 30px;
}
.s-form__col--btn { display: flex; flex-direction: column; gap: 10px; }
.s-form__col--btn small { color: #595959; }
.s-form__check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	cursor: pointer;
}
.s-form__check input { margin-top: 3px; accent-color: var(--main); }
.s-form__check a { color: var(--main); text-decoration: underline; }
.s-form__msg { margin-top: 16px; font-weight: 500; }
.s-form__msg--ok { color: var(--main); }
.s-form__msg--err { color: var(--red); }
.hp { position: absolute; left: -9999px; }

/* Popup */
.popup {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.popup[hidden] { display: none; }
.popup__overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 55%); }
.popup__box {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: 100%;
	overflow: auto;
	padding: 50px 40px 40px;
	background: #fff;
	border-radius: var(--radius);
}
.popup__close {
	position: absolute;
	top: 10px; right: 14px;
	font-size: 32px;
	line-height: 1;
	background: none;
	border: 0;
	cursor: pointer;
}
.popup .s-form__grid { grid-template-columns: 1fr; }
.popup .btn2 { width: 100%; }

/* About page */
h4 { margin: 0 0 20px; font-size: 22px; font-weight: 500; line-height: 1.4; }
.regular-page h1 { margin-bottom: 50px; }
.about--page { padding-top: 0; }
.advantages { margin-top: 40px; }
.ban--adv::before { background: linear-gradient(0deg, rgb(0 0 0 / 80%), rgb(0 0 0 / 30%) 60%); }
.ban--adv .ban__title { font-size: 16px; font-weight: 400; line-height: 1.4; }
.ban__subtitle { font-size: 22px; font-weight: 500; margin-bottom: 10px; }

/* Manufacture page */
.manuf__row {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 80px;
	align-items: start;
}
.manuf__lead { font-size: 20px; }
.manuf__lead strong { color: var(--main); }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.fact {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 23px;
	font-weight: 500;
	line-height: 1.4;
	border: 2px solid var(--main);
	border-radius: var(--radius);
}
.fact__check { flex: 0 0 30px; color: var(--main); }
.fact__check svg { display: block; width: 30px; height: 30px; }
.fact strong { color: var(--red); font-size: 26px; font-weight: 800; }
.manuf__docs { margin-bottom: 20px; }
.map {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--grey);
}
.map img, .map iframe { display: block; width: 100%; border: 0; }
.map iframe { aspect-ratio: 660 / 824; height: auto; }
.map__address {
	position: absolute;
	left: 20px; right: 20px; bottom: 20px;
	padding: 14px 18px;
	font-size: 16px;
	background: rgb(255 255 255 / 92%);
	border-radius: var(--radius);
	box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
}
.map--embed .map__address { position: static; box-shadow: none; background: var(--grey); border-radius: 0; }
.products__group { margin: 0 0 25px; font-size: 24px; }
.products .banners + .products__group { margin-top: 50px; }

/* Gallery */
.gallery { margin-top: 100px; }
.gallery__track {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	border-radius: var(--radius);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
	flex: 0 0 min(1000px, 70%);
	aspect-ratio: 1000 / 640;
	object-fit: cover;
	border-radius: var(--radius);
	scroll-snap-align: start;
}
.gallery__arrows { display: flex; justify-content: flex-end; gap: 10px; margin-top: 30px; }
.gallery__arrow {
	width: 56px; height: 56px;
	font-size: 22px;
	color: var(--black);
	background: none;
	border: 2px solid var(--frame);
	border-radius: 50%;
	cursor: pointer;
	transition: border-color .2s, color .2s;
}
.gallery__arrow:hover { color: var(--main); border-color: var(--main); }

/* Products page */
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px 40px; }
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 10px;
}
.product-card {
	border: 1px solid var(--frame);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .2s;
}
.product-card:hover { border-color: var(--main); }
.product-card__img {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--grey);
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
	position: absolute;
	top: 20px; right: 20px;
	padding: 4px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--red);
	border-radius: 20px;
}
.product-card__text { padding: 20px; font-size: 14px; color: #6f6f6f; }
.product-card__text h4 { margin: 0 0 8px; font-size: 20px; color: var(--black); }
.product-card__text p { margin: 0; }

/* Contacts page */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { padding: 30px 40px; background: var(--grey); border-radius: var(--radius); }
.contact-card h3 { margin-bottom: 20px; font-weight: 600; color: var(--main); }
.contact-card p { margin: 0 0 8px; font-weight: 500; }
.contact-card a:hover { color: var(--main); }
.contact-card__doc { color: var(--main); text-decoration: underline; }
.contact-map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: var(--grey); }
.contact-map iframe { display: block; width: 100%; height: 500px; border: 0; }

/* Regular pages */
.regular-page { padding-top: calc(var(--header-h) + 60px); }
.entry { max-width: 1000px; }
.entry__thumb img { border-radius: var(--radius); margin-bottom: 30px; }
.entry__content img { border-radius: var(--radius); height: auto; }

/* Footer */
.site-footer {
	padding: 50px 0 30px;
	font-size: 14px;
	color: #fff;
	background: #000;
}
.site-footer p { margin: 0 0 6px; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: flex; gap: 60px; }
.footer-col-1 { width: 240px; flex-shrink: 0; }
.site-footer .logo-text { color: #fff; }
.footer-col-2 {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
}
.footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.footer-menu li { margin-bottom: 8px; }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
	justify-content: space-between;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #333;
	color: #aaa;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.s-form__grid { grid-template-columns: 1fr 1fr; }
	.s-form__col--wide { grid-column: 1 / -1; }
	.partners__row { grid-template-columns: 1fr 440px; gap: 50px; }
}

@media (max-width: 1100px) {
	.burger { display: block; }
	.main-nav {
		position: fixed;
		top: 0; left: 0; right: 0;
		padding: calc(var(--header-h) + 10px) 20px 30px;
		background: #fff;
		color: var(--black);
		box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
		transform: translateY(-100%);
		transition: transform .3s;
		z-index: -1;
	}
	.nav-open .main-nav { transform: none; }
	.top-menu { flex-direction: column; }
	.top-menu a { display: block; border: 0; font-size: 18px; padding: 0; }
	.nav-open.is-home .site-header { background: #fff; color: var(--black); }
	.nav-open.is-home .site-header .logo-text { color: var(--main); }

	.about__row { grid-template-columns: 1fr 1fr; gap: 40px; }
	.about__text { padding-left: 0; }
	.banners { grid-template-columns: repeat(2, 1fr); }
	.partners__row { grid-template-columns: 1fr; }
	.partners__right { max-width: 524px; }
	.manuf__row { grid-template-columns: 1fr; gap: 40px; }
	.product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.manuf__right { max-width: 560px; }
}

@media (max-width: 768px) {
	:root { --header-h: 70px; }
	.container { padding: 0 16px; }
	.site-header { padding: 8px 0; }
	.logo, .logo img { height: 50px; max-height: 50px; }
	.head-right .tel { display: none; }
	h1, h2 { font-size: 28px; }
	h3 { font-size: 19px; }

	.hero { min-height: 560px; height: 90vh; }
	.hero__blob { width: 320px; height: 360px; }
	.hero__box { margin-left: 0; padding: 36px 28px; width: 300px; font-size: 30px; }
	.hero__year { font-size: 46px; }
	.hero__small, .hero__accent { font-size: 18px; }

	.about { padding-top: 60px; }
	.about__row { grid-template-columns: 1fr; }
	.numbers { grid-template-columns: 1fr; margin-top: 40px; }
	.dost__check { margin-bottom: 30px; }
	.dost__value { font-size: 40px; }

	.products { margin-top: 80px; }
	.regular-page h1 { margin-bottom: 30px; }
	.ban--adv .ban__title { font-size: 13px; }
	.ban__subtitle { font-size: 17px; margin-bottom: 6px; }
	.banners { gap: 12px; }
	.ban__icon, .ban__icon:has(img) { top: 10%; width: 45%; max-width: 140px; }
	.ban__title { left: 16px; right: 16px; bottom: 16px; font-size: 16px; }
	.ban__big { font-size: 30px; }

	.partners { margin-top: 70px; }
	.partners__right { padding: 40px 10px; }
	.btn2 { padding: 0 28px; }

	.s-form__grid { grid-template-columns: 1fr; }
	.fact { padding: 14px 16px; gap: 14px; }
	.contact-cards { grid-template-columns: 1fr; }
	.contact-card { padding: 24px 20px; }
	.contact-map iframe { height: 380px; }
	.product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.product-card__text { padding: 14px; font-size: 13px; }
	.product-card__text h4 { font-size: 16px; }
	.product-card__badge { top: 10px; right: 10px; font-size: 12px; padding: 2px 10px; }
	.fact strong { font-size: 20px; }
	.products__group { font-size: 19px; }
	.gallery { margin-top: 70px; }
	.gallery__track { gap: 12px; }
	.gallery__slide { flex-basis: 88%; }
	.popup__box { padding: 46px 20px 24px; }

	.footer-top { flex-direction: column; gap: 30px; }
	.footer-col-2 { flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
