@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/**************** Basic ****************/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    line-height: normal;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #000;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background-color: #ffffff;
}

.cp-container {
    width: 100%;
    max-width: 1550px;
    padding: 0 20px;
    margin: 0 auto;
}

/************************************/

/************** Content *************/

.cp-section-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 110%;
    color: #333333;
}

.cp-about {
    width: 100%;
    position: relative;
    padding: 60px 0;
}

.cp-about-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.cp-about__left {
    width: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.cp-about__block {
    max-width: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cp-about__block:nth-child(2n) {
    align-self: flex-end;
}

.cp-about__title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 110%;
    color: #333333;
}

.cp-about__text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
    color: #333333;
}

.cp-about__right {
    width: 50%;
    position: relative;
    display: flex;
}

.cp-about__right img {
    width: 100%;
}

.cp-advantages {
    width: 100%;
    position: relative;
    padding: 60px 0;
}

.cp-advantages-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.cp-advantages-content {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.cp-advantages__block {
    width: calc(25% - 30px);
    min-height: 250px;
    position: relative;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

.cp-advantages__block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
}

.cp-advantages__block:hover img {
    transform: scale(1.05);
}

.cp-advantages__block > p {
    width: 85%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
    color: #ffffff;
    position: absolute;
    left: 0;
    bottom: 20px;
    background-color: #1d8fbd;
    border-radius: 0 5px 5px 0;
    padding: 8px 16px;
    z-index: 1;
}

.cp-advantages__block_info {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: #1d8fbd;
    transition: all 0.3s ease-in-out;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

.cp-advantages__block:hover .cp-advantages__block_info {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.cp-advantages__block_info > p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 115%;
    color: #ffffff;
    padding: 20px;
}

.cp-reviews {
    width: 100%;
    position: relative;
    padding: 60px 0;
}

.cp-reviews-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}

.cp-reviews-content {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.cp-reviews__block {
    width: calc(25% - 30px);
    position: relative;
    display: flex;
    flex-direction: column;
}

.cp-reviews__block__img {
    width: 100%;
    height: 420px;
    position: relative;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

.cp-reviews__block__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
}

.cp-reviews__block__slide {
    height: auto;
    position: relative;
    display: flex;
}

.cp-reviews__block__content {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px;
}

.cp-reviews__block__profession {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: #333333;
}

.cp-reviews__block__name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
    color: #333333;
}

.cp-reviews-content .cp-reviews-slider__pagination {
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 8px;
    z-index: 1;
}

.cp-reviews-content .cp-reviews-slider__pagination .swiper-pagination-bullet {
    opacity: 1;
    width: 24px;
    height: 4px;
    cursor: pointer;
    margin: 0;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #218fba;
}

.cp-feedback {
    width: 100%;
    position: relative;
    padding: 60px 0;
}

.cp-feedback-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 160px;
    padding: 30px 40px;
    background-color: #218fba;
}

.cp-feedback-left {
    width: 45%;
    max-width: 390px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 40px;
    z-index: 1;
}

.cp-feedback__title.cp-section-title {
    color: #ffffff;
}

.cp-feedback__text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: #ffffff;
}

.cp-feedback-form {
    width: 50%;
    max-width: 530px;
    position: relative;
    display: flex;
    z-index: 1;
}

