.tabForm-box {
    border-radius: 40px;
    border: 2px solid #caeeff;
    background: #fff;
    padding: 38px;
}
.tabForm-radios {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #caeeff;
    background: #fff;
    height: 58px;
    padding: 0 16px;
}
.tabForm-radio {
    margin-right: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.tabForm-radio b {
    display: block;
    width: 40px;
    min-width: 40px;
    height: 20px;
    margin-right: 6px;
    background-repeat: no-repeat;
    transition: all 0.4s;
    background-position: center;
    background-image: url("../../img/tax/radio-1.svg");
}
.tabForm-radio span {
    transition: all 0.4s;
    display: block;
    color: #000;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 0 !important;
    padding-top: 2px;
}
.tabForm-radio input {
    display: none;
}
.tabForm-radio input:checked + b {
    background-image: url("../../img/tax/radio-2.svg");
}
.tabForm-radio:last-child {
    margin-right: 0;
}
.tabForm-radio input:checked + b + span {
    color: #008ab7;
}
.f-form__input {
    position: relative;
}
.f-form__input.phone-icon::before,
.f-form__input.user-icon::before {
    content: "";
    position: absolute;
    bottom: 15px;
    right: 17px;
    z-index: 2;
    pointer-events: none;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
}
.f-form__input.user-icon::before {
    background-image: url("../../img/tax/user.svg");
}
.f-form__input.phone-icon::before {
    background-image: url("../../img/tax/phone.svg");
}
.taxForm-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.taxForm-block {
    width: 236px;
}
.taxForm-block:nth-child(2) {
    width: 297px;
}
.taxForm-block:nth-child(3) {
    width: 191px;
}
.taxForm-block:nth-child(4) {
    width: 232px;
}
.f-bottom .f-form__input {
    margin-bottom: 25px;
}
.f-bottom__right {
    width: 442px;
}
.f-bottom__left {
    width: calc(100% - 442px - 22px);
}
.f-form__input span {
    font-size: 18px;
}
.d-main__top {
    position: relative;
    padding-top: 32px;
}
.c-main__breadcrumbs {
    color: #000;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    position: absolute;
    left: 12px;
    top: 0;
}
.c-main__breadcrumbs a {
    text-decoration: none;
    color: #000;
}
.c-main__breadcrumbs a:hover {
    text-decoration: underline;
}
.c-main__breadcrumbs span {
    color: #008ab7;
}
.taxForm {
    position: relative;
    z-index: 2;
    margin-top: -65px;
}
.d-main {
    position: relative;
    padding: 25px 0 90px;
    background-image: url("../../img/tax/bg-main.png");
    background-size: cover;
    background-position: bottom center;
    overflow: hidden;
}
.d-main__top {
    white-space: nowrap;
}
.d-main__title {
    font-family: "Circe-ExtraBold";
    font-size: 150px;
    font-weight: 400;
    line-height: 80%;
    background: linear-gradient(245deg, #008ab7 8.49%, #00cee2 91.51%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}
.d-main__title span {
    font-size: 136px;
}
.d-main__subtitle {
    margin-top: -37px;
    position: relative;
    z-index: 2;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    background: linear-gradient(245deg, #008ab7 8.49%, #00cee2 91.51%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 12px;
}
.d-main__item {
    width: 477px;
    max-width: 100%;
    padding-left: 90px;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
    background-repeat: no-repeat;
    background-position: left top;
    margin-top: 20px;
}
.d-main__item span {
    color: #008ab7;
}
.d-main__item p {
    margin: 0;
}
.d-main__img {
    left: calc(50% - 200px);
    bottom: 0;
    position: absolute;
    pointer-events: none;
    user-select: none;
    width: 871px;
    height: 316px;
    background-repeat: no-repeat;
    z-index: 2;
}
.d-main__flowers {
    top: -75px;
    left: calc(50% + 100px);
    pointer-events: none;
    user-select: none;
    position: absolute;
    width: 666px;
    height: 671px;
    background-repeat: no-repeat;
}

.d-main__family-video {
    border-radius: 90px;
    width: 380px;
    height: 180px;
    object-fit: cover;
    display: block;
}
.d-main__family {
    position: absolute;
    right: 0;
    bottom: -31px;
}
.d-main__family::before {
    content: "";
    position: absolute;
    left: -26px;
    top: -28px;
    width: 281px;
    height: 180px;
    background-image: url("../../img/day/line.svg");
}
.d-main__family-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 81px;
    width: 122px;
    border-radius: 48px;
    position: absolute;
    background: #008ab7;
    top: -59px;
    right: 4px;
    z-index: 3;
    transform: rotate(5.387deg);
}
.d-main__family-title {
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    line-height: 120%;
    font-family: "Circe-ExtraBold";
}
.d-main__family-text {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 105%;
    margin-top: -2px;
}
.d-main .bf-container {
    position: relative;
}
.d-main__family-item.red-color {
    background: #f35740;
    left: -32px;
    top: 131px;
}
.d-main {
    overflow: hidden;
}

.d-form__last {
    margin: 58px 0 65px;
}
.d-main__mobile {
    display: none;
}

@media (max-width: 1200px) {
    .taxForm-block,
    .f-bottom__right,
    .f-bottom__left {
        width: calc(50% - 11px) !important;
    }
    .d-main__subtitle {
        padding-left: 0;
        white-space: normal;
    }
    .d-main__items {
        display: block;
    }
    .d-main__item {
        margin: 13px 0 0 0;
    }
}

@media (max-width: 992px) {
    .taxForm-block,
    .f-bottom__right,
    .f-bottom__left {
        width: 100% !important;
    }
    .c-main__breadcrumbs {
        position: static;
        font-size: 9px;
        line-height: 18px;
    }
    .tabForm-box {
        padding: 13px;
        margin-left: -15px;
        width: calc(100% + 30px);
        border-radius: 20px;
    }
    .f-bottom .f-form__input {
        margin-bottom: 20px;
    }
    .f-form__input span {
        font-size: 15px;
    }
    .d-main {
        padding: 21px 0 294px;
    }
    .d-main__title,
    .d-main__title span {
        font-size: 50px;
        line-height: 82%;
    }
    .d-main__subtitle {
        font-size: 20px;
        margin-top: 7px;
        line-height: 24px;
    }
    .d-main__top {
        padding-top: 0;
    }
    .d-main {
        padding: 8px 0 150px;
    }
    .taxForm {
        margin-top: -20px;
    }
    .d-main__item {
        margin-top: 7px;
        background-size: 56px 54px;
        padding-left: 70px;
        font-size: 14px;
        line-height: 120%;
        width: 310px;
        max-width: 100%;
    }
    .c-main__breadcrumbs {
        margin-bottom: 5px;
    }
    .d-main__img {
        width: 390px;
        height: 142px;
        background-size: 390px 142px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }
    .d-main__items {
        position: relative;
        z-index: 2;
    }
    .d-main__flowers {
        width: 227px;
        height: 231px;
        background-size: 227px 231px;
        left: auto;
        right: 53%;
        bottom: -60px;
        top: auto;
    }
}

@media (max-width: 767px) {
    .d-main__family {
        position: relative;
        bottom: auto;
        top: auto;
        left: auto;
        right: auto;
        margin: 54px auto 0;
        width: 265px;
    }
    .d-main__family-video {
        width: 265px;
        height: 126px;
    }
    .d-main__family::before {
        top: -20px;
        left: -18px;
        width: 197px;
        height: 126px;
        background-size: 197px 126px;
    }
    .d-main__family-item {
        width: 96px;
        height: 57px;
        top: -45px;
        right: 0;
    }
    .d-main__family-title {
        font-size: 21px;
        line-height: 120%;
    }
    .d-main__family-text {
        font-size: 10px;
        line-height: 105%;
    }
    .d-main__family-item.red-color {
        bottom: -24px;
        top: auto;
        right: auto;
        left: -25px;
    }
    .d-main {
        padding-bottom: 150px;
    }
    .d-main__item,
    .d-main__item:last-child {
        padding-left: 68px;
        font-size: 14px;
        line-height: 120%;
        width: 340px;
        max-width: 100%;
        background-size: 56px 49px;
        margin-top: 14px;
    }
}
@media (max-width: 640px) {
    .tabForm-box {
        margin-left: -10px;
        width: calc(100% + 20px);
    }
    .tabForm-radios {
        display: flex;
        flex-wrap: wrap;
        border: none;
        background: transparent;
        padding: 0;
        justify-content: space-between;
        margin-top: -17px;
        margin-bottom: 34px;
    }
    .tabForm-radio {
        width: calc(50% - 5px);
        margin: 17px 0 0;
    }
}

@media (max-width: 576px) {
    .d-main__mobile {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        display: block;
        padding-top: 120%;
        background-size: cover;
    }
    .d-main {
        background: #f0fbfe;
        position: relative;
    }
    .d-main__family {
        margin-right: 0;
    }
    .d-main::before {
        left: 43%;
    }
}
