/* app.css & other (change) --------------------------------------------*/
h2, h3, p {
    margin-bottom: 0;
}

p, li {
    font-size: 18px;
}

.breadcrumb li {
    font-size: 14px !important;
}


.top--light .header,
.top--light .main-section {
    background: var(--bg-section-gray);
}

.main-section .container {
    padding-bottom: 0;
}

.main-section p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

.top--light .main-section::after {
    display: none;
}

/*Images on main page*/
.top--light .main-section__pic {
    top: 75px;
    right: 10px;
    max-width: 335px;
}

.top--light .main-section__pic .img {
    width: 100%;
}

/* new-base.css (change) -----------------------------------------------*/
.main-section {
    padding-bottom: 80px;
    position: relative;
}

.main-section .white-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-gap: 40px;
}

.main-section .white-block {
    padding: 30px 50px 45px;
}

/* Section: «Задачи» ---------------------------------------------------*/
#tasks .content {
    display: grid;
    grid-template-columns: minmax(auto, 490px) auto;
    grid-template-rows: max-content;
    grid-gap: 60px 110px;
    grid-template-areas:
    "task-1  task-3"
    "task-2  task-3";
}

#tasks .task:nth-of-type(1) {
    grid-area: task-1;
}

#tasks .task:nth-of-type(2) {
    grid-area: task-2;
}

#tasks .task:nth-of-type(3) {
    grid-area: task-3;
}

#tasks .task-desc {
    padding-top: 15px;
}

#tasks .list-item--point:not(:last-child) {
    margin-bottom: 5px;
}


/* Section: «Речевая аналитика calltracking.ru» ------------------------*/
#analytics .content {
    display: grid;
    grid-template-columns: minmax(auto, 650px) minmax(auto, 550px);
    grid-template-rows: auto;
    grid-gap: 35px;
}

#analytics .block-statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-gap: 30px;
    height: 240px;
    padding: 25px 45px;
    margin-top: 30px;
}

#analytics .block-statistics__column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#analytics .block-statistics__year {
    font-size: 14px;
    font-weight: 400;
}

#analytics .block-statistics__year span {
    font-size: 10px;
    font-weight: 400;
}

#analytics .block-statistics__result {
    display: flex;
    height: 100%;
}

#analytics .block-statistics__result-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: inherit;
    width: 100%;
}

#analytics .block-statistics__result-progress {
    width: 35px;
    height: 50px;
    border-radius: 5px;
}

#analytics .block-statistics__column:nth-of-type(1) .bg--mediumturquoise {
    height: 50%;
}

#analytics .block-statistics__column:nth-of-type(1) .bg--blue {
    height: 25%;
}

#analytics .block-statistics__column:nth-of-type(2) .bg--mediumturquoise {
    height: 60%;
}

#analytics .block-statistics__column:nth-of-type(2) .bg--blue {
    height: 33%;
}

#analytics .block-statistics__column:nth-of-type(3) .bg--mediumturquoise {
    height: 30%;
}

#analytics .block-statistics__column:nth-of-type(3) .bg--blue {
    height: 40%;
}

#analytics .block-statistics__result-desc {
    font-size: 12px !important;
    font-weight: 400;
    text-align: center;
    max-width: 80px;
    padding-top: 15px;
}


/* Section: «Результаты» -----------------------------------------------*/
#outcomes .content {
    display: flex;
    flex-direction: column;
}

#outcomes .content-top {
    display: flex;
}

#outcomes .diagrams {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-gap: 55px;
    max-width: 630px;
}

#outcomes .diagrams__year__item {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, auto));
    grid-template-rows: auto;
    grid-gap: 20px;
    max-width: 285px;
    padding-top: 25px;
}

#outcomes .diagrams__year__item-desc {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
}

#outcomes .diagrams__year__item-desc:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-right: 10px;
}

#outcomes .diagrams .text--big-bold {
    width: 100%;
    max-width: 215px;
    text-align: center;
}

#outcomes .outcomes-desc {
    max-width: 515px;
    margin-left: 5%;
}

