/* Калькулятор */

.calc {
    position: relative;
    background-image: url("/theme/site/img/bg.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    margin-bottom: 40px;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.calc-body {
    position: relative;
    height: 100vh;
}

.calc-woman {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 80%;
    border-bottom-left-radius: 80px;
}

.calc__form {
    width: 580px;
    position: absolute;
    bottom: 40px;
    right: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
    padding: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 45px;
}

.calc__form-title {
    width: 100%;
    position: relative;
    text-align: left;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 51px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.calc__form-subtitle {
    position: absolute;
    right: 0;
    bottom: -50px;
}

.calc__form-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

.calc__form-group label {
    font-size: 26px;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom: 12px;
}

.calc__form-group label * {
    font-size: 26px;
    color: #FFFFFF;
    font-weight: 500;
}

.calc__form-info {
    margin-top: 2px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc__form-info span {
    font-size: 14px;
    color: #FFFFFF;
}

.calc__form-info span:nth-child(1) {
    text-align: left;
}

.calc__form-info span:nth-child(2) {
    text-align: right;
}

.calc__form-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
}

.calc__form-phone label {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
    transform: translateY(50px) translateX(16px);
    transition: transform .1s ease;
}

.calc__form-phone input {
    width: 100%;
    height: 65px;
    background: rgba(24, 0, 148, 0.21);
    border-radius: 12px;
    padding: 0 16px;
    color: #FFF;
}

.calc__form-phone:focus-within label {
    transform: translateY(0) translateX(0);
}

.calc__form-agreement {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.calc__form-agreement-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
}

.calc__form-agreement input.-error + label, .calc__form-agreement input.-error + label * {
    color: red;
}

.calc__form-agreement-item label {
    color: #FFFFFF;
    font-size: 11px;
}

.calc__form-agreement-item label a {
    text-decoration: underline;
    color: #FFFFFF;
    font-size: 11px;
}

.calc__form-agreement-item input {
    visibility: hidden;
}

.calc__form-agreement-item input::before {
    cursor: pointer;
    visibility: visible;
    content: " ";
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    border: 1px solid #FFFFFF;
    background: transparent;
    border-radius: 50%;
}

.calc__form-agreement-item input:checked::before {
    background: #FFFFFF;
}

.calc__form-total {
    width: 100%;
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 16px;
}

.calc__form-total button {
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #FFEF93;
    color: #000000;
    font-size: 27px;
    font-weight: 600;
    border-radius: 100px;
    transition: opacity .3s ease;
}

.calc__form-total button:hover {
    opacity: .8;
}

.calc__form-total-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.calc__form-total-info-item, .calc__form-total-info-item * {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
}

.calc-woman-mob {
    display: none;
}

@media (max-width: 1199px) {
    .calc-woman {
        display: none;
    }
}

@media (max-width: 991px) {
    .calc {
        height: fit-content;
        padding: 120px 0 370px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .calc-body {
        height: fit-content;
    }

    .calc__form {
        width: 100%;
        position: relative;
        bottom: 0;
        gap: 30px;
        padding: 24px 15px;
        border-radius: 21px;
    }

    .calc__form-title {
        font-size: 30px;
        text-align: left;
    }

    .calc__form-subtitle {
        position: absolute;
        right: 0;
        bottom: -30px;
        height: 40px;
    }

    .calc__form-group label {
        font-size: 18px;
    }

    .calc__form-group label * {
        font-size: 18px;
    }

    .calc__form-agreement {
        grid-template-columns: 1fr;
    }

    .calc__form-total {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .calc__form-total button {
        grid-row: 2/3;
        height: 64px;
        font-size: 20px;
    }

    .calc-circle {
        display: none;
    }

    .calc-dot {
        display: none;
    }

    .calc-woman {
        display: none;
    }

    .calc-woman-mob {
        display: unset;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 400px;
        object-fit: cover;
    }
}

/* /Калькулятор */

/* Как это работает */

.steps {
    margin-bottom: 40px;
}

.steps-body {
    overflow: hidden;
    position: relative;
    background-color: #6654D0;
    padding: 40px 60px;
    border-radius: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.steps__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.steps__list-item {
    position: relative;
    border-radius: 30px;
    background-color: #FFFFFF;
    padding: 30px;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
}

.steps__list-item span {
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #FF9C55;
    width: 30px;
    grid-column: 1/2;
    grid-row: 1/2;
}

.steps__list-item h3 {
    z-index: 1;
    align-self: end;
    font-weight: 600;
    font-size: 28px;
    color: #000000;
    grid-column: 2/3;
    grid-row: 1/2;
}

.steps__list-item p {
    font-size: 16px;
    color: #1E1D4C;
    grid-column: 2/3;
    grid-row: 2/3;
}

.steps__list-item img {
    position: absolute;
    right: 24px;
    top: -20px;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.steps__desc h2 {
    color: #FFFFFF;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 18px;
}

.steps__desc p {
    font-weight: 400;
    font-size: 18px;
    line-height: 29px;
    color: #FFFFFF;
}

.steps-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 400px;
}

@media (max-width: 991px) {
    .steps-body {
        padding: 30px 15px 200px;
        border-radius: 25px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps__list-item {
        border-radius: 20px;
        padding: 16px;
        grid-template-columns: 20px 1fr;
        gap: 6px;
    }

    .steps__list-item span {
        font-size: 24px;
        line-height: 24px;
        width: 20px;
    }

    .steps__list-item h3 {
        font-size: 17px;
    }

    .steps__list-item img {
        right: 15px;
        top: -10px;
        width: 50px;
        height: 50px;
    }

    .steps__desc h2 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .steps__desc p {
        font-size: 15px;
    }

    .steps-img {
        width: 250px;
    }
}

/* /Как это работает */

/* Преимущества */

.advantages {
    margin-bottom: 40px;
}

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

.advantages__list-item {
    position: relative;
    background-color: #FFF6D8;
    padding: 30px;
    border-radius: 30px;
}

.advantages__list-item:nth-child(3) {
    grid-column: 2/3;
    grid-row: 1/3;
    background-color: #EAE6FF;
}

.advantages__list-item:nth-child(3) img {
    right: 0;
}

.advantages__list-item:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
    background-color: #EAE6FF;
}

.advantages__list-item:nth-child(4) {
    background-color: #EAE6FF;
}

.advantages__list-item p {
    font-size: 28px;
    font-weight: 600;
    color: #222222;
}

.advantages__list-item img {
    position: absolute;
    bottom: 0;
    right: 15px;
}

@media (max-width: 991px) {
    .advantages__list {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
        gap: 20px;
    }

    .advantages__list-item {
        padding: 20px 30px;
    }

    .advantages__list-item:nth-child(3) {
        grid-column: 1/2;
        grid-row: 3/4;
    }

    .advantages__list-item p {
        font-size: 25px;
    }

    .advantages__list-item img {
        width: 145px;
    }
}

/* /Преимущества */

/* Текст про допы */

.dops-body * {
    font-size: 14px;
    color: rgba(0, 0, 0, .8);
}

.dops-body a {
    color: rgba(133, 47, 185, 0.8);
    text-decoration: underline;
}

/* /Текст про допы */

.bg-path {
    position: absolute;
    z-index: -1;
    width: 100%;
}

@media (max-width: 991px) {
    .bg-path {
        display: none;
    }
}