main {}

/* Главное описание страницы */
.greeting {
    padding: 20px 0;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 30px;
    text-align: center;
}

.greeting h2 {
    padding: 10px 0;
    font-size: 40px;
    font-weight: 800;
}

.greeting p {
    font-size: 24px;
    font-weight: 300;
}

/* Вводная информация */
.intro {
    display: flex;
    justify-content: space-between;
    max-width: 80%;
    margin: 0px auto;
    margin-bottom: 60px;
    padding: 10px;
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
    border-radius: 30px 30px 30px 30px;
}

.intro .warning {
    height: auto;
    margin: auto 0;
    padding: 5px;
    font-size: 16px;
    font-weight: 500;
    max-width: 70%;
}

.intro .discount {
    height: auto;
    padding: 10px 5px;
    margin: auto 0;
    max-width: 30%;
    border: 1px dashed #142E9E;
    border-radius: 20px;
    font-size: 16px;
    color: #000
}

/* Основные вкладки */
.tabs-container {
    max-width: 95%;
    margin: 0px auto;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2);
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-radius: 15px 15px 0px 0px;
    box-shadow: inset 0px 10px 10px 1px rgba(0, 0, 0, 0.2);
}

.tab-button {
    padding: 10px 10px;
    margin: 0px 0px;
    cursor: pointer;
    border: 2px solid #ccc;
    border-bottom: 2px solid #D1321C;
    background-color: #f4f4f4;
    border-radius: 10px 10px 0 0;
    font-size: 24px;
    flex-grow: 1;
    text-align: center;
    box-shadow: inset 0px 0px 20px 5px rgba(0, 0, 0, 0.1);
    color: #a1a1a1;
    transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out, font-weight 0.5s ease-in-out,
        color 0.5s ease-in-out, border 0.5s ease-in-out;
}

.tab-button:hover {
    font-weight: 700;
    background-color: #e6eaff;
    box-shadow: inset 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
    color: #142E9E;
    border: 2px solid #8a8a8a;
    border-bottom: 2px solid #D1321C;

}

.tab-button.active {
    border: 2px solid #D1321C;
    background-color: #fff;
    color: #D1321C;
    font-weight: 800;
    border-bottom: 0px solid transparent;
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
}

/* Вертикальное меню */
.widget {
    display: flex;
}

.vertical-menu {
    width: 190px;
    border-right: 1px solid #ccc;
    padding-left: 10px;
    padding-right: 10px;
}

.menu-item {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 12px;
    padding-left: 1px;
    padding-right: 1px;
    font-size: 14px;
    color: #000;
    width: 170px;
    display: block;
    cursor: pointer;
    border: 1px solid #ccc;
    font-weight: 400;
    transition: border 0.5s ease-in-out, color 0.5s ease-in-out, font-weight 0.5s ease-in-out, font-size 0.5s ease-in-out;
    border-radius: 10px;
}

.menu-item:hover {
    background-color: #f4f4f4;
    border: 1px solid #b3b3b3;
    font-size: 15px;
    font-weight: 700;
    color: #142E9E;
}

/* Контент обновляемый скриптом. Цены */
.content-area {
    flex-grow: 1;
    padding-left: 20px;
    padding-bottom: 10px;
}

.mobile-menu-content {
    display: none;
}

.content {
    display: block;
}

.content.active {
    display: block;
}

.content .offer {
    padding-top: 15px;
    margin-right: 20px;
    border-bottom: 1px dashed #CCC;
    display: flex;
    justify-content: space-between;
}

.content .offer .service-name {
    color: #142E9E;
    font-size: 18px;
    font-weight: 600;
}

.content .offer .service-price {
    font-size: 18px;
    font-weight: 600;
}

/* Текст со звездочкой, дополнение */
.outro {
    z-index: 1;
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 14px;
    max-width: 90%;
    margin: 0 auto;
}

.outro h3 {
    padding-top: 10px;
    border-bottom: 1px dashed #CCC;
}

/* Контейнер необходимых документов */
.requirements-container {
    padding: 80px 0;
    margin-top: 20px;
    background-color: #142E9E;
    color: white;
}

