/* =========================================
   Блок «Что входит в стоимость»
   ========================================= */

#included {
    padding: 80px 0;
    background: #fffaf5;
}

#stock1 {
    display: none !important;
}


/* =========================================
   Заголовок
   ========================================= */

#included .included-head {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

#included .included-head h2 {
    margin: 0;
}

#included .included-head p {
    margin: 15px auto 0;

    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;

    color: rgba(var(--template-color-inv), .62);
}


/* =========================================
   Сетка этапов
   ========================================= */

#included .included-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}


/* =========================================
   Карточка
   ========================================= */

#included .included-card {
    position: relative;

    min-width: 0;
    min-height: 305px;
    padding: 28px 16px 24px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    background: #ffffff;
    border: 1px solid rgba(var(--template-color-inv), .10);
    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(35, 35, 35, .035);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

#included .included-card:hover {
    transform: translateY(-5px);

    border-color: rgba(var(--g-color), .40);
    box-shadow: 0 14px 34px rgba(35, 35, 35, .09);
}


/* =========================================
   Соединительные линии между этапами
   ========================================= */

#included .included-card:not(:last-child)::after {
    content: "";

    position: absolute;
    z-index: 3;

    top: 146px;
    right: -19px;

    width: 19px;
    height: 10px;

    background:
        radial-gradient(
            circle at right center,
            rgb(var(--g-color)) 0 4px,
            transparent 4.5px
        ),
        linear-gradient(
            rgb(var(--g-color)),
            rgb(var(--g-color))
        ) left center / 100% 2px no-repeat;

    pointer-events: none;
}


/* =========================================
   Круг с иконкой
   ========================================= */

#included .included-icon {
    width: 96px;
    height: 96px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(var(--g-color), .10);
}

#included .included-icon svg {
    width: 58px;
    height: 58px;

    fill: none;
    stroke: rgb(var(--g-color));
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   Номер
   ========================================= */

#included .included-number {
    margin-top: 18px;

    font-size: 21px;
    line-height: 1;
    font-weight: 700;

    color: rgb(var(--g-color));
}


/* =========================================
   Название этапа
   ========================================= */

#included .included-card h3 {
    margin: 16px 0 0;

    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;

    color: rgb(var(--template-color-inv));
}


/* =========================================
   Описание
   ========================================= */

#included .included-card p {
    margin: 10px 0 0;

    font-size: 12px;
    line-height: 1.55;
    font-weight: 400;

    color: rgba(var(--template-color-inv), .62);
}


/* =========================================
   Нижняя плашка
   ========================================= */

#included .included-summary {
    margin-top: 38px;
    padding: 25px 28px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;

    box-sizing: border-box;

    background:
        linear-gradient(
            90deg,
            rgba(var(--g-color), .07),
            rgba(var(--g-color), .025)
        );

    border: 1px solid rgba(var(--g-color), .19);
    border-radius: 8px;
}


/* =========================================
   Три включённых пункта
   ========================================= */

#included .included-summary-items {
    display: flex;
    align-items: center;
    gap: 20px;
}

#included .included-summary-item {
    min-width: 70px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

#included .included-summary-item span {
    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(var(--g-color), .12);
}

#included .included-summary-item svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: rgb(var(--g-color));
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#included .included-summary-item p {
    margin: 7px 0 0;

    font-size: 10px;
    line-height: 1.25;
    font-weight: 600;

    color: rgba(var(--template-color-inv), .70);
}


/* =========================================
   Текст плашки
   ========================================= */

#included .included-summary-text {
    padding-left: 28px;
    border-left: 1px solid rgba(var(--template-color-inv), .10);
}

#included .included-summary-text strong {
    display: block;

    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;

    color: rgb(var(--template-color-inv));
}

#included .included-summary-text p {
    margin: 6px 0 0;

    font-size: 12px;
    line-height: 1.5;

    color: rgba(var(--template-color-inv), .67);
}

#included .included-summary-text small {
    display: block;
    margin-top: 5px;

    font-size: 10px;
    line-height: 1.45;

    color: rgba(var(--template-color-inv), .52);
}


/* =========================================
   Кнопка блока «Что входит в стоимость»
   ========================================= */

#included .included-summary-button {
    min-width: 240px;
    height: 58px;
    padding: 0 24px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;

    border: 0;
    border-radius: 5px;

    font-family: inherit;

    cursor: pointer;
}

#included .included-summary-button > span {
    position: relative;
    z-index: 2;

    color: inherit;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    transition: .3s;
}

#included .included-summary-button > svg {
    position: relative;
    z-index: 2;

    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: .3s;
}


/* =========================================
   Планшеты
   ========================================= */

@media (max-width: 1199px) {

    #included .included-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #included .included-card {
        min-height: 285px;
    }

    #included .included-card::after {
        display: none;
    }

    #included .included-summary {
        grid-template-columns: 1fr auto;
    }

    #included .included-summary-items {
        grid-column: 1 / -1;
        justify-content: center;

        padding-bottom: 20px;
        border-bottom: 1px solid rgba(var(--template-color-inv), .08);
    }

    #included .included-summary-text {
        padding-left: 0;
        border-left: 0;
    }

}


/* =========================================
   Небольшие планшеты
   ========================================= */

@media (max-width: 760px) {

    #included {
        padding: 60px 0;
    }

    #included .included-head {
        margin-bottom: 32px;
    }

    #included .included-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    #included .included-card {
        min-height: 275px;
    }

    #included .included-summary {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    #included .included-summary-text {
        text-align: center;
    }

    #included .included-summary-button {
        width: 100%;
    }

}


