@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap');

@font-face {
    font-family: 'charterblackc';
    src: url('../fonts/charterblackc.eot');
    src: local('charterblackc'), local('charterblackc'),
    url('../fonts/charterblackc.eot?#iefix') format('embedded-opentype'),
    url('../fonts/charterblackc.woff') format('woff'),
    url('../fonts/charterblackc.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --font1: 'Montserrat';
    --font2: 'charterblackc';
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    background: #FFF;
    color: var(--black) !important;
    font-family: var(--font1), Arial, sans-serif !important;
}

* {
    box-sizing: border-box;
}

h1, .h1 {
    font-size: 50px;
    font-weight: 800;
    color: var(--main-1);
    text-transform: uppercase;
}

h1 span {
    font-size: 26px;
}

h2, h3, .h2, .h3 {
    font-size: 35px;
    font-weight: 600;
    color: var(--main-1);
    text-transform: uppercase;
}

a {
    color: var(--link);
    transition: color 0.3s;
}

a:hover {
    color: var(--main-2);
}

img {
    max-width: 100%;
    display: block;
}

input, textarea {
    width: 100%;
    outline: none;
    padding: 16px 14px;
    font-family: var(--font1), Arial, sans-serif;
    border-radius: 3px;
    border: 1px solid var(--gray-2);
    background: #fff;
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
    -webkit-box-shadow: inset 0 0 0 50px #fff;
    -webkit-text-fill-color: var(--black);
}

@-webkit-keyframes autofill {
    to {
        color: inherit;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

textarea {
    min-height: 125px;
    resize: vertical;
}

select {
    width: 100%
}

input[type=submit] {
    font-family: var(--font1), Arial, sans-serif;
    margin: 13px 0 0 0;
    display: inline-block;
    width: auto;
}

input:-moz-placeholder {
    color: #BBBBBB;
}

textarea:-moz-placeholder {
    color: #BBBBBB;
}

input::-webkit-input-placeholder {
    color: #BBBBBB;
}

textarea::-webkit-input-placeholder {
    color: #BBBBBB;
}

.form-group {
    margin: 0 0 13px 0;
}

.menu-but, .menu-but-w {
    display: none;
    width: 33px;
    height: auto;
    padding: 0;
    cursor: pointer;
    color: #000;
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 7
}

.menu-but-w {
    color: #FFF
}

.menu-ico {
    width: 33px;
    height: 26px;
    position: relative;
    display: flex;
    align-items: center
}

.menu-ico span:after, .menu-ico span:before {
    content: "";
    position: absolute;
    left: 0;
    top: -10px;
}

.menu-ico span:after {
    top: 10px;
}

.menu-ico span {
    position: relative;
    display: block;
}

.menu-ico span, .menu-ico span:after, .menu-ico span:before {
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
    backface-visibility: hidden
}

.menu-but-w .menu-ico span, .menu-but-w .menu-ico span:after, .menu-but-w .menu-ico span:before {
    background-color: #fff;
}

.on {
    color: #ffffff;
    background: none;
    z-index: 1000
}

.on .menu-ico span {
    background-color: transparent;
}

.on span:before {
    transform: rotate(45deg) translate(10px, 10px);
    background-color: #fff;
}

.on span:after {
    transform: rotate(-45deg) translate(4px, -4px);
    background-color: #fff;
}

.on .menu-ico {
    height: 30px;
}

.close-menu {
    width: 30px;
    position: absolute;
    top: 30px;
    right: 20px;
    display: none;
    cursor: pointer;
}

.close-menu::before, .close-menu::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    transform: rotate(45deg);
    background-color: var(--gray-3);
    position: relative;
}

.close-menu::before {
    transform: rotate(133deg);
    top: 2px;
}

.menu-active {
    left: 0;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.scroll-sm * {
    scrollbar-width: thin;
    scrollbar-color: #c6c6c6 #F8F8F8;
    box-sizing: border-box;
}

.scroll-sm::-webkit-scrollbar-track {
    background-color: transparent;
}

.scroll-sm::-webkit-scrollbar-thumb {
    border: none;
    background-color: #c6c6c6;
}

.scroll-sm::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: #F8F8F8;
}

.main-outer {
    max-width: 1920px;
    margin: 0 auto;
}

.main {
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 40px;
}

.sub-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.sub-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 66% 0 0 0;
}

.sub-item img {
    transition: all 0.3s;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transition: all 0.3s;
}

.sub-item:hover img {
    transform: scale(1.1);
}

.sub-name {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    font-size: 22px;
    color: #cdcdcd;
    text-decoration: none;
}

.sub-name:hover {
    color: #fff;
}

.sub-name span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.sub-item:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    background: linear-gradient(to bottom, transparent 0%, #000000 100%);
}

header {
    background: var(--blue-2);
    color: var(--main-1);
}

.header-box {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 7;
    padding: 26px 0;
    gap: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo-img1 {
    width: 88px;
}
.logo-img {
    width: 82px;
    margin: -30px 0 0;
}
.logo-dev {
    height: 80px;
    width: 2px;
    background-color: var(--main-1);
}

.logo-title {
    font-family: var(--font2), Arial, sans-serif;
    font-size: 80px;
    text-transform: uppercase;
}
.logo-title a {
    color: var(--main-1);
    text-decoration: none;
}

.header-info a {
    text-decoration: none;
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon-border {
    width: 26px;
    height: 26px;
    max-width: 26px;
    border-radius: 3px;
    border: 1px solid #A6B4D8;
    background: #F1F3F8;
}

.icon-border:before {
    background-color: var(--blue-1);
}

.header__phone {
    font-size: 22px;
    font-weight: 700;
}

.header__mail {
    font-size: 20px;
    font-weight: 500;
}

.header__phone, .header__mail {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav {
    background-color: var(--main-1);
    font-size: 18px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    gap: 30px;
    height: 70px;
}

nav ul a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
}

nav ul a:hover {
    color: #bdc2cf;
}


.news-item-big {
    position: relative;
}

.news-item-big-info {
    position: absolute;
    left: 40px;
    right: 40px;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    font-weight: 700;
}

.news-item-big-info span {
    position: relative;
    z-index: 5;
}

.news-item-big__title {
    font-size: 30px;
    display: inline-block;
    position: relative;
}

.news-item-big__anons {
    font-size: 24px;
    display: inline-block;
    position: relative;
}

.news-item-big__title:before, .news-item-big__anons:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    -webkit-filter: blur(10px);
    filter: blur(30px);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

.main-news {
    margin: 80px 0;
}

.news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px 20px;
    margin: 55px 0;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.news-item__img {
    overflow: hidden;
    position: relative;
    padding: 62% 0 0 0;
}

.news-item__img img {
    transition: all 0.3s;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item__img img:hover {
    transform: scale(1.1);
}

.news-item__title {
    font-size: 22px;
    color: var(--main-1);
    font-weight: 700;
}

.news-item__title a {
    text-decoration: none;
}

.news-item__date {
    font-size: 14px;
    color: #878787;
}

.news-item__buts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 5px;
    overflow: hidden;
}

.gallery-item img {
    border-radius: 5px;
    transition: all 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.cont-vn {
    padding: 20px 0 80px 0;
}

.video-iframe {
    width: 100%;
    max-width: 750px;
    height: 450px;
    margin: 40px 0 0 0;
}

.contant-box {
    display: flex;
    gap: 90px;
}

.contant-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 30%;
    flex-shrink: 0;
}

.map {
    width: 66%;
    height: 450px;
    overflow: hidden;
    background-color: var(--gray-1);
}

.box-icon {
    display: flex;
    gap: 37px;
}

.box-icon .icon {
    margin: 4px 0 0 0;
}

.box-icon__label {
    font-weight: 600;
}


footer {
    background: var(--gray-1);
}

footer a {
    text-decoration: none;
    color: #000;
}

.footer-row {
    height: 210px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer__phone, .footer__address, .footer__mail {
    display: flex;
    align-items: center;
    gap: 26px;
}

.footer__phone .icon:before, .footer__address .icon:before, .footer__mail .icon:before {
    background-color: var(--main-1);
}

.footer__phone {
    font-size: 20px;
    font-weight: 700;
}

.footer-soc {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-soc .icon {
    border-radius: 20px;
    border: 1px solid #3D5BA5;
    background: #F0F0F0;
    padding: 10px 37px;
    transition: background-color 0.3s;
}

.footer-soc .icon:hover {
    background-color: var(--main-1);
}

.footer-soc .icon:hover:before {
    background-color: #fff;
}

.footer-podval {
    height: 40px;
    border-top: #C9C9C9 solid 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.policy {
    text-align: center;
    margin: 26px 0 0 0;
}

.box-pages {
    font-size: 18px;
    padding: 0 0 30px 0
}

.pagest {
    display: inline-block;
    vertical-align: middle;
    padding: 0 30px 0 0
}

.box-pages a {
    color: #333;
    padding: 6px 15px;
    display: inline-block;
    font-weight: bold;
    margin: 3px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    background: var(--gray-1);
    text-decoration: none;
    transition: all 0.3s
}

.box-pages a:hover {
    background: var(--gray-5);
}

.box-pages span {
    color: var(--red-1);
    padding: 5px 14px;
    display: inline-block;
    font-weight: bold;
    margin: 0 3px;
    border: var(--red-1) solid 1px;
    border-radius: 4px;
    -moz-border-radius: 4px
}

.caution {
    padding: 6px 20px;
    background: url(../../images/danger-sing.svg) no-repeat 20px 16px;
    color: #2a6093;
    border: #2a6093 solid 2px;
    border-radius: 10px;
    box-shadow: 0 15px 30px -10px rgba(90, 161, 227, 0.15);
    background-size: 22px;
    text-indent: 38px
}

#fade { /*--Transparent background layer--*/
    display: none; /*--hidden by default--*/
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    z-index: 7;
}

.popup_block a {
    color: #333
}

.popup_block {
    display: none;
    background: #ffffff;
    color: #333333;
    padding: 30px;
    float: left;
    font-size: 1.2em;
    position: fixed;
    font-size: 12px;
    text-align: left;
    top: 50%;
    left: 50%;
    z-index: 8;
    -webkit-box-shadow: 0px 0px 5px #252424;
    -moz-box-shadow: 0px 0px 5px #252424;
    box-shadow: 0px 0px 5px #252424;

}

img.btn_close {
    float: right;
    margin: -7px -10px 0 0;
}

* html #fade {
    position: absolute;
}

* html .popup_block {
    position: absolute;
}

.topcontrol {
    width: 60px;
    height: 60px;
    position: fixed;
    z-index: 39;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    opacity: 0.5;
    filter: alpha(opacity=50);
    border-radius: 50%;
    webkit-border-radius: 50%;
    moz-border-radius: 50%;
}

.topcontrol:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

.b-cookie {
    filter: drop-shadow(0 0 27px rgba(0, 0, 0, .12));
    left: 50%;
    padding: 12px 24px;
    position: fixed;
    transform: translate3d(-50%, -24px, 0);
    width: 640px;
    bottom: 10px;
    background: #fff;
    border: #eaeaea solid 1px;
    border-radius: 12px;
    z-index: 55;
}

.main-cu {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.b-cookie-text {
    margin: 0 70px 0 0;
    font-size: 14px
}

.b-cookie-text a {
    color: var(--blue-1);
    text-decoration: underline;
}

.b-cookie-but button {
    border-radius: 12px;
    padding: 12px 30px;
    margin: 0;
    background: var(--main-1);
    border: none;
    color: #fff;
    cursor: pointer;
}

@-moz-keyframes strtop {
    0% {
        top: 0px
    }
    50% {
        top: -3px
    }
    100% {
        top: 0px
    }
}

@-webkit-keyframes strtop {
    0% {
        top: 0px
    }
    50% {
        top: -3px
    }
    100% {
        top: 0px
    }
}

@-ms-keyframes strtop {
    0% {
        top: 0px
    }
    50% {
        top: -3px
    }
    100% {
        top: 0px
    }
}

@-o-keyframes strtop {
    0% {
        top: 0px
    }
    50% {
        top: -3px
    }
    100% {
        top: 0px
    }
}

.tbor {
    border-left: #ed6e00 solid 1px;
    border-top: #ed6e00 solid 1px;
}

.tbor th {
    border-bottom: #ed6e00 solid 1px;
    border-right: #ed6e00 solid 1px;
    background: #2f1512;
    height: 30px;
}

.tbor td {
    border-bottom: #ed6e00 solid 1px;
    border-right: #ed6e00 solid 1px;
}

.animated {
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -ms-animation-duration: 1.5s;
    -o-animation-duration: 1.5s;
    animation-duration: 1.5s
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px)
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0)
    }
}

@-moz-keyframes fadeInUp {
    0% {
        opacity: 0;
        -moz-transform: translateY(20px)
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0)
    }
}