/* Общий текст контейнера необходимых документов */
.requirements-container .requirements-text {
    text-align: center;
}

.requirements-container .requirements-text h2 {
    font-size: 40px;
    font-weight: 600;
}

.requirements-container .requirements-text p {
    max-width: 90%;
    margin: 40px auto;
    font-size: 22px;
    font-weight: 200;
}

.requirements-container .requirements-text p span {
    max-width: 90%;
    margin: 20px auto;
    font-size: 18px;
    font-weight: 200;
}

/* Элементы примеров документов */
.requirements-container .requirements-layouts {
    display: flex;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
}

.requirements-container .requirements-layouts .requirement {
    padding: 10px 30px;
    max-width: 33%;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    transition: text-decoration 1s;
}

.requirements-container .requirements-layouts .requirement:hover h4::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FFF;
    transform-origin: left;
    animation: underline-animation 2.5s forwards;
}

@keyframes underline-animation {
    0% {
        width: 0;
        transform: translateX(0%);
        background-color: #FFF;
    }

    60% {
        width: 60%;
        transform: translateX(50%);
        background-color: #D1321C;
    }

    100% {
        width: 100%;
        transform: translateX(0%);
        background-color: #142E9E;
    }
}

.requirements-container .requirements-layouts .requirement .req-pic {
    width: 100px;
    margin-bottom: 20px;
}

.requirements-container .requirements-layouts .requirement h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.requirements-container .requirements-layouts .requirement p {
    font-size: 16px;
    font-weight: 200;
}

