/* ОБЩИЕ */
/* ---------------------------------------------------------------------------------------------------------------- */

    /* Отступы, Выделения */
    * {
        margin: 0;
        padding: 0;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        scroll-behavior: smooth;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* Подключенные шрифты */
    @font-face {
        font-family: 'Montserrat-Regular';
        src: url(fonts/Montserrat-Regular.woff);
        font-display: swap;
    }

    @font-face {
        font-family: 'Montserrat-Medium';
        src: url(fonts/Montserrat-Medium.woff);
        font-display: swap;
    }

    @font-face {
        font-family: 'Montserrat-Bold';
        src: url(fonts/Montserrat-Bold.woff);
        font-display: swap;
    }

    @font-face {
        font-family: 'bebasneuecyrillic';
        src: url(fonts/bebasneuecyrillic.woff);
        font-display: swap;
    }

    /* Цвет */
    .fon-color-1 {
        background-color: #033047;
    }

    .fon-color-2 {
        background-color: #F0F0F0;
    }

    .fon-color-3 {
        background-color: #1E1E1E;
    }

    .text-color-1 {
        color: #1E1E1E;
    }

    .text-color-2 {
        color: #F4AC37;
    }

    .text-color-3 {
        color: #FFFFFF;
    }

    .text-color-4 {
        color: #888888;
    }

    /* Позиционирование */
    .flex-center {
        align-items: center;
        justify-content: center;
    }

    .flex-start {
        align-items: center;
        justify-content: start;
    }

    .flex-space-between {
        justify-content: space-between;
    }

    .flex-1 {
        align-items: start;
        justify-content: center;
    }

    .text-center {
        text-align: center;
    }

    /* Оформление текста */
    .text-style-1 {
        text-decoration: none;
    }

    .text-style-2 {
        text-transform: uppercase;
    }

    /* Заголовки */
    h1 {
        font-family: bebasneuecyrillic;
        letter-spacing: .2rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        font-size: clamp(5rem, 3.936rem + 3.96vw, 7.5rem);
    }

    h2 {
        font-family: Montserrat-Bold;
        font-size: clamp(1.25rem, 1.071rem + 0.476vw, 1.5rem);
        background: linear-gradient(to right, #F4AC37, #f6bb5a);
        padding: 10px 30px;
        border-radius: 10px 50px 10px 10px;
        box-shadow: 2px 2px 1px 0px rgba(158, 111, 36, 0.9);
        transform: translateX(-200%);
        transition: 0.5s ease-in-out;
    }

    h2.active-block-headers {
        transform: translateX(0);
    }

    h3 {
        font: 20px/110% Montserrat-Bold;
        text-align: center;
    }

    /* Текст */
    .text-1 {
        font: 18px/110% Montserrat-Medium;
    }

    .text-2 {
        font: 18px/120% Montserrat-Bold;
    }

    .text-3 {
        font: 20px/110% Montserrat-Bold;
    }

    .text-4 {
        font: 24px/110% Montserrat-Bold;
    }

    .text-5 {
        font: 16px/130% Montserrat-Regular;
    }

    .text-6 {
        font: 12px/130% Montserrat-Regular;
    }

    .text-7 {
        font-family: Montserrat-Regular;
        font-size: clamp(0.75rem, 0.644rem + 0.396vw, 1rem);
    }

    /* Таблицы */
    .style-table-1 {
        width: 100%;
    }

    .style-table-1 th {
        background-color: #f0f0f0;
        height: 60px;
        border-radius: 5px;
        padding: 0px 10px;
    }

    .style-table-1 tr {
        width: 100%;
    }

    .style-table-1 td {
        border: 2px solid rgba(240,240,240,0.2);
        text-align: center;
        height: 40px;
        border-radius: 5px;
        padding: 0px 10px;
    }

    .cell-1 {
        width: 10%;
    }

    .style-table-2 {
        max-width: 800px;
        border-spacing: 10px;
    }

    .style-table-2 tr {
        width: 100%;
    }

    .style-table-2 td {
        vertical-align: top;
    }

    /* Списки */
    li {
        list-style: none;
    }

    /* Прелоадер */
    .preloader[hidden] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        display: flex;
        z-index: 300;
    }

    /* Прелоадер (анимация) */
    .cube {
        margin: auto;
        font-size: 24px;
        height: 1em;
        width: 1em;
        position: relative;
        transform: rotatex(30deg) rotatey(45deg);
        transform-style: preserve-3d;
        animation: cube-spin 1.5s infinite ease-in-out alternate;
    }
      
    .side {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transform-style: preserve-3d;
    }

    .side::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #F4AC37;
        transform: translatez(0.5em);
        animation: cube-explode 1.5s infinite ease-in-out;
        opacity: 0.5;
    }
      
    .side:nth-child(1) {
        transform: rotatey(90deg);
    }
      
    .side:nth-child(2) {
        transform: rotatey(180deg);
    }
      
    .side:nth-child(3) {
        transform: rotatey(270deg);
    }
      
    .side:nth-child(4) {
        transform: rotatey(360deg);
    }
      
    .side:nth-child(5) {
        transform: rotatex(90deg);
    }
      
    .side:nth-child(6) {
        transform: rotatex(270deg);
    }
      
    @keyframes cube-spin {
        0% {
          transform: rotatex(30deg) rotatey(45deg);
        }

        100% {
          transform: rotatex(30deg) rotatey(405deg);
        }
    }

    @keyframes cube-explode {
        0% {
          transform: translatez(0.5em);
        }

        50% {
          transform: translatez(0.75em);
        }

        100% {
          transform: translatez(0.5em);
        }
    }

    /* Прелоадер (отключение) */
    .loaded_hiding .preloader {
        transition: 0.3s opacity;
        opacity: 0;
    }
    
    .loaded .preloader {
        display: none;
    }

    /* Область контента */
    .content-area {
        width: 100%;
        margin: 0 auto;
    }

    /* Шапка сайта */
    header[hidden] {
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        height: 60px;
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
        z-index: 250;
    }

    .header-menu {
        display: flex;
        justify-content: space-between;
    }

    /* Выделение пунктов меню */
    .header-link {
        padding: 10px 30px;
        border-radius: 30px 5px 5px 5px;

        &:hover {
            background-color: #F4AC37;
            box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.3);
        }
    }

    /* Меню */
    .container-header-menu-mob {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        display: flex;
        align-items: start;
        justify-content: center;
        background-color: rgba(240, 240, 240, 0.1);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        overflow: auto;
        z-index: 260;
        transform: scale(0);
    }

    .container-header-menu-mob.activemenu {
        transform: scale(100%);
    }

    .header-menu-mob {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px;
        box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.3);
        transform: translateY(-100%);
        transition: 0.5s ease-in-out;
        gap: 5px;
    }

    .header-menu-mob.activemenu {
        transform: translateY(0);
    }

    .header-burger {
        display: flex;
        filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));

        &:active {
            transform: scale(95%);
        }
    }

    .container-menu-close {
        display: flex;
        justify-content: end;
    }

    .header-burger-close:active {
        transform: scale(95%);
    }

    .active-menu-item {
        background-color: #F4AC37;
        box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.3);
    }

    /* Обложка сайта */
    .cover[hidden] {
        display: flex;
        width: 100%;
        background-image: linear-gradient(to top,rgba(3, 48, 71, 0.8), rgba(240, 240, 240, 1)), url(images/cover/fon-cover.avif);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        padding: 60px 0px 0px 0px;
    }

    .container-cover {
        width: 100%;
        height: 100%;
        justify-content: end;
    }

    .container-cover img {
        width: 100%;
        height: auto;
    }

    /* Блоки */
    .block-1[hidden], 
    .block-2[hidden], 
    .block-3[hidden], 
    .block-4[hidden], 
    .block-5[hidden],
    .block-6[hidden],
    .block-7[hidden],
    footer[hidden] {
        display: flex;
    }

    .container-header, 
    .container-cover, 
    .container-cover-1, 
    .container-block-1, 
    .container-block-1-1, 
    .container-block-2, 
    .container-block-2-1-1, 
    .container-block-3, 
    .container-block-3-1-1, 
    .container-block-4, 
    .container-geography-tile-1, 
    .container-block-5, 
    .container-block-5-1,
    .container-block-5-1-1,
    .container-block-6,
    .container-block-6-1,
    .form-style-1,
    .container-block-7,
    .container-block-7-1,
    .container-footer {
        display: flex;
        flex-direction: column;
    }

    .container-block-1-1, 
    .container-block-2-1-1, 
    .container-block-3-1-1, 
    .container-geography-tile-1,
    .container-block-6-1,
    .container-block-7-1 {
        gap: 20px;
    }

    .container-block-2-1, .container-block-3-1 {
        display: grid;
    }

    .container-block-4-1 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(130px, 30px));
        width: 100%;
        gap: 30px;
    }

    .block-3 {
        background-image: linear-gradient(to top,rgba(3, 48, 71, 0.8), rgba(3, 48, 71, 1)), url(images/block3/fon-block3.avif);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .container-block-3-1-1 img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.3);
    }

    .container-block-5-1-1 {
        padding: 30px;
        border-radius: 10px;
        gap: 20px;
    }

    .container-block-5-1-2 img {
        width: 300px;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.3);
    }

    .container-block-5-1-2 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 30px));
        width: 100%;
        gap: 30px;
    }

    .block-6 {
        background-image: linear-gradient(to top,rgba(3, 48, 71, 0.8), rgba(3, 48, 71, 1)), url(images/block6/fon-block-6.avif);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    /* Форма */
    .form-style-1 {
        gap: 5px;
        width: 100%;
        max-width: 800px;
    }
    .container-form-1 {
        display: flex;
        gap: 5px;
    }

    .container-form-1 input {
        border: none;
        outline: none;
        width: 100%;
        height: 40px;
        border-radius: 5px;
        padding: 0px 20px;
    }

    textarea {
        width: 100%;
        border: none;
        outline: none;
        border-radius: 5px;
        resize: none;
        padding: 20px;
    }

    .input-errormess {
        background-color: #ce0d0d;
        transition: 0.2s ease-in-out;
        width: 100%;
        padding: 5px 30px;
        border-radius: 5px;
    }

    .successful-sending-hide {
        display: none;
    }

    .successful-sending {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Слайдер */
    .itc-slider {
        position: relative;
    }
    
    .itc-slider-wrapper {
        overflow: hidden;
    }
    
    .itc-slider-items {
        display: flex;
        transition: transform 0.5s ease;
        will-change: transform;
    }
    
    .itc-slider-transition-none {
        transition: none;
    }
    
    .itc-slider-item {
        flex: 0 0 33.33%;
        max-width: 100%;
        user-select: none;
        will-change: transform;
    }

    .itc-slider-item img {
        width: 100%;
        height: 500px;
        object-fit: contain;
        cursor: zoom-in;
    }
    
    /* кнопки влево и вправо */
    .itc-slider-btn {
        position: absolute;
        top: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80px;
        height: 80px;
        color: #fff;
        text-align: center;
        background: rgb(0 0 0 / 20%);
        border: none;
        border-radius: 10%;
        transform: translateY(-50%);
        cursor: pointer;
    }
    
    .itc-slider-btn-hide {
        display: none;
    }
    
    .itc-slider-btn-prev {
        left: 0;
    }
    
    .itc-slider-btn-next {
        right: 0;
    }
    
    .itc-slider-btn:hover,
    .itc-slider-btn:focus {
        color: #fff;
        text-decoration: none;
        background: rgb(244 172 55 / 30%);
        outline: 0;
    }
    
    .itc-slider-btn::before {
        content: "";
        display: inline-block;
        width: 30px;
        height: 30px;
        background: transparent no-repeat center center;
        background-size: 100% 100%;
    }
    
    .itc-slider-btn-prev::before {
        background-image: url(images/block1/icon-arrow-left.svg);
    }
    
    .itc-slider-btn-next::before {
        background-image: url(images/block1/icon-arrow-right.svg);
    }

    /* Галерея */
    .popup[hidden] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        transform: translate(-100%, -100%) scale(0);
        background: rgba(3, 48, 71, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        overflow: hidden;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

    .container-large-image {
        display: flex;
        max-width: 1000px;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
    }

    .popup.active{
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    .popup.active .close-btn,
    .popup.active .image-name,
    .popup.active .index,
    .popup.active .large-image,
    .popup.active .arrow-btn{
        opacity: 1;
        transition: opacity .1s;
        transition-delay: 0.1s;
    }

    .top-bar{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
    }

    .close-btn{
        opacity: 0;
        position: absolute;
        top: 15px;
        right: 20px;
        width: 30px;
        height: 30px;
        background-image: url(images/header/icon-menu-close.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        cursor: pointer;
    }

    .arrow-btn{
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 10px;
        border-radius: 10%;
        border: none;
        background: none;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.2);

        &:hover {
            background: rgba(244, 172, 55, 0.8);
        }
    }

    .left-arrow{
        left: 10px;
    }

    .right-arrow{
        right: 10px;
        transform: translateY(-50%) rotate(180deg);
    }

    .large-image{
        padding: 30px 0;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .st-size {
        max-height: 600px;
        min-height: 600px;
    }

    .image {
        cursor: zoom-in;
    }

    /* Кнопки */
    .container-button {
        display: flex;
    }

    /* Разделительная линия */
    .line-style-1 {
        border: none;
        width: 100%;
        height: 2px;
        background-color: #F4AC37;
    }

    .button-style-1 {
        width: 100%;
        height: 50px;
        border: none;
        border-radius: 5px;
        background-color: #86C232;
        color: #1E1E1E;
        font: 16px/110% Montserrat-Medium;
        cursor: pointer;

        &:active {
            transform: scale(98%);
        }
    }

    .container-footer {
        gap: 20px;
    }

    .container-footer-1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .container-footer-1 img:active {
        transform: scale(98%);
    }

/* ДЕСКТОП */
/* ---------------------------------------------------------------------------------------------------------------- */

    @media only screen and (min-width: 1440px) {

        /* Область контента */
        .content-area {
            max-width: 1140px;
        }

        /* Шапка сайта */
        .header-burger {
            display: none;
        }

        .container-header-menu-mob {
            display: none;
        }

        /* Блоки */
        .block-1, 
        .block-2, 
        .block-3, 
        .block-4, 
        .block-5,
        .block-6,
        .block-7,
        footer {
            padding: 50px 0px;
        }

        .container-block-1, 
        .container-block-2, 
        .container-block-3, 
        .container-block-4, 
        .container-block-5,
        .container-block-6,
        .container-block-7 {
            gap: 50px;
        }

        /* Обложка сайта */
        .cover {
            background-attachment: fixed;
            height: 100vh;
        }
        
        .container-cover p {
            max-width: 400px;
        }

        /* Слайдер */
        .itc-slider-wrapper {
            width: 100%;
        }

        /* Блок 2 */
        .container-block-2-1 {
            grid-template-columns: 250px 250px 250px 250px;
        }

        /* Блок 3 */
        .container-block-3-1 {
            grid-template-columns: 300px 300px 300px;
        }

        .container-block-3-1 {
            gap: 50px;
        }
        
        /* Кнопки */
        .button-style-1 {
            width: 200px;
        }

    }

/* ПЛАНШЕТ */
/* ---------------------------------------------------------------------------------------------------------------- */

    @media only screen and (min-width: 768px) and (max-width: 1439px) {

        /* Область контента */
        .content-area {
            max-width: 720px;
        }

        /* Шапка сайта */
        .container-header {
            align-items: end;
        }

        .header-menu {
            display: none;
        }

        /* Блоки */
        .block-1, 
        .block-2, 
        .block-3, 
        .block-4, 
        .block-5,
        .block-6,
        .block-7,
        footer {
            padding: 45px 0px;
        }

        .container-block-1, 
        .container-block-2, 
        .container-block-3, 
        .container-block-4, 
        .container-block-5,
        .container-block-6,
        .container-block-7 {
            gap: 45px;
        }

        /* Обложка сайта */
        .cover {
            background-attachment: local;
            height: auto;
        }

        .container-cover-1 {
            height: 400px;
        }

        .container-cover p {
            max-width: 400px;
        }

        /* Слайдер */
        .itc-slider-wrapper {
            width: 700px;
        }

        .itc-slider-item {
            flex: 0 0 51%;
        }

        /* Блок 2 */
        .container-block-2-1 {
            grid-template-columns: 250px 250px;
            justify-content: center;
            gap: 50px;
        }

        /* Блок 3 */
        .container-block-3-1 {
            grid-template-columns: 300px 300px;
        }

        .container-block-3-1 {
            gap: 30px;
        }
        
        /* Кнопки */
        .button-style-1 {
            width: 200px;
        }
                
    }

/* ТЕЛЕФОН */
/* ---------------------------------------------------------------------------------------------------------------- */
    
    @media only screen and (max-width: 767px) {

        /* Область контента */
        .content-area {
            max-width: 320px;
        }

        /* Шапка сайта */
        .container-header {
            align-items: end;
        }

        .header-menu {
            display: none;
        }

        /* Блоки */
        .block-1, 
        .block-2, 
        .block-3, 
        .block-4, 
        .block-5,
        .block-6,
        .block-7,
        footer {
            padding: 30px 0px;
        }

        .container-block-1, 
        .container-block-2, 
        .container-block-3, 
        .container-block-4, 
        .container-block-5,
        .container-block-6,
        .container-block-7 {
            gap: 30px;
        }

        /* Обложка сайта */
        .cover {
            background-attachment: local;
            height: auto;
        }

        .container-cover-1 {
            height: 600px;
        }

        .container-cover p {
            max-width: 300px;
        }

        /* Слайдер */
        .itc-slider-wrapper {
            width: 300px;
        }

        .itc-slider-item {
            flex: 0 0 100%;
        }

        .itc-slider-btn {
            width: 50px;
            height: 50px;
        }
        
        .itc-slider-item img {
            height: 400px;
        }

        /* Блок 2 */
        .container-block-2-1 {
            grid-template-columns: 250px;
            justify-content: center;
            gap: 30px;
        }

        /* Блок 3 */
        .container-block-3-1 {
            grid-template-columns: 300px;
        }

        .container-block-3-1 {
            gap: 30px;
        }
        
        .container-form-1 {
            flex-direction: column;
        }

    }