@-o-keyframes fadeInUp {
    0% {
        opacity: 0;
        -o-transform: translateY(20px)
    }
    100% {
        opacity: 1;
        -o-transform: translateY(0)
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    -moz-animation-name: fadeInUp;
    -o-animation-name: fadeInUp;
    animation-name: fadeInUp
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px)
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0)
    }
}

@-moz-keyframes fadeInDown {
    0% {
        opacity: 0;
        -moz-transform: translateY(-20px)
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0)
    }
}

@-o-keyframes fadeInDown {
    0% {
        opacity: 0;
        -o-transform: translateY(-20px)
    }
    100% {
        opacity: 1;
        -o-transform: translateY(0)
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    -moz-animation-name: fadeInDown;
    -o-animation-name: fadeInDown;
    animation-name: fadeInDown
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-20px)
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0)
    }
}

@-moz-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -moz-transform: translateX(-20px)
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0)
    }
}

@-o-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -o-transform: translateX(-20px)
    }
    100% {
        opacity: 1;
        -o-transform: translateX(0)
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px)
    }
    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    -moz-animation-name: fadeInLeft;
    -o-animation-name: fadeInLeft;
    animation-name: fadeInLeft
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(20px)
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0)
    }
}

@-moz-keyframes fadeInRight {
    0% {
        opacity: 0;
        -moz-transform: translateX(20px)
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0)
    }
}