/* Адаптация под малые экраны и планшеты */
@media (max-width: 1200px) {
    /* Главное описание страницы */
    .greeting {
        padding: 10px 0;
        width: 80%;
        margin: 0 auto;
        margin-bottom: 10px;
        text-align: center;
    }

    .greeting h2 {
        padding: 5px 0;
        font-size: 34px;
        font-weight: 800;
    }

    .greeting p {
        font-size: 20px;
        font-weight: 300;
    }

    /* Вводная информация */
    .intro {
        display: flex;
        justify-content: space-between;
        max-width: 80%;
        margin: 0px auto;
        margin-bottom: 30px;
        padding: 5px;
        border-top: 1px solid #ccc;
        border-bottom: 2px solid #ccc;
        border-radius: 30px 30px 30px 30px;
    }

    .intro .warning {
        height: auto;
        margin: auto 0;
        padding: 5px;
        font-size: 14px;
        font-weight: 500;
        max-width: 70%;
    }

    .intro .discount {
        height: auto;
        padding: 5px 10px;
        margin: auto 0;
        max-width: 30%;
        border: 1px dashed #142E9E;
        border-radius: 20px;
        font-size: 14px;
        color: #000
    }

    /* Основные вкладки */
    .tabs-container {
        max-width: 95%;
        margin: 0px auto;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-bottom: 5px;
        border: 1px solid #ccc;
        border-radius: 15px;
        box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.2);
    }

    .tabs {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
        padding-bottom: 5px;
        border-radius: 15px 15px 0px 0px;
        box-shadow: inset 0px 10px 5px 1px rgba(0, 0, 0, 0.2);
    }

    .tab-button {
        padding: 5px 5px;
        margin: 0px 0px;
        cursor: pointer;
        border: 2px solid #ccc;
        border-bottom: 2px solid #D1321C;
        background-color: #f4f4f4;
        border-radius: 10px 10px 0 0;
        font-size: 18px;
        flex-grow: 1;
        text-align: center;
        box-shadow: inset 0px 0px 10px 10px rgba(0, 0, 0, 0.1);
        color: #a1a1a1;
        transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out, font-weight 0.5s ease-in-out,
            color 0.5s ease-in-out, border 0.5s ease-in-out;
    }

    .tab-button:hover {
        font-weight: 700;
        background-color: #e6eaff;
        box-shadow: inset 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
        color: #142E9E;
        border: 2px solid #8a8a8a;
        border-bottom: 2px solid #D1321C;
    }

    .tab-button.active {
        border: 2px solid #D1321C;
        background-color: #fff;
        color: #D1321C;
        font-weight: 800;
        border-bottom: 0px solid transparent;
        box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
    }

    /* Вертикальное меню */
    .widget {
        display: flex;
    }

    .vertical-menu {
        width: 150px;
        border-right: 1px solid #ccc;
        padding-left: 8px;
        padding-right: 8px;
    }

    .menu-item {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 8px;
        padding-left: 1px;
        padding-right: 1px;
        font-size: 13px;
        color: #000;
        width: 130px;
        display: block;
        cursor: pointer;
        border: 1px solid #ccc;
        font-weight: 400;
        transition: border 0.5s ease-in-out, color 0.5s ease-in-out, font-weight 0.5s ease-in-out, font-size 0.5s ease-in-out;
        border-radius: 10px;
    }

    .menu-item:hover {
        background-color: #f4f4f4;
        border: 1px solid #b3b3b3;
        font-size: 13px;
        font-weight: 500;
        color: #142E9E;
    }

    /* Контент обновляемый скриптом. Цены */
    .content-area {
        flex-grow: 1;
        padding-left: 15px;
        padding-bottom: 10px;
    }

    .content {
        display: block;
    }

    .content.active {
        display: block;
    }

    .content .offer {
        padding-top: 10px;
        margin-right: 10px;
        border-bottom: 1px dashed #CCC;
        display: flex;
        justify-content: space-between;
    }

    .content .offer .service-name {
        color: #142E9E;
        font-size: 15px;
        font-weight: 600;
    }

    .content .offer .service-price {
        font-size: 15px;
        font-weight: 600;
    }

    /* Текст со звездочкой, дополнение */
    .outro {
        padding-bottom: 20px;
        font-size: 12px;
        max-width: 90%;
        margin: 0 auto;
    }

    .outro h3 {
        padding-top: 15px;
        border-bottom: 1px dashed #CCC;
    }

    /* Контейнер необходимых документов */
    .requirements-container {
        padding: 30px 0;
        margin-top: 20px;
        background-color: #142E9E;
        color: white;
    }

    /* Общий текст контейнера необходимых документов */
    .requirements-container .requirements-text {
        text-align: center;
    }

    .requirements-container .requirements-text h2 {
        font-size: 38px;
        font-weight: 600;
    }

    .requirements-container .requirements-text p {
        max-width: 90%;
        margin: 20px auto;
        font-size: 18px;
        font-weight: 200;
    }

    .requirements-container .requirements-text p span {
        max-width: 90%;
        margin: 20px auto;
        font-size: 14px;
        font-weight: 200;
    }

    /* Элементы примеров документов */
    .requirements-container .requirements-layouts {
        display: flex;
        justify-content: space-between;
        max-width: 90%;
        margin: 0 auto;
    }

    .requirements-container .requirements-layouts .requirement {
        padding: 5px 20px;
        max-width: 33%;
        box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.05);
        position: relative;
        transition: text-decoration 1s;
    }

    .requirements-container .requirements-layouts .requirement:hover h4::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #FFF;
        transform-origin: left;
        animation: underline-animation 2.5s forwards;
    }

    @keyframes underline-animation {
        0% {
            width: 0;
            transform: translateX(0%);
            background-color: #FFF;
        }

        60% {
            width: 60%;
            transform: translateX(50%);
            background-color: #D1321C;
        }

        100% {
            width: 100%;
            transform: translateX(0%);
            background-color: #142E9E;
        }
    }

    .requirements-container .requirements-layouts .requirement .req-pic {
        width: 80px;
        margin-bottom: 20px;
    }

    .requirements-container .requirements-layouts .requirement h4 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 20px;
        position: relative;
    }

    .requirements-container .requirements-layouts .requirement p {
        font-size: 15px;
        font-weight: 200;
    }
}

