.footer-new {
    margin-top: 100rem;
    border-top: 1rem solid rgba(255, 255, 255, 0.2);
    background: #000;
    color: #fff;
    font-family: "Open Sans", sans-serif;
}

.footer-new__inner {
    display: flex;
    flex-direction: column;
    gap: 30rem;
    width: 100%;
    max-width: 1520rem;
    margin: 0 auto;
    padding: 60rem 0;
    box-sizing: border-box;
}

.footer-new__top {
    display: flex;
    align-items: center;
    gap: 126.5rem;
    width: 100%;
}

.footer-new__logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.footer-new__logo img {
    display: block;
    width: 313rem;
    height: 70rem;
}

.footer-new__nav {
    display: flex;
    align-items: center;
    gap: 126.5rem;
    flex-wrap: nowrap;
}

.footer-new__nav-link {
    color: #fff;
    font-weight: 400;
    font-size: 18rem;
    line-height: 130%;
    text-decoration: none;
    white-space: nowrap;
}

.footer-new__services {
    display: flex;
    gap: 10rem;
    width: 100%;
}

.footer-new__services-main {
    display: flex;
    flex: 0 0 670rem;
    align-items: center;
    justify-content: center;
    gap: 58rem;
    min-width: 0;
    padding: 10rem;
    border-radius: 10rem;
    background: #ef3739;
    box-sizing: border-box;
}

.footer-new__services-more {
    display: flex;
    flex: 0 0 840rem;
    align-items: center;
    justify-content: center;
    gap: 30rem;
    min-width: 0;
    padding: 10rem;
    border-radius: 10rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-sizing: border-box;
}

.footer-new__service {
    display: inline-flex;
    align-items: center;
    gap: 15rem;
    padding: 15rem 20rem;
    border-radius: 10rem;
    color: #fff;
    font-family: "Euclid Square", sans-serif;
    font-weight: 500;
    font-size: 16rem;
    line-height: 130%;
    text-decoration: none;
    white-space: nowrap;
}

.footer-new__service--active {
    background: rgba(255, 255, 255, 0.1);
}

.footer-new__service > span {
    flex: 1 1 auto;
    min-width: 0;
}

.footer-new__service-icon {
    display: block;
    width: 14rem;
    height: 14rem;
    flex-shrink: 0;
    padding: 8rem;
    margin: -8rem;
    box-sizing: content-box;
    transform: rotate(0deg);
    transition: transform 0.35s ease;
    cursor: pointer;
}

.footer-new__service--active .footer-new__service-icon,
.footer-new__service.is-open .footer-new__service-icon {
    transform: rotate(90deg);
}

.footer-new__subservices-wrap {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    opacity: 0;
    transition: grid-template-rows 0.35s ease, opacity 0.35s ease;
}

.footer-new__subservices-wrap.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
}

.footer-new__subservices-wrap-inner {
    overflow: hidden;
    min-height: 0;
}

.footer-new__subservices {
    display: none;
    align-items: center;
    flex-wrap: nowrap;
    gap: 79.5rem;
    width: 100%;
}

.footer-new__subservices.is-active {
    display: flex;
}

.footer-new__subservices[hidden] {
    display: none !important;
}

.footer-new__subservices-title {
    margin: 0;
    flex-shrink: 0;
    color: #fff;
    font-weight: 600;
    font-size: 20rem;
    line-height: 130%;
    white-space: nowrap;
}

.footer-new__subservices-links {
    display: contents;
}

.footer-new__subs-link {
    display: inline-flex;
    align-items: center;
    padding: 12rem 20rem;
    border-radius: 10rem;
    color: #fff;
    font-family: "Euclid Square", sans-serif;
    font-weight: 500;
    font-size: 14rem;
    line-height: 130%;
    text-decoration: none;
    white-space: nowrap;
}

.footer-new__subs-link--active {
    background: rgba(255, 255, 255, 0.1);
}

.footer-new__divider {
    width: 100%;
    height: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.footer-new__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24rem;
}

.footer-new__copy,
.footer-new__policy,
.footer-new__dev {
    margin: 0;
    color: #fff;
    font-weight: 400;
    font-size: 14rem;
    line-height: 130%;
}

.footer-new__policy {
    text-decoration: none;
    white-space: nowrap;
}

.footer-new__dev {
    white-space: nowrap;
}

@media (max-width: 1599px) {
    .footer-new__inner {
        max-width: none;
        padding-left: 100rem;
        padding-right: 100rem;
    }

    .footer-new__top {
        justify-content: space-between;
        gap: 0;
    }

    .footer-new__subservices-wrap.is-open .footer-new__subservices.is-active {
        justify-content: space-between;
        gap: 0;
    }

    .footer-new__services-main,
    .footer-new__services-more {
        flex: 1 1 auto;
        max-width: none;
    }

    .footer-new__services-more {
        gap: 58rem;
    }
}

@media (max-width: 1199px) {
    .footer-new__inner {
        padding: 40rem;
    }
}

@media (max-width: 991px) {
    .footer-new__top {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24rem;
    }

    .footer-new__nav {
        flex-wrap: wrap;
        gap: 24rem;
    }

    .footer-new__services {
        flex-direction: column;
        align-items: stretch;
        gap: 10rem;
    }

    .footer-new__services-main,
    .footer-new__services-more {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        gap: 0;
    }

    .footer-new__service {
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }

    .footer-new__service.is-open,
    .footer-new__service--active {
        background: rgba(255, 255, 255, 0.1);
    }

    .footer-new__service.is-empty .footer-new__service-icon {
        display: none;
    }

    .footer-new__subservices-wrap {
        display: none;
    }

    .footer-new__subservices.is-mobile-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 16rem;
        width: 100%;
        padding: 0 10rem 10rem;
        box-sizing: border-box;
    }

    .footer-new__subservices-title {
        display: none;
    }

    .footer-new__subservices.is-mobile-open .footer-new__subservices-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10rem;
        width: 100%;
    }

    .footer-new__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .footer-new__inner {
        padding: 32rem 20rem;
        gap: 24rem;
    }

    .footer-new__logo img {
        width: 240rem;
        height: auto;
    }

    .footer-new__nav {
        gap: 16rem 24rem;
    }

    .footer-new__nav-link {
        font-size: 16rem;
    }
}