@-o-keyframes fadeInRight {
    0% {
        opacity: 0;
        -o-transform: translateX(20px)
    }
    100% {
        opacity: 1;
        -o-transform: translateX(0)
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20px)
    }
    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    -moz-animation-name: fadeInRight;
    -o-animation-name: fadeInRight;
    animation-name: fadeInRight
}

@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotateX(-10deg);
        transform: perspective(400px) rotateX(-10deg);
    }
    70% {
        -webkit-transform: perspective(400px) rotateX(10deg);
        transform: perspective(400px) rotateX(10deg);
    }
    100% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        -ms-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotateX(-10deg);
        -ms-transform: perspective(400px) rotateX(-10deg);
        transform: perspective(400px) rotateX(-10deg);
    }
    70% {
        -webkit-transform: perspective(400px) rotateX(10deg);
        -ms-transform: perspective(400px) rotateX(10deg);
        transform: perspective(400px) rotateX(10deg);
    }
    100% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        -ms-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

.flipInX {
    -webkit-backface-visibility: visible !important;
    -ms-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    animation-name: flipInX;
}

@-webkit-keyframes flipOutX {
    0% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
}

@keyframes flipOutX {
    0% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        -ms-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        -ms-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
}

.flipOutX {
    -webkit-animation-name: flipOutX;
    animation-name: flipOutX;
    -webkit-backface-visibility: visible !important;
    -ms-backface-visibility: visible !important;
    backface-visibility: visible !important;
}

