.og-footer {
    --footer-bg: #D6D7D3;
    --footer-heading: #4c6962e6;
    --footer-link: #4c6962e6;
    --footer-social: #4d6c66;

    background: var(--footer-bg);
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    padding-left: var(--padding-left);
    padding-right: var(--padding-right);
}

.og-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.og-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: start;
}

.og-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 44px;
}

.og-footer__heading {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--footer-heading);
}

.og-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.og-footer__link {
    position: relative;
    text-decoration: none;
    color: var(--footer-link);
    font-size: 16px;
    font-weight: 400;
}

.og-footer__link::after {
    content: "";
    position: absolute;
    bottom: -0.25em;
    left: 0;
    height: 0;
    width: 0;
    border-bottom-width: 2px;
    border-color: currentcolor;
    border-bottom-style: solid;
    opacity: 0%;
    transition-property: width;
    transition-duration: 250ms;
    --tw-duration: 250ms;
    --tw-ease: cubic-bezier(0.4, 0, 1, 1);
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.og-footer__link:hover::after {
    width: 4.5rem;
    opacity: 100%;
}

.og-footer__brand {
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.og-footer__brand-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
}

.og-footer__brand-logo-link img {
    width: 100%;
    height: auto;
}

.og-footer__brand-text {
    text-decoration: none;
    color: var(--footer-link);
    font-size: 20px;
    font-weight: 600;
}

.og-footer__social .list-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.og-footer__social .list-social__item a,
.og-footer__social .list-social__item svg {
    color: var(--footer-social);
    fill: var(--footer-social);
}

@media (max-width: 1400px) {
    .og-footer__heading {
        font-size: 24px;
    }

    .og-footer__link {
        font-size: 28px;
    }
}

@media (max-width: 959px) {
    .og-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .og-footer__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .og-footer__links {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .og-footer__heading {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .og-footer__link {
        font-size: 19px;
        line-height: 1.35;
    }

    .og-footer__brand {
        min-width: 0;
        align-items: flex-start;
    }

    .og-footer__brand-logo-link {
        width: 78px;
        height: 78px;
    }

    .og-footer__social .list-social {
        justify-content: flex-start;
    }
}