#outcomes .outcomes-desc p:not(:last-child) {
    margin-bottom: 15px;
}

#outcomes .content-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-gap: 50px 15px;
}


/* Section: «white block» ----------------------------------------------*/
#comment .block-shadow-rad {
    padding: 20px 80px 50px 108px;
}

#comment .content {
    display: grid;
    grid-template-columns: minmax(auto, 670px) auto;
    grid-template-rows: auto;
    grid-gap: 30px;
    justify-content: space-between;
}

#comment .comment__logo {
    max-width: 180px;
    margin-bottom: 30px;
}

#comment .comment__text {
    position: relative;
}

#comment .comment__text:before,
#comment .comment__text:after {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    background: url("../../img/quotation-marks.svg") no-repeat 50% 50%/100%;
}

#comment .comment__text:before {
    top: 0;
    left: -50px;
}

#comment .comment__text:after {
    bottom: -10px;
    right: 0;
    transform: scale(-1, 1);
}

#comment .comment__text p {
    font-style: italic;
    font-size: 16px;
}

#comment .comment__text p:not(:last-child) {
    margin-bottom: 15px;
}

#comment .hummen {
    max-width: 290px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#comment .hummen-photo {
    width: 190px;
    height: 190px;
    border-radius: 190px;
    margin-bottom: 27px;
    overflow: hidden;
}

#comment .hummen-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#comment .hummen-name {
    margin-bottom: 10px;
    text-align: center;
}

#comment .hummen-desc {
    text-align: center;
}

/* Section: «Теги: Цель звонка» ----------------------------------------*/
#tags .tags-block {
    display: grid;
    grid-template-rows: auto;
    grid-gap: 50px;
}

#tags .tags-block:nth-of-type(1) {
    grid-template-columns: minmax(auto, 520px) minmax(auto, 675px);
}

#tags .tags-block:nth-of-type(2) {
    grid-template-columns: minmax(auto, 690px) minmax(auto, 450px);
}

#tags .tags-block:not(:last-child) {
    margin-bottom: 60px;
}

#tags .tags-block__desc {
    display: flex;
    align-items: center;
}

#tags .tags-block__desc p {
    padding-top: 95px;
}

#tags .columns {
    display: grid;
    grid-template-rows: auto;
    grid-gap: 20px;
    align-items: flex-end;
    min-height: 140px;
    margin-bottom: 25px;
}

#tags .tags-block:nth-of-type(1) .columns {
    grid-template-columns: repeat(7, minmax(auto, 68px));
}

#tags .tags-block:nth-of-type(2) .columns {
    grid-template-columns: repeat(8, minmax(auto, 68px));
}

#tags .columns-block {
    display: flex;
    align-items: flex-end;
    font-size: 14px;
    font-weight: 300;
    padding: 2px;
    height: 100%;
}

#tags .bg--lavender {
    max-height: 140px;
}

#tags .bg--gold {
    max-height: 60px;
}

#tags .bg--yellowgreen {
    max-height: 50px;
}

#tags .bg--teal {
    max-height: 30px;
}

#tags .bg--lightseagreen {
    max-height: 30px;
}

#tags .bg--mediumturquoise {
    max-height: 25px;
}

#tags .bg--gainsboro {
    max-height: 20px;
}

#tags .bg--gainsboro-gr {
    max-height: 20px;
}

#tags .desc {
    display: grid;
    grid-template-columns: repeat(4, minmax(auto, max-content));
    grid-template-rows: auto;
    grid-gap: 30px;
}

#tags .desc-item {
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 14px;
}

#tags .desc-item:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-right: 13px;
}

/* Form
 ----------------------------------------------------------*/
#form .form-right__content .image img {
    position: absolute;
    top: 45px;
    max-width: 505px;
    z-index: 1;
}