@media only screen and (max-width: 1600px) {
    .main-service-item h2 {
        font-size: 1vw;
    }
}

@media only screen and (max-width: 1440px) {
    .header-box {
        height: 120px;
    }
    nav ul {
        height: 43px;
    }
}

@media only screen and (max-width: 1300px) {
    .logo {
        font-size: 17px;
        gap: 24px;
    }

    .footer-soc .icon {
        padding: 6px 27px;
    }

    h1, .h1 {
        font-size: 40px;
    }

    .news {
        margin: 40px 0;
    }

    .news-item__title {
        font-size: 20px;
    }
    .logo-title {
        font-size: 5vw;
    }
}

@media only screen and (max-width: 1200px) {
    .logo-dev {
        height: 70px;
    }

    nav ul {
        justify-content: space-between;
        gap: 20px;
    }

    h1, .h1 {
        font-size: 36px;
    }

    h2, .h2, h3, .h3 {
        font-size: 32px;
    }

    nav {
        font-size: 16px;
    }

    .footer-soc .icon {
        padding: 6px 20px;
    }

    .icon-giant:before {
        width: 30px;
        height: 30px;
    }

    .footer-row {
        height: 170px;
    }

    .news, .sub-box {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (max-width: 1100px) {
    .header__phone {
        font-size: 20px;
    }

    .header__mail {
        font-size: 16px;
    }

    .main-about-box, .main-nagrady-box, .main-spec-box, .main-dost-box, .main-news-box, .main-gallery-box {
        margin: 70px 0;
    }

    .icon-big:before {
        width: 24px;
        height: 24px;
    }

    .footer__phone {
        font-size: 18px;
    }

    .footer__phone, .footer__address, .footer__mail {
        gap: 16px;
    }

    .news-item-big-info {
        top: 50%;
        transform: translateY(-50%);
    }
    .logo-title {
        font-size: 4vw;
    }
}

@media only screen and (max-width: 992px) {
    body {
        font-size: 14px;
    }

    .logo-dev {
        height: 50px;
    }

    .logo {
        font-size: 13px;
    }

    .footer-row {
        flex-direction: column;
    }

    h1, .h1 {
        font-size: 30px;
    }

    .menu-but {
        display: block;
    }

    nav {
        background-color: var(--gray-2);
        transition: all 0.3s;
        position: fixed;
        top: 0;
        left: -120%;
        width: 100%;
        max-width: 330px !important;
        min-height: 100vh;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        z-index: 10;
    }

    nav ul {
        height: auto;
        margin: 100px 40px 0 !important;
        padding: 0 !important;
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        text-transform: uppercase;
        gap: 30px;
    }

    .close-menu {
        display: block;
    }

    .main-news {
        margin: 70px 0;
    }

    .news, .sub-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-item__title {
        font-size: 18px;
    }

    .footer-row {
        height: auto;
        padding: 30px 0;
    }

    .header__phone, .header__mail {
        justify-content: flex-start;
        gap: 16px;
    }

    .contant-box {
        flex-direction: column;
        gap: 30px;
    }

    .map {
        width: 100%;
    }

    .contant-item {
        width: 100%;
    }

    .sub-item {
        padding: 33% 0 0 0;
    }

    .sub-name {
        font-size: 20px;
    }
    .logo-img {
        width: 56px;
    }
    .logo-img1 {
        width: 52px;
    }
    .logo-title {
        font-size: 3vw;
    }
}

@media only screen and (max-width: 900px) {

    h1, .h1 {
        font-size: 32px;
    }

    h2, .h2, h3, .h3 {
        font-size: 24px;
    }

    .logo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-size: 10px;
        gap: 7px;
    }

    .logo-dev {
        display: none;
    }

    .topcontrol {
        right: 30px;
        bottom: 30px;
    }

    .news-item-big-info {
        gap: 30px;
    }

    .news-item-big__title {
        font-size: 26px;
    }

    .news-item-big__anons {
        font-size: 20px;
    }
    .logo {
        position: relative;
    }
    .logo-img {
        position: absolute;
        top: 20px;
        right: 0;
        margin: 0;
    }
}

@media only screen and (max-width: 800px) {
    .sub-item {
        width: 100%;
    }

    .sub-item {
        padding: 52% 0 0 0;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 700px) {
    .header__phone {
        font-size: 16px;
    }

    .header__mail {
        font-size: 14px;
    }

    .news, .sub-box {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }

    h1, .h1 {
        font-size: 26px;
    }

    .main-news {
        margin: 50px 0;
    }

    .news-item-big-info {
        top: 20px;
        transform: none;
    }

    .b-cookie {
        width: 96%;
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 600px) {
    .topcontrol {
        right: 30px;
        bottom: 30px;
    }

    .main {
        padding: 0 20px;
    }

    .header-box {
        gap: 10px;
    }

    h1 span {
        font-size: 18px;
    }

    .map {
        height: 300px;
    }

    .news-item-big-info {
        position: relative;
        left: initial;
        right: initial;
        padding: 0 20px;
    }

    .news-item-big__title {
        font-size: 22px;
    }

    .news-item-big__anons {
        font-size: 16px;
    }

    .news-item-big-info {
        gap: 10px;
    }
}

@media only screen and (max-width: 500px) {
    .footer-podval {
        flex-direction: column;
        padding: 10px 0;
        height: auto;
    }

    .footer-copy {
        text-align: center;
    }
    .logo-img {
        width: 40px;
        top: 25px;
    }
    .box-icon {
        gap: 20px;
    }
}

@media only screen and (max-width: 470px) {
    .logo {
        font-size: 6px;
    }
    .header__phone .icon, .header__mail .icon {
        display: none;
    }

    .sub-name span {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (max-width: 430px) {
    .logo-img {
        position: initial;
    }
}
@media only screen and (max-width: 400px) {
    nav ul {
        margin: 80px 20px 0 !important;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .b-cookie-text {
        margin: 0;
        text-align: center;
    }

    .main-cu {
        flex-direction: column;
        gap: 20px;
    }
    .logo-img1 {
        width: 42px;
    }
    .logo-img {
        top: 21px;
        width: 38px;
    }
}

@media only screen and (max-width: 360px) {
    .header__phone {
        font-size: 14px;
    }

    .header__mail {
        font-size: 12px;
    }

    h1, .h1, h2, .h2, h3, .h3 {
        font-size: 22px;
    }

    .sub-item {
        padding: 66% 0 0 0;
    }
}