footer {
    width: 100%;
    background: #255d99;
}

.footer-container {
    width: 100%;
    max-width: var(--content-max-width);
    min-height: 456.41px;
    margin: 0 auto;
    padding: 42px clamp(20px, 3.2vw, 40px) 8px;
    box-sizing: border-box;
    background: #255d99;
}

.footer-mobile {
    display: none;
}

.footer-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.footer-top-left {
    display: flex;
    align-items: flex-end;
    gap: 72px;
}

.footer-top-left-logo {
    width: 128.314px;
    height: 95.04px;
    aspect-ratio: 128.31 / 95.04;
    flex: 0 0 auto;
}

.footer-top-left-logo a,
.footer-top-left-logo img {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-top-left-logo a {
    transition: opacity 0.25s ease;
}

.footer-top-left-logo a:hover {
    opacity: 0.8;
}

.footer-top-left-contacts {
    display: flex;
    align-items: flex-start;
    gap: 108px;
}

.footer-top-left-contacts-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-top-left-contacts-item-title {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.footer-top-left-contacts-item-value {
    color: #fff;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 24.211px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer-top-left-contacts-item-value a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.footer-top-left-contacts-item-value a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.footer-top-right {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.footer-top-right-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-top-right-item a {
    display: inline-flex;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-top-right-item a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-top-right-item img {
    width: 68.836px;
    height: 68.609px;
    display: block;
}

.footer-center {
    position: relative;
    margin-top: 23px;
    padding-top: 43px;
    padding-bottom: 57px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

.footer-center::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-center::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-center-left {
    display: flex;
    align-items: flex-start;
    gap: 73px;
}

.footer-center-left-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-center-left-title,
.footer-center-left-nav-title,
.footer-center-right-item-title {
    color: #fff;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer-center-left-description {
    width: 248.36px;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
}

.footer-center-left-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-center-left-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-center-left-nav ul,
.footer-center-left-nav a,
.footer-center-right-item-value {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.footer-center-left-nav a {
    transition: color 0.25s ease;
}

.footer-center-left-nav a:hover {
    color: #fff;
}

.footer-center-right {
    display: flex;
    align-items: flex-start;
    gap: 73px;
}

.footer-center-right-items {
    display: flex;
    align-items: flex-start;
    gap: 73px;
}

.footer-center-right-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-center-right-item-value {
    width: 285.455px;
}

.footer-center-right-item-value--worktime {
    width: 326px;
}

.footer-bottom {
    margin: 35px 0;
}

.footer-bottom-left {
    color: #fff;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 34px;
}

@media (max-width: 1200px) {
    .footer-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .footer-top-left {
        gap: 48px;
    }

    .footer-top-left-contacts {
        gap: 56px;
    }

    .footer-top-left-contacts-item-title {
        font-size: 18px;
    }

    .footer-top-left-contacts-item-value {
        font-size: 21px;
    }

    .footer-center {
        gap: 48px;
    }

    .footer-center-left,
    .footer-center-right,
    .footer-center-right-items {
        gap: 40px;
    }

    .footer-center-left-title,
    .footer-center-left-nav-title,
    .footer-center-right-item-title {
        font-size: 20px;
    }

    .footer-center-left-description,
    .footer-center-left-nav ul,
    .footer-center-left-nav a,
    .footer-center-right-item-value {
        font-size: 17px;
    }

    .footer-center-left-description {
        width: min(100%, 248.36px);
    }

    .footer-center-right-item-value {
        width: min(100%, 285.455px);
    }

    .footer-center-right-item-value--worktime {
        width: min(100%, 326px);
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .footer-center {
        gap: clamp(28px, 3vw, 40px);
    }

    .footer-center-left,
    .footer-center-right,
    .footer-center-right-items {
        gap: clamp(22px, 2.2vw, 32px);
    }
}

@media (max-width: 1000px) {
    .footer-container {
        padding-left: 28px;
        padding-right: 28px;
    }

    .footer-top-left {
        gap: 36px;
    }

    .footer-top-left-contacts {
        gap: 40px;
    }

    .footer-top-right-item img {
        width: 56px;
        height: auto;
        aspect-ratio: 68.836 / 68.609;
    }

    .footer-center {
        gap: 36px;
    }

    .footer-center-left,
    .footer-center-right,
    .footer-center-right-items {
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .footer-container {
        padding-left: 24px;
        padding-right: 24px;
        min-height: 0;
    }

    .footer-desktop {
        display: none;
    }

    .footer-mobile {
        display: block;
    }

    .footer-mobile-brand {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        width: 100%;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        box-sizing: border-box;
    }

    .footer-mobile-brand-logo {
        width: 104px;
        flex: 0 0 auto;
    }

    .footer-mobile-brand-logo a,
    .footer-mobile-brand-logo img {
        width: 100%;
        height: auto;
        display: block;
    }

    .footer-mobile-brand-social {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
        flex: 0 0 auto;
    }

    .footer-mobile-brand-social a {
        display: inline-flex;
        transition: opacity 0.25s ease;
    }

    .footer-mobile-brand-social a:hover {
        opacity: 0.85;
    }

    .footer-mobile-brand-social img {
        width: 48px;
        height: auto;
        aspect-ratio: 68.836 / 68.609;
        display: block;
    }

    .footer-mobile-accordion {
        border: none;
        margin: 0;
        padding: 0;
    }

    .footer-mobile-accordion-summary {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        list-style: none;
        cursor: pointer;
        padding: 16px 0;
        box-sizing: border-box;
        color: #fff;
        font-family: "Ubuntu Sans", sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.3;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-mobile-accordion-summary::-webkit-details-marker {
        display: none;
    }

    .footer-mobile-accordion-title {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }

    .footer-mobile-accordion--contacts-bilingual .footer-mobile-accordion-summary {
        align-items: flex-start;
    }

    .footer-mobile-accordion--contacts-bilingual .footer-mobile-accordion-icon {
        margin-top: 3px;
    }

    .footer-mobile-accordion-title--bilingual {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-self: stretch;
        flex: 1 1 auto;
        min-width: 0;
        line-height: 1.3;
    }

    .footer-mobile-accordion-title--bilingual .footer-mobile-accordion-title-line {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .footer-mobile-accordion-title--bilingual .footer-mobile-accordion-title-line + .footer-mobile-accordion-title-line {
        margin-top: 4px;
    }

    .footer-mobile-accordion-title--bilingual .footer-mobile-accordion-title-line--secondary {
        font-size: 15px;
        line-height: 1.25;
        opacity: 0.92;
    }

    .footer-mobile-accordion-icon {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .footer-mobile-accordion-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: transform 0.25s ease;
    }

    .footer-mobile-accordion[open] .footer-mobile-accordion-icon img {
        transform: rotate(180deg);
    }

    .footer-mobile-accordion-panel {
        padding: 12px 0 20px;
        color: rgba(255, 255, 255, 0.85);
        font-family: "Ubuntu Sans", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.45;
    }

    .footer-mobile-accordion-panel--worktime {
        white-space: pre-line;
    }

    .footer-mobile-nav-list {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .footer-mobile-nav-list a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .footer-mobile-nav-list a:hover {
        color: #fff;
    }

    .footer-mobile-contacts-stack {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer-mobile-contact-title {
        color: rgba(255, 255, 255, 0.75);
        font-size: 15px;
        font-weight: 300;
        margin-bottom: 8px;
    }

    .footer-mobile-contact-value,
    .footer-mobile-contact-value a {
        color: #fff;
        font-size: 16px;
        text-decoration: none;
    }

    .footer-mobile-contact-value a:hover {
        text-decoration: underline;
    }

    .footer-mobile-company-text {
        margin: 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .footer-bottom {
        margin: 24px 0;
    }
}

@media (max-width: 700px) {
    .footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-top-left-contacts {
        flex-direction: column;
        gap: 20px;
    }

    .footer-top-left-contacts-item-value {
        font-size: 18px;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    .footer-center-left-nav ul,
    .footer-center-left-nav a,
    .footer-center-right-item-value {
        font-size: 16px;
        line-height: 1.4;
    }

    .footer-center-left-description {
        line-height: 1.45;
    }
}

@media (max-width: 600px) {
    .footer-container {
        min-height: 0;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 32px;
    }

    .footer-top-left-logo {
        width: 104px;
        height: auto;
    }

    .footer-center {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .footer-center-left-title,
    .footer-center-left-nav-title,
    .footer-center-right-item-title {
        font-size: 18px;
    }

    .footer-mobile-accordion-icon {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .footer-top-left-contacts-item-title {
        font-size: 16px;
    }

    .footer-top-left-contacts-item-value {
        font-size: 17px;
    }

    .footer-top-right-item img {
        width: 48px;
    }

    .footer-bottom-left {
        font-size: 13px;
        line-height: 1.5;
    }

    .footer-mobile-brand-logo {
        width: 96px;
    }

    .footer-mobile-brand-social img {
        width: 44px;
    }

    .footer-mobile-accordion-summary {
        font-size: 17px;
        padding: 14px 0;
    }

    .footer-mobile-accordion-panel {
        font-size: 15px;
    }
}
