:root {
    --Colors-Black-100: #1F1F25;
    --Colors-Gray-Dark: #585869;
    --Colors-Gray-100: #F0F0F0;
    --Colors-Blue-100: #2261EB;
    --Colors-White-100: #FFF;
    --Colors-White-64: rgba(255, 255, 255, 0.64);
    --Radius-Radius-16: 16px;
    --Radius-Radius-20: 20px;
    --Radius-Radius-24: 24px;
    --Radius-Radius-32: 32px;
    --Spacing-Spacing-6: 6px;
    --Spacing-Spacing-8: 8px;
    --Spacing-Spacing-10: 10px;
    --Spacing-Spacing-12: 12px;
    --Spacing-Spacing-16: 16px;
}

html,
body {
    margin: 0;
}

body {
    padding-top: 80px;
    background: #1f1f25;
    font-family: Golos, sans-serif;
    font-weight: 400;
    font-feature-settings: "liga";
}

.wrapper.tariff {
    background: #fff;
}

.wrapper.tariff .container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}

.tariff .wrapper {
    display: flex;
    justify-content: space-between;
}

.opener-sect {
    padding-bottom: 0;
    border-radius: 30px 30px 0 0;
    margin-bottom: -1px;
}

.wrapper.tariff .opener-sect {
    min-height: 420px;
}

.wrapper.tariff .opener-sect > .container > .wrapper {
    min-height: 320px;
    align-items: center;
}

.wrapper.tariff .opener-left {
    min-height: 238px;
}

.opener-left h1,
.wrapper.tariff .opener-left h1 {
    color: var(--Colors-Black-100);
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    padding-bottom: 20px;
}

.opener-sect .opener-left p,
.wrapper.tariff .opener-left p {
    color: var(--Colors-Gray-Dark);
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
}

.tariff .opener-left .wrapper {
    gap: 6px;
}

.new_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: .5s;
}

.new_bckg-blue {
    background: var(--Colors-Blue-100);
}

.new_bckg-white {
    background: #fff;
}

.new_white {
    color: #fff;
}

.btn-borderd {
    border: 1px solid var(--Colors-Blue-100);
    color: var(--Colors-Blue-100);
}

#contructorForm {
    color: var(--Colors-Blue-100) !important;
}

.tariff .opener-right {
    max-width: 330px;
}

.opener-right.animated-photo {
    flex: 0 0 330px;
    width: 330px;
    max-width: 330px;
    height: 320px;
    aspect-ratio: 330 / 320;
    position: relative;
    overflow: hidden;
}

.opener-right img,
.opener-right.animated-photo > img {
    width: 330px;
    height: 320px;
    max-width: 100%;
    margin-left: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 330 / 320;
}

.wrapper.tariff .constructor {
    position: static;
    top: -75px;
    margin-bottom: -1px;
    border-radius: 0;
    background: #fff;
}

.wrapper.tariff .constructor h2 {
    color: var(--Colors-Blue-100);
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 16px;
}

.wrapper.tariff .constructor .description {
    color: var(--Colors-Gray-Dark);
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    text-align: center;
}

.constructor__photo-block {
    margin: 32px 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.constructor__photo-block > img {
    flex: 0 0 218px;
    width: 218px;
    height: 218px;
    aspect-ratio: 1 / 1;
    display: block;
}

.constructor__photo-block-1 > div {
    font-size: 14px;
    color: var(--Colors-Black-100);
    padding: 12px 16px 20px;
    box-shadow: 0 10px 16px 0 rgba(185, 185, 185, 0.21);
    border-radius: 20px;
}

.constructor__photo-block-1 > div b {
    font-size: 14px !important;
    padding-bottom: 0 !important;
    display: initial !important;
}

.constructor__photo-block-1 div:first-child {
    min-width: 350px;
    max-width: 350px;
}

.constructor__photo-block-1 div:last-child {
    min-width: 310px;
    max-width: 320px;
    margin-left: 16px;
    margin-top: -20px;
    padding-top: 40px;
}

.constructor__photo-block-2 {
    max-width: 350px;
    padding: 16px 24px 20px 20px;
    border-radius: 24px;
    box-shadow: 0 10px 16px 0 rgba(185, 185, 185, 0.21);
}

.constructor__photo-block-2 h4 {
    margin-bottom: 16px;
    color: var(--Colors-Black-100);
    font-weight: 600;
    font-size: 16px;
}

.constructor__photo-block-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.constructor__photo-block-item {
    display: flex;
    gap: 12px;
}

.constructor__photo-block-item > svg {
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
}

.constructor__photo-block-item > p {
    color: var(--Colors-Black-100);
    font-size: 14px;
    line-height: 120%;
}

.wrapper.tariff .constructor-wrapper {
    height: auto;
    max-height: 770px;
    position: relative;
    overflow: hidden;
    border-radius: var(--Radius-Radius-32);
    background: var(--Colors-Gray-100);
    transition: max-height .3s ease-in-out;
}

.wrapper.tariff .constructor__type {
    opacity: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    transition: opacity .3s ease-in-out;
    height: 100%;
    width: 100%;
    padding: 40px 64px 32px;
    position: absolute;
    top: 0;
    left: 0;
}

.wrapper.tariff .constructor__type.active {
    opacity: 1;
    visibility: visible;
    position: static;
}

.wrapper.tariff .constructor b {
    color: var(--Colors-Black-100);
    font-size: 28px;
    font-weight: 600;
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding-bottom: 16px;
}

.wrapper.tariff .constructor b br {
    display: none;
}

.wrapper.tariff .constructor__steps {
    width: 100%;
    padding-bottom: 32px;
}

.wrapper.tariff .constructor__steps img {
    max-height: 40px;
}

.wrapper.tariff .constructor__steps .desk {
    display: block;
}

.wrapper.tariff .constructor__steps .mob {
    display: none;
}

.constructor__steps span {
    color: var(--Colors-Black-100);
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    padding-bottom: 10px;
    display: block;
}

.wrapper.tariff .constructor__buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    height: 100%;
}

