.ekb-footer {
    color: #e8dfd3;
    background: #211a16;
    border-top: 1px solid #45362b;
}

.ekb-footer a {
    color: inherit;
    text-decoration: none;
}

.ekb-footer__services {
    width: min(100% - 40px, 1440px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #ffffff1c;
}

.ekb-footer__services a {
    min-height: 78px;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    transition: background-color 180ms ease;
}

.ekb-footer__services a + a {
    border-left: 1px solid #ffffff1c;
}

.ekb-footer__services a:hover {
    background: #ffffff05;
}

.ekb-footer__services i:first-child {
    color: #c7a37b;
    font-size: 24px;
}

.ekb-footer__services i:last-child {
    margin-left: auto;
    color: #a79a8f;
    font-size: 20px;
}

.ekb-footer__inner {
    width: min(100% - 40px, 1440px);
    margin-inline: auto;
}

.ekb-footer__identity {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ekb-footer__logo {
    width: 250px;
    display: block;
    margin-bottom: 26px;
}

.ekb-footer__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.ekb-footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.ekb-footer__socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #d9cbbd;
    border: 1px solid #ffffff26;
    border-radius: 2px;
    transition: color 180ms ease, background-color 180ms ease;
}

.ekb-footer__socials a:hover {
    color: #211a16;
    background: #c7a37b;
}

.ekb-footer__socials i {
    font-size: 20px;
}

.ekb-footer__body {
    position: relative;
    padding: 38px 0;
    display: grid;
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 2.4fr);
    gap: clamp(32px, 4vw, 64px);
}

.ekb-footer__intro p {
    max-width: 330px;
    margin: 0;
    color: #b6aa9f;
    font-size: 16px;
    line-height: 1.8;
}

.ekb-footer__collection {
    margin-top: 22px;
    padding-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #c7a37b80;
    font-size: 14px;
}

.ekb-footer__nav {
    padding-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ekb-footer .site-footer__toggle {
    margin: 0 0 18px;
    color: #f1e9df;
    font-size: 14px;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.ekb-footer .site-footer__links {
    gap: 11px;
}

.ekb-footer .site-footer__links a {
    max-width: 100%;
    color: #b6aa9f;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.ekb-footer .site-footer__links a:hover {
    color: #e8c298;
    transform: none;
}

.ekb-footer__bottom {
    min-height: 76px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 28px;
    border-top: 1px solid #ffffff1c;
}

.ekb-footer__bottom p {
    margin: 0;
    color: #a69a90;
    font-size: 13px;
}

.ekb-footer__bottom nav {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ekb-footer__bottom nav a {
    color: #a69a90;
    font-size: 13px;
}

.ekb-footer__bottom nav a:hover {
    color: #e8dfd3;
}

.ekb-footer__back-top {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff26;
}

.ekb-footer a:focus-visible,
.ekb-footer button:focus-visible {
    outline: 2px solid #c7a37b;
    outline-offset: 4px;
}

@media (max-width: 1050px) {
    .ekb-footer__body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ekb-footer__intro {
        display: block;
    }

    .ekb-footer__intro p {
        max-width: 520px;
    }

    .ekb-footer__collection {
        margin-top: 22px;
    }

    .ekb-footer__nav {
        padding-top: 0;
    }
}

@media (max-width: 620px) {
    .ekb-footer__services,
    .ekb-footer__inner {
        width: calc(100% - 32px);
    }

    .ekb-footer__services {
        grid-template-columns: 1fr;
        padding-block: 10px;
    }

    .ekb-footer__services a {
        min-height: 54px;
        padding: 12px 0;
        font-size: 14px;
    }

    .ekb-footer__services a + a {
        border-left: 0;
    }

    .ekb-footer__identity {
        min-height: 110px;
        gap: 20px;
        flex-wrap: wrap;
        padding-block: 26px;
    }

    .ekb-footer__logo {
        width: 190px;
    }

    .ekb-footer__socials {
        gap: 7px;
    }

    .ekb-footer__socials a {
        width: 34px;
        height: 34px;
    }

    .ekb-footer__intro {
        display: block;
    }

    .ekb-footer__intro p {
        font-size: 15px;
    }

    .ekb-footer__collection {
        margin-top: 16px;
    }

    .ekb-footer__body {
        padding: 28px 0 26px;
        gap: 28px;
    }

    .ekb-footer__nav {
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 1px solid #ffffff1c;
    }

    .ekb-footer .site-footer__column {
        border-bottom: 1px solid #ffffff1c;
    }

    .ekb-footer .site-footer__toggle {
        min-height: 58px;
        margin: 0;
        padding: 0 36px 0 0;
        justify-content: flex-start;
        font-size: 14px;
    }

    .ekb-footer .site-footer__toggle i {
        right: 0;
        font-size: 22px;
    }

    .ekb-footer .site-footer__links {
        align-items: flex-start;
        gap: 0;
    }

    .ekb-footer .site-footer__links a {
        text-align: left;
    }

    .ekb-footer .site-footer__column.is-open .site-footer__links {
        max-height: 400px;
        gap: 14px;
        padding-bottom: 22px;
    }

    .ekb-footer .site-footer__column.is-open .site-footer__toggle i {
        transform: rotate(45deg);
    }

    .ekb-footer__bottom {
        position: relative;
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 46px 28px 0;
        gap: 14px;
    }

    .ekb-footer__bottom nav {
        margin-left: 0;
        gap: 12px 16px;
    }

    .ekb-footer__back-top {
        position: absolute;
        top: 24px;
        right: 0;
    }
}
.ekb-footer__payments {
    position: absolute;
    right: 0;
    bottom: 38px;
    display: flex;
    justify-content: flex-end;
    width: min(100%, 320px);
}

.ekb-footer__payments img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    padding: 8px 10px;
    background: #fdfcf9;
    border-radius: 2px;
}

@media (max-width: 1050px) {
    .ekb-footer__intro {
        position: relative;
    }

    .ekb-footer__payments {
        bottom: 0;
        width: min(320px, calc(100% - 190px));
    }
}
