:root {
    --gs-footer-gold: #d7a94f;
    --gs-footer-gold-soft: #e8c276;
    --gs-footer-bg: #090b0c;
    --gs-footer-panel: #0d1011;
    --gs-footer-text: #f5f1e9;
    --gs-footer-muted: #a7a7a7;
    --gs-footer-line: rgba(255, 255, 255, .13);
    --gs-footer-max: 1580px;
}

.gs-footer,
.gs-footer * {
    box-sizing: border-box;
}

.gs-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    color: var(--gs-footer-text);
    background: radial-gradient(circle at 18% 8%, rgb(215 169 79 / 14%), #00000000 25%), linear-gradient(180deg, #0b0d0e 0%, #080a0b 100%);
    border-top: 1px solid rgb(215 169 79 / 69%);
}

.gs-footer__main {
    width: min(100%, var(--gs-footer-max));
    margin: 0 auto;
    padding: clamp(50px, 2vw, 85px) clamp(24px, 4vw, 69px) clamp(25px, 4vw, 69px);
    display: grid;
    grid-template-columns: 1.35fr .78fr 1.1fr .86fr 1.12fr;
    gap: clamp(27px, 3.5vw, 59px);
    align-items: start;
}

.gs-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
}

.gs-footer__monogram {
    color: var(--gs-footer-gold-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 5vw, 82px);
    line-height: .7;
    letter-spacing: -.16em;
}

.gs-footer__wordmark {
    display: grid;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1;
}

.gs-footer__wordmark small {
    margin-top: 9px;
    color: var(--gs-footer-gold);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}

.gs-footer__description {
    max-width: 390px;
    margin: 42px 0 0;
    color: #c4c4c4;
    font-size: 16px;
    line-height: 1.75;
}

.gs-footer__ukraine {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-top: 42px;
}

.gs-footer__ukraine img {
    width: 74px;
    /* height: 74px; */
    object-fit: contain;
    /* border: 1px solid var(--gs-footer-gold); */
    border-radius: 12px;
    padding: 12px;
}

.gs-footer__ukraine span {
    color: #efefef;
    font-size: 17px;
    line-height: 1.55;
}

.gs-footer__column h2,
.gs-footer__contacts h2 {
    margin: 3px 0 26px;
    color: var(--gs-footer-gold);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .03em;
}

.gs-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gs-footer__column li {
    border-bottom: 1px solid var(--gs-footer-line);
}

.gs-footer__column a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    min-height: 44px;
    color: #f0f0f0;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
    transition: color .18s ease, padding-left .18s ease;
}

.gs-footer__column a b {
    color: #a8a8a8;
    font-size: 25px;
    font-weight: 300;
}

.gs-footer__column a:hover,
.gs-footer__column a:focus-visible {
    padding-left: 5px;
    color: var(--gs-footer-gold);
}

.gs-footer__contacts {
    min-width: 0;
}

.gs-footer__contact-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 17px;
    align-items: center;
    margin-bottom: 12px;
}

.gs-footer__contact-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--gs-footer-gold);
    border-radius: 12px;
    color: var(--gs-footer-gold);
}