.cp-feedback-form form {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cp-feedback-form__label {
    width: 100%;
    position: relative;
    display: flex;
}

.cp-feedback-form__label input {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: #333333;
    padding: 25px 45px;
    border-radius: 100px;
    background-color: #ffffff;
    border: none;
    transition: all 0.3s ease-in-out;
}

.cp-feedback-form__label input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.cp-feedback-form__button {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: #ffffff;
    padding: 25px;
    background-color: #0c678b;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

.cp-feedback-form__button:hover {
    background-color: #fff;
    color: #0c678b;
}

.cp-feedback-form__checkbox {
    width: 100%;
    position: relative;
    display: flex;
}

.cp-feedback-form__checkbox input {
    display: none;
}

.cp-feedback-form__conf {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 110%;
    color: #ffffff;
    position: relative;
    padding-left: 26px;
}

.cp-feedback-form__conf a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cp-feedback-form__conf a:hover {
    opacity: .5;
}

.cp-feedback-form__conf:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: #fff;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 8px 9px;
}

.cp-feedback-form__checkbox input:checked ~ .cp-feedback-form__conf:before {
    background-image: url("../img/icons/check.svg");
}

.cp-feedback-decor {
    width: 20%;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
}

.cp-feedback-decor img {
    width: 100%;
}

.cp-partners {
    width: 100%;
    position: relative;
    padding: 60px 0;
}

.cp-partners-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
}

