.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--heading, #1F1F1F);
    color: var(--surface, #FFFFFF);
}

.site-footer::before {
    position: absolute;
    top: -130px;
    right: -100px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.025), 0 0 0 44px rgba(255, 255, 255, 0.018);
    content: "";
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.95fr 1.55fr;
    gap: clamp(26px, 4vw, 58px);
    padding-top: 78px;
    padding-bottom: 66px;
}
.footer-column {
    min-width: 0;
}

.footer-brand p {
    max-width: 260px;
    margin: 20px 0 25px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.75;
}

.site-logo--footer {
    color: var(--surface, #FFFFFF);
}

.site-logo--footer .site-logo__image-wrap {
    width: 190px;
    min-height: 51px;
}

.footer-column h2 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 11px;
    color: var(--surface, #FFFFFF);
    font-family: "Cormorant Garamond", serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.1;
}

.footer-column h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary, #C93632);
    content: "";
}

.footer-links,
.footer-contact__list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-contact__list a {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    color: rgba(255, 255, 255, 0.68);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transition: color 160ms ease;
}

.footer-links a::before {
    color: var(--primary, #C93632);
    content: "→";
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact__list a:hover,
.footer-contact__list a:focus-visible {
    color: var(--primary, #C62828);
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact__list {
    padding: 20px;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.045);
}

.footer-contact__list a {
    word-break: break-word;
}

.footer-contact {
    align-self: start;
}

.footer-contact__list {
    margin-top: 0;
}

.footer-contact__list a {
    display: block;
}

.social-links--footer {
    gap: 9px;
}

.social-links--footer a {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--primary, #C62828);
}

.social-links--footer a:hover,
.social-links--footer a:focus-visible {
    border-color: var(--primary, #C62828);
    background: var(--primary, #C62828);
    color: var(--surface, #FFFFFF);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 19px;
    padding-bottom: 19px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-align: center;
}

.footer-bottom__quote {
    color: rgba(255, 255, 255, 0.72);
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-bottom__quote:hover,
.footer-bottom__quote:focus-visible {
    color: var(--primary, #C93632);
}

  .footer-contact__list {
    padding: 20px;
    margin: 0;
    display: grid;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.045);
    list-style: none;
}

.footer-contact__list li {
    min-width: 0;
}

.footer-contact__list a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    color: rgba(255, 255, 255, 0.72);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-contact__list a:hover,
.footer-contact__list a:focus-visible {
    color: var(--primary, #C93632);
}

.contact-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #C93632);
    margin-top: 1px;
}

.contact-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}

.contact-email {
    white-space: nowrap;
}

@media (max-width: 768px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-contact__list {
        padding: 18px;
    }

    .contact-email {
        white-space: normal;
        overflow-wrap: anywhere;
    }

}