.gs-footer__contact-icon svg,
.gs-footer__benefit-icon svg,
.gs-footer__cta svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    /* stroke-width: 1.8; */
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gs-footer__contact-item div {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.gs-footer__contact-item a,
.gs-footer__contact-item strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.gs-footer__contact-item small {
    color: var(--gs-footer-muted);
    font-size: 14px;
    line-height: 1.35;
}

.gs-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 18px; */
    /* min-height: 70px; */
    margin-top: 28px;
    padding: 14px 26px;
    border: 1px solid #e0b564;
    border-radius: 8px;
    color: #1a1307;
    background: linear-gradient(180deg, #efcb82, #d7a94f);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 28px rgba(0, 0, 0, .22);
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.gs-footer__cta svg {
    width: 24px;
    height: 24px;
}

.gs-footer__cta:hover,
.gs-footer__cta:focus-visible {
    color: #1a1307;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 16px 34px rgba(0, 0, 0, .28);
}

.gs-footer__benefits {
    border-top: 1px solid var(--gs-footer-line);
    border-bottom: 1px solid var(--gs-footer-line);
}

.gs-footer__benefits-inner {
    width: min(100%, var(--gs-footer-max));
    margin: 0 auto;
    padding: 9px clamp(27px, 4vw, 64px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gs-footer__benefit {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 0 36px;
    border-right: 1px solid var(--gs-footer-line);
}

.gs-footer__benefit:first-child {
    padding-left: 0;
}

.gs-footer__benefit:last-child {
    padding-right: 0;
    border-right: 0;
}

.gs-footer__benefit-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    color: var(--gs-footer-gold);
}

.gs-footer__benefit-icon svg {
    width: 58px;
    height: 58px;
}

.gs-footer__benefit-icon img {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.gs-footer__benefit div {
    display: grid;
    gap: 8px;
}

.gs-footer__benefit strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
}

.gs-footer__benefit small {
    color: var(--gs-footer-muted);
    font-size: 14px;
    line-height: 1.5;
}

.gs-footer__bottom-inner {
    width: min(100%, var(--gs-footer-max));
    margin: 0 auto;
    padding: 4px clamp(24px, 4vw, 70px);
    display: grid;
    grid-template-columns: 1.2fr 1.3fr auto;
    gap: 32px;
    align-items: center;
}

.gs-footer__bottom p {
    margin: 0;
    color: #9f9f9f;
    font-size: 13px;
    line-height: 1.7;
}

.gs-footer__legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    color: #777;
}

.gs-footer__legal a {
    color: #aaa;
    font-size: 13px;
    text-decoration: none;
}

.gs-footer__socials {
    display: flex;
    gap: 16px;
}

.gs-footer__socials a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #343434;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.gs-footer__socials svg {
    display: block;
    width: 21px;
    height: 21px;
}

.gs-footer__socials a:nth-child(1) svg,
.gs-footer__socials a:nth-child(4) svg {
    fill: currentColor;
    stroke: none;
}

.gs-footer__socials a:nth-child(2) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gs-footer__socials .gs-footer__social-dot {
    fill: currentColor;
    stroke: none;
}

.gs-footer__socials a:nth-child(3) svg {
    fill: currentColor;
    stroke: none;
}

.gs-footer__socials .gs-footer__social-play {
    fill: var(--gs-footer-bg);
}

.gs-footer__socials a:hover,
.gs-footer__socials a:focus-visible {
    color: var(--gs-footer-gold);
    border-color: var(--gs-footer-gold);
    transform: translateY(-2px);
}

.gs-footer a:focus-visible {
    outline: 3px solid rgba(215, 169, 79, .34);
    outline-offset: 4px;
}

@media (max-width: 1320px) {
    .gs-footer__main {
        grid-template-columns: 1.25fr .8fr 1fr .85fr;
    }

    .gs-footer__contacts {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr) minmax(260px, .9fr);
        gap: 20px;
        align-items: center;
    }

    .gs-footer__contacts h2 {
        grid-column: 1 / -1;
        margin-bottom: 6px;
    }

    .gs-footer__contact-item,
    .gs-footer__cta {
        margin: 0;
    }
}

@media (max-width: 1020px) {
    .gs-footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .gs-footer__brand {
        grid-column: 1 / -1;
    }

    .gs-footer__contacts {
        grid-template-columns: 1fr 1fr;
    }

    .gs-footer__benefits-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3px 0;
    }

    .gs-footer__benefit:nth-child(2) {
        border-right: 0;
    }

    .gs-footer__benefit:nth-child(3) {
        padding-left: 0;
    }

    .gs-footer__bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gs-footer__socials,
    .gs-footer__legal {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .gs-footer__main {
        grid-template-columns: 1fr;
        padding-left: 18px;
        padding-right: 18px;
    }

    .gs-footer__brand {
        grid-column: auto;
    }

    .gs-footer__logo {
        align-items: flex-end;
    }

    .gs-footer__description {
        margin-top: 30px;
    }

    .gs-footer__contacts {
        grid-template-columns: 1fr;
    }

    .gs-footer__benefits-inner {
        grid-template-columns: 1fr;
        padding-left: 18px;
        padding-right: 18px;
    }

    .gs-footer__benefit,
    .gs-footer__benefit:first-child,
    .gs-footer__benefit:nth-child(3),
    .gs-footer__benefit:last-child {
        padding: 7px 0;
        border-right: 0;
        border-bottom: 1px solid var(--gs-footer-line);
    }

    .gs-footer__benefit:last-child {
        border-bottom: 0;
    }

    .gs-footer__bottom-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gs-footer__legal {
        flex-direction: column;
        gap: 10px;
    }

    .gs-footer__legal span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-footer a {
        transition: none;
    }
}
