/* calculator */

.calc {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 120px;
}

.calc-body {
    width: 1120px;
}

.calc__block {
    position: relative;
    z-index: 1;
    width: 550px;
}

.calc__block-title {
    margin-top: 80px;
    margin-bottom: 19px;
    font-style: normal;
    font-weight: 600;
    font-size: 76px;
    line-height: 83px;
    letter-spacing: -0.04em;
    color: #020202;
}

.calc__block-subtitle {
    font-style: normal;
    font-weight: 300;
    font-size: 30px;
    line-height: 125%;
    color: #6F6F6F;
    margin-bottom: 30px;
}

.calc__form-group {
    margin-bottom: 14px;
}

.calc__form-group label {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #B3B3B3;
}

.range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: transparent;
    outline: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 8px;
    background: transparent;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: #EF4F4C;
    border: 4px solid white;
    cursor: pointer;
    margin-top: -10px;
    position: relative;
    z-index: 3;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
}

.range::-moz-range-thumb {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: #EF4F4C;
    border: 4px solid white;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
}

.range::-moz-range-track {
    height: 16px;
    border-radius: 8px;
    background: transparent;
}

.range__legend {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #B3B3B3;
    font-size: 12px;
}

#phone {
    width: 100%;
    background-color: #FFF;
    border: 1px solid #EF4F4C;
    height: 40px;
    border-radius: 8px;
    padding: 0 26px;
    color: #000;
    font-size: 16px;
    outline: none;
}

#phone::placeholder {
    color: #B3B3B3;
    font-weight: 500;
}

.calc__form-total {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 15px;
}

.calc__form-total-item {
    font-size: 15px;
    font-weight: 500;
    color: #B3B3B3;
}

.calc__form-total-item span {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
}

.calc__form-agreements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.calc__form-agreements-item input {
    display: none;
}

.calc__form-agreements-item label {
    color: #B3B3B3;
    font-size: 10px;
    display: grid;
    grid-template-columns: 14px 1fr;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.calc__form-agreements-item label:before {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    content: " ";
    width: 14px;
    height: 14px;
    border: 1px solid #B3B3B3;
    border-radius: 3px;
    cursor: pointer;
}

.calc__form-agreements-item input:checked + label:before {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    content: "\2714";
    color: #EF4F4C;
    background-color: #FFFFFF;
    width: 14px;
    height: 14px;
    border: 1px solid #EF4F4C;
    border-radius: 3px;
}

.calc__form-actions {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
}

.calc__form-actions-submit {
    padding: 16px;
    background-color: #EF4F4C;
    color: #FFF;
    border: 2px solid #EF4F4C;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    line-height: 41px;
    height: 90px;
    border-radius: 400px;
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
}

.calc__form-actions-submit span {
    margin-left: 4px;
}

.calc__form-actions-submit img {
    margin-left: 12px;
}

.calc__form-actions-submit:hover {
    background-color: #EF4F4C;
    color: #FFF;
}

.calc-woman {
    position: absolute;
    right: 10%;
    bottom: 0;
}

.calc-woman-bg {
    position: absolute;
    right: 0;
    bottom: 0;
}

@media (max-width: 1500px) {
    .calc-woman {
        right: 0;
    }
}

@media (max-width: 991px) {
    .calc {
        max-width: 100vw;
        width: 100%;
        height: fit-content;
        padding-top: 100px;
        padding-bottom: 320px;
        margin-bottom: 80px;
    }

    .calc-body {
        max-width: 100vw;
        width: 100%;
        padding: 0 15px;
    }

    .calc__block {
        max-width: 100vw;
        width: 100%;
    }

    .calc__block-title {
        font-size: 32px;
    }

    .calc__block-subtitle {
        font-size: 18px;
    }

    .range {
        height: 12px;
    }

    .range::-webkit-slider-runnable-track {
        height: 12px;
    }

    .range::-webkit-slider-thumb {
        height: 20px;
        width: 20px;
        border: 4px solid white;
        margin-top: -4px;
    }

    .range::-moz-range-thumb {
        height: 20px;
        width: 20px;
        border: 4px solid white;
    }

    .calc__form-total-item {
        font-size: 12px;
    }

    .calc-woman {
        z-index: 2;
        width: 300px;
        bottom: -100px;
        position: absolute;
    }

    .calc__form-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .calc__form-actions-submit {
        font-size: 20px;
        height: 60px;
    }
}

/* /calculator */

/* fast */

.fast {
    margin-bottom: 120px;
}

.fast-title {
    font-style: normal;
    font-weight: 800;
    font-size: 50px;
    line-height: 119%;
    color: #000000;
    margin-bottom: 60px;
}

.fast__steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.fast__steps-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.fast__steps-item p {
    font-style: normal;
    font-size: 22px;
    line-height: 142.5%;
    color: #000000;
}

@media (max-width: 991px) {
    .fast {
        margin-bottom: 80px;
    }

    .fast-title {
        font-style: normal;
        font-weight: 800;
        font-size: 28px;
        line-height: 119%;
        color: #000000;
        margin-bottom: 40px;
    }

    .fast__steps {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}

/* /fast */

/* needed */

.needed {
    margin-bottom: 240px;
}

.needed-body {
    position: relative;
    background: #FFF2F2;
    border-radius: 50px;
    padding: 50px;
}

.needed-title {
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    line-height: 106.9%;
    color: #000000;
    margin-bottom: 32px;
}

.needed-subtitle {
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 142.5%;
    color: #000000;
    margin-bottom: 32px;
}

.needed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 31px;
    height: 90px;
    background: #EF4F4C;
    box-shadow: 0 33px 59px rgba(253, 71, 67, 0.1);
    border-radius: 500px;
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    line-height: 41px;
    text-align: center;
    color: #FFFFFF;
}

.needed-img {
    position: absolute;
    right: 67px;
    bottom: -180px;
}

@media (max-width: 1199px) {
    .needed-img {
        width: 400px;
        right: 30px;
    }
}

@media (max-width: 991px) {
    .needed {
        background-color: #FFF2F2;
        border-radius: 50px;
    }

    .needed-body {
        background: none;
        border-radius: 18px;
        padding: 60px 0;
    }

    .needed-title {
        font-size: 24px;
        line-height: 106.9%;
    }

    .needed-subtitle {
        font-style: normal;
        font-weight: 500;
        font-size: 20px;
        line-height: 142.5%;
    }

    .needed-btn {
        width: 100%;
        padding: 0;
        font-style: normal;
        font-weight: 600;
        font-size: 24px;
        line-height: 41px;
        text-align: center;
    }

    .needed-img {
        position: relative;
        right: unset;
        bottom: unset;
        margin: 0 auto;
    }
}

/* /needed */