header {
    background: var(--main-bg);
    .wrapper {
        box-shadow: 0px 2px 12px 0px #0000001A;
    }
}
main {
    padding-top: 120px;
    padding-bottom: 120px;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 40px;
    a {
        font-size: 16px;
        line-height: 20px;
        color: var(--text-2);
    }
    span {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 16px;
        height: 16px;
        &::before {
            content: '\e010';
            font-family: 'icon';
            font-size: 8px;
            line-height: 10px;
            color: var(--text-2);
        }
    }
    p {
        font-size: 16px;
        line-height: 20px;
        font-weight: 600;
        color: var(--title);
    }
}
.promo {
    display: flex;
    flex-direction: column;
    margin-bottom: 120px;
    h1 {
        font-size: 60px;
        line-height: 64px;
        font-weight: 600;
        color: var(--title);
        margin-bottom: 24px;
    }
    p {
        font-size: 24px;
        line-height: 32px;
        max-width: 745px;
    }
}
.container {
    display: grid;
    grid-template-columns: 1fr 390px;
    align-items: start;
    gap: 96px;
    margin-bottom: 120px;
    .items {
        display: flex;
        flex-direction: column;
        gap: 12px;
        .item {
            display: flex;
            flex-direction: column;
            padding: 32px;
            border-radius: 24px;
            border: 1px solid var(--border);
            transition: .3s linear;
            &.open {
                background: #edfffa;
                .head::after {
                    transform: rotate(-180deg);
                }
                .content {
                    max-height: 800px;
                }
            }
            .head {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100%;
                font-size: 20px;
                line-height: 24px;
                font-weight: 500;
                color: var(--title);
                cursor: pointer;
                &::after {
                    content: '\e001';
                    font-family: 'icon';
                    font-size: 12px;
                    transition: .3s linear;
                }
            }
            .content {
                display: flex;
                flex-direction: column;
                gap: 5px;
                overflow: hidden;
                max-height: 0;
                transition: .3s linear;
                p:first-child {
                    margin-top: 12px;
                }
                p, li, a {
                    font-size: 16px;
                    line-height: 20px;
                }
                a, a * {
                    color: var(--green-link);
                }
                ul, ol {
                    margin-left: 23px;
                }
            }
        }
    }
    .callback {
        display: flex;
        flex-direction: column;
        padding: 40px;
        border-radius: 24px;
        border: 1px solid var(--green-bg);
        margin-top: 52px;
        img {
            max-width: 54px;
            margin-bottom: 18px;
        }
        h2 {
            font-size: 24px;
            font-weight: 500;
            line-height: 28px;
            color: var(--title);
            margin-bottom: 16px;
        }
        p {
            font-size: 16px;
            line-height: 20px;
            margin-bottom: 20px;
        }
        a.btn {
            display: flex;
            width: max-content;
        }
    }
}
@media screen and (max-width: 1640px) {
    main {
        padding-top: 96px;
        padding-bottom: 96px;
    }
    .promo, .container {
        margin-bottom: 97px;
    }

}
@media screen and (max-width: 1239px) {
    main {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .breadcrumbs {
        gap: 8px;
        margin-bottom: 32px;
        a {
            font-size: 14px;
            line-height: 16px;
        }
        p {
            line-height: 16px;
        }
    }
    .promo {
        margin-bottom: 65px;
        h1 {
            font-size: 40px;
            line-height: 48px;
            margin-bottom: 20px;
        }
        p {
            font-size: 20px;
            line-height: 28px;
        }
    }
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 64px;
        .items {
            .item {
                padding: 24px;
                .head {
                    font-size: 18px;
                }
                .content {
                    p, li, a {
                        font-size: 14px;
                        line-height: 16px;
                    }
                }
            }
        }
        .callback {
            padding: 32px;
            margin-top: 0px;
            img {
                max-width: 54px;
                margin-bottom: 18px;
            }
            h2 {
                font-size: 20px;
                line-height: 24px;
            }
            p {
                font-size: 14px;
                line-height: 16px;
            }
        }
    }
}
@media screen and (max-width: 599px) {
    main {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .breadcrumbs {
        margin-bottom: 24px;
    }
    .promo {
        margin-bottom: 41px;
        h1 {
            font-size: 36px;
            line-height: 40px;
            margin-bottom: 16px;
        }
        p {
            font-size: 18px;
            line-height: 24px;
        }
    }

}