body {
    counter-reset: number 0;
}

picture img {
    width: 100%;
}

/* Reset «app.css» -------------------------------------*/

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

.top--light .main-section h1 {
    color: #000000;
}

.main-section h1 .price {
    position: relative;
    top: -5px;
    width: 105px;
    height: 25px;
    background: url("../../img/price-bg-white.svg") no-repeat 50% 50%/100%;
    color: #ffffff;
    padding-left: 15px;
    font-size: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.header__nav ul li {
    padding: 0 50px 0 15px !important;
}

.fixed .header__nav ul li {
    padding: 0 55px 0 0 !important;
}

.header__nav ul li a,
.header__nav ul li p {
    font-size: 12px !important;
    line-height: 26px;
    white-space: nowrap;
}

.header .container {
    justify-content: flex-start !important;
}

.header .logo {
    margin-right: auto !important;
}


/* Main-section --------------------------------------- */
.main-section__advantages {
    max-width: 615px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

.main-section__advantages-item {
    position: relative;
    font-size: 14px !important;
    line-height: 22px;
}

.main-section__advantages-item:first-child:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 55px;
    height: 2px;
    background: linear-gradient(136.92deg, #282828 21.87%, #1A1A1A 82.73%);
    opacity: 0.15;
}


/* Main menu ( dropdown menu ) -------------------------*/
.top--light .mobile-header #menu-wrapper,
.top--light .dropdown__menu,
.top--light .header__dropdown {
    background: var(--bg-section-gray) !important;
}

.dropdown__menu {
    display: grid !important;
    grid-template-columns: 37.5% 30% 1fr;
    grid-template-rows: auto;
    grid-template-areas:
            "item1 item2 item4"
            "item1 item2 item4"
            "item1 item3 item4"
            "item1 item3 item4";
    grid-column-gap: 40px;
}

.dropdown__menu-item {
    font-size: 14px;
    line-height: 26px;
}

.dropdown__menu-item:nth-of-type(1) {
    grid-area: item1;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px 0;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list-item,
.dropdown__menu-item:nth-of-type(2) .menu-item__list-item {
    display: grid;
    grid-template-columns: 33px 1fr;
    grid-gap: 10px;
    align-items: center;
}

.partners .dropdown__menu-item .menu-item__list-item {
    grid-template-columns: 1fr;
}

.partners .dropdown__menu-item .menu-item__list-item a {
    white-space: nowrap;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list-item .img,
.dropdown__menu-item:nth-of-type(2) .menu-item__list-item .img {
    width: 33px;
}

.dropdown__menu-item p,
.dropdown__menu-item a {
    font-size: 16px !important;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list-item a,
.dropdown__menu-item:nth-of-type(2) .menu-item__list-item a {
    line-height: 26px;
}

.dropdown__menu-item:nth-of-type(2) {
    grid-area: item2;
}

.dropdown__menu-item:nth-of-type(2) .menu-item__list {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-row-gap: 20px;
}

.dropdown__menu-item:nth-of-type(3) {
    grid-area: item3;
}

.dropdown__menu-item:nth-of-type(4) {
    grid-area: item4;
}

.dropdown__menu-item:nth-of-type(4) .menu-item__list {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-row-gap: 20px;
}

.menu-item__title {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-item__list {
    font-weight: 400;
}

.menu-item__list-item {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.menu-item__list-item a {
    display: block !important;
    font-weight: 400 !important;
}


/* Form ------------------------------------------------ */
.form-right {
    width: 100%;
    /*min-height: 420px;*/
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, var(--primary) 50%);
}

.form-right .container {
    height: inherit;
    min-height: inherit;
}

.form-right__content {
    position: relative;
    display: flex;
    max-width: 1190px;
    height: 100%;
    min-height: inherit;
    padding: 30px 50px 30px;
    background: var(--primary);
    border-radius: 15px 0 0 15px;
}

.form-right__content .image {
    max-width: 525px;
    margin-right: 30px;
    color: white !important;
}

.form-right__content .image img {
    width: 100%;
}

.form-right__content .form {
    width: 100%;
    max-width: 475px;
    margin-left: auto;
    color: white;
}

.form-right__content .form-heading {
    max-width: 395px;
}

.form-right__content .form textarea::placeholder,
.form-right__content .form input::placeholder {
    opacity: .5 !important;
}

.form-right__content .form textarea {
    min-height: 96px;
    padding-top: 10px;
}

.form-right__content .form .btn {
    width: 100%;
    margin: 30px 0 15px;
    height: 50px;
}

/*Form - center*/
.form-center__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 30px 50px 30px;
    background: var(--primary);
    border-radius: 15px;
    color: white;
}

.form-center__content .form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-center__content .form-control::placeholder {
    opacity: .5;
}

.form-center__content .form-control,
.form-center__content .btn {
    width: calc(33.33% - 10px);
    height: 48px;
}

.form-center__content .policy {
    width: 100%;
    text-align: center;
}

/*Form - center + images*/
.form-center-img__content {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 75px;
    background: var(--primary);
    border-radius: 15px;
    color: white;
}

.form-center-img__content__text {
    max-width: 475px;
}
.form-center-img__content__text .btn{
    width: 100%;
    margin-top: 30px;
}

.form-center-img__content__img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-center-img__content__img img {
    width: 100%;
}


/* responsive */
@media screen and (max-width: 1300px) {
    .form-right {
        width: 100%;
        background: var(--primary);
    }

    .form-right__content {
        max-width: 100%;
        border-radius: 0;
    }

    .form-right__content .image {
        max-width: calc(50% - 30px);
    }

    .form-right__content .form {
        margin-left: 30px;
        max-width: calc(50% - 30px);
    }
}

@media screen and (max-width: 1200px) {
    .form-right__content .form {
        padding-top: 10px;
    }

    .form-center-img__content {
        padding: 40px;
    }

    .form-center-img__content__text {
        max-width: 100%;
    }

    .form-center-img__content__img {
        display: none;
    }


}

@media screen and (max-width: 992px) {

    .form-right__content {
        padding: 30px 0 40px;
    }

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

    .form-right__content .form {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .form-right__content .form-heading {
        max-width: 100%;
    }

    .form-right__content .form .btn {
        margin: 15px 0;
    }

    .form-center__content {
        padding: 30px;
    }

    .form-center__content .form-control,
    .form-center__content .btn {
        width: 100%;
        height: 48px;
    }

    .form-center__content .policy {
        width: 100%;
        text-align: center;
        border: 1px dashed #0263b8;
    }
}


/* Footer
------------------------------------------------------- */
.social {
    margin-top: 100px;
}

.footer-bottom__right {
    border-top: none;
}

.footer .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr) 20%;
    grid-template-rows: auto;
    grid-gap: 25px;
    align-content: flex-start;
    margin-left: 15px;
}

.footer .grid-container .footer__link {
    font-weight: 500;
    padding-top: 5px;
    margin-bottom: 0;
}

.footer .dropdown .dropdown-toggle {
    color: #000;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
}

#connectModalCard .modal-title,
#connectModal .modal-title {
    font-size: 24px !important;
}


/* Other ------------------------------------------------*/
.blue-block {
    width: auto;
    background: var(--lavender);
    border-radius: 20px;
}

.list .list-item--point {
    position: relative;
    display: flex;
    align-items: center;
}

.list .list-item--point:before {
    content: '\00A0';
    width: 5px;
    height: 5px;
    background: #000;
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
}

.list .list-item--point:not(:last-child),
.list .list-item:not(:last-child) {
    margin-bottom: 18px;
}

/* Color -------------------------------------- */
.text--grey { color: #A9AFB0 }

.bg--lightblue, .color--lightblue:before             { background: #a0d7e7 }
.bg--mediumturquoise, .color--mediumturquoise:before { background: #42c1c7 }
.bg--gainsboro, .color--gainsboro:before             { background: #dae1e3 }
.bg--blue, .color--blue:before                       { background: #006b8f }
.bg--gold, .color--gold:before                       { background: #ffdd00 }
.bg--orange, .color--orange:before                   { background: #fbab18 }
.bg--lavender, .color--lavender:before               { background: #d7f1f1 }
.bg--yellowgreen, .color--yellowgreen:before         { background: #72bf44 }
.bg--teal, .color--teal:before                       { background: #009064 }
.bg--lightseagreen, .color--lightseagreen:before     { background: #2398ae }
.bg--gainsboro, .color--gainsboro:before             { background: #cce1e9 }
.bg--gainsboro-gr, .color--gainsboro-gr:before       { background: #dae1e3 }
.bg--steelblue, .color--steelblue:before             { background: #3a8c94 }
.bg--whitesmoke, .color--whitesmoke:before           { background: #eff6f8 }

.bd--lightblue        { border: 1px solid #a0d7e7 }
.bd--mediumturquoise  { border: 1px solid #42c1c7 }
.bd--gainsboro        { border: 1px solid #dae1e3 }
.bd--peru             { border: 1px solid #C68848 }
.bd--blue             { border: 1px solid #006b8f }
.bd--gold             { border: 1px solid #ffdd00 }
.bd--orange           { border: 1px solid #fbab18 }
.bd--lavender         { border: 1px solid #d7f1f1 }
.bd--yellowgreen      { border: 1px solid #72bf44 }
.bd--teal             { border: 1px solid #009064 }
.bd--lightseagreen    { border: 1px solid #2398ae }
.bd--gainsboro        { border: 1px solid #cce1e9 }
.bd--gainsboro-gr     { border: 1px solid #dae1e3 }
.bd--dimgray          { border: 1px solid #6c6b71 }
.bd--salmon           { border: 1px solid #f3796e }

.bd-rad--primary {
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 5px;
    color: var(--primary);
}

.bg--gradient {
    color: white;
    background: linear-gradient(90deg, #4ECBD1 -34.62%, #46C7CD 1.14%, #2DA6B7 36.9%, #1789A3 67.75%, #006B8F 100%);
}
/* End Color -------------------------------------- */

.block-shadow {
    box-shadow: 10px 10px 40px rgba(232, 232, 232, .8),
    -10px -10px 20px #ffffff;
}

.block-shadow-rad {
    border-radius: 20px;
    box-shadow: 10px 10px 40px rgba(232, 232, 232, .8),
    -10px -10px 20px #ffffff;
}

.data-accuracy__dropdown {
    box-shadow: 0 0 18px -1px rgba(0, 0, 0, .1);
    background: white;
    border-radius: 5px;
    width: max-content;
    max-width: 350px;
    padding: 24px;
    opacity: 0;
    top: 500px;
    left: -50px;
}

.data-accuracy__dropdown:after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
}

.data-accuracy:hover > .data-accuracy__dropdown {
    opacity: 1;
    top: 40px;
    z-index: 1000;
}

.filter--active img {
    filter: grayscale(0) !important;
}

.back-layer {
    position: relative;
}

.back-layer:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 17px;
    width: calc(100% - 16px);
    height: 100%;
    background: inherit;
    box-shadow: 0 0 0 -10px rgba(0, 0, 0, .05) inset;
    z-index: -1;
}

.big-numbers p {
    position: relative;
    display: flex;
    align-items: center;
}

.big-numbers p:before {
    counter-increment: number 1;
    content: counter(number);
    position: absolute;
    transform: translateX(-60%);
    font-weight: bold;
    font-size: 120px;
    color: #F5F5F5;
    z-index: -1;
}


.btn--big {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 340px;
    height: 60px;
}

/* FAQ ----------------------------------------------------------------*/
#faq .accordion {
    margin-right: 125px;
}

#faq .accordion > .card {
    background: #f5f5f5;
}

#faq .accordion > .card .collapsed-active {
    font-size: 16px;
    font-weight: 400;
    height: 50px;
    border-radius: 4px;
    border: 1px solid #dae1e3;
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 16px;
}

#faq .collapse.show {
    margin-bottom: 50px;
}

#faq .accordion > .card > .card-header button[aria-expanded="true"]::after {
    transform: translateY(-50%);
    opacity: 1;
}

#faq .accordion > .card > .card-header button::after {
    content: '';
    position: absolute;
    right: 15px;
    width: 15px;
    height: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(
            180deg
    );
    transition: .3s all ease-in-out;
    background: url(../../img/callback/accordion-caret.svg) no-repeat center;
}


#like-block .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px !important;
}

#like-block .block-shadow {
    border-radius: 20px;
    padding: 48px 40px 0 40px;
}

#like-block .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#like-block .content .block {
    width: calc(33.33% - 32px);
    margin-bottom: 75px;
}

#like-block .content .block .text--min-aver {
    max-width: 245px;
}

#like-block .content .block-top {
    display: flex;
    align-items: center;
}

#like-block .content .block-top .icon {
    margin-right: 15px;
}

#like-block .content .block-top .heading-block {
    white-space: nowrap;
}


/* companies-items ------------------------------------- */
.companies-items {
    padding: 0 5px;
}

.companies-items .picture img {
    max-width: 205px;
    max-height: 85px;
}

/* Responsive -------------------------------------------*/
@media screen and (max-width: 1276px) {
    .header__dropdown {
        width: 95% !important;
    }

    .dropdown__menu {
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
    "item1 item2 item3 item4"
    "item1 item2 item3 item4"
    "item1 item2 item3 item4";
    }

    .dropdown__menu-item:nth-of-type(1) .menu-item__list {
        grid-template-columns: 1fr;
    }

    .dropdown__menu-item:nth-of-type(2) .menu-item__list {
        grid-gap: 20px;
    }

    .dropdown__menu-item .menu-item__list-item {
        margin-bottom: 0 !important;
    }
}

@media screen and (min-width: 1260px) {
    .mobile-item {
        display: none !important;
    }
}

@media screen and (max-width: 1260px) {
    .desc-item {
        display: none;
    }

    .dropdown__menu {
        padding: 0;
    }

    .top--light .header__dropdown {
        width: 100% !important;
    }

    .dropdown__menu-item:nth-of-type(1) .menu-item__list-item,
    .dropdown__menu-item:nth-of-type(2) .menu-item__list-item {
        grid-template-columns: 1fr;
        grid-gap: 10px;
        align-items: center;
    }

    .dropdown__menu-item p, .dropdown__menu-item a {
        font-size: 14px !important;
    }

    .mobile-header .header__nav ul li {
        margin-bottom: 10px;
    }

}

@media screen and (min-width: 1200px) {
    .footer__link-mob {
        display: none;
    }
}

@media screen and (max-width: 1200px) {

    /* FAQ ----------------------------------------------------*/
    #faq .accordion {
        margin-right: 30px;
    }

    #faq .white-block p {
        font-size: 16px;
    }


    /*Нравится Обратный звонок --------------------------------*/
    #like-block .content .block {
        width: calc(50% - 30px);
        margin-bottom: 40px;
    }

    #like-block .content .block-top .heading-block {
        font-size: 18px;
    }


    /* Footer
        ------------------------------------------------------- */
    .grid-container {
        padding: 0 !important;
    }

    .footer .grid-container {
        margin-left: 0;
    }

    /* companies-items --------------------------------------- */
    .companies-items .picture img {
        max-width: 155px;
    }


    /*footer --------------------------------------------------*/
    .indent-footer-item {
        display: block !important;
        margin-bottom: 0;
    }

    .footer__contact-mob ul li {
        width: 50% !important;
    }

    .footer .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-gap: 0;
        grid-template-areas: "сases  contacts"
                             "prices  base"
                             "partners  blog";
    }

    .footer .grid-container .footer__link:nth-of-type(1) {
        grid-area: сases;
    }

    .footer .grid-container .footer__link:nth-of-type(2) {
        grid-area: partners;
    }

    .footer .grid-container .footer__link:nth-of-type(3) {
        grid-area: contacts;
    }

    .footer .grid-container .footer__link:nth-of-type(4) {
        grid-area: prices;
    }

    .footer .grid-container .footer__link:nth-of-type(5) {
        grid-area: base;
    }

    .footer .grid-container .footer__link:nth-of-type(6) {
        grid-area: blog;
    }

    .footer .grid-container .footer__link {
        padding: 25px 0;
    }

    .footer__right {
        display: flex;
        flex-wrap: wrap;
    }

    .footer .footer-contact {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        padding-top: 30px;
    }

    .footer .footer-contact .social {
        margin-top: 0;
        margin-right: auto;
        justify-content: flex-start;
    }

    .footer .footer-contact .footer-bottom__right {
        width: 100%;
        margin-left: 0;
        text-align: left;
    }
}

@media screen and (max-width: 1024px) {
    .cabinets-item__logo img {
        filter: grayscale(0);
    }

    .list .list-item:not(:last-child) {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 992px) {

    .dropdown__menu {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
    "item1 item2 item3"
    "item4 item4 item4";
    }

    .dropdown__menu-item:nth-child(n):not(:last-child) {
        margin-bottom: 40px;
    }

    .main-section__advantages-item {
        font-size: 12px !important;
    }

    #data-accuracy {
        margin-left: auto;
        bottom: auto;
        position: relative;
        left: auto;
    }

    /* companies-items --------------------------------------- */
    .companies-items div {
        margin-bottom: 30px !important;
    }

    .companies-items div img {
        max-width: 48% !important;
    }
}

@media screen and (max-width: 768px) {

    /*FAQ -----------------------------------------------------*/
    #faq .collapsed,
    #faq .collapsed-active {
        font-size: 14px !important;
    }

    /*Нравится Обратный звонок --------------------------------*/
    #like-block .content .block {
        width: 100%;
    }

    #like-block .content .block:not(:last-child) {
        margin-bottom: 25px;
    }

    #like-block .content .block .block-top {
        margin-bottom: 5px !important;
    }

    #like-block .content .block .block-top .icon {
        width: 30px;
        height: 25px;
    }

    #like-block .content .block .btn {
        height: 40px;
    }

    #like-block .content .block .text--min-aver {
        max-width: 100%;
    }

    /* ------------------------------------------------------- */
    .back-layer:before {
        display: none;
    }

    .dropdown__menu {
        grid-template-columns: repeat(3, 33%);
    }

    .menu-item__list-item .img {
        display: none;
    }

    .dropdown__menu-item:nth-of-type(1) .menu-item__list-item,
    .dropdown__menu-item:nth-of-type(2) .menu-item__list-item {
        grid-template-columns: 1fr !important;
    }

    .header__phone .phone {
        display: block !important;
    }


    /* companies-items --------------------------------------- */
    .companies-items div img {
        max-width: 75% !important;
        filter: grayscale(0);
    }
}

@media screen and (max-width: 565px) {
    .dropdown__menu {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
    "item1"
    "item2"
    "item3"
    "item4" !important;
    }


    .header__nav ul,
    .header__nav ul li {
        padding: 0 !important;
    }

    .dropdown__menu-item .menu-item__list {
        grid-gap: 5px 0 !important;
    }

    .menu-item__title {
        margin-bottom: 0;
    }

    .dropdown__menu-item:nth-child(n):not(:last-child) {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 540px) {
    /* companies-items --------------------------------------- */
    .companies-items .picture img {
        width: 80%;
    }
}

@media screen and (max-width: 425px) {
    /*Первый экран ---------------------------------------------*/
    .main-section,
    .main-section h1 {
        padding-top: 0;
    }

    .main-section__advantages {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .main-section__advantages-item:nth-child(n):not(:last-child) {
        margin-bottom: 15px;
    }

    .main-section__advantages-item br {
        display: none;
    }

    .data-accuracy__dropdown {
        left: 0;
        transform: translateX(-80%);
        max-width: 250px;
    }

    .data-accuracy__dropdown:after {
        left: auto;
        right: 45px;
    }


    /*footer --------------------------------------------------*/
    .footer .footer-contact {
        flex-direction: column;
    }

    .footer .footer-contact .phone {
        text-align: left !important;
        margin-bottom: 30px;
    }

    .footer .footer-contact .phone a {
        justify-content: flex-start;
    }

    .footer .footer-contact .footer-bottom__right {
        padding-top: 15px;
    }
}





































