/* ========================================================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/*Начало стилизации подготовки */
body {
    scroll-behavior: smooth;
    font-family: Montserrat;
    font-weight: 500;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
}

/*Начало стилизации подготовки */

/* Шапка сайта*/
header {
    background: #bee8ff;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.header-right {
    width: 580px;
    display: flex;
    justify-content: space-between;
}

.header-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    color: #000000;
}

.line {
    border: 1px solid #9cbed1;
    width: 100%;
}

.menu-btn {
    display: none;
}

.burger-menu {
    display: none;
}

/* Конец шапки сайта*/

/* Главное меню */

.main__wrapper {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
}

.main__wrapper--bg {
    background: #bee8ff;
}

.main-text {
    max-width: 550px;
    position: relative;

    h1 {
        font-weight: 700;
        font-size: 48px;
        line-height: 120%;
        margin-bottom: 20px;

        span {
            color: #fff;
            background-color: #2aa2de;
        }
    }


    h2 {
        font-weight: 700;
        font-size: 48px;
        line-height: 120%;
        margin-bottom: 20px;

        span {
            color: #fff;
            background-color: #2aa2de;
        }
    }

    p {
        font-size: 23px;
        line-height: 140%;
        font-weight: 500;
        max-width: 370px;
    }

    .main-img {
        position: absolute;
        bottom: -40px;
        left: -115px;
        min-width: 705px;
    }
}

/* Окно скролл */

.window {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.scroll-wrapper {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
}

.scrollable-window {
    border: none;
    color: #333333;
    /* max-width: 570px; */
    max-height: 470px;
    overflow-y: scroll;
    overflow-x: auto; /* или scroll */
    scrollbar-color: #2aa2de #eef2f5;
    scrollbar-width: 21px;
    /* white-space: nowrap;*/ /* Основное: запрещает перенос строк */
    word-wrap: normal;
    word-break: keep-all;
}

/* Дополнительно: для внутреннего контента, если это блоки */
.scrollable-window > * {
    white-space: nowrap;
    display: inline-block;
}

.scrollable-window::-webkit-scrollbar-track {
    background: #fff; /* Цвет дорожки */
}

.scrollable-window::-webkit-scrollbar {
    width: 10px;
}

.scrollable-window::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-window::-webkit-scrollbar-thumb {
    background: #00aeef;
    border-radius: 10px;
}

.scrollable-window::-webkit-scrollbar-thumb:hover {
    background: #007bb5;
}

ul {
    padding-left: 20px;
    margin: 0;
}

li {
    list-style-type: none;
}

/* Конец окно скролл */

.btn-btn {
    /* Существующие стили */
    padding: 5px 200px;
    border-radius: 10px;
    border: none;
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
    background-color: #87d172;
    transition: box-shadow 0.3s ease; /* Добавляем переход для box-shadow */
    box-shadow: 0 0 20px 5px rgba(135, 209, 114, 0.8); /* Добавляем box-shadow эффект только при статике */
}

.btn-btn:hover {
    box-shadow: none; /* Убираем box-shadow эффект при наведении */
}

/* Раздел с карточками */

.main-menu {
    padding: 70px 0;
}

.main-subtitile1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 30px;
}

.cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.card {
    border-radius: 15px;
    padding: 20px;
    width: 370px;
    height: 300px;
    box-shadow: 20px 30px 33px 18px rgba(221, 224, 227, 0.07);
    background-image: linear-gradient(180deg, rgba(226, 244, 228, 0.5), rgba(226, 244, 228, 0.5)), url('./img/cardBG.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.cart-subt {
    font-size: 18px;
    line-height: 130%;
    max-width: 330px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-list {
    list-style-type: none;
    padding-left: 11px;
    color: #333;
}

.pricing-list li:first-child {
    margin-bottom: 10px;
}

.pricing-text {
    max-width: 330px;
}

li.pricing-text {
    font-size: 16px;
    line-height: 130%;
}

span.pricing-text-- {
    font-weight: 700;
}

span.pricing-text--line {
    text-decoration: underline;
}

.pricing-list li {
    position: relative;
    padding-left: 20px;
}

.cart-pricing {
    font-family: Montserrat;
    font-size: 18px;
    color: rgba(42, 162, 222, 1);
    font-weight: 700;
    line-height: 23.4px;
    text-align: left;
}

.pricing-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 18px;
    color: #000000;
}

/* mazai  demo*/


.demo-list {
    list-style-type: none;
    padding-left: 11px;
    color: #333;
}

.demo-list li:first-child {
    margin-bottom: 0px;
}

.demo-text {
    max-width: 330px;
}

li.demo-text {
    font-size: 16px;
    line-height: 130%;
}

span.demo-text-- {
    font-weight: 700;
}

span.demo-text--line {
    text-decoration: underline;
}

.demo-list li {
    position: relative;
    padding-left: 20px;
}

.cart-demo {
    font-family: Montserrat;
    font-size: 18px;
    color: rgba(42, 162, 222, 1);
    font-weight: 700;
    line-height: 23.4px;
    text-align: left;
}

.demo-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 18px;
    color: #000000;
}

/* mazai end */


/* Раздел карточек */

.advantages {
    margin-bottom: 70px;
}

.advantages-text {
    font-size: 34px;
    font-weight: 700;
    line-height: 40.8px;
    margin-bottom: 30px;
}

.advantages-cart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 380px));
    gap: 15px;
    margin-bottom: 30px;
}

.card-adv {
    display: flex;
    align-items: center;
    background: rgba(238, 246, 251, 1);
    padding: 20px;
    gap: 10px;
    border-radius: 15px;
}

.cart1-text {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
    line-height: 20.8px;
    text-align: left;
}

.button-big {
    width: 100%;
    background: rgba(135, 209, 114, 1);
    font-family: Montserrat;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    text-align: center;
    padding: 20px 0px;
    border-radius: 10px;
}

.text {
    display: flex;
    flex-direction: column;
}

span.cart-title3-- {
    color: rgba(42, 162, 222, 1);
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 700;
    line-height: 23.4px;
    text-align: left;
}

/* Таблица */

/* Контент в таблице */

.header-TableText {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 34px;
    line-height: 120%;
}

.text-with-icon {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Конец контента */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    min-width: 800px; /* Можно также увеличить минимальную ширину */
    background-color: rgba(232, 240, 245, 1);
    border-radius: 15px; /* Указание радиуса для закругленных уголков */
    border: 1px solid rgba(0, 0, 0, 0.11);
    overflow: hidden; /* Чтобы закругленные углы корректно отображались */
}

table thead tr {
    .tarif {
        width: 32%;
    }

    .demo {
        width: 17%;
    }

    .mini {
        width: 17%;
    }

    .standart {
        width: 17%;
    }

    .maxi {
        width: 17%;
    }
}

tbody tr td:first-child {
    font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    color: #000;
}

table th,
table td {
    border: 1px solid rgba(0, 0, 0, 0.11);
    padding: 23px 0; /* Увеличен padding для высоты ячеек */
    text-align: center;
}

table th {
    background-color: rgba(238, 246, 251, 1);
    font-weight: bold;
}

/* Цвета для столбцов */

table th:nth-child(1),
table td:nth-child(1) {
    background-color: rgba(238, 246, 251, 1); /* Светло-голубой */
}

table th:nth-child(2),
table td:nth-child(2) {
    background-color: rgba(232, 240, 245, 1); /* Светло-синий */
}

table th:nth-child(3),
table td:nth-child(3) {
    background-color: rgba(227, 235, 240, 1); /* Голубоватый */
}

table th:nth-child(4),
table td:nth-child(4) {
    background-color: rgba(222, 230, 235, 1); /* Синеватый */
}

table th:nth-child(5),
table td:nth-child(5) {
    background-color: rgba(217, 225, 229, 1); /* Темно-голубой */
}

table tr:nth-child(even) {
    background-color: rgba(222, 230, 235, 1);
}

/* Конец цвета для столбцов */

/* Конец таблицы */

/* Details */

