main {
    position: relative;
    background: var(--main-bg);
    &::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: url(/resource/themes/ur/assets/images/services/bg.png) no-repeat;
        background-size: cover;
        background-position: center 32%;
        mix-blend-mode: soft-light;
        z-index: 0;
        opacity: .4;
        pointer-events: none;
    }
}
.promo {
    padding-top: 135px;
    padding-bottom: 53px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    background-size: 100%;
    background-size: cover;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    background-position: top right;
    &::after {
        position: absolute;
        content: '';
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(270deg, rgba(6, 20, 53, 0) 44.71%, rgba(6, 20, 53, 0.5) 85.16%);
        z-index: -1;
        pointer-events: none;
    }
    .title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 10px 10px 10px 20px;
        gap: 10px;
        border-left: 4px solid;
        border-image: linear-gradient(184.17deg,  #E3CA96 9.76%, #A8894C 53.73%, #B28E42 77.78%, #93763A 86.51%, #98793B 95.7%) 1 100%;
        h1 {
            font-weight: 600;
            font-size: 50px;
            line-height: 100%;
            color: rgba(0, 0, 0, 0);
            background-clip: text;
            background-image: linear-gradient(74.17deg, #917234 7.74%, #E3CA96 26.76%, #CDB27C 47.44%, #A8894C 53.73%, #B28E42 77.78%, #93763A 86.51%, #98793B 95.7%);
        }
        p {
            font-weight: 300;
            font-size: 20px;
            line-height: 120%;
            color: var(--main-bg);
            max-width: 647px;
        }
    }
}
.services {
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    .service {
        display: flex;
        gap: 16px;
        flex-direction: column;
        width: 100%;
        &:first-child {
            padding-right: 60px;
            border-right: 1px solid rgba(1, 7, 23, 0.1);
        }
        &:last-child {
            padding-left: 60px;
        }
        .top {
            position: relative;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(201, 168, 76, 0.2);
            .title {
                font-weight: 400;
                font-size: 14px;
                line-height: 1.5;
                min-height: 26px;
                text-transform: uppercase;
                display: inline-flex;
                align-items: center;
                color: var(--bg-1);
                opacity: 0.6;
                padding-left: 12px;
                border-left: 2px solid;
                border-image: linear-gradient(184.17deg,  #E3CA96 9.76%, #A8894C 53.73%, #B28E42 77.78%, #93763A 86.51%, #98793B 95.7%) 1 100%;
                user-select: none; 
            }
        }
    }
    nav {
        width: 100%;
        display: flex;
        .ws-menu {
            display: grid;
            grid-auto-rows: auto;
            grid-auto-flow: row;
            width: 100%;
            >.item {
                display: grid;
                grid-template-rows: minmax(52px, auto) 0fr;
                transition: 0.3s  linear;
                overflow: hidden;
                border-bottom: 1px solid rgba(119, 123, 134, 0.2);
                > p, > a {
                    position: relative;
                    display: inline-flex;
                    justify-content: space-between;
                    align-items: center;
                    cursor: pointer;
                    transition: 0.2s linear;
                    width: 100%;
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 100%;
                    opacity: 0.7;
                    color: var(--bg-1);
                    padding: 18px 24px 18px 0;
                    &::after, &::before {
                        position: absolute;
                        content: '';
                        right: 0;
                        height: 7px;
                        width: 1px;
                        opacity: 1;
                        background: var(--text-4);
                        transition: 0.2s linear;
                    }
                    &::before {
                        top: 19px;
                    }
                    &::after {
                        top: 26px;
                    }
                    &:hover {
                        opacity: 1;
                        &:before, &::after {
                            height: 8px;
                        }
                        &::before {
                            transform: rotate(-45deg) translate(-2px, -2px);
                        }
                        &::after {
                            transform: rotate(45deg) translate(-3px, 1px);
                        }
                    }
                }
                > p {
                    &::after, &::before {
                        right: 0;
                        height: 1px;
                        width: 7px;
                        top: 25px;
                    }
                    &::before {
                        right: 7px;
                    }
                    &:hover {
                        &:before, &::after {
                            height: 1px;
                        }
                        &::before {
                            transform: rotate(45deg) translate(1px, -1px);
                        }
                        &::after {
                            transform: rotate(-45deg) translate(-1px, -1px);
                        }
                    }
                }
                &.arbitration {
                    p {
                        opacity: 1;
                        font-weight: 700;
                    }
                }
                .sub-menu {
                    overflow: hidden;
                    transition: 0.3s linear;
                    padding-left: 20px;
                    display: grid;
                    gap: 16px;
                    border-left: 1px solid;
                    border-image: linear-gradient(184.17deg,  #E3CA96 9.76%, #A8894C 53.73%, #B28E42 77.78%, #93763A 86.51%, #98793B 95.7%) 1 100%;
                    .item {
                        display: flex;
                        align-items: center;
                        gap: 9px;
                        position: relative;
                        padding-left: 4px;
                        transform: translateX(0px);
                        transition: 0.2s linear;
                        img {
                            width: 5px;
                        }
                        &::after, &::before {
                            position: absolute;
                            content: '';
                            left: 0;
                            height: 5px;
                            width: 1px;
                            background: var(--text-4);
                            transition: 0.2s linear;
                        }
                        &::before {
                            top: calc(50% - 5px);
                            transform: translateX(-50%);
                        }
                        &::after {
                            bottom: calc(50% - 5px);
                            transform: translateX(-50%);
                        }
                        &:hover {
                            transform: translateX(10px);
                            &::before {
                                transform: rotate(-45deg) translateY(3px);
                                height: 4px;
                            }
                            &::after {
                                transform: rotate(45deg) translateY(-3px);
                                height: 4px;
                            }
                        }
                    }
                    a {
                        font-weight: 300;
                        font-size: 16px;
                        position: relative;
                        display: flex;
                        align-items: center;
                        color: var(--bg-1);
                        opacity: 0.7;
                        font-weight: 300;
                    }
                }
                &.open, &.selected {
                    grid-template-rows: minmax(52px, auto) 1fr;
                    padding-bottom: 16px;
                    > p {
                        margin-bottom: 20px;
                        &::before, &::after {
                            width: 8px;
                        }
                        &::before {
                            transform: rotate(-45deg) translate(5px, -4px);
                        }
                        &::after {
                            transform: rotate(45deg) translate(-5px, -4px);
                        }
                        &:hover {
                            &::before, &::after {
                                width: 8px;
                            }
                            &::before {
                                transform: rotate(-45deg) translate(5px, -4px);
                            }
                            &::after {
                                transform: rotate(45deg) translate(-5px, -4px);
                            }
                        }
                    }
                }
            }
        }
        p {
            user-select: none; 
        }
    }
}
.form {
    padding: 100px 0;
    filter: drop-shadow(0 34px 80px rgba(32, 34, 43, 0.40));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    position: relative;
    z-index: 3;
    margin-bottom: 10px;
    position: relative;
    form {
        display: flex;
        flex-direction: column;
        .title {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 10px;
            color: var(--text-1);
            font-size: 32px;
            font-weight: 600;
            line-height: 100%;
            letter-spacing: 0.2px;
            padding: 6px 10px;
            margin-bottom: 10px;
            border-left: 4px solid;
            border-image: linear-gradient(180deg,  #E3CA96 9.76%, #A8894C 53.73%, #B28E42 77.78%, #93763A 86.51%, #98793B 95.7%) 1 100%;
        }
        >p {
            font-weight: 300;
            font-size: 20px;
            line-height: 118%;
            margin-bottom: 40px;
            color: var(--text-1);
        }
        .inputs {
            display: grid;
            grid-template-columns: repeat(3,1fr);
            gap: 20px;
            margin-bottom: 30px;
            label:has(textarea) {
                grid-column: 1/-1;
            }
            label {
                display: flex;
                flex-direction: column;
                gap: 4px;
                & > span {
                    font-size: 14px;
                    font-weight: 300;
                    line-height: 16px;
                    opacity: 0.7;
                }
                input {
                    padding: 10px 20px;
                    height: 44px;
                    background: var(--main-bg);
                    border: none;
                    color:  rgba(119, 123, 134, 1);
                    font-size: 16px;
                    font-weight: 300;
                    line-height: 118%;
                    &::placeholder {
                        color:  rgba(119, 123, 134, 0.6);
                        font-size: 16px;
                        font-weight: 300;
                        line-height: 118%;
                    }
                }
                &:has(textarea) {
                    grid-column: 1/ -1;
                    textarea {
                        height: 100px;
                        padding: 12px 20px;
                        color:  rgba(119, 123, 134, 1);
                        font-size: 16px;
                        font-weight: 300;
                        line-height: 118%;
                        letter-spacing: 0.2px;
                        &::placeholder {
                            color:  rgba(119, 123, 134, 0.6);
                            font-size: 16px;
                            font-weight: 300;
                            line-height: 118%;
                        }
                    }
                }
            }
            .file {
                grid-column: 1/-1;
                display: flex;
                gap: 20px;
                align-items: center;
                label {
                    padding: 10px 20px;
                    height: 44px;
                    background: var(--main-bg);
                    border: none;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    span {
                        color:  rgba(119, 123, 134, 0.8);
                        font-size: 16px;
                        font-weight: 300;
                        line-height: 118%;
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        margin: auto;
                        &::before {
                            content: '\e043';
                            font-family: 'icon';
                            font-size: 20px;
                            color: var(--text-7);
                            transition: .2s;
                            opacity: 1;
                        }
                    }
                    &:hover {
                        span:before {
                            color: var(--text-4);
                        }
                    }
                }
                input {
                    position: absolute;
                    z-index: -1;
                    opacity: 0;
                    display: block;
                    width: 0;
                    height: 0;
                }
                p {
                    font-weight: 300;
                    font-size: 14px;
                    letter-spacing: 0px;
                    color:  rgba(119, 123, 134, 0.6);
                }
            }
            .agree {
                grid-column: 1/-1;
                display: flex;
                align-items: center;
                gap: 10px;
                label {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    gap: 10px;
                    &::before {
                        content: '\e030';
                        font-family: 'icon';
                        font-size: 10px;
                        color: rgba(174, 176, 180, 0);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 18px;
                        min-width: 18px;
                        height: 18px;
                        border: 1px solid var(--border-1);
                        transition: .3s linear;
                    }
                    input {
                        display: none;
                    }
                    &:has(input:checked) {
                        &::before {
                            color: rgba(174, 176, 180, 1);
                        }
                    }
                }
                p {
                    color: var(--text-6);
                    font-size: 14px;
                    font-weight: 300;
                    a {
                        font-size: inherit;
                        color: var(--text-1);
                        font-weight: 300;
                        transition: .2s;
                        &:hover {
                            color: var(--text-4);
                        }
                    }
                }
            }
        }
        button {
            grid-column: 1/-1;
            &::before {
                border-left-width: 620px;
                border-top-width: 620px;
            }
            &::after {
                border-bottom-width: 620px;
                border-right-width: 620px;
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    .promo {
        padding-top: 110px;
        background-position: 65% 50%;
        .title {
            h1 {
                font-size: 44px;
            }
            p {
                font-size: 18px;
            }
        }
    }
    .services {
        nav {
            .ws-menu {
                >.item {
                    > a {
                        &::after, &::before {
                            height: 10px;
                            right: 5px;
                        }
                        &::before {
                            top: 18px;
                            transform: rotate(-45deg) translateY(1px);
                        }
                        &::after {
                            top: 26px;
                            transform: rotate(45deg) translateY(-1px);
                        }
                        &:hover {
                            &::before {
                                top: 18px;
                                transform: rotate(-45deg) translateY(1px);
                            }
                            &::after {
                                top: 26px;
                                transform: rotate(45deg) translateY(-1px);
                            }
                        }
                    }
                    > p {
                        &::after, &::before {
                            width: 9px;
                            height: 1px;
                            transform: unset;
                            bottom: unset;
                            top: 26px;
                            right: -2px;
                        }
                        &::before {
                            transform: rotate(45deg) translate(0px, 0px);
                            right: 5px;
                        }
                        &::after {
                            transform: rotate(-45deg) translate(-1px, -1px);
                        }
                        &:hover {
                            &::after, &::before {
                                width: 9px;
                                height: 1px;
                                transform: unset;
                                bottom: unset;
                                top: 26px;
                                right: -2px;
                            }
                            &::before {
                                transform: rotate(45deg) translate(0px, 0px);
                                right: 5px;
                            }
                            &::after {
                                transform: rotate(-45deg) translate(-1px, -1px);
                            }
                        }
                    }
                    &.open {
                        > p {
                            &::before {
                                transform: rotate(-45deg) translate(2px, 2px);
                            }
                            &::after {
                                transform: rotate(45deg) translate(-1px, 1px);
                            }
                        }
                    }
                }
            }
        }
        .service {
            &:first-child {
                padding-right: 40px;
            }
            &:last-child {
                padding-left: 40px;
            }
        }
    }
}
@media screen and (max-width: 1130px) {
    .form {
        padding: 40px 0;
        form {
            h2 {
                font-size: 28px;
                &::before {
                    height: 40px;
                }
            }
            & > p {
                margin-bottom: 30px;
                font-size: 18px;
            }
            .inputs {
                gap: 15px 20px;
            }
        }
    }
}

@media screen and (max-width: 767px) {
    .promo {
        padding-top: 73px;
        gap: 30px;
        margin-bottom: 30px;
        title {
            h1 {
                font-size: 28px;
            }
            p {
                font-size: 16px;
            }
        }
    }
    .services {
        grid-template-columns: 100%;
        gap: 40px;
        padding-bottom: 80px;
        .service {
            &:first-child {
                padding-right: 0;
                border-right: none;
            }
            &:last-child {
                padding-left: 0;
            }
            .top {
                .title {
                    font-weight: 700;
                    color: rgba(0, 0, 0, 0);
                    background-clip: text;
                    background-image: linear-gradient(74.17deg, #917234 7.74%, #E3CA96 26.76%, #CDB27C 47.44%, #A8894C 53.73%, #B28E42 77.78%, #93763A 86.51%, #98793B 95.7%);
                }
            }
        }
    }
    .form {
        padding: 30px 0;
        form {
            h2 {
                font-size: 24px;
                max-width: 400px;
                &::before {
                    height: 60px;
                }
            }
            & > p {
                margin-bottom: 30px;
                font-size: 16px;
            }
            .inputs {
                display: flex;
                flex-direction: column;
                gap: 20px;
                .file {
                    flex-direction: column;
                    gap: 10px;
                    align-items: flex-start;
                }
            }
        }
    }
}