.h1a-site-footer {
    background:
        radial-gradient(circle at top left, rgba(237, 237, 136, 0.18), transparent 28%),
        linear-gradient(135deg, #2d8f88 0%, #226d67 100%);
    color: #f7fffd;
    border-top-left-radius: 72px;
    margin-top: 48px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.h1a-site-footer__shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 22px;
}

.h1a-site-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(150px, 0.8fr)) minmax(230px, 1.05fr);
    gap: 28px;
    align-items: start;
}

.h1a-site-footer__brand {
    display: grid;
    gap: 18px;
    padding-right: 16px;
}

.h1a-site-footer__logo img {
    width: 150px;
    height: auto;
    display: block;
}

.h1a-site-footer__description {
    margin: 0;
    max-width: 330px;
    color: rgba(247, 255, 253, 0.92);
    font-family: montRegular, sans-serif;
    font-size: 1.02rem;
    line-height: 1.7;
}

.h1a-site-footer__nav,
.h1a-site-footer__social {
    position: relative;
    padding-left: 24px;
}

.h1a-site-footer__nav::before,
.h1a-site-footer__social::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 1px;
    height: calc(100% - 12px);
    background: rgba(255, 255, 255, 0.28);
}

.h1a-site-footer h3 {
    margin: 0 0 14px;
    font-family: montSemiBold, sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #eded88;
}

.h1a-site-footer__nav ul,
.h1a-footer-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.h1a-site-footer__nav li + li {
    margin-top: 10px;
}

.h1a-site-footer__nav a,
.h1a-site-footer__policies a,
.h1a-site-footer__settings-btn {
    color: rgba(247, 255, 253, 0.94);
    text-decoration: none;
    font-family: montSemiBold, sans-serif;
    font-size: 0.98rem;
    line-height: 1.55;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.h1a-site-footer__nav a:hover,
.h1a-site-footer__policies a:hover,
.h1a-site-footer__settings-btn:hover {
    color: #eded88;
}

.h1a-footer-social-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.h1a-footer-social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(12, 58, 55, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.14rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.h1a-footer-social-list a:hover {
    background: rgba(237, 237, 136, 0.18);
    color: #eded88;
    transform: translateY(-2px);
}

.h1a-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 22px;
    flex-wrap: nowrap;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.h1a-site-footer__policies {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 18px;
    min-width: 0;
}

.h1a-site-footer__policies a,
.h1a-site-footer__settings-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 0;
    border: 0;
    background: transparent;
    text-align: center;
    color: rgba(247, 255, 253, 0.82);
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    opacity: 0.92;
    white-space: nowrap;
    transition: none;
}

.h1a-site-footer__settings-btn {
    cursor: pointer;
}

.h1a-site-footer__policies > *:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
}

.h1a-site-footer__policies a:hover,
.h1a-site-footer__policies a:focus,
.h1a-site-footer__settings-btn:hover,
.h1a-site-footer__settings-btn:focus {
    color: rgba(247, 255, 253, 0.82);
    outline: none;
    box-shadow: none;
}

.h1a-site-footer__credit {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 0;
}

@media (max-width: 920px) {
    .h1a-site-footer {
        border-top-left-radius: 48px;
    }

    .h1a-site-footer__shell {
        width: min(100% - 32px, 960px);
        padding-top: 34px;
    }

    .h1a-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .h1a-site-footer__brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .h1a-site-footer {
        border-top-left-radius: 32px;
        margin-top: 32px;
    }

    .h1a-site-footer__shell {
        width: calc(100% - 24px);
        padding-top: 28px;
    }

    .h1a-site-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .h1a-site-footer__nav,
    .h1a-site-footer__social {
        padding-left: 0;
    }

    .h1a-site-footer__nav::before,
    .h1a-site-footer__social::before {
        display: none;
    }

    .h1a-site-footer__bottom {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .h1a-site-footer__policies {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .h1a-site-footer__policies > *:not(:last-child)::after {
        display: none;
    }

    .h1a-site-footer__credit {
        justify-content: center;
    }
}