.wrapper.tariff .constructor__buttons input[type='checkbox'],
.wrapper.tariff .constructor__buttons input[type='radio'] {
    appearance: none;
    width: calc(33% - 13.3px);
}

.wrapper.tariff .constructor__buttons input[type='checkbox']::after,
.wrapper.tariff .constructor__buttons input[type='radio']::after {
    content: attr(data-title-before);
    display: flex;
    height: 60px;
    min-height: 48px;
    padding: var(--Spacing-Spacing-12);
    align-items: center;
    gap: var(--Spacing-Spacing-6);
    justify-content: flex-start;
    flex: 1 0 0;
    border-radius: var(--Radius-Radius-16);
    background: var(--Colors-White-64);
    color: var(--Colors-Black-100);
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    cursor: pointer;
}

.wrapper.tariff .constructor__buttons input[type='radio']::after {
    background-image: url('/wp-content/uploads/2025/06/chevron_right.svg');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    box-sizing: border-box;
    width: 100%;
    padding-right: 36px;
}

.wrapper.tariff .constructor__buttons input[type='radio']:checked::after,
.wrapper.tariff .constructor__buttons input[type='radio']:hover::after {
    border: 1px solid var(--Colors-Blue-100);
}

#type1 .constructor__next {
    display: none;
}

.wrapper.tariff .constructor__type#type1 .constructor__buttons {
    height: auto;
    justify-content: flex-start;
}

.wrapper.tariff .constructor__type#type1 input[type='checkbox'],
.wrapper.tariff .constructor__type#type1 input[type='radio'] {
    width: calc(34% - 15px);
    height: initial;
    overflow: visible;
}

.wrapper.tariff .constructor__buttons input[type='checkbox'] {
    width: auto;
}

.wrapper.tariff .constructor__buttons input[type='checkbox']::after {
    width: 16px;
    height: 16px;
    min-height: unset;
    border-radius: unset;
    background-image: url(/wp-content/uploads/2025/06/sqaure.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0 !important;
}

.wrapper.tariff .constructor__buttons input[type='checkbox']:checked::after {
    background-image: url(/wp-content/uploads/2025/06/checked.svg);
    background-color: #fff;
}

.custom-checkbox {
    display: flex;
    height: 64px;
    padding: var(--Spacing-Spacing-16);
    align-items: center;
    gap: var(--Spacing-Spacing-10);
    border-radius: var(--Radius-Radius-20);
    background: var(--Colors-White-64);
    width: 32%;
    color: var(--Colors-Black-100);
    font-size: 16px;
    font-weight: 400;
    line-height: 130%;
}

.custom-checkbox:hover,
.custom-checkbox:has(input[type='checkbox']:checked) {
    border: 1px solid var(--Colors-Blue-100);
}

.wrapper.tariff .wrapper-btn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 32px;
    margin-left: auto;
}