/* Мобильная адаптация */
@media (max-width: 980px) {
    .vertical-menu {
        width: 115px;
        border-right: 1px solid #ccc;
        padding-left: 8px;
        padding-right: 8px;
    }

    .menu-item {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 15px;
        padding-left: 1px;
        padding-right: 1px;
        font-size: 13px;
        color: #000;
        width: 100px;
        display: block;
        cursor: pointer;
        border: 1px solid #ccc;
        font-weight: 400;
        transition: border 0.5s ease-in-out, color 0.5s ease-in-out, font-weight 0.5s ease-in-out, font-size 0.5s ease-in-out;
        border-radius: 10px;
    }

    .content .offer .service-name {
        color: #142E9E;
        font-size: calc(6.5px + 1vw);
        font-weight: 600;
    }

    .content .offer .service-price {
        font-size: calc(6.5px + 1vw);
        font-weight: 600;
    }
}

@media (max-width: 590px) {
    /* Главное описание страницы */
    .greeting {
        padding: 10px 0;
        width: 95%;
        margin: 0 auto;
        margin-bottom: 20px;
        text-align: center;
    }

    .greeting h2 {
        padding: 5px 0;
        font-size: 7vw;
        font-weight: 800;
    }

    .greeting p {
        width: 90%;
        margin: 0 auto;
        font-size: 5.5vw;
        font-weight: 300;
    }

    /* Вводная информация */
    .intro {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        max-width: 95%;
        margin: 0px auto;
        margin-bottom: 60px;
        padding: 10px 5px;
        border-top: 1px solid #ccc;
        border-bottom: 2px solid #ccc;
        border-radius: 30px 30px 30px 30px;
    }

    .intro .warning {
        height: auto;
        margin: 0 auto;
        padding: 5px;
        font-size: 17px;
        font-weight: 500;
        max-width: 90%;
    }

    .intro .discount {
        height: auto;
        padding: 10px 10px;
        margin: 15px auto;
        max-width: 90%;
        border: 1px dashed #142E9E;
        border-radius: 20px;
        font-size: 17px;
        color: #000
    }

    /* Основные вкладки */
    .tabs-container {
        display: flex;
        max-width: 95%;
        height: 100%;
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 10px;
        padding: 10px 0 10px 0;
        border: 0;
        border-radius: 15px;
        box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.2);
    }

    .tabs {
        max-width: 50%;
        display: none;
        flex-direction: column;
        margin: auto 0;
        padding: 0;
        border-radius: 15px;
        box-shadow: inset 0px 10px 5px 1px rgba(0, 0, 0, 0.2);
        background-color: #f4f4f4;
        height: 100%;
    }

    .tab-button {
        width: 100%;
        padding: 3px 5px 3px 10px;
        margin: auto 0;
        cursor: pointer;
        border: 1px dashed #ccc;
        border-right: 1px solid #D1321C;
        background-color: #f4f4f4;
        border-radius: 5px 0 0 5px;
        font-size: 18px;
        text-align: left;
        box-shadow: inset 0px 0px 9px 3px rgba(0, 0, 0, 0.1);
        color: #a1a1a1;
        transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out, font-weight 0.5s ease-in-out,
            color 0.5s ease-in-out, border 0.5s ease-in-out, border-radius 0.5s ease-in-out;
    }

    .tab-button:hover {
        font-weight: 700;
        background-color: #e6eaff;
        box-shadow: inset 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
        color: #142E9E;
        border: 1px solid #ccc;
        border-right: 1px solid #D1321C;
    }

    .tab-button.active {
        border: 1px solid #D1321C;
        background-color: #fff;
        color: #D1321C;
        font-weight: 700;
        border-radius: 10px 0 0 10px;
        border-right: 0px solid transparent;
        box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
    }

    .vertical-menu {
        max-width: 100%;
        width: 40vw;
        flex-direction: column;
        justify-content: space-between;
        border: 0;
        margin: 0 0 0 8px;
        padding: 0 3px 8px 3px;
    }

    .menu-item {
        width: 100%;
        margin: 8px auto 0 auto;
        padding: 10px 0 10px 0;
        font-size: 13px;
        color: #000;
        cursor: pointer;
        border: 1px solid #ccc;
        font-weight: 400;
        transition: border 0.5s ease-in-out, color 0.5s ease-in-out, font-weight 0.5s ease-in-out, font-size 0.5s ease-in-out;
        border-radius: 10px;
    }

    .menu-item:hover {
        background-color: #f4f4f4;
        border: 1px solid #b3b3b3;
        font-size: 13px;
        font-weight: 500;
        color: #142E9E;
    }

    /* Вертикальное меню */
    .widget {
        display: flex;
        margin: 0 auto;
    }

    .vertical-menu {
        display: none; /* Скрыто по умолчанию */
    }

    .mobile-menu-content {
        cursor: pointer;
        display: block;
        width: 90%;
        padding: 5px 10px;
        margin: 0 auto 20px auto;
        text-align: center;
        border-radius: 15px;
        border: 1px dashed #EE662C;
        transition: display 1s ease-in-out;
    }

    .mobile-menu-content::before {
        content: 'Меню выбора услуг';
        font-size: 18px;
        font-weight: 700;
    }

    /* Контент обновляемый скриптом. Цены */
    .content-area {
        flex-grow: 1;
        padding: 20px 10px;
    }

    .content {
        width: 86vw;
        margin: 0 auto;
    }

    .content.active {
        display: flex;
        width: 100%;
    }

    .content .offer {
        width: 100%;
        padding: 15px 0 5px 0;
        border-bottom: 1px dashed #CCC;
        display: flex;
        justify-content: space-between;
    }

    .content .offer .service-name {
        width: 64%;
        color: #142E9E;
        font-size: 15px;
        font-weight: 600;
    }

    .content .offer .service-price {
        width: 34%;
        display: flex;
        justify-content: right;
        align-items: center;
        text-align: right;
        font-size: 15px;
        font-weight: 600;
    }

    /* Текст со звездочкой, дополнение */
    .outro {
        z-index: 1;
        padding-top: 10px;
        padding-bottom: 20px;
        font-size: 14px;
        max-width: 90%;
        margin: 0 auto;
    }

    .outro h3 {
        padding: 15px 0 8px 0;
        border-bottom: 1px dashed #CCC;
    }

    /* Контейнер необходимых документов */
    .requirements-container {
        padding: 40px 0;
        margin-top: 20px;
        background-color: #142E9E;
        color: white;
    }

    /* Общий текст контейнера необходимых документов */
    .requirements-container .requirements-text {
        text-align: center;
    }

    .requirements-container .requirements-text h2 {
        font-size: 10vw;
        font-weight: 600;
    }

    .requirements-container .requirements-text p {
        max-width: 95%;
        margin: 40px auto;
        font-size: 7vw;
        font-weight: 300;
    }

    .requirements-container .requirements-text p span {
        font-size: 5vw;
        font-weight: 200;
    }

    /* Элементы примеров документов */
    .requirements-container .requirements-layouts {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 95%;
        max-width: 95%;
        margin: 0 auto;
    }

    .requirements-container .requirements-layouts .requirement {
        padding: 10px 30px;
        max-width: 95%;
        margin: 15px auto;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
        transition: text-decoration 1s;
    }

    .requirements-container .requirements-layouts .requirement:hover h4::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #FFF;
        transform-origin: left;
        animation: underline-animation 2.5s forwards;
    }

    @keyframes underline-animation {
        0% {
            width: 0;
            transform: translateX(0%);
            background-color: #FFF;
        }

        60% {
            width: 60%;
            transform: translateX(50%);
            background-color: #D1321C;
        }

        100% {
            width: 100%;
            transform: translateX(0%);
            background-color: #142E9E;
        }
    }

    .requirements-container .requirements-layouts .requirement img.req-pic {
        width: 90px;
        margin: 0 0 20px 0;
    }

    .requirements-container .requirements-layouts .requirement h4 {
        font-size: 6vw;
        font-weight: 600;
        margin-bottom: 20px;
        position: relative;
    }

    .requirements-container .requirements-layouts .requirement p {
        font-size: 5vw;
        font-weight: 200;
    }
}