*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    font-family: 'Manrope';
    color: #282828;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

html:focus-within {
    scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

.wrapper {
    width: 1280px;
    margin: 0 auto;
}

.subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #282828;
    margin: 0 auto;
    text-align: center;
}

.title-block {
    text-align: center;
}

.screen1 {
    background: #ebf4ff;
    border-radius: 30px;
    margin: 20px;
    height: 1000px;
    position: relative;
}

.header {
    text-align: center;
    padding-top: 50px;
}

.shadow-orb {
    width: 590px;
    height: 590px;
    border-radius: 50%;
    background: #dce8ff;
    position: absolute;
    left: calc(50% - 280px);
    bottom: 271px;
    z-index: 1;
}
.screen1 .shadow-orb {
    box-shadow: 0 0 250px 50px rgba(97, 134, 255, 0.11);
}
.screen5 .shadow-orb {
    box-shadow: 0 0 250px 50px rgba(97, 134, 255, 0.15);
}
.screen1 .shadow-orb:after {
    content: '';
    position: absolute;
    width: 573px;
    height: 499px;
    left: calc(50% - 286px);
    background: url("../images/lines.png") 0 50% no-repeat;
    top: calc(50% + 67px);
}

.agents {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.agent {
    margin-right: -34px;
    z-index: 1;
}

.screen1 .title-block {
    width: 1200px;
    height: 556px;
    left: calc(50% - 600px);
    top: calc(50% - 278px);
    position: absolute;
    z-index: 2;
}

.screen1 .title {
    font-size: 100px;
    font-weight: 600;
    color: #282828;
    line-height: 114px;
    margin: 20px 0 50px;
}

.screen1 .subtitle {
    width: 750px;
    margin-bottom: 70px;
}

.button {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    width: 260px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin: 0 auto;
    background: url('../images/button_bg.gif');
}

.screen2 .title {
    font-size: 60px;
    font-weight: 500;
    margin: 85px 0 40px;
    line-height: 1;
}

.gradient-title {
    background: linear-gradient(90deg, #88d0cf, #2727d5);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;
}

.screen2 .subtitle {
    width: 860px;
    margin-bottom: 90px;
}

.solutions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 65px 10px;
    grid-auto-rows: 320px;
    margin-bottom: 110px;
}

.solution {
    border-radius: 10px;
    background: #eaf3fe;
}

.solution:nth-child(2n) {
    background: #f3f0ff;
}

.solution-title {
    color: #282828;
    font-size: 20px;
    font-weight: 600;
    margin: 40px 27px 15px;
}

.solution-text {
    color: #202023;
    font-size: 14px;
    margin: 0 27px;
    height: 50px;
    line-height: 1;
}

.solution-image {
    text-align: center;
}

.screen3 {
    background: url("../images/bg-footer.png") 50% 0 no-repeat #000;
    margin: 20px;
    border-radius: 30px;
    padding-bottom: 42px
}

.screen3 .logo {
    padding-top: 30px;
    text-align: center;
    overflow: hidden;
    height: 125px;
    box-sizing: content-box;
    margin-bottom: 15px;
}

.screen3 .title,
.screen3 .subtitle {
    font-weight: 500;
    color: #fff;
    line-height: 1;
    text-align: center;
}

.screen3 .title {
    font-size: 42px;
}

.screen3 .subtitle {
    font-size: 18px;
    margin: 20px 0 40px;
}

.cases {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 230px 1fr;
    gap: 20px;
    height: 430px;
}

.case {
    line-height: 1;
}

.case img {
    height: 100%;
    width: 100%;
}

.case:nth-child(1) {
    grid-row: span 2;
}

.case:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.case:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.domens {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin: 50px 0;
}

.domen {
    border: 1px solid #652dd9;
    border-radius: 10px;
    flex: 1;
    display: flex;
    height: 125px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
.domen .name {
    color: #fff;
    font-size: 16px;
}
.screen4 .title {
    margin: 105px auto 35px;
    font-size: 55px;
    font-weight: 500;
    text-align: center;
    width: 760px;
    line-height: 60px;
    padding-bottom: 10px;
}

.screen4 .subtitle {
    font-weight: 500;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 60px 0 90px;
}

.step {
    padding: 70px 45px;
    flex: 1;
    height: 290px;
    border-radius: 10px;
    background: #eaf3fe;
}

.step:nth-child(2n) {
    background: #f3f0ff;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #282828;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.screen5 {
    text-align: center;
    font-weight: 600;
    background: #ebf4ff;
    height: 620px;
    position: relative;
    overflow: hidden;
}

.screen5 .title-block {
    position: absolute;
    width: 600px;
    left: calc(50% - 300px);
    top: 100px;
    z-index: 2;
}

.screen5 .title {
    font-size: 48px;
    width: 600px;
    margin: 0 auto 40px;
}

.screen5 .link {
    font-size: 29px;
}

.screen5 .link a {
    border-bottom: 3px solid #2e33d5;
}

.screen5 .button {
    margin: 75px auto;
}

.screen5 .address {
    font-size: 12px;
}

.screen5 .shadow-orb {
    bottom: -255px;
}
.modal {
    display: none;
}

.modal.active {
    display: block;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal__content {
    position: fixed;
    top: calc(50% - 415px);
    left: calc(50% - 275px);
    background: #fff;
    width: 550px;
    height: 830px;
    z-index: 20;
}

.modal__overlay {
    z-index: 10;
}

input,
textarea {
    width: 100%;
}

.form-head img {
    width: 100%;
}

.form-body {
    padding: 30px 35px 45px;
}

.ftitle {
    font-size: 30px;
    font-weight: 600;
    color: #1f171a;
}

.fsubtitle {
    font-size: 16px;
    color: #505050;
    margin: 20px 0 30px;
    line-height: 1;
}

.ftitle,
.fsubtitle {
    text-align: center;
}

.fcontrol {
    margin-bottom: 25px;
    border-radius: 5px;
    border: 1px solid #cdcdcd;
    background: #fff;
    resize: none;
    padding: 0 15px;
    font-size: 16px;
    height: 60px;
    display: flex;
    align-items: center;
}
textarea.fcontrol {
    height: 100px;
    padding-top: 15px;
}
.form-body button {
    width: 100%;
}
.g-recaptcha {
    margin-bottom: 25px;
}
@media screen and (max-width: 480px) {
    .wrapper {
        width: 320px !important;
        margin: 0 auto;
    }
    .header {
        padding-top: 20px;
    }
    .shadow-orb {
        width: 364px;
        height: 364px;
        left: calc(50% - 182px);
        top: 120px;
    }
    .screen1 {
        margin: 10px;
        height: 739px;
        overflow: hidden;
    }
    .screen1 .title-block {
        top: 130px;
    }
    .screen1 .title {
        font-size: 30px;
        font-weight: 500;
        width: 320px;
        margin: 50px auto 25px;
        line-height: 1.2;
    }
    .screen1 .subtitle {
        font-size: 16px;
        font-weight: 300;
        width: 300px;
    }
    .agents {
        margin-right: 15px;
    }
    .agent {
        width: 44px;
        height: 44px;
        margin-right: -22px;
    }
    .agent img {
        width: 100%;
    }
    .screen1 .shadow-orb::after {
        top: 120px;
    }
    .screen2 .title {
        font-size: 30px;
        font-weight: 500;
        margin: 45px auto;
        line-height: 1;
        width: 200px;
    }
    .screen2 .subtitle {
        width: 320px;
        margin-bottom: 50px;
        font-size: 16px;
        line-height: 1.2;
    }
    .solutions {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 50px;
        margin: 0 auto;
    }
    .solution {
        height: 265px;
    }
    .solution-title {
        margin: 25px;
        font-size: 18px;
    }
    .solution-text {
        margin: 0 25px;
    }
    .solution-image img {
        width: 100%;
    }
    .screen3 {
        margin: 50px 0 0;
        border-radius: 0;
        background: url("../images/bg-footer-mobile.png") 50% 0 /cover no-repeat #000;
        padding-bottom: 15px;
    }
    .screen3 .logo {
        padding-top: 0;
    }
    .screen3 .title {
        font-size: 30px;
        width: 270px;
        margin: 0 auto;
    }
    .screen3 .subtitle {
        font-size: 16px;
        margin: 20px auto 40px;
        width: 270px;
    }
    .cases {
        gap: 20px;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .case:nth-child(1) {
        display: none;
    }
    .domens {
        flex-direction: column;
        gap: 10px;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .domen {
        width: 100%;
        flex-direction: revert;
        justify-content: flex-start;
        padding: 15px;
        flex: auto;
        height: 50px;
    }
    .domen .image {
        width: 20px;
        display: flex;
        align-items: center;
    }
    .domen .image img {
        width: 100%;
    }
    .screen4 .title {
        font-size: 30px;
        margin-top: 50px;
        width: auto;
        line-height: 1.2;
        padding: 0;
        margin-bottom: 20px;
    }
    .steps {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        margin: 30px 0;
        flex-direction: column;
    }
    .step {
        padding: 35px 15px;
        flex: auto;
        height: 240px;
        text-align: center;
    }
    .step-title {
        flex-direction: column;
        align-items: center;
        font-size: 18px;
        margin-bottom: 20px;
    }
    .screen5 .title-block {
        position: relative;
        width: 100%;
        left: auto;
        top: auto;
    }
    .screen5 .title {
        font-size: 30px;
        width: 100%;
        line-height: 1.2;
        margin: 30px 0 40px;
    }
    .screen5 .link {
        font-size: 24px;
    }
    .screen5 .button {
        margin: 50px auto;
    }
    .screen5 .shadow-orb {
        display: none;
    }
    .screen5 {
        padding-bottom: 50px;
        height: auto;
    }
    .modal__content {
        top: 50px;
        left: calc(50% - 160px);
        width: 320px;
        max-height: 90vh;
        overflow-y: auto;
        height: auto;
    }
    .ftitle {
        font-size: 22px;
    }
    .form-body {
        padding: 20px;
    }
    .fcontrol {
        margin-bottom: 15px;
    }
}