/* HTML */
/* -------------------------------------------------------------------- */
html { height: 100%; font-size: var(--root-font-size); }
body {  width: 100%; min-height: 100%; vertical-align: top;	background: var(--background-color); color: var(--text-color);
 font-size: var(--main-font-size); font-family: var(--font); font-weight: normal; line-height: 1.4;  }
body > .container { overflow: hidden; opacity:  0; }

.swiper-wrapper { height: auto; }

@media screen and (min-width: 2000px) {
	html { font-size: 13px; }
}
@media screen and (min-width: 3000px) {
	html { font-size: 20px; }
}

/* Main elements */
/* ============================================================== */
img { display: inline-block; }

.article img { max-width: 100%; height: auto; }

p:not(:last-child) { margin-bottom: 1em; }
b { font-weight: bold; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline;  }
strong { font-weight: bold;}
i { width: auto; height: auto; }
em { font-weight: bold; font-style: normal; }
hr { display: block; margin: 4rem 0; background: 0; border-top: 2px solid #eee; }

/* ============================================================== */
h1, h2, h3, h4 { margin-bottom: 0.5em; line-height: 1.2; color: var(--heading-color); font-weight: 500; }


h1 { font-size: 4rem; margin-bottom: 0.6em; text-transform: uppercase; }
h2 { font-size: 2.8rem; margin-bottom: 1em;  border-left: 5px solid var(--color-green); text-transform: uppercase; }
h2.-center { text-align: center; }
h3 { font-size: 2.5rem; }

@media screen and (max-width: 960px) {
	h1 { font-size: 3.6rem; }
	h2 { font-size: 3rem; }
	h3 { font-size: 2.8rem; }
}

@media screen and (max-width: 640px) {
	h1 { font-size: 2.8rem; }
	h2 { font-size: 2.4rem; }
	h3 { font-size: 2rem; }
}

.banner img { width: 100%; height: auto; }

/* Lists */
/* ============================================================== */
ul, ol { list-style-type: none; }
ol > li::marker  {  display: inline; }
ol > li::before,
ul > li::before { display: inline-block; }
ol > li > p { display: inline; }
ul > li > p { display: inline; }

.hidden { display: none !important; }
.clearfix { clear: both; }

/* ============================================================== */
img.-full { width: 100%; height: auto; float: none; max-width: none; margin-left: 0; margin-right: 0; }
img.-full:not(:first-child) { margin-top: 2rem; }
img.-full:not(:last-child) { margin-bottom: 2rem; }

img.-left { float: left; margin-right: var(--span); margin-bottom: var(--span); max-width: 50rem; height: auto; position: relative; }
img.-right { float: right; margin-left: var(--span); margin-bottom: var(--span); max-width: 50rem; height: auto; position: relative; }

img.-small { max-width: 38rem; }

@media screen and (max-width: 768px) {
	img.-left, img.-right { float: none; max-width: none; margin:0; margin-bottom: 2rem; width: 100%; }
}

/* ============================================================== */
table { width: 100%; margin-bottom: 4rem; background: white;   text-align: center; overflow: hidden; font-size: 1.6rem; }
table caption { background: var(--color-gray); padding: 2rem; font-size: 2rem; font-weight: bold; color: #333; text-align: center; text-transform: uppercase;  }
table td,
table th { border: 1px solid #d0d0d0; padding: 1rem 2rem; text-align: left;  vertical-align: middle; }
table th { background: linear-gradient(white, #f5f5f5);  font-size: 1.8rem; font-weight: bold;}
table td { }                            
table td.title { font-weight: 500; }
table td.value, table th.value { text-align: center; }
table td.first { font-weight: bold; }
table tr.secondary > td:first-child { padding-left: 3rem; }
table h2 { font-size: 1.8rem; }

@media screen and (max-width: 960px) {
	table { overflow: auto; max-width: 100%; }
	table td, table th { padding: 0.5rem 1rem; }
}

#article, #product-article, #category-article, #about {
	text-align: justify;
	padding-top: 4rem; 
	background: url(../img/bg-article.jpg) top right no-repeat;
	background-size: 60rem auto;
}


/* Всплывающие окна */
/* ============================================================== */
.mfp-content { --text-color: black; --heading-color: var(--color-blue); color: black; padding: 4rem; overflow:hidden; background: white; display: inline-block; width: auto !important; max-width: 50rem; z-index: 52; width: 100% !important; border-radius: var(--border-radius); }
.mfp-content.-policy { max-width: 80%}
.mfp-bg { z-index: 150;}
.mfp-wrap { z-index: 151; }
.mfp-content form { width: 100%; margin:0 auto; max-width: 50rem; text-align: center; }
.mfp-content a { color: var(--color-blue); }
.mfp-content .form-buttons { display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.mfp-content .form-input { margin-bottom: 1rem; }
.mfp-content input,
.mfp-content textarea { width: 100%; }
.mfp-content .form-description { font-size: 1.6rem; }
.mfp-content h2 { display: inline-block; border-left: 5px solid var(--color-green); text-align: center; font-size: 2.5rem; text-transform: uppercase; color: black; }
.mfp-close { border-radius: 50%; width: 3.5rem; height: 3.5rem; right: 1rem; top: 1rem; line-height: 0; }
.mfp-close:hover, .mfp-close:focus { color: white; }
.mfp-content { --input-height: 5rem; }


/* Контейнеры для различных элементов и карточек */
/* ============================================================== */
.grid-container { display: grid; grid-template-rows: auto; grid-template-columns: repeat(auto-fill, minmax(var(--item-width), 1fr)); gap: var(--container-gap); justify-content: center;  }

[data-container~="count-6"] { --item-width: 17rem; }
[data-container~="count-5"] { --item-width: 20rem; }
[data-container~="count-4"] { --item-width: 26rem; }
[data-container~="count-3"] { --item-width: 35rem; }
[data-container~="count-2"] { --item-width: 50rem; }

@media screen and (max-width: 960px) {
	.grid-container { display: flex; flex-wrap: wrap; flex-wrap: wrap; justify-content: left; }
	.grid-container > * { flex-basis: var(--item-width);  }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 640px) {
	.grid-container {  --item-width: 100% !important; }
}

.flex-container { display: flex; gap: var(--container-gap); flex-wrap: wrap; align-items: center; justify-content: center; }
.flex-container > * { flex-grow: 1; flex-basis: var(--item-width);  }

@media screen and (max-width: 960px) {
	.flex-container > * { max-width: none; }
	.grid-container > * { flex-grow: 1; }
}

.split-container { display: flex; gap: 3rem; flex-wrap: wrap; }
.split-container > * { flex-grow: 1;  flex-basis: 45rem; }
.split-container[data-split-container~="center"] { align-items: center; }
.split-container > .image.-large { flex-grow: 2; flex-basis: 45; }

.articles-container { display: flex; gap: 4rem; flex-wrap: wrap; }
.articles-container > * { flex-basis: 100% !important; }

.buttons-container { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.teasers-container  {  display: grid; grid-template-columns: repeat(auto-fit, minmax(40rem,1fr)); position: relative;  gap: 2rem;  justify-content: center;  padding: 0.5rem 0; margin: 2rem 0;}


/* Обычный тизер с картинкой сверху */
/* =========================================== */
.image-teaser { display: flex; flex-direction: column; gap: 4rem 2rem; text-align: center; align-items: center; }
.image-teaser .image { width: 15rem; height: 15rem; position: relative; }
.image-teaser .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.image-teaser .title { font-weight: 500; max-width: 20rem; }


/* ============================================================== */
.side-image-container { display: flex; gap: 6rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.side-image-container > * { flex-basis: 40rem; flex-grow: 1; }
.side-image-container > .content { flex-grow: 2; }
.side-image-container > .image { lign-self: stretch; position: relative; display: flex; align-items: center; justify-content: center; }
.side-image-container > .image img { max-height: 35rem; width: 100%; height: 100%; object-fit: cover; }


/* ============================================================== */
.side-container { display: flex; align-items: center; flex-wrap: wrap; gap: 4rem;}
.side-container > .content { flex-basis: 30rem; flex-grow: 2; }
.side-container > .side { flex-basis: 20%; flex-grow: 1; min-width: 20rem; align-self: center;}

/* ============================================================== */
.button-up { --color: var(--color-dark-gray); transition: opacity .3s ease; opacity: 0.8; background-color: var(--color-light-gray); height: 5.5rem; width: 5.5rem; bottom: 3rem; right: 3rem; cursor: pointer; display: none; position: fixed; z-index: 999; align-items: flex-end;justify-content: center; border-radius: 50%;  user-select: none; box-shadow: 0 0 5px 0 #0003; }	
.button-up:before { content: "";position: absolute;top: 40%;width: 40%;height: 40%;border-left: 3px solid var(--color);border-top: 3px solid var(--color);transform: rotate(45deg); left: 27%;}
.button-up:hover {opacity: 1;}



/* ============================================================== */
.page-block { padding: var(--block-padding); position: relative; color: var(--text-color); background: var(--background-color); --text-color: inherit; --background-color: transparent;}
.page-block > .block-container { max-width: var(--page-width); margin: 0 auto; position: relative; }

.page-block[data-page-block~="narrow"] { padding-top: var(--span); padding-bottom: var(--span); }
.page-block[data-page-block~="narrower"] { padding-top: calc(var(--span) * 2); padding-bottom: calc(var(--span) * 2); }
.page-block[data-page-block~="no-padding"] { padding-top: 0; padding-bottom: 0; }
.page-block[data-page-block~="multiple"] { }


.page-block[data-page-block~="yellow"] { --background-color: var(--color-yellow); }
.page-block[data-page-block~="gray"] { --background-color: #f8f8f8;}
.page-block[data-page-block~="black"] { --background-color: #444; --text-color: white; --heading-color: white; --link-color: var(--color-yellow); }
.page-block > .bg { position: absolute; right: 100%; bottom: 100%; height: 30rem; width: 30rem; z-index: 1; }

@media screen and (max-width: 960px) {
	.page-block { padding-left: 2rem; padding-right: 2rem; }
}


/* ============================================================== */
.page-section { margin: 4rem 0; }
.page-section:first-child { margin-top: 0; }
.page-section:last-child { margin-bottom: 0; }


/* ============================================================== */
.block-heading { --size: 4.8rem; margin: 0 auto; font-size: var(--size); margin-bottom: var(--span-large); text-transform: uppercase; text-align: center; border: none; padding: 0; max-width: 80rem;}
.block-heading-text { margin: auto; margin-top: calc(var(--block-padding) * -0.8); margin-bottom: var(--span-x-large); max-width: calc(var(--page-width) * 0.6); text-align: center; }
.block-heading-container { display: flex; align-items: center;  justify-content: center; gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap; }
.block-heading-container h2 { margin-bottom: 0; display: inline-block; font-size: --size;}
.block-heading-container.-left h2 { text-align: left; }


@media screen and (max-width: 960px) {
	.block-heading { --size: 3.2rem; }
}

@media screen and (max-width: 768px) {
	.block-heading { --size: 2.8rem; }
}


/* Всплывающие сообщения */
/* ============================================================== */
.message-queue { position: fixed; top: 50%; padding: 3rem; left: 50%; right: 0; background: rgba(0, 0, 0, 0.7); transform: translate(-50%, -50%); max-width: 800px; border-radius: 1rem;  z-index: 400; }
.message-queue .message { margin: 0 auto; max-width: 700px; display: block; background: white; padding: 1rem; margin-bottom: 0.5rem; border-radius: 3px; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);  }
.message-queue .message: last-child { margin-bottom: 0;  }
.message-queue .message.error { border-left: 5px solid #a6051b;  }
.message-queue .message strong { font-weight: bold; }
.message-queue .message .large { font-size: 2.5rem;}
.message-queue .message .large strong { color: #a6051b; }
.message-queue .message.critical { border-left: 5px solid transparent; color: white; background: #a6051b;  }
.message-queue .message.warning { border-left: 5px solid #ffd376;  }

@media screen and (max-width: 640px) {
	 .message-queue { padding: 1rem; bottom: 0; width: 100%; border-radius: 0; top: auto; transform: none; left:0; right:0; }
	 .message-queue .message { padding: 0.5rem; }
}

/* Блоки сносок в тексте */
/* ============================================================== */
.message-box { --text-color: var(--color-black); color: var(--text-color); --image: url("../img/icons/mb-info.png"); clear: both; position: relative; display: flex; justify-content: flex-start; align-items: flex-start; padding: 4rem; padding-left: 12rem;  text-align: left; margin: 3rem 0; flex-flow: column; min-height: 10rem; border-radius: var(--border-radius); min-height: 100px; border: 2px solid #e0e0e0; background: linear-gradient(45deg, #00000020, white 5rem); }
.message-box::after { content:''; display: block; width: 4px; position: absolute; top:-2px; left:-2px; bottom:-2px; background: var(--color-blue); }
.message-box h2 { text-align: left; font-size: 2.4rem; margin-bottom: 1rem; margin-top: 0; }
.message-box a { color: var(--text-color); text-decoration: underline; }
.message-box > * { margin-bottom: 0.5rem;}
.message-box > *:last-child { margin-bottom: 0; }
.message-box::before { content: ''; display: block; position: absolute; top: 50%; bottom: 0; left: 2rem; width: 8rem; height:8rem; transform: translateY(-50%); background: var(--color-blue);mask: var(--image) center / contain no-repeat; -webkit-mask: var(--image) center / contain no-repeat; }
.message-box.-home { --image:url(../img/icons/mb-home.png); }
.message-box.-alert { --image:url(../img/icons/mb-alert.png); }
.message-box.-alert::before { background: var(--color-red); }
.message-box.-alert::after { background: var(--color-red); }
.message-box.-center { text-align: center; align-items: center; }
.message-box.-center::before { display:none;  }
.message-box.-with-image { padding-left: 25rem; }
.message-box.-with-image .image { position: absolute; left:0; top:0; height: 100%; width: 20rem; mask: linear-gradient(to left, transparent, white 2rem); }
.message-box.-with-image .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; }
@media screen and (max-width: 768px) {
	.message-box.-with-image .image { display: none; }
	.message-box.-with-image::before { display: none; }
}

@media screen and (max-width: 768px) {
	.message-box { padding: 2rem !important; }
	.message-box::before { display: none; }
}

/* Страничная навигация */
/* ============================================================== */
.pagination { display: flex; margin: 4rem 0; text-align: left; align-items: center; justify-content: left; flex-wrap: wrap; font-size: 1.6rem; margin-left: -1rem; }
.pagination .title { margin-right: 2rem; }
.pagination ul { margin-bottom: 0 !important; margin-left: 0; display: flex; flex-wrap: wrap; gap: 1rem}
.pagination li a, .pagination li span { display: flex; align-items: center; justify-content: center; min-width: 3rem; }
.pagination li.active a, .pagination li.active span { background: var(--color-blue);  color: #ffffff; }
.pagination li { display: inline-flex; list-style-type: none; margin-bottom: 0; margin-left: 0; align-items: center; }
.pagination li:not(.control) a,
.pagination li:not(.control) span { min-width: 3rem; flex-shrink: 0; height: 3rem; align-items: center; justify-content: center; text-decoration: none; padding: 1rem;}
.pagination li:hover a { background: #f0f0f0; }

/* Табы */
/* ============================================================== */
.tabs {  position: relative; }

.tabs .tabs-navigation {  display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tabs .tabs-navigation span { padding: 1.5rem 2rem; text-decoration: none; display: inline-block; font-size: 2rem;  
	padding-right: 4rem; position: relative; align-items: center; gap: 1rem; 
	display: inline-flex; background: #f4f4f4; cursor: pointer; border: 2px solid transparent;
	clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 100%, 0 100%);
	}

.tabs .tabs-navigation span:not(:first-child) { margin-left: -2.5rem; padding-left: 4rem; }
.tabs .tabs-navigation span:hover { background: #f0f0f0;  }
.tabs .tabs-navigation span i { background: black; width: 3rem; height: 3rem; }
.tabs .tabs-navigation span.-active {  background: var(--color-yellow); color: black; z-index: 10; }
.tabs .tabs-navigation span.-active:not(:first-child) { clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 100%, 2rem 100%); }

.tabs .tabs-content { background: white; box-shadow: 0 0 2rem 0 #0003; padding: 4rem; font-size: 1.8rem; }
.tabs .tab { display: none; }
.tabs .tab.-active { display: block; }

@media screen and (max-width: 768px) {
	.tabs .tabs-navigation { gap: 0; }
	.tabs .tabs-navigation span  { padding: 1rem; font-size: 1.6rem; clip-path: none !important; }
	.tabs .tabs-navigation span:not(:first-child) { padding-left: 1rem; margin-left: 0; }
	.tabs .tabs-navigation span i { width: 2rem; height: 2rem; }
}

@media screen and (max-width: 640px) {
	.tabs .tabs-navigation span { flex-basis: 100%; }
}

/* Иконки соцсетей */
/* ============================================================== */
.social-icons { white-space: nowrap; display: flex; align-items: center; gap: 1rem; justify-content: center; }
.social-icons a {
	--color: var(--color-blue);
	width: 4rem; height: 4rem; border-radius: 50%; background: var(--color);
	display: inline-flex; justify-content: center; align-items: center; flex-shrink:0;
	transition: .3s; top: 0; gap: 0.5rem;
	position: relative;  cursor: pointer; }
.social-icons a i { width: 60%; height: 50%; background: white; }
.social-icons a.telegram { --color: #3f95d6; }
.social-icons a.whatsapp { --color: #58bb16; }
.social-icons a:hover { background: white; }
.social-icons a:hover i { background: black !important; }


/* Оформление элементов в статьях */
/* ============================================================== */             
.article ul { list-style-type: square; margin-bottom: 1em; margin-left: 2rem; }
.article ul.-no-margin { margin-left: 0; }
.article ul > li { margin-bottom: 0.5em; }
.article ul > li::marker { color: var(--color-black); }
.article > table { margin: 4rem 0; }
.article ol { list-style-type: decimal; margin-bottom: 1em; }
.article li { margin-bottom: 0.5em; }
.article h2 { 
	background: #f7f7f7; padding: 1rem 2rem; font-size: 3rem; border-left: 4px solid #dddddd; display: inline-block;
}
.article a:hover { text-decoration: none; }
.article img { display: block; }
.article > h2:not(:first-child) { margin-top: 2em; }
.article a { color: var(--color-blue); text-decoration: underline; }

/* Хлебные крошки */
/* ============================================================== */
.breadcrumbs { margin-bottom: 2rem; font-size: 1.7rem; flex-wrap: wrap; line-height: 1.2; }
.breadcrumbs ul::before { content: '';  margin-right: 1rem; display: inline-block; width: 2rem; height: 2rem;
	--icon: url(../img/icons/home.png);
	mask: var(--icon) center/contain no-repeat;
	-webkit-mask: var(--icon) center/contain no-repeat;
	background: var(--color-black); }
.breadcrumbs ul { display: flex;  color: #333; gap: 1rem; flex-wrap: wrap; align-items: center;  }
.breadcrumbs ul li { display: inline-flex; margin-right: 0.5rem; align-items: center; }
.breadcrumbs ul li:not(:last-child)::after { content: '/'; display: inline-block; margin-left: 2rem; height: 2rem; }
.breadcrumbs a { text-decoration: underline; color: #888; }
.breadcrumbs span { font-weight: 500; color: #444; }
.breadcrumbs a > span { font-weight: normal; color: #888; }
.breadcrumbs a:hover > span { color: var(--color-red); }
.breadcrumbs a:hover { text-decoration: underline; }

@media screen and (max-width: 768px) {
	.breadcrumbs { font-size: 1.4rem; }
	.breadcrumbs ul { justify-content: center; }
}



/* Всплывашки */
/* ============================================================== */
.tippy-content { font-size: 1.5rem; padding: 2rem; }
.tippy-box { background: #ffffffe0; color: black; border-radius: 1rem; }
.tippy-arrow  { color: #ffffffe0;}


/* ============================================================== */
.advantage-card { display: flex; align-items: center; gap: 2rem; line-height: 1.3; flex-direction: column; text-align: center; flex-grow: 1; position: relative; cursor: pointer; }
.advantage-card:not(:last-child) { border-right: 1px solid var(--color-line); }
.advantage-card .image { display: flex; align-items: center; justify-content: center; position; relative; }
.advantage-card .image i { width: 14rem; height: 12rem; background: black; }
.advantage-card .content { font-size: 2rem; padding: 2rem; }

.advantage-card .image::after { content: ''; display: block;
	background: linear-gradient(transparent, #fff20030, transparent); 
	position: absolute; left: 0; top: 0; width: 100%; height: 10rem; 
	opacity: 0; transition: .3s; 
}
.advantage-card:hover .image::after { opacity: 1; }

.advantage-card:hover i[data-icon="advantage-1"] { --image: url(../img/icons/advantage-1-on.png); }
.advantage-card:hover i[data-icon="advantage-2"] { --image: url(../img/icons/advantage-2-on.png); }
.advantage-card:hover i[data-icon="advantage-3"] { --image: url(../img/icons/advantage-3-on.png); }
.advantage-card:hover i[data-icon="advantage-4"] { --image: url(../img/icons/advantage-4-on.png); }
.advantage-card:hover i[data-icon="advantage-5"] { --image: url(../img/icons/advantage-5-on.png); }

#advantages .advantages-container { gap: 0; }


@media screen and (max-width: 768px) {
	.advantage-card:not(:last-child) { border: none; }
	.advantage-card .image i { width: 10rem; height: 8rem; }
	.advantage-card .image::after { background: radial-gradient(#fff20030, transparent) !important;  }
}


/* Карточка статьи */
/* ============================================================== */
.article-card { overflow: hidden;  align-items: center; gap: 4rem; flex-wrap: wrap;  position: relative; border: 2px solid var(--color-red); padding-bottom: 1rem; }
.article-card::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0px; }
.article-card .image { width: 100%;  display: block; padding-top: 60%; overflow: hidden; position: relative; }
.article-card .image img { width: 100%; position: absolute; left:0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card .content { padding: 2rem 4rem; line-height: 1.2; font-size: 1.6rem; }
.article-card .title { font-size: 2rem; font-weight: 500;}
.article-card .button { margin-top: 1rem; }
.article-card .text { margin-top: 1rem; }

/* Карточка статьи */
/* ============================================================== */
.article-list-card { overflow: hidden;  align-items: center; gap: 4rem; display: flex; flex-wrap: wrap;  position: relative;  }
.article-list-card .image::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0px; }
.article-list-card .image { flex-basis: 30rem; flex-grow: 0;  display: block; overflow: hidden; position: relative; }
.article-list-card .image img { width: 100%; height: auto;  }
.article-list-card .content { line-height: 1.2; font-size: 1.6rem; flex-grow: 1; flex-basis: 40rem; }
.article-list-card .title { font-size: 2rem; font-weight: 500;}
.article-list-card .button { margin-top: 1rem; }
.article-list-card .text { margin-top: 1rem; }


.article-list-card:not(:last-child) { border-bottom: 1px solid #ddd; padding-bottom: 2rem; }

/* ============================================================== */
.news-card { overflow: hidden;  align-items: center;  display: flex; align-items: stretch; flex-wrap: wrap;  position: relative; border: 2px solid var(--color-red); padding-bottom: 1rem; }
.news-card::after { display: block; content:''; position: absolute; background: linear-gradient(to top, #f6f6f6b0, transparent), url(../img/bg-lines.png) center repeat, #f6f6f6; height: 1.8rem; left: 0; right:0; bottom:0px; }
.news-card .image { flex-basis: 30%; flex-shrink: 0; flex-grow:1;  display: block; overflow: hidden; position: relative; }
.news-card .image img { width: 100%; position: absolute; left:0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card .content { padding: 4rem; line-height: 1.2; font-size: 1.6rem; flex-basis: 20rem; flex-grow: 1; flex-basis: 30rem; }
.news-card .title { font-size: 2rem; font-weight: 500;}
.news-card .button { margin-top: 1rem; }
.news-card .text { margin-top: 1rem; }

.news-list-card:not(:last-child) { border-bottom: 1px solid #ddd; padding-bottom: 2rem; }

/* ============================================================== */
.gallery-card { display: block; transition: .3s; background: #333; position: relative; border: 1px solid #ccc; overflow:hidden; transition: .3s; z-index: 1; background: white; color: black !important; padding: 3px; }
.gallery-card .image { width: 100%;  height: 100; display: block; position: relative; padding-top: 75%; }
.gallery-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-card:hover { border-color: var(--color-yellow); z-index: 10; filter: var(--filter-shadow); }
.gallery-card .title { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; text-align: center; font-size: 1.6rem;
	background: var(--color-yellow); font-weight: bold; min-height: 20%; display: flex; align-items: center; justify-content: center; }


/* ============================================================== */
.product-card { position: relative; border: 1px solid #ccc; overflow:hidden; transition: .3s; z-index: 1;
	background: white; }
.product-card .image { width: 100%; padding-top: 70%; position: relative; display: block; }
.product-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

.product-card .content { padding: 1.5rem 3rem; text-align: left; }
.product-card .content .title { font-size: 1.7rem; text-transform: uppercase; font-weight: 500; line-height: 1.2; display: block; padding-bottom: 1rem;  color: black; }

.product-card .price {  display: inline-flex; align-items: center; gap: 1rem; font-size: 2rem; }
.product-card .price .value { font-size: 2.4rem; font-weight: 500;  }

.product-card .controls { display: flex; align-items: center; gap: 1rem; justify-content: space-between;
	margin-top: 1rem; padding-top: 1rem; flex-wrap: wrap; border-top: 1px solid var(--color-line); }

.product-card:hover { z-index: 10; filter: var(--filter-shadow); }

.product-card .more-button { display: inline-flex; font-size: 1.8rem; gap: 1rem; align-items: center; color: black; }
.product-card .more-button i { width: 2rem; height: 2rem; }

/* Адаптивное меню */
/* ============================================================== */
.mobile-menu { background: white; color: black; display:none; position: fixed; top:0; left:0; width: 100vw; height: auto; z-index: 10000; max-height: 100%; box-shadow: 0 3px 5px 0 #0003; overflow: auto; }

.mobile-menu .close-menu-button { height: 5rem; display: flex; cursor: pointer; align-items: center; justify-content: center; background: var(--color-black); gap: 1rem; color: white; }
.mobile-menu .close-menu-button i { background: white; width: 1.5rem; height: 1.5rem; }

.mobile-menu .menu { padding: 0; z-index: 100;   text-align: left;  line-height: 1.1;  height: auto; max-height: calc(100vh); width: 100%; z-index:20; box-shadow: 0 5px 5px 0 #0003; padding-bottom: 2rem; }
.mobile-menu .menu a {  text-decoration: none; }
.mobile-menu .menu li { display: block; } 
.mobile-menu .menu > li { border-bottom: 1px solid #fff2; }
.mobile-menu .menu > li > a { font-weight: normal; }
.mobile-menu .menu li ul { position: relative; background: transparent; padding: 0 2rem;}
.mobile-menu .menu li ul li { border: none !important; }
.mobile-menu .menu li a  { display: flex; padding: 0.7rem 2rem; gap: 1rem; align-items: center; min-height: 3rem; }
.mobile-menu .menu li.-active > a { font-weight: bold;  }
.mobile-menu .menu li a > .text { flex-grow: 1; }
.mobile-menu .menu li a:hover {  background: var(--color-yellow); }
.mobile-menu .menu li > ul { display: none;  font-size: 1.5rem; margin-left: 2rem; padding-left: 0; }

.mobile-menu .menu .opener { display: inline-block; width: 3rem; height: 2.5rem; flex-shrink: 0; background: #333; --mask: url(../img/icons/arrow-down.png) center/1.5rem no-repeat;	mask: var(--mask); -webkit-mask: var(--mask);  background: black; }

.mobile-menu .menu li.-open > a > .opener { --mask: url(../img/icons/arrow-up.png) center/1.5rem no-repeat;}
.mobile-menu .menu li.-open > ul { display: block; }
.mobile-menu .menu li.-open { border-bottom: 1px solid #fff5; margin-bottom: 1rem; padding-bottom: 1rem; background: #f0f0f0;  }
.mobile-menu .menu li.-open > a { margin-bottom: 0.5rem; background: linear-gradient(to top, #0003, transparent 1rem); padding: 1rem 2rem; font-weight: bold; }
.mobile-menu .menu li.-open > ul {  display: block; }

.mobile-menu.-open { display: block; }
.mobile-menu.-open .open-button::after { --image: url(../img/icons/close.svg) center/contain no-repeat; }
.mobile-menu.-open .mobile-menu { display: block;  }

/* ============================================================== */
.mobile-menu-button { display: none; align-items: center; gap: 1rem; justify-content: center; font-size: 1.5rem; min-height: 4rem; transition: .3s; cursor: pointer; border: 3px solid #eee; padding: 1rem; }
.mobile-menu-button i { background: black; }
.mobile-menu-button:hover { background: white; }

@media screen and (max-width: 960px) {
	.mobile-menu-button { display: flex; }
}


/* ============================================================== */
#header { z-index: 100;	overflow: visible; line-height: 1.2; position: relative; padding-bottom: 3rem; background: white; font-size: 1.8rem; border-bottom: 1px solid var(--color-line); }

.site-logo {  display: block; background: url(../img/site-logo.webp) center/contain no-repeat; height: 11rem; width: 30rem; }

#header .site-logo { flex-basis: 30rem; height: 11rem; width: 30rem; }
#header .block-container { display: flex; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; justify-content: center; }
#header .block-content { display: flex; gap: 1rem; flex-wrap: wrap; flex-grow: 1; flex-basis: 40rem; justify-content: end; align-items: center; }
#header .contacts-part { display: flex; gap: 1rem 2rem; flex-wrap: wrap; flex-basis: content; justify-content: end; align-items: center;  }
#header .contacts { border-right: 1px solid var(--color-line); padding-right: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; flex-basis: 40rem; }
#header .contacts .contacts-item { flex-basis: 100%; }
#header .phone { font-size: 2.8rem; }
#header .phone strong { font-weight: 500; }

.contacts-item { display: flex; gap: 1rem; font-size: 1.5rem;  }
.contacts-item i { width: 2rem; height: 2rem; background: #ccc; }
.contacts-item a { text-decoration: underline; color: black; }

.site-menu { display: inline-flex; align-items: center; justify-content: end; flex-wrap: wrap;  position: relative; z-index: 100; flex-grow: 1; flex-basis: auto; }
.site-menu  a { display: flex; padding: 0.5rem 1.5rem; text-decoration: none; width: 100%; align-items: center; gap: 0.5rem; }
.site-menu li { display: flex; align-items: center; gap: 1rem; position: relative; }
.site-menu ul { display: none; padding: 0rem; background: white; position: absolute; left:0; top: 100%; color: black; min-width: 100%; box-shadow: 0 0 10px #0002;
	border-left: 4px solid var(--color-black); width: max-content; max-width: 30rem;  z-index: 10;}
.site-menu ul > li { border-bottom: 1px solid #0001; }
.site-menu ul > li:hover { background: var(--color-yellow); }

.site-menu li:hover > a { }
.site-menu li:hover > ul { display: block; }
.site-menu li:hover > ul a { padding: 1rem 2rem; }

.site-menu > li { border-bottom: 4px solid transparent; }
.site-menu > li:hover { border-bottom-color: rgb(from var(--color-yellow) calc(r / 1.1) calc(g / 1.1) calc(b / 1.1));; background: var(--color-yellow); }
.site-menu > li.-active { background: #f5f5f5; border-bottom-color: var(--color-yellow); }
.site-menu > li.-has-children:hover > a::after { background: white; }


#header.-fixed { position: fixed; top: 0; left: 0; right: 0; width: 100%; box-shadow: 0 1rem 1rem 0 #0001; padding-top: 1rem; padding-bottom: 1rem; }

#header.-fixed .site-logo { flex-basis: 25rem; width: 25rem; height: 8rem; }
#header.-fixed { --button-height: 4rem; }

@media screen and (max-width: 1200px) {
	#header .contacts { border: none; padding-right: 0; justify-content: center; }
	#header .contacts-part { justify-content: center; }
	#header .site-menu { justify-content: center; }
}

@media screen and (max-width: 960px) {
	#header.-fixed { padding-bottom: 2rem; }
	#header .phone { font-size: 2.4rem; }
	#header .main-menu { display: none; }
	#header .block-content { flex-basis: auto; }
}

@media screen and (max-width: 768px) {
	#header .site-logo { flex-basis: 25rem; width: 25rem; height: 8rem; }
	#header .contacts .contacts-item { justify-content: center; }
	#header.-fixed .block-content { display: none; }
	#header.-fixed .site-logo { flex-basis: 20rem; height: 6rem; }
	#header.-fixed  .contacts-part { display: none; }

}

@media screen and (max-width: 640px) {
}


/* ============================================================== */
#slider { background: #444; overflow: hidden; --text-color: white; --heading-color: white; }
#slider .slide { position: relative; }
#slider .slide > .image { position: absolute; bottom: 0; top: 0; left: 0; right: 0; }
#slider .slide > .image::after { content: ''; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; 
	background: linear-gradient(120deg, #000, #0004 50rem, transparent 100rem); 
}
#slider .slide > .image img { position: absolute; bottom: 0; top: 0; left: 0; height: 100%; width: 100%;  object-fit: cover; }

#slider .slide .block-container { min-height: 35rem; display: flex; align-items: center; }
#slider .slide .slide-content { max-width: 70rem; }

#slider h1 { text-transform: uppercase; }

@media screen and (max-width: 768px) {
	#slider .slide .slide-content { text-align: center; }
	#slider h1 { font-size: 2.8rem; }
}


/* ============================================================== */
#services { }
#services .services-container { display: flex; align-items: stretch; max-width: var(--page-width); margin: 0 auto; position: relative; z-index: 4;  }
#services .services-panel { padding: 4rem 0; font-size: 1.8rem; box-shadow: 0 1rem 0.5rem 0 #0003; }
#services .services-panel .panel-content { max-width: var(--page-width); margin: 0 auto; position: relative; }
#services .services-panel .more-button { margin-top: 2rem; }
#services .service-card { flex-basis: 40rem; flex-grow: 1; }


.service-card::after { content: '' ; display: block; width: 3rem; height: 2rem; background: var(--color-card); position: absolute; left:2rem; bottom: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); transition: .3s; z-index: -1; }
.service-card { --color-card: var(--color-blue); color: white; flex-grow: 1;  background: var(--color-card); cursor: pointer; position: relative; }
.service-card .cover { padding-top: 80%; position: relative;    }
.service-card .cover .image { overflow: hidden; background: var(--color-card); position: absolute; left: 0; top: 0; right: 0; bottom: 0; object-fit: cover; }
.service-card .cover img { position: absolute; left: 0; top: -2px; right: 0; bottom: 0; object-fit: cover; width: 100%; height: 100%; 
	--mask: linear-gradient(black, black, transparent 80%); mask: var(--mask); -webkit-mask: var(--mask);
}
.service-card .title { position: absolute; left: 2rem; bottom:2rem; text-transform: uppercase; font-size: 2.2rem; font-weight: 500; transition: .3s; right: 2rem; }
.service-card .content { display: none; font-size: 1.8rem; padding: 2rem; padding-bottom: 4rem; }
.service-card .content .more-button { margin-top: 2rem; --button-color: white; --button-icon-color: white; }

.service-card:nth-child(1) { --color-card: #2576c8; }
.service-card:nth-child(1) .image { left: -20vw; }
.service-card:nth-child(2) { --color-card: #1159a3; }
.service-card:nth-child(3) .image { right: -20vw; }

.service-card:hover { --color-card: #1159a3;}
.service-card:hover .title { bottom: 2.5rem; }


@media screen and (min-width: 960px) {
	.service-card.-active { --color-card: black; }
}	

@media screen and (max-width: 960px) {
	#services .services-container { flex-wrap: wrap; }
	#services .service-card { flex-basis: 100%; }
	.service-card .cover { padding-top: 50%; }
	.service-card.-active::after { bottom: -2rem; }
	.service-card .content { display: block; }
	#services .services-panel { display: none; }
	.service-card::after { display: none; }
}


@media screen and (max-width: 640px) {
	.service-card .cover { padding-top: 70%; }
}

/* ============================================================== */
#about {  }
#about h2  { background: #f7f7f7; padding: 1rem 2rem; font-size: 4.8rem; border-left: 4px solid #dddddd; display: inline-block; }
#about .block-container { display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
#about .block-content { flex-basis: 40rem; flex-grow: 1; }
#about .image {  flex-basis: 30%; flex-grow: 1; flex-shrink: 0; width: 100%;  }
#about .image img { width: 100%; height: 100%; object-fit: contain; }

#about .number { margin-top: 4rem; }

@media screen and (max-width: 960px) {
	#about .image { order: -1;  flex-basis: auto;  }
}


/* ============================================================== */
#contacts { position: relative; background: #f4f4f4; padding: 0 var(--block-padding); }
#contacts h2 { font-size: 4.8rem; text-transform: uppercase; }
#contacts .block-container { display: flex; align-items: center; align-items: stretch; flex-wrap: wrap; gap: 4rem; }
#contacts .block-container > * { flex-basis: 40rem; flex-grow: 1; gap: 4rem; padding: 4rem 0; }
#contacts .image { position: relative; }
#contacts .image::before { content: ''; display: block; position: absolute; left: 0; top: 0; width: 50vw; height: 100%; 
	background: url(../img/bg-contacts.webp) center/cover no-repeat; 	z-index: 0; 
}

#contacts .image::after { content: ''; display: block; position: absolute; left: 0; bottom: 0; top:2rem;
	width: 100%; 
	background: url(../img/bg-contacts-man.webp) no-repeat; z-index: 1; background-position: 2rem bottom; background-size: contain;  }

@media screen and (max-width: 960px) {
	#contacts .image { display: none; }
	#contacts h2 { text-align: center; }
}

/* ============================================================== */

#footer { font-size: 1.5rem; padding: 0; }
#footer .top-part { display: flex; gap: 2rem; align-items: center; justify-content: center; flex-wrap: wrap; position: relative; }
#footer .contacts-part { flex-basis: 42rem; border-left: 1px solid var(--color-line); padding: 2rem; padding-left: 4rem; }
#footer .contacts-part .phone { font-size: 3.6rem; text-decoration: none; }
#footer .contacts-part .phone:hover { text-decoration: none; color: var(--color-blue); }

#footer .contacts { margin-top: 2rem; display: flex; gap: 1rem; flex-grow: 1rem; flex-wrap: wrap; }
#footer .contacts > * { flex-basis: 100%; flex-grow: 1; }
#footer .content { flex-basis: 35rem; flex-grow: 1; padding: 4rem 2rem; }
#footer .site-logo { flex-basis: 35rem; }

#footer-bottom { border-top: 1px solid var(--color-line); text-align: center; }
#footer-bottom .bottom-menu { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; flex-grow: 1; flex-basis: 30rem; font-size: 1.8rem; }
#footer-bottom .copyrights { flex-basis: 30rem; flex-grow: 1; font-size: 1.4rem; }
#footer-bottom .copyrights.-vebas { margin-top: 0rem; }

@media screen and (max-width: 960px) {
	#footer { padding: 2rem 0; }
	#footer .content { padding: 2rem; text-align: center; }
	#footer .contacts-part { padding: 0 2rem; text-align: center; }
	#footer .contacts { justify-content: center; }
	#footer-bottom .bottom-menu { gap: 0; }
	#footer .contacts .contacts-item { justify-content: center; }
}

@media screen and (max-width: 640px) {
	#footer .contacts .contacts-item { display: none; }
}


.numbers {width: 100%;
	--path-hover: polygon(0 2rem, calc(50% - 2rem) 2rem, 50% 0, calc(50% + 2rem) 2rem, 100% 2rem, 100% 100%, 0 100% );
	--path: polygon(0 2rem, calc(50% - 2rem) 2rem, 50% 2rem, calc(50% + 2rem) 2rem, 100% 2rem, 100% 100%, 0 100% );
}

.number-card { position: relative; filter: url('../filters/border.svg#gray-outline'); }

.number-card .number-container {	
	padding: 4rem; text-align: center; font-size: 1.8rem; transition: .3s;
	background: white; position: relative; cursor: pointer; 
	clip-path: var(--path); background: white; z-index: 2; 
}

.number-card::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 4rem; z-index: 0; 
	background: linear-gradient(to top, rgb(from var(--color-blue) r g b / 0.2 ), transparent); opacity: 0; transition: .3s; 
}
.number-card .content { position: relative; z-index: 2; }  
.number-card .number { font-size: 10rem; color: var(--color-blue); margin-bottom: 2rem; padding-bottom: 2rem; position: relative; z-index: 2; }
.number-card .number::after { content: ''; display: block; position: absolute; left: 50%; bottom: 0; width: 80%; height: 1px; transform: translate(-50%, 0); background: linear-gradient(to left, transparent, #dbdbdb, transparent); }
.number-card:hover { filter: url('../filters/border.svg#blue-outline'); }
.number-card:hover .number-container { clip-path: var(--path-hover); }
.number-card:hover::after { opacity: 1; }


.activity-card { background: black; color: white; position: relative; text-align: left;  }
.activity-card .image { padding-top: 60%; position: relative; overflow: hidden; 
	--mask: linear-gradient(white 50%, #0004, #0002); mask: var(--mask); -webkit-mask: var(--mask);
}
.activity-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.activity-card .content { padding: 2rem; position: absolute; font-size: 1.8rem; font-weight: bold; bottom: 0; left: 0; right: 0; }


/* ============================================================== */
.site-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none !important; }
.site-logo .text { font-size: 1.5rem; line-height: 1.2; }
.site-logo .title { font-size: 2.3rem; color: var(--color-red); font-weight: 500;  font-style: normal; }
.site-logo .image { background: url(../img/logo-site.png) center/contain no-repeat; width: 5rem; height: 5rem; flex-shrink: 0; }

.round-teaser { display: flex; flex-direction: column; gap: 2rem; text-align: center; align-items: center; justify-content: start; text-decoration: none; cursor: pointer; position: relative; }
.round-teaser .image { width: 14rem; height: 14rem; background: linear-gradient(#fbd985, #e8e8e8); border-radius: 50%; overflow: hidden; position: relative; transition: .3s; }
.round-teaser .image i { position: absolute; width: 9rem; height: 7rem; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.round-teaser .content { font-size: 1.7rem; line-height: 1.2; font-weight: 500; }
.round-teaser:hover .image { background: linear-gradient(var(--color-yellow), var(--color-yellow)); }

/* ============================================================== */

.product-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; margin-bottom: 4rem; align-items: start; }
.product-top .description { font-size: 1.8rem; }
.product-top .buttons-part { margin-top: 4rem; display: inline-flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.product-top .price { font-size: 2.8rem; margin-top: 4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.product-top .price span { font-size: 3.6rem; }
.product-top .price-comment { font-size: 1.8rem; font-style: italic; }
.product-top .price-comment .red { color: red; }
.product-top .price .value { font-weight: 500; }

.product-top .info-part { flex-basis: 40rem; flex-grow: 1; }
.product-top .images-part { flex-basis: 50rem;   }
.product-top .full-image {  }
.product-top .full-image img { width: 100%; height: auto; }
.product-tabs { margin-top: 8rem; }
.product-similar { margin-top: 8rem; }

@media screen and (max-width: 768px) {
	.product-top .images-part { order: -1; }
	.product-top .buttons-part { display: flex; }
}

@media screen and (max-width: 640px) {
	.product-top .price { justify-content: center; }
	.product-top .price-comment { text-align: center; }
}


.subcategory-card { background: #f5f5f5; padding: 1rem 2rem; font-weight: 500; border-left: 5px solid var(--color-yellow); font-size: 2rem; transition: .3s; text-decoration: none !important; color: black !important; }
.subcategory-card .content { display: flex; gap: 2rem; align-items: center; }
.subcategory-card .content .image { width: 6rem; height: 6rem; flex-shrink: 0; }
.subcategory-card .content img { width: 6rem; height: 6rem; flex-shrink: 0; }
.subcategory-card .content i { width: 6rem; height: 6rem; flex-shrink: 0; }
.subcategory-card:hover { background: var(--color-yellow); }

.project-card { padding: 4rem; border: 2px dashed #0004; font-size: 1.8rem; }
.project-card:not(:last-child) { margin-bottom: 2rem; }

.category-subategories .grid-container { gap: 1rem; }