/* calculator */

.calc {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(138.49deg, #F3F3FF 53.76%, #C2C2F6 84.07%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.calc-body {
    width: 1000px;
}

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

.calc__block-title {
    color: #473BF0;
    font-size: 62px;
    font-weight: 600;
    text-align: center;
}

.calc__block-subtitle {
    color: #000000;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.calc__form {
    background-color: #473BF0;
    padding: 24px 32px;
    border-radius: 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: #FFFFFF;
}

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

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

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background: #7BFFA7;
    border: 6px solid white;
    cursor: pointer;
    margin-top: -8px;
    position: relative;
    z-index: 3;
}

.range::-moz-range-thumb {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background: #7BFFA7;
    border: 6px solid white;
    cursor: pointer;
}

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

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

#phone {
    width: 100%;
    background-color: #6C62FD;
    height: 52px;
    border-radius: 12px;
    padding: 0 26px;
    color: #FFFFFF;
    font-size: 16px;
    outline: none;
    border: none;
}

#phone::placeholder {
    color: #FFFFFF;
    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: #FFFFFF;
}

.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: #FFFFFF;
    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 #FFFFFF;
    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: #473BF0;
    background-color: #FFFFFF;
    width: 14px;
    height: 14px;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
}

.calc__form-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.calc__form-actions-submit {
    padding: 16px;
    background-color: #7BFFA7;
    color: #473BF0;
    border: 2px solid #7BFFA7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    height: 60px;
    border-radius: 400px;
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
}

.calc__form-actions-submit:hover {
    background-color: #473BF0;
    color: #7BFFA7;
}

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

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

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

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

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

    .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;
    }
}

/* /calculator */

/* steps */

.steps {
    padding: 100px 0;
}

.steps__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.steps__list-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 38px;
    position: relative;
}

.steps__list-item-bg {
    position: absolute;
    color: #FFFFFF;
    font-size: 400px;
    line-height: 280px;
    font-weight: 700;
    z-index: 1;
    left: 4px;
    bottom: 0;
    opacity: .7;
    user-select: none;
}

.steps__list-item-title {
    z-index: 2;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}

.steps__list-item-text {
    z-index: 2;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}

.steps__list-item-text span {
    border-radius: 100px;
    padding: 4px 8px;
}

.steps__list-item-icon {
    z-index: 2;
    position: absolute;
    bottom: -60px;
    right: 0;
}

.step-1 {
    background-color: #EEFFE9;
}

.step-1 .steps__list-item-text span {
    background-color: #C7EABD;
}

.step-2 {
    background-color: #E9F9FF;
}

.step-2 .steps__list-item-text span {
    background-color: #CEEEFB;
}

.step-3 {
    background-color: #EBE9FF;
}

.step-3 .steps__list-item-text span {
    background-color: #D8D5F5;
}

@media (max-width: 991px) {
    .steps__list {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* /steps */

/* fast */

.fast {
    padding: 40px 0 100px;
}

.fast-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.fast-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

.fast-subtitle {
    font-size: 27px;
    font-weight: 500;
    text-align: center;
}

/* /fast */

/* needs */

.needs {
    padding: 100px 0;
    background-color: #473BF0;
}

.needs-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 100px;
}

.needs__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.needs__list-item {
    position: relative;
    width: 300px;
    height: 160px;
    background-color: #6358FF;
    border-radius: 30px;
}

.needs__list-item-icon {
    position: absolute;
    left: 50%;
    top: -40px;
    transform: translateX(-50%);
}

@media (max-width: 600px) {
    .needs-title {
        font-size: 28px;
    }

    .needs__list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .needs__list-item {
        width: 100%;
        height: 120px;
    }

    .needs__list-item:nth-child(1) .needs__list-item-icon {
        width: 80px;
        left: 40px;
        transform: rotate(-15deg);
    }

    .needs__list-item:nth-child(2) .needs__list-item-icon {
        width: 80px;
        right: 40px;
        left: unset;
        transform: rotate(15deg);
    }
}

/* /needs */

/* prolongation */

.prolongation {
    padding: 100px 0;
}

.prolongation-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.prolongation__block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}

.prolongation__block-text {
    font-size: 36px;
    font-weight: 500;
    text-align: center;
}

.prolongation__block-btn {
    padding: 16px 40px;
    background-color: #473BF0;
    border-radius: 75px;
    font-size: 40px;
    color: #FFFFFF;
    font-weight: 600;
}

@media (max-width: 1199px) {
    .prolongation__block-btn {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .prolongation-body {
        grid-template-columns: 1fr;
    }

    .prolongation__block-text {
        font-size: 28px;
    }

    .prolongation__block-btn {
        font-size: 28px;
    }
}

/* /prolongation */