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

.calc {
    position: relative;
    background: url('/theme/site/img/bg.webp') no-repeat center center / cover;
    width: 100%;
    height: 100vh;
    margin-bottom: 40px;
    overflow: hidden;
}

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

.calc-cat {
    position: absolute;
    bottom: 0;
    right: auto;
    left: -280px;
    top: auto;
}

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

.calc-circle {
    background: rgba(241, 255, 253, 0.25);
    border-radius: 50%;
    position: absolute;
    width: 278px;
    height: 278px;
    right: -200px;
    top: 50%;
}

.calc__form {
    width: 580px;
    position: absolute;
    bottom: 40px;
    right: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    flex-direction: column;
    padding: 40px 60px;
    background: rgba(0, 50, 178, 0.5);
    border-radius: 45px;
    z-index: 1;
}

.calc__form-title {
    width: 100%;
    position: relative;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    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: 8px;
}

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

.range::-moz-range-thumb:hover {
    background: #EFC764;
}

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

.calc__form-phone input {
    width: 100%;
    font-size: 16px;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 12px;
    height: 60px;
    padding: 0 16px;
}

.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: #000000;
    color: #FFFFFF;
    font-size: 27px;
    font-weight: 600;
    border-radius: 12px;
    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;
}

@media (max-width: 991px) {
    .calc {
        height: fit-content;
        padding: 120px 0 420px;
    }

    .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-phone input {
        height: 50px;
    }

    .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-cat {
        display: none;
    }

    .calc-cat-mob {
        display: block;
        object-fit: cover;
        position: absolute;
        bottom: 0;
        right: auto;
        left: 50%;
        top: auto;
        width: auto;
        height: 438px;
        transform: translateX(-50%);
        z-index: 1;
    }
}

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

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

.steps {
    margin-bottom: 40px;
}

.steps-body {
    overflow: hidden;
    position: relative;
    background-color: #D1EAFF;
    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;
    z-index: 1;
}

.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 {
    z-index: 1;
}

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

.steps__desc p {
    color: #1E1D4C;
    font-size: 16px;
}

.steps-circle {
    background: #9BD1FF;
    border-radius: 50%;
    position: absolute;
    width: 467px;
    height: 450px;
    bottom: -132px;
    right: 71px;
}

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

@media (max-width: 991px) {
    .steps-body {
        padding: 30px 15px 290px;
        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-circle {
        bottom: 23px;
        right: 86px;
        left: auto;
        top: auto;
        width: 239px;
        height: 230px;
    }

    .steps-img {
        width: 287px;
        height: 245px;
    }
}

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

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

.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: #DEF0FF;
    padding: 30px;
    border-radius: 30px;
    overflow: hidden;
}

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

.advantages__list-item p {
    font-size: 28px;
    font-weight: 600;
    color: #222222;
    position: relative;
    z-index: 1;
}

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

@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:nth-child(3) img {
        width: 200px;
    }

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

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

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

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

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

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