.bg {
    background-color: #f4f8fb;
    padding: 50px 0;
}

.accordion-text {
    font-size: 34px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 30px;
}

details {
    width: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
}

details:not(:last-child) {
    margin-bottom: 20px;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

summary img {
    width: 37px;
    height: 37px;
    transform: rotate(180deg);
}

details[open] summary img {
    transform: rotate(0deg);
}

/* Аккордеон меню первое*/

.details1 {
    margin-top: 15px;

    ul {
        font-size: 16px;
        line-height: 130%;
        color: #000;

        li {
            a {
                color: #000;
                text-decoration: underline;
            }
        }

        li::before {
            content: '•';
            width: 10px;
            display: inline-block;
            margin-right: 10px;
        }
    }
}

/* Конец аккордеон меню первое*/

/* Аккордеон меню второе */

.box-bold {
    font-size: 16px;
    font-weight: 700;
    line-height: 20.8px;
}

.details2-heading {
    display: inline-block;
    padding: 5px;
    background-color: rgba(190, 232, 255, 1);
    font-size: 16px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 15px;
}

.details2-heading:not(:nth-child(2)) {
    margin-top: 20px;
}

/* Конец аккордеон меню второе */

/* Аккардеон третье меню */

.details3 {
    margin-top: 20px;
}

.content3-box-- {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.content3-box-- {
    font-size: 16px;
    line-height: 130%;
}

.content3-box-- li::before {
    content: '•';
    width: 5px;
    display: inline-block;
    margin-right: 10px;
}

/* Конец аккаордиона третьего меню */

/* Аккардеон чётвёртое меню */

.details4 {
    margin-top: 20px;
}

.img1 {
    margin: 25px 0;
}

.text-accordion4 {
    font-size: 16px;
    line-height: 20.8px;
}

.text-span-acc--4 {
    font-size: 16px;
    line-height: 20.8px;
    text-decoration: underline;
    color: #000;
}

.text4 {
    padding: 0 20px;
}

/* Конец чётвёртого аккардеона */

.details5 {
    margin-top: 20px;
}

.details5 p:first-child {
    margin-bottom: 20px;
}

.details5-text {
    font-size: 16px;
    line-height: 130%;
}

.details5-text--blue {
    font-weight: 700;
    color: #2aa2de;
}

.details5-img {
    margin-top: 25px;
}

.mob-table {
    display: none;
}

/* Подвал сайта */

footer {
    background: #f4f8fb;
    padding-bottom: 40px;
}

.footer__wrapper {
    max-width: 1320px;
    margin: 0 auto;
    background: #ebeff2;
    border-radius: 20px;
    padding: 40px 0;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.naving {
    width: 580px;
    display: flex;
    justify-content: space-between;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-navigation-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.navigation-link {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #000000;
}

.navigation-link--underline {
    text-decoration: underline;
}

.navigation-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
}

.footer-line {
    display: none;
}

.burger-menu {
    display: none;
}

.burger-menu.active {
    display: block;
}

/* Конец подвала сайта */

/* Адаптив 375px*/
@media (min-width: 250px) and (max-width: 1200px) {
    .container {
        max-width: 340px;
    }

    .main-img {
        display: none;
    }

    .main-text {
        width: 340px;
    }

    .main-text {

        h1 {
            font-size: 30px;
            line-height: 120%;
            margin-bottom: 12px;
        }

        h2 {
            font-size: 30px;
            line-height: 120%;
            margin-bottom: 12px;
        }

        p {
            font-size: 14px;
            line-height: 140%;
            margin-bottom: 20px;
        }
    }

    /* Адаптив шапки */
    .header-right {
        display: none;
    }

    .subtitlemobile {
        width: 200px;
    }

    .main__wrapper {
        display: flex;
        flex-direction: column;
    }

    .window {
        height: 470px;
    }

    .scroll-wrapper {
        padding: 10px;
    }

    .scrollable-window {
        max-height: 450px;
    }

    .btn-btn {
        padding: 13px 70px;
        font-size: 18px;
    }

    .main__wrapper--bg {
        padding-bottom: 70px;
    }

    /* Главное меню  main */
    /* Конец главного меню */
    .main-menu {
        padding: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .cart-1 {
        width: 250px;
    }

    .cards {
        gap: 20px;
        margin-bottom: 40px;
    }

    .card {
        width: 340px;
        height: auto;
        min-height: 274px;
    }

    .advantages-text {
        font-size: 30px;
    }

    .advantages {
        margin-bottom: 40px;
    }

    /* Адаптив таблицы */
    .mob-hidden {
        display: none;
    }

    .header-TableText {
        font-size: 30px;
    }

    .text-with-icon {
        font-size: 14px;
        align-items: start;
    }

    .table-3 {
        width: 300px;
    }

    .table-mob-col1 {
        width: 70%;
    }

    .table-mob-col2 {
        width: 30%;
    }

    .mob-table {
        display: block;
        padding: 20px;
        background: #bae4fb;
        border-radius: 20px;
        margin-top: 22px;
    }

    table {
        min-width: 300px;
        margin: 0;
        background: none;
        border: 1px solid #bae4fb;
    }

    table th,
    table td {
        border: none;
        border-bottom: 1px solid #96b7c9;
    }

    table th:nth-child(1),
    table td:nth-child(1) {
        background: none; /* Светло-голубой */
    }

    table th:nth-child(2),
    table td:nth-child(2) {
        background: none;
    }

    table th:nth-child(3),
    table td:nth-child(3) {
        background: none;
    }

    table th:nth-child(4),
    table td:nth-child(4) {
        background: none;
    }

    table th:nth-child(5),
    table td:nth-child(5) {
        background: none;
    }

    table tr:nth-child(even) {
        background: none;
    }

    .button-big {
        font-size: 18px;
        padding: 13px 0;
    }

    .button-big-mt {
        margin-top: 30px;
    }

    /* Конец адаптива таблицы */
    .bg {
        padding: 30px 0;
    }

    details {
        padding: 20px;
    }

    summary {
        font-size: 16px;
    }

    summary img {
        width: 25px;
        height: 25px;
    }

    .details1 {
        ul {
            font-size: 14px;
        }
    }

    .details2-heading {
        font-size: 14px;
    }

    .details2-heading ~ ul {
        font-size: 14px;
        line-height: 130%;
    }

    .content3-box-- {
        grid-template-columns: 1fr;
        font-size: 14px;
    }

    .text-accordion4 {
        font-size: 14px;
    }

    .img-scroll {
        overflow-x: scroll;
        scrollbar-color: #2aa2de #eef2f5;
        height: 500px;
        margin-bottom: 20px;

        img {
            min-width: 1100px;
        }
    }

    .details4 p {
        font-size: 14px;
    }

    .details5-text {
        font-size: 14px;
    }

    .img-scroll2 {
        overflow-x: scroll;
        scrollbar-color: #2aa2de #eef2f5;
        height: 500px;

        img {
            min-width: 632px;
        }
    }

    .details5 p:first-child {
        margin-bottom: 0px;
    }

    footer {
        background: #fff;
        padding-bottom: 36px;
    }

    .footer__wrapper {
        background: #fff;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-footer {
        display: flex;
        flex-direction: column;
    }

    .naving {
        width: 283px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    .footer-navigation {
        gap: 10px;
    }

    .navigation-link {
        font-size: 16px;
        line-height: 120%;
    }

    .flex-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 30px;
    }

    .navigation-text {
        margin-top: 5px;
    }

    /* Начало Бургер меню */
    .menu-btn {
        display: block;
    }

    .burger-menu {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 375px;
        z-index: 1;
        display: none;
        flex-direction: column;
        background-color: #fff;
        padding: 20px 20px 60px;
        gap: 43px;

        .burger-menu-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .menu {
            display: flex;
            flex-direction: column;
            gap: 36px;

            .menu-redaction {
                font-weight: 700;
                font-size: 23px;
                line-height: 120%;
                text-align: center;
                color: #000;
            }
        }
    }

    /* Конец Бургер меню */
}

/* Конец адаптива 375px */
