:root {
    --lg-footer-burgundy: #a01c36;
    --lg-footer-burgundy-dark: #8b112c;
    --lg-footer-gold: #d2aa53;
    --lg-footer-gold-hover: #e0bc6a;
    --lg-footer-text: #ffffff;
    --lg-footer-text-muted: rgba(255, 255, 255, 0.94);
    --lg-footer-max-width: 1600px;
}

.lg-footer {
    color: var(--lg-footer-text);
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.lg-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lg-footer__inner {
    width: 100%;
    max-width: var(--lg-footer-max-width);
    margin: 0 auto;
    padding-left: clamp(1.5rem, 4vw, 3rem);
    padding-right: clamp(1.5rem, 4vw, 3rem);
    box-sizing: border-box;
}

.lg-footer__main {
    background: linear-gradient(180deg, #a01c36 0%, #961832 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lg-footer__main .lg-footer__inner {
    padding-top: clamp(2rem, 3.5vw, 2.75rem);
    padding-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.lg-footer__contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: start;
}

.lg-footer__contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    min-width: 0;
    padding: 0 0.5rem;
    position: relative;
}

.lg-footer__contact-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: calc(clamp(0.625rem, 1.25vw, 1.25rem) * -1);
    width: 1px;
    height: calc(100% - 1.5rem);
    background: rgba(255, 255, 255, 0.18);
}

.lg-footer__contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--lg-footer-gold);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.lg-footer__contact-body {
    min-width: 0;
    width: 100%;
}

.lg-footer__contact-label {
    margin: 0 0 0.5rem;
    font-family: "Montserrat", "Raleway", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--lg-footer-text);
}

.lg-footer__contact-value {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--lg-footer-text-muted);
}

.lg-footer__contact-value a:hover,
.lg-footer__contact-value a:focus-visible {
    color: var(--lg-footer-gold-hover);
    outline: none;
}

.lg-footer__address-line {
    display: block;
}

.lg-footer__contact-item--address .lg-footer__contact-value {
    max-width: 18rem;
    margin: 0 auto;
}

.lg-footer__divider {
    width: 100%;
    height: 1px;
    margin: clamp(1.5rem, 2.5vw, 2rem) 0;
    background: rgba(255, 255, 255, 0.22);
    border: 0;
}

.lg-footer__lower {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 7rem;
}

.lg-footer__nav {
    width: 100%;
    max-width: 100%;
}

.lg-footer__menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lg-footer__menu-item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.lg-footer__menu-item:not(:last-child)::after {
    content: "·";
    margin: 0 0.55rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.25rem;
    line-height: 1;
    pointer-events: none;
}

.lg-footer__link {
    display: inline-block;
    padding: 0.45rem 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.015em;
    color: var(--lg-footer-text-muted);
    white-space: nowrap;
}

.lg-footer__link:hover,
.lg-footer__link:focus-visible {
    color: var(--lg-footer-gold);
    outline: none;
}

.lg-footer__link.is-active {
    color: var(--lg-footer-gold);
}

.lg-footer__social {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

.lg-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--lg-footer-gold);
    color: #fff;
    font-size: 1.125rem;
    line-height: 1;
}

.lg-footer__social-link:hover,
.lg-footer__social-link:focus-visible {
    background: var(--lg-footer-gold-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    outline: none;
}

.lg-footer__bottom {
    background: var(--lg-footer-gold);
    color: #fff;
}

.lg-footer__bottom .lg-footer__inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

.lg-footer__copyright {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1.6;
    text-transform: uppercase;
}

@media (max-width: 1199px) {
    .lg-footer__menu-item:not(:last-child)::after {
        margin: 0 0.4rem;
    }
}

@media (max-width: 991px) {
    .lg-footer__contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }

    .lg-footer__contact-item::after {
        display: none;
    }

    .lg-footer__contact-item:last-child {
        grid-column: 1 / -1;
        max-width: 22rem;
        margin: 0 auto;
    }

    .lg-footer__lower {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        min-height: 0;
        padding: 0;
    }

    .lg-footer__nav {
        order: 2;
        width: 100%;
    }

    .lg-footer__social {
        position: static;
        transform: none;
        order: 1;
        justify-content: center;
    }

    .lg-footer__menu {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.35rem;
    }

    .lg-footer__menu-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .lg-footer__contact {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .lg-footer__contact-item:last-child {
        max-width: none;
    }

    .lg-footer__contact-value,
    .lg-footer__contact-label {
        font-size: 1.25rem;
    }

    .lg-footer__menu {
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
    }

    .lg-footer__link {
        white-space: normal;
        font-size: 1.25rem;
        padding: 0.4rem 0;
    }

    .lg-footer__social-link {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 1.25rem;
    }
}

@media (min-width: 992px) and (max-width: 1320px) {
    .lg-footer__menu {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.45rem;
    }

    .lg-footer__menu-item:not(:last-child)::after {
        display: none;
    }

    .lg-footer__menu {
        gap: 0.45rem 1rem;
    }
}
