.footer {
    background-color: var(--gray-90);
    color: var(--white);
    padding: clamp(60px, 7.5vw, 144px) 0;
    font-family: PP Neue Montreal, sans-serif;
}

.footer-top {
    display: flex;
    flex-direction: row;
    margin-bottom: clamp(40px, 5vw, 96px);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
}

.footer-left {
    width: clamp(120px, 9vw, 172px);
    flex-shrink: 0;
    box-sizing: border-box;
}

.footer-logo {
    font-family: PP Neue Montreal, sans-serif;
    font-size: clamp(24px, 1.66vw, 32px);
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-align: left;
    display: inline-block;
}

.footer-socials {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.footer-right {
    flex-grow: 1;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: clamp(16px, 1.66vw, 32px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-column__section {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.25vw, 24px);
    margin-bottom: clamp(20px, 2.08vw, 40px);
}

.footer-column__section:last-child {
    margin-bottom: 0;
}

.footer-column__title {
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(12px, 0.73vw, 14px);
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: 3%;
    text-transform: uppercase;
    color: var(--gray-60)
}

.footer-column__list {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.04vw, 20px);
}

.footer-link {
    font-size: clamp(14px, 1vw, 19px);
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    line-height: 120%;
    transition: color 0.2s ease;
    text-align: left;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-grid__middle-item {
    text-align: left;
    display: block;
}

.footer-grid__row-2 {
    margin-top: clamp(40px, 4.4vw, 85px);
}

.footer-grid__row-3 {
    margin-top: clamp(40px, 4.4vw, 85px);
}

.footer-grid__empty {
    pointer-events: none;
}

.footer-contacts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: clamp(16px, 1.66vw, 32px);
}

.footer-contact__block {
    text-align: left;
}

.footer-contact__wrapper {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

.footer-contact__icon svg {
    display: block;
}

.footer-contact__content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-contact__title {
    font-size: clamp(15px, 1vw, 19px);
    font-weight: 500;
    color: var(--white);
    line-height: 120%;
    margin-bottom: 12px;
}

.footer-contact__address {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 140%;
    margin-bottom: 12px;
}

.footer-contact__schedule {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    line-height: 140%;
}

.footer-contact__phones-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact__phone-link {
    font-size: clamp(15px, 1vw, 19px);
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    line-height: 120%;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-contact__phone-link:hover {
    color: var(--white);
    opacity: 0.8;
}

.footer-contact__phone-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 4px;
}

.footer-bottom-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: clamp(60px, 5.7vw, 110px);
}

.footer-bottom-left {
    width: 93px;
    flex-shrink: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

.footer-copyright {
    font-size: 14px;
    color: var(--gray-60);
    font-weight: 400;
}

.footer-legal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: clamp(20px, 6vw, 114px);
}

.footer-legal-link {
    font-size: 14px;
    color: var(--gray-60);
    text-decoration: none;
    transition: color 0.2s ease;
    text-align: left;
}

.footer-legal-link:hover {
    color: var(--white);
}

.footer-desktop {
    display: block;
}

.footer-mobile {
    display: none;
}

.footer-mobile__logo {
    display: block;
    margin-bottom: 32px;
}

.fm-accordions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    cursor: pointer;
    color: var(--white);
    text-align: left;
    font-family: PP Neue Montreal, sans-serif;
}

.fm-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    color: var(--white);
}

.fm-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.fm-item.is-open .fm-chevron {
    transform: rotate(180deg);
}

.fm-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.fm-item.is-open .fm-content {
    grid-template-rows: 1fr;
}

.fm-inner {
    overflow: hidden;
    padding-bottom: 0;
    transition: padding-bottom 0.35s ease;
}

.fm-item.is-open .fm-inner {
    padding-bottom: 16px;
}

.fm-sub-list {
    display: flex;
    flex-direction: column;
}

.fm-sub-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fm-sub-item:last-child {
    border-bottom: none;
}

.fm-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    font-family: PP Neue Montreal, sans-serif;
}

.fm-sub-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
}

.fm-sub-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
}

.fm-sub-item.is-open .fm-sub-chevron {
    transform: rotate(180deg);
}

.fm-sub-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.fm-sub-item.is-open .fm-sub-content {
    grid-template-rows: 1fr;
}

.fm-sub-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 0;
    transition: padding-bottom 0.35s ease;
}

.fm-sub-item.is-open .fm-sub-inner {
    padding-bottom: 12px;
}

.fm-link {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    line-height: 140%;
    transition: color 0.2s ease;
}

.fm-link:hover {
    color: var(--white);
}

.fm-links-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fm-contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fm-city-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fm-city-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
}

.fm-contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

.fm-contact-icon svg {
    display: block;
}

.fm-contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fm-contact-city {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    line-height: 120%;
}

.fm-contact-address {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 140%;
}

.fm-contact-schedule {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    line-height: 140%;
}

.fm-phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fm-phone {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    line-height: 120%;
    transition: opacity 0.2s ease;
}

.fm-phone:hover {
    opacity: 0.8;
}

.fm-phone-desc {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.fm-socials {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fm-social-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.fm-social-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.fm-social-icon svg {
    display: block;
}

.fm-social-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fm-social-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    line-height: 120%;
}
.footer-socials-mobile {
    display: flex;
    margin-top: 20px;
    flex-direction: row;
    gap: 16px;
}


.fm-social-handle {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 120%;
}

.fm-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fm-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 1024px) {
    .footer {
        padding: 60px 0;
    }
    .footer-desktop {
        display: none;
    }
    .footer-mobile {
        display: block;
    }
}