/* Responsive ----------------------------------------------------------*/
@media screen and (max-width: 1200px) {
    /* Section: «Результаты» -----------------------------*/
    #outcomes .content-top {
        flex-direction: column;
    }

    #outcomes .diagrams {
        max-width: 100%;
    }

    #outcomes .outcomes-desc {
        margin: 0;
        max-width: 100%;
    }

    /* Section: «Теги: Цель звонка» ----------------------*/
    #tags .tags-block:nth-of-type(1) {
        display: flex;
        flex-direction: column-reverse;
    }

    #tags .tags-block:nth-of-type(2) {
        display: flex;
        flex-direction: column;
    }

    #tags .tags-block__desc p {
        padding-top: 0;
    }

}

@media screen and (max-width: 992px) {
    p, li {
        font-size: 16px !important;
    }

    /* Section: «Речевая аналитика calltracking.ru» ------*/
    #analytics .content {
        grid-template-columns: 1fr;
    }

    #analytics .block-statistics {
        margin-top: 0;
    }

    /* Section: «Задачи» ---------------------------------*/
    #tasks .content {
        display: flex;
        flex-direction: column;
        grid-gap: 40px;
    }

    #tasks .task:not(:last-child) {
        margin-bottom: 15px;
    }

    /* Section: «white block» ----------------------------*/
    #comment .content {
        grid-template-columns: 1fr;
    }

    #comment .hummen {
        max-width: 100%;
    }

    /* Form ---------------------------------------------*/
    #form .form-right__content {
        display: flex;
        flex-direction: column;
    }

    #form .form-right__content .image {
        display: block !important;
        max-width: 100%;
        margin-bottom: 30px;
    }

    #form .form-right__content .image img {
        display: none;
    }

}

@media screen and (max-width: 768px) {
    .main-section .white-blocks {
        grid-template-columns: 1fr;
    }

    /* Section: «Речевая аналитика calltracking.ru» ------*/
    #analytics .block-statistics {
        padding: 25px 30px;
    }

    /* Section: «Результаты» -----------------------------*/
    #outcomes .diagrams {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
        justify-content: space-between;
    }

    #outcomes .diagrams__year__img {
        width: 100%;
        max-width: 230px;
    }
    #outcomes .diagrams__year__item {
        grid-template-columns: 1fr;
        padding-left: 15px;
    }

    #outcomes .diagrams__year__item-desc {
        font-size: 12px !important;
    }

    #outcomes .content-bottom {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }

    /* Section: «Теги: Цель звонка» ----------------------*/
    #tags .desc {
        grid-template-columns: repeat(auto-fill, minmax(auto, 240px));
    }
}

@media screen and (max-width: 580px) {
    .main-section .white-block {
        padding: 20px 30px;
    }

    /* Section: «Речевая аналитика calltracking.ru» ------*/
    #analytics .block-statistics {
        padding: 0;
    }

    .block-shadow-rad {
        box-shadow: none;
    }

    #analytics .block-statistics {
        grid-gap: 10px;
    }

    #analytics .block-statistics__year {
        font-size: 12px !important;
    }

    #analytics .block-statistics__result-desc {
        font-size: 10px !important;
    }

    /* Section: «white block» ----------------------------*/
    #comment .block-shadow-rad {
        padding: 30px 45px;
    }

    #comment .comment__text p {
        font-size: 12px !important;
    }

    #comment .comment__text:after {
        bottom: -15px;
        right: -40px;
    }

}

@media screen and (max-width: 440px) {
    /* Section: «Теги: Цель звонка» ----------------------*/
    #tags .tags-block {
        grid-gap: 25px;
    }

    #tags .desc {
        grid-gap: 15px;
    }

    #tags .columns {
        grid-gap: 10px;
    }

}

@media screen and (max-width: 375px) {
    /* Section: «Речевая аналитика calltracking.ru» ------*/
    #analytics .block-statistics {
        height: 200px;
    }

    #analytics .block-statistics__year {
        font-size: 10px !important;
    }

    #analytics .block-statistics__result-desc {
        font-size: 8px !important;
    }

}

@media screen and (max-width: 370px) {
    /* Section: «Результаты» -----------------------------*/
    #outcomes .diagrams {
        grid-template-columns: 1fr;
    }
}
