/* 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: 1.7rem; font-family: var(--font); font-weight: normal; line-height: 1.5; 
}
body > .container { overflow: hidden; opacity:  0; }

@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; 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: 1em;  }
h2 { font-size: 3.4rem; margin-bottom: 1em;  }
h2.-center { text-align: center; }
h3 { font-size: 2.8rem; }

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

/* 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: 30rem; }

@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; }
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: 2rem 2rem; text-align: left;  vertical-align: middle; }
table th { background: #f5f5f5 ;  font-size: 1.8rem; font-weight: bold; border-bottom: 4px solid #82cf2e; }
table td { }                            
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; }
}


/* Всплывающие окна */
/* ============================================================== */
.mfp-content { --text-color: black; --heading-color: var(--color-red); color: black; padding: 4rem; overflow:hidden; background: white; display: inline-block; width: auto !important; max-width: 50rem; z-index: 52; width: 100% !important; }
.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 input, .mfp-content select, .mfp-content textarea { background: #f0f0f0; }
.mfp-content .form-buttons { display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.mfp-content .vcap-input { justify-content: center; text-align: left; }
.mfp-content .vcap-input > label { font-weight: normal; }
.mfp-content .vcap-input > label a:hover { text-decoration: none; }
.mfp-content h2 { color: var(--color-blue); text-align: center; font-size: 2.5rem; }
.mfp-content h3 { color: var(--color-orange); text-align: center; font-size: 2rem; margin-bottom: 2rem; margin-top: 2rem; }
.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.-policy h2 { text-align: left; }
.mfp-content.-policy h3 { text-align: left; }
.mfp-content.-policy h4 { text-align: left; }


/* Контейнеры для различных элементов и карточек */
/* ============================================================== */
.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-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~="blue"] { --heading-color: white; --text-color: white;
	--background-color: linear-gradient(135deg, #02538fa0, transparent 40rem), linear-gradient(210deg, #02538fa0, transparent 40rem), var(--color-blue);	
	--link-color: white; --slider-color-arrow: white; --swiper-pagination-bullet-inactive-color: white;
}

.page-block[data-page-block~="metal"] { --background-color: var(--color-gray); }

.page-block[data-page-block~="yellow"] {
	--heading-color: white; --text-color: white; --link-color: white; --slider-color-arrow: white; --swiper-pagination-bullet-inactive-color: white;
	--background-color: var(--color-yellow);	
}

.page-block[data-page-block~="gray"] { --background-color: var(--color-gray);}

.page-block > .bg { position: absolute; right: 100%; bottom: 100%; height: 30rem; width: 30rem; z-index: 1; }


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



/* ============================================================== */
.block-heading { margin: 0; font-size: 4.2rem; margin-bottom: var(--span-large); text-transform: uppercase; text-align: center; }
.block-heading-text { margin: auto; margin-top: calc(var(--span-small) * -1); margin-bottom: var(--span-large); max-width: calc(var(--page-width) / 1.5); text-align: center; }

.block-heading.-left { text-align: left; }

.block-heading-container { display: flex; align-items: center;  justify-content: center; gap: 2rem; margin-bottom: 4rem; }
.block-heading-container h2 { margin-bottom: 0; }
.block-heading-container .simple-button { border-left: 1px solid #eee; }

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


/* Всплывающие сообщения */
/* ============================================================== */
.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: center; align-items: center; justify-content: center; flex-wrap: wrap; }
.pagination .title { margin-right: 2rem; }
.pagination ul { margin-bottom: 0 !important; margin-left: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; grid-gap: 0.4rem; }
.pagination li a, .pagination li span { display: flex; margin: 0.5rem 0.5rem; 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 { border-radius: 50%; min-width: 30px; flex-shrink: 0; height: 30px; align-items: center; justify-content: center; text-decoration: none; }
.pagination li.-real:hover a { background: #dddddd; }

/* Табы */
/* ============================================================== */
.tabs {  position: relative; }
.tabs .tabs-navigation {  display: flex; flex-wrap: wrap; margin-bottom: 4rem; gap: 0.5rem; }
.tabs .tabs-navigation a { padding: 1rem 2rem; text-decoration: none; display: inline-block; transition: .3s; font-size: 1.8rem;  
	display: inline-flex; 
	background: var(--color-light-gray); cursor: pointer; border: 2px solid transparent; font-weight: 500; border-radius: 1rem; gap: 1rem; }
.tabs .tabs-navigation a:hover { border-color: var(--color-blue); }
.tabs .tabs-navigation a i { background: black; }
.tabs .tabs-navigation a.-active {  background: var(--color-blue); color: white; }
.tabs .tabs-navigation a.-active i { background: white; }
.tabs .tabs-content { background: white; }
.tabs .tab { display: none; }
.tabs .tab.-active { display: block; }

@media screen and (max-width: 768px) {
	.tabs .tabs-navigation a  { padding: 0.5rem 1rem; font-size: 1.6rem; }
}

/* Иконки соцсетей */
/* ============================================================== */
.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: disc; margin-bottom: 1em;  }
.article ul > li { margin-bottom: 0em; }
.article ul > li::marker { color: var(--color-blue); }
.article > table { margin: 4rem 0; }
.article ol { list-style-type: decimal; margin-bottom: 1em; }
.article li { margin-bottom: 0.5em; }
.article h2 { font-size: 2.8rem; margin-bottom: 0.7em;}
.article a:hover { text-decoration: none; }
.article img { display: block; }
.article > h2:not(:first-child) { margin-top: 1em; }
.article a { color: var(--color-blue); text-decoration: underline; }

/* Хлебные крошки */
/* ============================================================== */
.breadcrumbs { margin-bottom: 2rem; font-size: 1.5rem; flex-wrap: wrap; }
.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-blue); }
.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; border-left: 1px solid #ddd; height: 2rem; }
.breadcrumbs a { color: var(--color-blue); text-decoration: underline; }
.breadcrumbs a:hover { text-decoration: underline; }

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


.gfx-table { text-align: center; font-size: 1.8rem; }
.gfx-table .heading { background: var(--color-blue); color: white; font-size: 2.8rem; }
.gfx-table .row { margin-top: 1rem; border-bottom: 4px solid var(--color-yellow); background: #f8f8f8;  }
.gfx-table a { text-decoration: underline; text-decoration-style: dashed; }

.gfx-table .row:nth-child(3n) { border-color: #727e8f; }
.gfx-table .row:nth-child(3n+1) { border-color: #bac7d9; }

.gfx-table .first { display:inline-flex !important; gap: 1rem; align-items: center; justify-content: center; }

.gfx-table .heading, .gfx-table .row { clip-path: polygon(2rem 0, 100% 0, calc(100% - 2rem) 100%, 0 100%);
	display: flex; align-items: center; flex-wrap: nowrap; justify-content: center; 
}

.gfx-table .heading > div, .gfx-table .row > div {
	padding: 2rem; flex-grow: 1; position: relative; align-self: stretch; display: grid; align-items: center;
	flex-basis: 10rem; 
}

.gfx-table .heading > div::after, .gfx-table .row > div::after {
	content: ''; display: block; width: 1px; height: 80%; position: absolute; right: 0; top: 50%; transform: translate(0, -50%);
	background: linear-gradient(transparent, #a8a8a8 20%, #a8a8a8 80%, transparent); 
}

.gfx-table .heading > div(:last-child)::after { display: none; }

@media screen and (max-width: 768px) {
	.gfx-table .heading  { font-size: 2rem; }
	.gfx-table .row { flex-wrap: wrap; clip-path: none; }
	.gfx-table .heading > div, .gfx-table .row > div { padding: 1rem; }
}


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

/* Карточка статьи */
/* ============================================================== */
.article-card { border-radius: var(--border-radius); overflow: hidden; background: #666;}
.article-card .inner { padding-top: 60%; width: 100%; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.article-card .image { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; }
.article-card .image::after { content: ''; display: block; position: absolute; left: 0; top: 0; bottom: 0; right: 0;
	background: linear-gradient(to top, #000c, transparent 20rem); }
.article-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card .content { padding: 3rem; color: white; position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; font-size: 1.6rem; }
.article-card .content .title { font-weight: bold; font-size: 1.8rem; margin-bottom: 1rem; max-width: 52rem; }
.article-card .content p:last-child { margin-bottom: 0; }

@media screen and (max-width: 768px) {
	.article-card .inner { padding-top: 100%; }
}


/* ============================================================== */
.price-card .title { padding: 1rem 2rem; background: var(--color-blue); color: white; display: flex; align-items: center; gap: 1rem;  font-size: 1.8rem; }

.price-card { border-bottom: 4px solid var(--color-yellow); }
.price-card a { text-decoration: underline; text-decoration-style: dashed;  }
.price-card .content { background: var(--color-light-gray); padding: 2rem; font-size: 1.6rem; }
.price-card h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.price-card h2:not(:first-child) { margin-top: 1rem; padding-top: 0.5rem; border-top: 1px dashed #0005; }

.slice { width: 3rem; height: 3rem; background: url(../img/slice.svg) center/contain no-repeat; }
.slice.-size-8 { width: 3.5rem; height: 3.5rem; }
.slice.-size-10 { width: 4rem; height: 4rem; }


/* ============================================================== */
.faq-card { position: relative; cursor: pointer; text-align: left; background: white; filter: drop-shadow(5px 5px 5px #0002); display: flex; }
.faq-card .question { border-radius: var(--border-radius); overflow: hidden; background: linear-gradient(45deg, #cdd5de, transparent 15rem); 
	display: flex; padding: var(--span-large); align-items: center; gap: 2rem; transition: .3s; display: flex; width: 100%; }
.faq-card .question .title { font-size: 1.8rem; font-weight: 500; flex-grow: 1; }
.faq-card .question  i { background: black; width: 3rem; height: 3rem; flex-shrink: 0; transition: .3s; }
.faq-card .answer { display: none; background: white; padding: 2rem 3rem; position: absolute; top: 100%; left: 0; width: 100%; 
}

.faq-card:hover .question { background: white;  }
.faq-card:hover .question i { background: var(--color-blue); transform: translate(0, 0.5rem); }

.faq-card.-open { filter: drop-shadow(5px 5px 10px #0003); z-index: 10; }
.faq-card.-open .question { background: var(--color-blue); color: white; }
.faq-card.-open .question { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-card.-open .question i { background: white; transform-origin: center; transform: scaleY(-100%); }
.faq-card.-open .answer { display: block; }


/* ============================================================== */
.certificate-card { background: var(--color-light-gray); display: flex; cursor: pointer; transition: .3s; line-height: 1.2; align-items: center; }
.certificate-card .image { flex-basis: 22rem; flex-shrink: 0; position: relative; background: #aaa; align-self: stretch; z-index: 1; }
.certificate-card .image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: saturate(0%); object-fit: cover; }
.certificate-card .image-link { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.certificate-card .image-link::after { content: ''; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; 
	background: radial-gradient(closest-side, transparent 50%, #ddd);
}
.certificate-card .image .zoom { opacity: 0; position: absolute; z-index: 4; }
.certificate-card .image-link { display: block; position: relative; } 
.certificate-card .content { padding: var(--span-large); }
.certificate-card .title { font-size: 1.8rem; font-weight: 500; margin-bottom: 1em; }

.certificate-card:hover { color: white; background: var(--color-dark-blue); }
.certificate-card:hover .image .zoom { opacity: 1; width: 5rem; height: 5rem; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center;
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.certificate-card:hover .content { background: linear-gradient(to right, #2a3545, transparent 10rem); }
.certificate-card:hover .image-link::after { background: radial-gradient(closest-side, transparent 50%, #eee); }

@media screen and (max-width: 768px) {
	.certificate-card .text { display: none; }
	.certificate-card .image { flex-basis: 15rem; min-height: 18rem;  }
	.certificate-card .title { margin-bottom: 0; }
	.certificate-card .content { padding: 2rem; }
	.-certificate-card { flex-direction: column; align-items: center; }
	.-certificate-card .image { background: transparent; flex-basis: auto; display: flex; justify-content: center; }
	.-certificate-card .image-link { height: 18rem; width: 12rem;  }
	.-certificate-card .content { padding: var(--span); }
}

/* ============================================================== */
.partner-card .image { padding-top: 30%; position: relative; }
.partner-card .image img { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; object-fit: contain; transform: translate(-50%, -50%);  }

/* ============================================================== */
.gallery-card { border: 2px solid white; box-shadow: var(--shadow); display: block; transition: .3s; background: #333; position: relative; }
.gallery-card .image-wrapper { width: 100%; }
.gallery-card .image { width: 100%;  padding-top: 75%; display: block; position: relative; }
.gallery-card .image img { position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover;}
.gallery-card:hover { border-color: var(--color-blue); }
.gallery-card .content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; text-align: center; font-size: 1.6rem; background: #fffa; font-weight: bold; color: #17552f; min-height: 20%; display: flex; align-items: center; justify-content: center; }

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

.mobile-menu .close-menu-button {  width: 4rem; height: 4rem; display: flex; position: absolute; right: 1rem; top: 1rem; cursor: pointer; align-items: center; }
.mobile-menu .close-menu-button i { background: black; }

.mobile-menu .menu { padding: 2rem; 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-right: 8rem; }
.mobile-menu .menu a {  text-decoration: none; }
.mobile-menu .menu li { display: block; } 
.mobile-menu .menu > li > a { font-weight: bold; }
.mobile-menu .menu li ul { position: relative; background: transparent;}
.mobile-menu .menu li ul li { border: none !important; }
.mobile-menu .menu li a  { display: flex; padding: 0.5rem 1rem; 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 .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: var(--color-blue); }
.mobile-menu .menu li.-open > a > .opener { --mask: url(../img/icons/arrow-up.png) center/1.5rem no-repeat; background: white;}
.mobile-menu .menu li.-open > ul { display: block; }
.mobile-menu .menu li a:hover {  background: var(--color-light-green); color: white; }
.mobile-menu .menu li > ul { display: none;  font-size: 1.5rem; margin-left: 2rem; padding-left: 0; }
.mobile-menu .menu li.-open { border-bottom: 1px solid #fff5; margin-bottom: 1rem; padding-bottom: 1rem;  box-shadow: 0 0 5px 0 #0002; }
.mobile-menu .menu li.-open > a { margin-bottom: 0.5rem; background: var(--color-blue); color: white; }
.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;  }


/* ============================================================== */
#header {
	z-index: 10; 
	padding-bottom: 13rem; 
	background:
		linear-gradient(#212d3e, #212d3e 8rem, transparent 20rem),
		linear-gradient(45deg, #212d3e80, transparent 20rem),
		linear-gradient(310deg, #212d3e80, transparent 20rem),
		#727e8f;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem),
		calc(50% + 5rem) calc(100% - 3rem), 50% 100%, 
		calc(50% - 5rem) calc(100% - 3rem), 0  calc(100% - 3rem));
}

#header .top { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
#header .navigation { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 1rem; }

#header .site-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; line-height: 1.1; }
#header .site-logo img { width: 7rem; height: 7rem; object-fit: contain; }
#header .site-logo .title { font-size: 3.7rem; color: var(--color-yellow)}
#header .site-logo .slogan { font-size: 1.3rem; text-transform: uppercase; }

#header .phones { line-height: 1.2; }
#header .phones a { display: block; font-size: 2.8rem; color: #fff8; text-decoration: none; }
#header .phones a strong { font-weight: bold; color: white; }

#header .header-content-wrapper { padding-top: 6rem; }
#header .header-content { display: flex; gap: var(--span-large); align-items: center; font-size: 1.8rem; }
#header .header-content .content { flex-basis: 60%; }
#header .header-content .image { flex-basis: 50rem; flex-grow: 1; display: flex; align-items: center; justify-content: center; }
#header .header-content .image img { width: 100%; height: auto; }

#header .button { --button-color: linear-gradient(transparent, var(--color-yellow)); }
#header .button i { background: white !important; }

#header .heading { margin-bottom: 3rem; }
#header h1 { font-size: 5.2rem; text-transform: uppercase; margin-bottom: 0; }
#header h2 { font-size: 2rem; text-transform: uppercase; margin-bottom: 0; font-weight: normal; }

#header .price-button { position: absolute; bottom: 1rem; left: 50%; text-align: center; transform: translate(-50%, 0); 
	display: flex; flex-direction: column; gap: 1rem; align-items: center; 
}
#header .price-button .text { height: 5rem; font-size: 1.8rem; }
#header .price-button i { background: white; width: 3.5rem; mask-size: 100% 100%;  margin-bottom: 1rem; }
#header .price-button::before { content: ''; display: block; position: absolute; bottom: 0; left: 50%; width: 20rem; height: 6rem;
	background: linear-gradient(to top, #273345a5, transparent 70%); transform: translate(-50%, 0);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

#header .price-table { display: flex; gap: 2rem; align-items: top; margin-top: 6rem; flex-wrap: wrap; }
#header .price-item { flex-basis: 10rem; flex-grow: 1; text-align: center; white-space: nowrap;  }
#header .price-item .content { border: 1px solid #fff; display: inline-flex;  font-size: 2.8rem;  width: 100%; padding: 1px; flex-wrap: wrap;}
#header .price-item .content > * { padding: 1.5rem 1rem; flex-grow: 1; flex-basis: 40%;  }
#header .price-item .price { background: white; color: black; clip-path: polygon(2rem 0, 100% 0, 100% 100%, 0 100%); padding-left: 3rem; }

#header .price-item .image { margin-top: 2rem; height: 4rem; width: 100%; position: relative; }
#header .price-item .image::after {
	display: block; content: ''; 
	position: absolute;  left: 0; right: 0; top: 50%; height: 4rem; transform: translate(0, -50%); 
	background:url(../img/anker-10.png) center/contain repeat; 
	--mask: linear-gradient(to right, transparent, white 20%, white 80%, transparent); mask: var(--mask); -webkit-mask: var(--mask);
}

#header .price-item .image[data-size="6"]::after { background:url(../img/anker-6.png) center/contain repeat; }
#header .price-item .image[data-size="8"]::after { background:url(../img/anker-8.png) center/contain repeat; }

#header .cities-selector-wrapper { display: flex; justify-content: center; flex-grow: 1; flex-basis: 22rem; gap: 1rem; align-items: center; }
#header .cities-selector-wrapper i { width: 4rem; height: 4rem; background: #fff6; }

#header .social-icons { flex-basis: 30rem; justify-content: center; flex-grow: 1; }
#header .social-icons a { background: linear-gradient(#fff2, #fff2, var(--color)); transition: .3s; }
#header .social-icons a:hover { background: linear-gradient(#fff, #fff, #fff); }

#header .cities-selector { display: block;  font-size: 1.6rem; }
#header .cities-selector .title { color: #fff8; }
#header .cities-selector .city { display: inline-flex; gap: 1rem; align-items: center; cursor: pointer; }
#header .cities-selector .city i { width: 1.5rem; height: 1.5rem; background: white; }
#header .cities-selector .city:hover i { }

#header .main-menu { display: flex; flex-wrap: wrap; justify-content: left; font-size: 2rem; font-weight: normal; gap: 1rem; flex-grow: 1; }
#header .main-menu li { position: relative; transition: .3s; }
#header .main-menu > li:hover {  background: #2c3b50; }
#header .main-menu > li::after { content: ''; display: block; position: absolute; left: 0; top:0; bottom: 0; width: 1px; background: linear-gradient(transparent, #fff6 10%, #fff6 90%, transparent); }
#header .main-menu li a { display: inline-flex; padding: 1rem 2rem; text-decoration: none; align-items: center; }

#header .open-menu-button { display: none; }
#header .open-menu-button i { background: var(--color-blue); }

#header.-fixed { position: fixed; left: 0; top: 0; width: 100%; padding-top: 1rem; padding-bottom: 1rem; --button-height: 4rem; z-index: 10; clip-path: none; }
#header.-fixed .site-logo img { width: 5rem; height: 5rem; }
#header.-fixed .phones a { font-size: 2.2rem; }
#header.-fixed .header-content-wrapper { display: none; }
#header.-fixed .main-menu { font-size: 1.8rem; }
#header.-fixed .main-menu li a { padding: 0.5rem 1rem; }
#header.-fixed .price-button { display: none; }

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

	#header .open-menu-button { order: 2; }
	#header .social-icons { flex-basis: auto; order: 1; }
	#header .cities-selector-wrapper { order: 3; }
	#header .cities-selector { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

	#header .phones { order: 4; }

	#header .social-icons a  { width: 3rem; height: 3rem; }
	#header .cities-selector-wrapper > i { display: none; }
	#header .header-content { text-align: center; }
	#header .price-table { margin-top: 2rem; }
	#header h1 { font-size: 4rem; }
	#header .phones a { font-size: 2.4rem; }
	#header .navigation { display: none; }
	#header .open-menu-button { display: inline-flex; }
	#header .phones { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

	#header .header-content { flex-wrap: wrap; }
	#header .header-content .content { flex-basis: 100%; }
}

@media screen and (max-width: 768px) {
	#header .site-logo img { width: 5rem; height: 5rem; }
	#header .site-logo .title { font-size: 2.8rem; }
	#header .site-logo .slogan { font-size: 1rem; }
	#header .phones a:last-child { display: none; }
	#header.-fixed .cities-selector-wrapper { display: none; }
	#header .price-button { display: none; }
	#header { padding-bottom: 4rem; clip-path: none; }
	#about { margin-top: 2rem !important; }
}


/* ============================================================== */
#about { background: linear-gradient(210deg, white, white 50%, transparent 70%), url(../img/bg-about.webp) center/cover, white; margin-top: -4rem; z-index: 1; }
#about .image-wrapper { display: flex; align-items: center; justify-content: center; }
#about .image img { max-width: 80%; }

@media screen and (max-width: 768px) {
	#about { background: white; }
}

/* ============================================================== */
#order { overflow: visible; z-index: 3; background: linear-gradient(to right, #7e5f0d, var(--color-yellow) 50%); }
#order .bg-manager { display: block; position: absolute; left: 55%; bottom: calc(var(--block-padding) * -1); top: calc(var(--block-padding) * -2); width: 60rem; 
	background: url(../img/bg-order-manager.webp) bottom left/contain no-repeat; 
}
#order .block-container { display: flex; align-items: center; gap: var(--span); position: relative; }
#order .contacts-form { flex-basis: 50%; background: white; padding: var(--span-large); color: black; }
#order .contacts-form h2 { text-transform: uppercase; color: black; }

@media screen and (max-width: 960px) {
	#order .contacts-form { flex-basis: 100%; }
	#order .bg-manager { display: none; }
}

/* ============================================================== */
#price { }

#price .gfx-table { margin-bottom: var(--span); }
#price .price-cards { display: none; margin-bottom: var(--span); }

#price .block-content .image { display: flex; align-items: center; justify-content: center; }
#price .block-content .image img { width: 80%; height: auto; }

#price .teasers { margin-top: var(--span-x-large); }
#price .teaser { background: #f1f1f1; display: flex; align-items: cetner; line-height: 1.2; transition: .3s; cursor: pointer; }
#price .teaser .image { background: var(--color-yellow); flex-shrink: 0; align-self: stretch; flex-basis: 11rem; min-height: 11rem; display: flex; align-items: center; justify-content: center; }
#price .teaser .image i { width: 6rem; height: 6rem; background: white;}
#price .teaser .content { padding: var(--span); font-weight: 500; display: flex; align-items: center; }
#price .teaser:hover { background: var(--color-yellow); color: white; }

@media screen and (max-width: 640px) {
	#price .gfx-table { display: none; }
	#price .price-cards { display: flex; }
}


/* ============================================================== */
#faq { 
	background: linear-gradient(#0004, transparent 10rem), linear-gradient(#d6d6d690, #d6d6d690), url(../img/bg-metal.jpg) center repeat, #f0f0f0;
}

/* ============================================================== */
#certificates { }

/* ============================================================== */
#partners { background: linear-gradient(to right, #788394, #606978, #778293, #616a79, #656e7e), var(--color-blue); }

/* ============================================================== */
#gallery { }

/* ============================================================== */
#contacts .block-container { display: flex; flex-wrap: wrap;}
#contacts .block-container > * { flex-basis: 45rem; flex-grow: 1; position: relative; padding: var(--span-large) 0; }
#contacts .block-content { position: relative; --text-color: white;  z-index: 2; padding-left: var(--span-x-large); 
	color: white; --heading-color: white; line-height: 1.2; 
}
#contacts .block-content p { margin-bottom: 0.5em; }
#contacts .block-content h3 { font-size: 2rem; }
#contacts .block-content h3:not(:first-child) { margin-top: 2rem; }
#contacts .block-content::after { content: ''; display: block; position: absolute;
	left: 0; top: 0; width: 100vw; height: 100%; z-index: -1;
	background: var(--color-yellow); 
}


#contacts .block-content .phones { font-size: 3.8rem; margin-bottom: 2rem; }
#contacts .block-content .phone { display: block; }

#contacts .contacts-form { position: relative; z-index: 2; padding-right: var(--span-x-large); }
#contacts .contacts-form::after { display: block; content:''; position: absolute;	right: 0; top: 0; width: 100vw; height: 100%; z-index: -1; 
	background: linear-gradient(#d6d6d690, #d6d6d690), url(../img/bg-metal.jpg) center repeat, #f0f0f0;
}

@media screen and (max-width: 960px) {
	#contacts .contacts-form { padding-right: 0; text-align: center; }
	#contacts .contacts-form::after { right: -50vw; left: -50vw; width: 200vw;}
	#contacts .block-content { padding-left: 0; text-align: center; }
	#contacts .block-content::after { left: -50vw; right: -50vw; width: 200vw; }
}

/* ============================================================== */
#footer {  line-height: 1.2; font-size: 1.5rem; }

#footer .block-content { margin-top: 2em; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: center; }
#footer .block-content > * { flex-basis: 10rem;  }
#footer .block-content a { text-decoration: underline; }

#footer .copyrights-container { flex-basis: 50rem; flex-grow: 1; }
#footer .copyrights { color: #0008; font-style: italic; }
#footer .copyrights .copy { color: black; font-weight: 500; font-style: normal; margin-bottom: 0.5em; }

#footer .contacts { flex-basis: 29rem; }
#footer .contacts .email {  }

#footer .developer { text-align: right; display: flex; align-items: center; gap: 1rem; flex-basis: 28rem; }
#footer .developer .image { background: url(../img/logo-vebas.png) center/contain no-repeat; width: 4rem; height: 4rem; flex-shrink: 0; }

#footer .bottom-menu { display: flex; align-items: center; flex-wrap: wrap; font-size: 2rem; }
#footer .bottom-menu a { display: inline-flex; align-items: center; padding: 1rem 2rem; transition: .3s;  text-decoration: none; }
#footer .bottom-menu li { position: relative; }
#footer .bottom-menu li::after { content: ''; display: block; width: 1px; position: absolute; top:0; left: 0; bottom: 0; background: linear-gradient(transparent, #0002 20%, #0002 80%, transparent); }
#footer .bottom-menu li:last-child::before { content: ''; display: block; width: 1px; position: absolute; top:0; right: 0; bottom: 0; background: linear-gradient(transparent, #0002 20%, #0002 80%, transparent); }
#footer .bottom-menu li:hover a { background: black; color: white;  }

#footer .phones { font-size: 2.8rem; color: var(--color-blue);  }
#footer .phones strong { color: black; }

@media screen and (max-width: 960px) {
	#footer .bottom-menu { justify-content: center; }
	#footer .bottom-menu a { padding: 0.5rem 1rem; }
	#footer .block-content { text-align: center; }
	#footer .contacts { flex-basis: max-content; }
	#footer .developer { justify-content: center; text-align: center; }
}


.red { color: red; }


.page-template-1 .header-content-wrapper { display: none; }
.page-template-1 #header { padding-bottom: 4rem; clip-path: none; }
.page-template-1 #header .price-button { display: none; }