/* =========================================
   Телефоны
   ========================================= */

@media (max-width: 520px) {

    #included {
        padding: 52px 0;
    }

    #included .included-head {
        text-align: left;
    }

    #included .included-head p {
        margin-left: 0;
        font-size: 13px;
    }

    #included .included-grid {
        grid-template-columns: 1fr;
    }

    #included .included-card {
        min-height: auto;
        padding: 20px;

        display: grid;
        grid-template-columns: 74px 45px 1fr;
        grid-template-rows: auto auto;
        column-gap: 13px;

        text-align: left;
        align-items: center;
    }

    #included .included-icon {
        grid-column: 1;
        grid-row: 1 / 3;

        width: 70px;
        height: 70px;
    }

    #included .included-icon svg {
        width: 43px;
        height: 43px;
    }

    #included .included-number {
        grid-column: 2;
        grid-row: 1;

        margin: 0;
        font-size: 17px;
    }

    #included .included-card h3 {
        grid-column: 3;
        grid-row: 1;

        margin: 0;
        font-size: 14px;
    }

    #included .included-card p {
        grid-column: 2 / 4;
        grid-row: 2;

        margin-top: 6px;
        font-size: 11px;
    }

    #included .included-summary {
        margin-top: 25px;
        padding: 21px 18px;
    }

    #included .included-summary-items {
        gap: 10px;
        justify-content: space-between;
    }

    #included .included-summary-item {
        min-width: 0;
        flex: 1;
    }

    #included .included-summary-item p {
        font-size: 9px;
    }

    #included .included-summary-button {
        min-width: 0;
        height: 54px;
    }

}


/* =========================================
   Плавная прокрутка к контактам
   ========================================= */

html {
    scroll-behavior: smooth;
}

#contacts {
    scroll-margin-top: 100px;
}


/* =========================================
   Telegram в блоке «Фиксируем цены»
   ========================================= */

#cta1_2 .cta2_social_box {
    display: block !important;
    position: static !important;

    width: 100% !important;
    max-width: 365px !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 25px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    box-sizing: border-box !important;
}

#cta1_2 .cta2_social_title {
    display: block !important;

    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;

    color: #555555 !important;

    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;

    text-align: center !important;
    text-transform: none !important;
}


/* =========================================
   Telegram после формы
   «Готовы начать штукатурить?»
   ========================================= */

#cta2_1 .cta1_telegram_after_form {
    width: 100%;
    margin-top: 24px;
}

#cta2_1 .cta1_telegram_after_form > p {
    margin: 0 0 12px;

    color: #555555;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;

    text-align: center;
}


/* =========================================
   Одинаковые кнопки Telegram
   в двух блоках
   ========================================= */

#cta1_2 .cta2_telegram_btn,
#cta2_1 .cta1_telegram_after_form > a {
    display: flex !important;
    position: static !important;
    float: none !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 12px 18px !important;

    background: #229ed9 !important;
    border: 0 !important;
    border-radius: 5px !important;

    color: #ffffff !important;

    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    transform: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;

    cursor: pointer !important;

    transition:
        background-color .2s ease,
        transform .2s ease !important;
}

#cta1_2 .cta2_telegram_btn:hover,
#cta2_1 .cta1_telegram_after_form > a:hover {
    background: #168ac1 !important;

    color: #ffffff !important;
    text-decoration: none !important;

    transform: translateY(-1px) !important;
}


/* Иконки Telegram */

#cta1_2 .cta2_telegram_btn svg,
#cta2_1 .cta1_telegram_after_form > a svg {
    display: block !important;
    position: static !important;

    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;

    margin: 0 !important;

    fill: #ffffff !important;

    flex-shrink: 0 !important;
}


/* Текст внутри кнопок Telegram */

#cta1_2 .cta2_telegram_btn span,
#cta2_1 .cta1_telegram_after_form > a span {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    white-space: normal !important;
}


/* =========================================
   Адаптация Telegram-блоков
   ========================================= */

@media (max-width: 767px) {

    #cta1_2 .cta2_social_box {
        max-width: none !important;
    }

    #cta1_2 .cta2_telegram_btn,
    #cta2_1 .cta1_telegram_after_form > a {
        min-height: 48px !important;
        padding: 12px 15px !important;
    }

}

/* Telegram в окне «Получить консультацию» */

#popup_cta .popup_cta_telegram_btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    width: 100% !important;
    min-height: 55px !important;
    margin: 12px 0 0 !important;
    padding: 12px 20px !important;

    box-sizing: border-box !important;

    background: #229ed9 !important;
    border: 0 !important;
    border-radius: 5px !important;

    color: #ffffff !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;

    transition: background-color 0.2s ease !important;
}

#popup_cta .popup_cta_telegram_btn svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;

    fill: #ffffff !important;
}

#popup_cta .popup_cta_telegram_btn span {
    color: #ffffff !important;
}

#popup_cta .popup_cta_telegram_btn:hover {
    background: #168ac1 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

#popup_cta .popup_cta_telegram_btn:hover span {
    color: #ffffff !important;
}

/* Одинаковый размер кнопок в окне консультации на телефоне */

@media (max-width: 767px) {

    #popup_cta .popup_cta_telegram_btn {
        width: 80% !important;
        min-height: 55px !important;

        margin: 12px auto 0 !important;
        padding: 12px 15px !important;

        gap: 8px !important;
    }

    #popup_cta .popup_cta_telegram_btn span {
        font-family: Montserrat, sans-serif !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    #popup_cta .popup_cta_telegram_btn svg {
        width: 19px !important;
        height: 19px !important;
        min-width: 19px !important;
    }

}