.cp-partners-top {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.cp-partners__text {
    max-width: 610px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
    color: #333333;
}

.cp-partners-content {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.cp-partners-block {
    max-width: calc(20% - 16px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cp-partners-block p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 110%;
    color: #333333;
}

.cp-partners-block img {
    max-width: 100%;
}

.cp-contacts {
    width: 100%;
    position: relative;
    padding: 60px 0 120px;
}

.cp-contacts-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    background-color: #1d8fbd;
}

.cp-contacts-left {
    flex: 1 1 auto;
    position: relative;
    display: flex;
}

.cp-contacts-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-contacts-right {
    width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 30px;
    padding: 80px 70px;
}

.cp-contacts__title.cp-section-title {
    color: #ffffff;
}

.cp-contacts-block {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.cp-contacts-block__icon {
    width: 26px;
    height: 26px;
    position: relative;
    display: flex;
    flex-shrink: 0;
}

.cp-contacts-block__icon img {
    width: 100%;
    height: 100%;
}

.cp-contacts-block__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cp-contacts-block__content h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
    color: #ffffff;
    margin-bottom: 10px;
}

.cp-contacts-block__content a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 115%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cp-contacts-block__content a:hover {
    color: #0c678b;
}

/******************************************/

/***************** Media ******************/

@media only screen and (max-width: 1450px) {

    .cp-about__title {
        font-size: 46px;
    }

    .cp-advantages__block_info > p,
    .cp-advantages__block > p {
        font-size: 16px;
    }

    .cp-reviews__block__img {
        height: 380px;
    }

    .cp-feedback-row {
        gap: 90px;
    }

    .cp-partners-block p {
        font-size: 28px;
    }

}

@media only screen and (max-width: 1250px) {

    .cp-about__title {
        font-size: 42px;
    }

    .cp-about__block {
        max-width: 100%;
    }

    .cp-advantages-content {
        gap: 20px;
    }

    .cp-advantages__block_info,
    .cp-advantages__block {
        width: calc(25% - 16px);
    }

    .cp-advantages__block {
        min-height: 230px;
    }

    .cp-reviews-content {
        gap: 20px;
    }

    .cp-reviews__block {
        width: calc(25% - 16px);
    }

    .cp-partners-block p {
        font-size: 26px;
    }

    .cp-contacts-right {
        width: 400px;
        padding: 50px 40px;
    }

}

@media only screen and (max-width: 992px) {

    .cp-about-row {
        flex-direction: column;
        align-items: center;
    }

    .cp-about__left {
        width: 100%;
        max-width: 750px;
        gap: 30px;
    }

    .cp-about__right {
        width: 100%;
        max-width: 750px;
    }

    .cp-advantages__block_info,
    .cp-advantages__block {
        width: calc(100% / 3 - 40px / 3);
    }

    .cp-reviews-content {
        justify-content: center;
    }

    .cp-reviews__block {
        width: calc(50% - 20px);
        max-width: 280px;
    }

    .cp-reviews__block__img {
        height: 340px;
    }

    .cp-reviews__block__content {
        padding: 15px;
    }

    .cp-feedback .cp-container {
        padding: 0;
    }

    .cp-feedback-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px;
    }

    .cp-feedback-left {
        width: 100%;
        max-width: 500px;
        padding-top: 0;
    }

    .cp-feedback-form {
        width: 100%;
    }

    .cp-partners-content {
        justify-content: center;
    }

    .cp-partners-block {
        width: calc(100% / 3 - 40px / 3);
        max-width: 280px;
        gap: 12px;
    }

    .cp-contacts .cp-container {
        padding: 0;
    }

    .cp-contacts-row {
        flex-direction: column-reverse;
    }

    .cp-contacts-right {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cp-contacts__title.cp-section-title {
        width: 100%;
        margin-bottom: 16px;
    }

    .cp-contacts-left img {
        min-height: 230px;
    }

}

@media only screen and (max-width: 768px) {

    .cp-section-title {
        font-size: 32px;
    }

    .cp-about__title {
        font-size: 36px;
    }

    .cp-about__text {
        font-size: 16px;
    }

    .cp-advantages-row {
        gap: 40px;
    }

    .cp-advantages__block_info,
    .cp-advantages__block {
        width: calc(50% - 10px);
    }

    .cp-reviews-row {
        gap: 40px;
    }

    .cp-feedback__text {
        font-size: 16px;
    }

    .cp-feedback-form__label input {
        padding: 18px 30px;
    }

    .cp-feedback-form__button {
        padding: 18px;
    }

    .cp-partners-row {
        gap: 40px;
    }

    .cp-partners-content {
        gap: 40px 20px;
    }

    .cp-partners__text {
        font-size: 16px;
    }

}

@media only screen and (max-width: 660px) {

    .cp-partners-block {
        width: calc(50% - 10px);
        gap: 4px;
    }

}

@media only screen and (max-width: 480px) {

    .cp-section-title {
        font-size: 24px;
    }

    .cp-about {
        padding: 40px 0;
    }

    .cp-about__left {
        gap: 24px;
    }

    .cp-about__title {
        font-size: 26px;
    }

    .cp-about__text {
        font-size: 14px;
    }

    .cp-about__text br {
        display: none;
    }

    .cp-advantages {
        padding: 30px 0;
    }

    .cp-advantages-row {
        gap: 24px;
    }

    .cp-advantages-content {
        justify-content: center;
        gap: 12px;
    }

    .cp-advantages__block_info,
    .cp-advantages__block {
        width: 100%;
        height: 250px;
    }

    .cp-reviews {
        padding: 30px 0;
    }

    .cp-reviews-row {
        gap: 24px;
    }

    .cp-reviews__block {
        width: 100%;
        max-width: 350px;
    }

    .cp-reviews__block__img {
        height: unset;
    }

    .cp-reviews__block__content {
        padding: 10px;
    }

    .cp-reviews__block__profession,
    .cp-reviews__block__name {
        font-size: 16px;
    }

    .cp-feedback {
        padding: 30px 0;
    }

    .cp-feedback-row {
        padding: 30px 25px;
    }

    .cp-feedback__text {
        font-size: 14px;
    }

    .cp-feedback-form form {
        gap: 12px;
    }

    .cp-feedback-form__label input {
        padding: 15px 20px;
        font-size: 16px;
    }

    .cp-feedback-form__button {
        padding: 15px;
        font-size: 16px;
    }

    .cp-partners-block p {
        font-size: 22px;
    }

    .cp-partners {
        padding: 30px 0;
    }

    .cp-contacts {
        padding: 30px 0 80px;
    }

    .cp-contacts-right {
        padding: 40px 25px;
        gap: 16px;
    }

    .cp-contacts-block {
        width: 100%;
    }

    .cp-contacts-block__content a,
    .cp-contacts-block__content h4 {
        font-size: 16px;
    }

}

@media only screen and (max-width: 360px) {

    .cp-partners-block p {
        font-size: 20px;
    }

}
