/* Страница работа с поиском */

/* Поведенческие факторы */

.factors-container {
    display: flex;
    flex-direction: row;
    margin-right: 100px;
    margin-left: 100px;
    justify-content: space-between;
    margin-top: 50px;
}

.factors-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
}

.factors-left-panel h1 {
    margin: 0;
}

.factors-image img {
    max-width: 100%;
}

.factors-image {
    max-width: 822px;
}
.factors-left-panel ul {
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

.factors-left-panel ul li p {
    margin-top: 5px;
    margin-bottom: 0;
}

.factors-left-panel button {
    margin-top: 10px;
    width: 250px;
}

.text-under-image {
    font-size: 20px;
    line-height: 28px;
    padding-left: 10px;
    padding-right: 10px;
}

.factors-left-panel h1 {
    font-size: 34px;
    line-height: 45px;
    margin-top: 0;
}

.factors-left-panel p {
    font-size: 20px;
    line-height: 28px;
    margin-top: 36px;
    margin-bottom: 36px;
}

/* Почему без пф не попасть в топ */
.toppf {
    margin-top: 100px;
}
.toppf-container {
    margin-left: 100px;
    margin-right: 100px;
}

.toppf-container h2 {
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 0;
}

.toppf-specification {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.toppf-specification-header h3 {
    text-transform: uppercase;
    margin-top: 38px;
}

.toppf-text p {
    font-size: 20px;
    line-height: 28px;
    margin: 34px;
}

.toppf-text {
    border: 1px solid #5C84FB;
    border-radius: 15px;
    box-shadow: 0px 0px 39px 2px rgba(34, 60, 80, 0.14);
}

.toppf-specification-info {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 28px;
}

/* кому это нужно? */
.needs {
    margin-top: 100px;
}

.needs-container {
    margin-left: 100px;
    margin-right: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.needs-left {
    display: flex;
    flex-direction: column;
    margin-right: 34px;
    max-width: 572px;
    max-height: 682px;
}

.needs-left h2 {
    font-size: 40px;
    line-height: 56px;
    margin-top: 0;
    text-align: center;
}

.needs-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #F2F5FF;
    border-radius: 5px;;
    margin-top: 30px;
    margin-left: 36px;
    margin-right: 36px;
}

.needs-text:last-child {
    margin-bottom: 34px;
}

.needs-text p {
    font-size: 24px;
    line-height: 34px;
    margin-left: 12px; 
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 8px;
}

.needs-text img {
    margin-left: 6px;
}

.needs-right h2 {
    font-size: 40px;
    line-height: 56px;
    margin-top: 0;
    text-align: center;
}

.needs-right {
    display: flex;
    flex-direction: column;
    max-width: 591px;
}

#needs-chart {
    max-width: 100%;
    margin-top: 50px;
}

.needs-border {
    border: 1px solid #5C84FB;
    border-radius: 15px;
    box-shadow: 0px 0px 39px 2px rgba(34, 60, 80, 0.14);
}

/* как мы работаем? */
.job {
    margin-top: 100px;
    background: url('../img/job-bg.png') no-repeat;
    background-position: 50% 65%;
}

.job-container {
    margin-left: 100px;
    margin-right: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.job-container h2 {
    font-size: 40px;
    line-height: 56px;
}

.job-tab-border {
    min-width: 300px;
    max-width: 300px;
}

.job-tab-border {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: #2B318A;
    max-width: 360px;
    max-height: 278px;
    margin-top: 34px;
    box-shadow: 0px 0px 39px 2px rgba(34, 60, 80, 0.14);
}

.job-tab-border:nth-child(2) {
    margin-right: 75px;
    margin-left: 75px;
}

.job-tab-top-row {
    display: flex;
    flex-direction: row;
}

.job-tab-bottom-row {
    display: flex;
    flex-direction: row;
    margin-top: 25px;
}

.job-tab-top {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    height: 134px;
    border-bottom: 1px solid #FFFFFF;
    margin-left: 20px;
    margin-right: 20px;
}

.job-tab-top h3 {
    font-size: 28px;
    line-height: 38px;
    text-transform: uppercase;
    margin-top: 20px;
    color: white;
}

.job-tab-top img {
    margin-top: 20px;
}

.job-tab-border p {
    font-size: 20px;
    line-height: 28px;
    color: white;
    margin-left: 20px;
    margin-right: 20px;
}

.job-results {
    margin-top: 86px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 99px;
    height: 392px;
    margin-bottom: 50px;
}

.job-result-left {
    display: flex;
    flex-direction: column;
    width: 470px;
    padding-left: 25px;
}


.job-result-right {
    display: flex;
    flex-direction: column;
    width: 430px;
    padding-left: 25px;
}

.job-result-right img {
    max-width: 321px;
    max-height: 250px;
    margin-left: 25%;
    margin-top: -20%;
    z-index: 5;
}

.job-result-left img {
    max-width: 450px;
    max-height: 240px;
    margin-top: -5%;
}

.job-result-left p {
    font-family: 'Roboto', sans-serif;
    font-size: 110px;
    font-weight: 800;
    margin: 0;
}

.job-result-left h3 {
    font-size: 28px;
    line-height: 38px;
    text-transform: uppercase;
    margin: 0;
}

.job-result-right h3 {
    font-size: 28px;
    line-height: 38px;
    text-transform: uppercase;
    margin: 0;
}

.job-result-right p {
    font-size: 24px;
    line-height: 34px;
    z-index: 10;
}

.job-tab-top-row .job-tab-border:nth-child(1) {
    background-color: #95B1E5;
}

.job-tab-top-row .job-tab-border:nth-child(2) {
    background-color: #6F8FD2;
}

.job-tab-top-row .job-tab-border:nth-child(3) {
    background-color: #5074CE;
}

.job-tab-bottom-row .job-tab-border:nth-child(1) {
    background-color: #4F78D0;
}

.job-tab-bottom-row .job-tab-border:nth-child(2) {
    background-color: #373FAE;
}

.job-tab-bottom-row .job-tab-border:nth-child(3) {
    background-color: #2B318A;
}

.promotionsites .advantages {
    margin-top: 50px;
}

/* Кейсы сайты */
.cases-container {
    margin-right: 100px;
    margin-left: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
}

.cases {
    background: url("../img/background-cases.png") no-repeat;
    margin-top: 50px;
}

.cases-container > h2 {
    font-size: 40px;
    line-height: 56px;
}

.cases-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    margin-bottom: 50px;
}

.cases-info {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    min-height: 625px;
    position:relative;
}

.cases-info > :nth-child(2) {
    font-size: 28px;
    line-height: 38px;
}

.cases-info > :nth-child(3) {
    font-size: 24px;
    line-height: 34px;
    margin-top: 10px;
}

.cases-info > img {
    border-radius: 15px 15px 0 0;
}

.cases-info > p {
    margin-left: 50px;
    margin-right: 40px;
    margin-top: 0;
    margin-bottom: 0;
}


.cases-button {
    display: flex;
    justify-content: flex-end;
}









.cases-info > .cases-button {
    align-items: flex-end;
}

.cases-border {
    border-bottom: 1px solid #A8B1CE;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 15px;
}

.cases-border > p {
    margin-top: 0;
}

.cases-info img {
    margin: 25px;
}

.cases-info-bg-image {
    background-color: #F2F5FF;
    border-radius: 15px 15px 0 0;
}









.promotionsites .cases {
    background: url('../img/cases-sites-bg.png') no-repeat;
}

.promotionsites .cases-info {
    min-height: 472px;
}

.promotionsites .cases-box {
    margin-bottom: 18px;
}
/* блок с консультацией на странице сайты */
.promotionsites .consult {
    background: none;
}

.promotionsites .grid-colums {
    border: 1px solid #5C84FB;
    border-radius: 15px;
}


@media (max-width: 1250px) {

    .promotionsites .cases-info {
        min-height: 500px;
    }

    .promotionsites .cases {
        background: none;
        background-color: #CDDEFF;
    }

    .cases-info-bg-image img {
        max-width: 260px;
    }

    .promotionsites .header-box {
        margin-left: 140px;
        margin-right: 140px;
    }
    .factors-image img {
        margin-left: 20px;
    }

    .needs-left {
        max-height: 100%;
    }

    .job-tab-border:nth-child(2) {
        margin-right: 30px;
        margin-left: 30px;
    }

    .job-tab-bottom-row {
        margin-top: 0;
    }

    .cases-border {
        margin-left: 25px;
        height: 135px;
    }
    .cases-info {
        max-width: 310px;
        min-height: 670px;
    }
}

@media (max-width: 930px) {

    .factors-image {
        order:0;
    }

    .factors-left-panel {
        order:1;
    }

    .factors-container {
        flex-direction: column;
    }

    .factors-image img {
        margin-left: 0;
    }

    .factors-left-panel p {
        margin-top: 0;
    }

    .factors-container {
        margin-left: 80px;
        margin-right: 80px;
    }
    .promotionsites .header-box {
        margin-left: 80px;
        margin-right: 80px;
    }

    .toppf-container {
        margin-left: 80px;
        margin-right: 80px;
    }

    .needs-container {
        margin-left: 80px;
        margin-right: 80px;
    }

    .job-container {
        margin-left: 80px;
        margin-right: 80px;
    }

    .job-tab-top {
        flex-direction: column;
        align-items: center;
    }

    .job-tab-border {
        max-height: none;
        max-height: 100%;
    }

    .job-tab-top {
        height: 220px;
    }

    .job-tab-border {
        min-width: 230px;
        max-width: 230px;
    }

    .job-result-left {
        width: 100%;
    }

    .job-result-right {
        width: 100%;
    }

    .promotionsites > .cases > .cases-container {
        margin-left: 80px;
        margin-right: 80px;
    }

    .job {
        margin-top: 50px;
    }

    .job-container h2 {
        margin-bottom: 0;
    }

    .job {
        background-position: top;
    }

    .promotionsites .cases-info {
        min-height: 500px;
        max-width: 280px;
    }

    .cases-border {
        margin-right: 25px;
    }

    .prises-sites-container {
        margin-left: 80px;
        margin-right: 80px;
    }

    .prises-sites-info {
        max-width: 251px;
    }

    .prises-sites-info-top {
        flex-direction: column;
        align-items: center;
    }

    .cases-info-bg-image img {
        max-width: 200px;
    }

    .prises-sites-info-top p {
        margin-left:0;
    }

    .prises-sites-info button {
        width: 180px;
    }

    .cases-border p {
        font-size: 22px;
    }

    .promotionsites .cases-info {
        max-width: 250px;
    }
}



@media (max-width: 650px) {
    .cases-info-bg-image img {
        max-width: 60%;
    }

    .toppf-specification-info {
        flex-direction: column;
    }

    .toppf-specification-info img {
        display: none;
    }

    .span-image {
        display: none;
    }

    .toppf-text {
        margin-top: 25px;
    }

    .needs-container {
        flex-direction: column;
    }

    .needs-left {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .job-tab-top-row {
        flex-direction: column;
    }

    .job-tab-bottom-row {
        flex-direction: column;
    }

    .job-tab-border:nth-child(2) {
        margin-right: 0;
        margin-left: 0;
    }

    .job-tab-border {
        min-width: 230px;
        max-width: 100%;
    }

    .job-tab-top {
        flex-direction: row-reverse;
        height: 100%;
    }

    .job {
        background-color: #CDDEFF;
        background-image: none;
    }

    .toppf-specification-info {
        margin-top: 0;
    }

    .toppf-specification-header h3 {
        margin-bottom: 0;
    }

    .job-results {
        flex-direction: column;
    }

    .job-results {
        height: 100%;
    }

    .job-result-left {
        padding-left: 0;
    }

    .job-result-right {
        padding-left: 0;
    }
    
    .promotionsites .cases {
        background: none;
        background-color: #CDDEFF;
    }

    .promotionsites .cases-info {
        max-width: 100%;
        min-width: 550px;
        min-height: 450px;
    }

    .promotionsites .cases-info-bg-image {
        text-align: center;
    }

    .cases-border {
        height: 100%;
    }
    .cases-box {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 25px;
    }

    .cases-box > :nth-child(2) {
        margin-right: 0;
        margin-left: 0;
    }

    .cases-box > :nth-child(3) {
        width: 100%;
    }

    .cases-box > :nth-child(1) {
        width: 100%;
    }

    .cases-info {
        max-width: 100%;
    }

    .cases {
        background-color: #CDDEFF;
    }

    .promotionsites .cases-border p br {
        display: none;
    }

    .prises-sites-top-row {
        flex-direction: column;
        justify-content: center;
    }

    .prises-sites-bottom-row {
        flex-direction: column;
        justify-content: center;
    }

    .prises-sites-bottom-row .prises-sites-info:nth-child(2) {
        margin-right: 0;
        margin-left: 0;
    }

    .prises-sites-top-row .prises-sites-info:nth-child(2) {
        margin-right: 0;
        margin-left: 0;
    }

    .prises-sites-info {
        max-width: 100%;
    }

    .prises-sites-info-top {
        flex-direction: row;
    }

    .prises-sites-info-top p {
        margin-left: 25px;
    }

    .prises-sites-bottom-row {
        margin-top: 0;
    }

    .prises-sites-info {
        margin-top: 25px;
    }

    .prises-sites-container h2 {
        text-align: center;
    }

    .toppf-container h2 {
        text-align: center;
    }

    .toppf-container h2 br {
        display: none;
    }

    .prises-sites-info button {
        width: 306px;
        margin-left: 0;
    }

    .prises-sites-info {
        justify-content: center;
        align-items: center;
    }

    .factors-left-panel h1 {
        margin-top: 34px;
    }

    .factors-left-panel {
        align-items: center;
    }

    .factors-left-panel p {
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .needs-text p {
        font-size: 18px;
        line-height: 24px;
    }

    .needs-text img {
        width: 30px;
    }

    .cases-info-bg-image img {
        max-width: 80%;
    }
    .promotionsites .header-box {
        margin-left: 20px;
        margin-right: 20px;
        justify-content: space-between;
    }

    .factors-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .toppf-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .needs-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .job-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .promotionsites .advantages-container h2 {
        text-align: center;
    }

    .promotionsites .cases-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .promotionsites .cases-container h2 {
        text-align: center;
    }

    .promotionsites .cases-info {
        min-width: 100%;
    }

    .prises-sites-container {
        margin-left: 18px;
        margin-right: 18px;
    }

}

@media(max-width: 390px) {

    .cases-info-bg-image img {
        max-width: 90%;
    }
    .promotionsites .cases-info {
        max-width: 354px;
        min-width: 300px;
        min-height: 420px;
    }

    .promotionsites .reviews-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .promotionsites .reviews-border {
        width: 300px;
    }

    .factors-left-panel h1 {
        font-size: 32px;
        line-height: 44px;
    }

    .toppf-container h2 {
        font-size: 32px;
        line-height: 44px;
    }

    .toppf-specification-header h3{
        font-size: 28px;
        line-height: 38px;
    }

    .needs-left h2 {
        font-size: 32px;
        line-height: 44px;
    }

    .needs-text p {
        font-size: 16px;
        line-height: 20px;
    }

    .job-container h2 {
        font-size: 32px;
        line-height: 44px;
    }
    .needs-right h2 {
        font-size: 32px;
        line-height: 44px;
    }

.job-tab-top h3 {
    font-size: 24px;
    line-height: 34px;
}

.job-tab-border p {
    font-size: 18px;
    line-height: 24px;
}

.job-tab-top img {
    margin-left: 5px;
}

.job-result-left p {
    font-family: 'Roboto', sans-serif;
    font-size: 80px;
}

.job-result-right p {
    font-size: 20px;
    line-height: 28px;
}

.cases-container > h2 {
    font-size: 32px;
    line-height: 44px;
}

.cases-border p {
    font-size: 20px;
}

.prises-sites-container h2 {
    font-size: 32px;
    line-height: 44px;
}

.promotionsites .reviews h2 {
    font-size: 32px;
    line-height: 44px;
}
}