.wrapper.tariff .constructor__prev,
.wrapper.tariff .constructor__next {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.wrapper.tariff .constructor__next button,
.wrapper.tariff .constructor__next button:hover,
.wrapper.tariff .constructor__prev button,
.wrapper.tariff .constructor__prev button:hover {
    display: flex;
    height: 58px;
    width: 281px;
    padding: var(--Spacing-Spacing-8) var(--Spacing-Spacing-16);
    justify-content: center;
    align-items: center;
    gap: var(--Spacing-Spacing-6);
    border-radius: var(--Radius-Radius-16);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.wrapper.tariff .constructor__next button,
.wrapper.tariff .constructor__next button:hover {
    background: var(--Colors-Blue-100);
    color: var(--Colors-White-100);
}

.wrapper.tariff .constructor__prev button,
.wrapper.tariff .constructor__prev button:hover {
    background: transparent;
    color: var(--Colors-Blue-100);
    font-size: 16px;
}

.wrapper.tariff .constructor__next button svg {
    display: none;
}

.constructor__form-text-mob {
    display: none;
}

@media screen and (max-width: 1100px) {
    .opener-sect .opener-left p {
        font-size: 14px !important;
    }
    .tariff .opener-left .wrapper {
        align-items: center;
    }
    .wrapper.tariff .container {
        max-width: 100%;
    }

    .opener-left h1,
    .wrapper.tariff .opener-left h1 {
        font-size: 48px;
        padding-bottom: 24px;
    }

    .opener-sect .opener-left p {
        padding-bottom: 40px;
        font-size: 18px;
    }

    .tariff .opener-left .wrapper {
        flex-direction: column;
    }

    .new_btn {
        width: 100%;
        padding: 18px 86px;
    }

    .wrapper.tariff .constructor__type {
        padding: 32px 40px;
    }
}

@media screen and (max-width: 900px) {
    .opener-sect {
        padding-top: 40px;
    }

    .opener-left h1,
    .wrapper.tariff .opener-left h1 {
        font-size: 32px;
        padding-bottom: 16px;
    }

    .opener-sect .opener-left p {
        font-size: 14px;
        padding-bottom: 24px;
    }

    .opener-sect .new_btn {
        max-width: 320px;
        font-size: 14px;
    }

    .tariff .opener-right {
        max-width: 55%;
    }

    .wrapper.tariff .constructor .description {
        font-size: 14px;
    }

    .wrapper.tariff .constructor__buttons {
        height: auto;
    }

    .wrapper.tariff .constructor__type {
        padding: 32px 24px;
    }

    .wrapper.tariff .constructor__prev,
    .wrapper.tariff .constructor__next {
        justify-content: center;
    }

    .wrapper.tariff .constructor__prev button,
    .wrapper.tariff .constructor__next button,
    .wrapper.tariff .constructor__next button:hover {
        width: 206px;
        font-size: 14px;
    }

    .wrapper.tariff .constructor b br {
        display: block;
    }

    .wrapper.tariff .constructor b {
        display: block;
        margin: 0 auto;
        font-size: 24px;
    }

    .custom-checkbox {
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    .wrapper.tariff .constructor {
        padding: 0;
    }

    .constructor__form-text-mob {
        display: block;
    }
}

@media screen and (max-width: 700px) {
    .opener-sect {
        padding: 32px 0 0;
    }

    .opener-sect .wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .wrapper.tariff .opener-sect {
        min-height: 620px;
    }

    .wrapper.tariff .opener-sect > .container > .wrapper {
        min-height: 530px;
    }

    .opener-right.animated-photo {
        flex: 0 1 330px;
        width: 330px;
        max-width: 100%;
    }

    .opener-right img {
        margin: 0 auto;
    }

    .tariff .opener-right {
        max-width: 100%;
    }

    .constructor__photo-block {
        flex-direction: column;
        margin: 32px 0;
        gap: 16px;
    }

    .constructor__photo-block-1 div:last-child,
    .constructor__photo-block-1 div:first-child {
        max-width: 100%;
        min-width: 100%;
        margin: 0;
        padding: 16px 16px 20px;
    }

    .constructor__photo-block-1 div:last-child {
        padding-top: 40px;
        margin-top: -30px;
    }

    .constructor__photo-block-2 {
        padding: 16px;
        border-radius: 20px;
        max-width: 100%;
    }

    .wrapper.tariff .constructor .container {
        max-width: 100%;
        width: 420px;
    }

    .wrapper.tariff .constructor h2 {
        font-size: 24px;
    }

    .wrapper.tariff .constructor b {
        font-size: 20px;
    }

    .wrapper.tariff .constructor__type#type1 input[type='checkbox'],
    .wrapper.tariff .constructor__type#type1 input[type='radio'],
    .custom-checkbox {
        width: 100%;
    }

    .wrapper.tariff .constructor__type {
        padding: 16px;
    }

    .wrapper.tariff .constructor__steps .desk {
        display: none;
    }

    .wrapper.tariff .constructor__steps .mob {
        display: block;
    }

    .wrapper.tariff .wrapper-btn {
        flex-direction: column-reverse;
        align-items: center;
    }

    .wrapper.tariff .constructor__prev,
    .wrapper.tariff .constructor__next {
        width: 100%;
        height: 54px;
    }
}
