.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 48px;
    padding: 40px 24px 28px;
    overflow: hidden;
    background: linear-gradient(165deg, #2c1118 0%, #3a1620 55%, #2c1118 100%);
    border-top: 1px solid rgba(216, 154, 66, 0.25);
}

.footer-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
            radial-gradient(ellipse 60% 50% at 20% 0%, rgba(183, 63, 85, 0.14), transparent 70%),
            radial-gradient(ellipse 60% 50% at 80% 100%, rgba(216, 154, 66, 0.12), transparent 70%);
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.footer-quote-box {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.footer-quote {
    margin: 0;
    max-width: 600px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    font-weight: 700;
    line-height: 1.45;
    color: #f6dfc9;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.footer-quote-box.is-fading .footer-quote {
    opacity: 0;
    transform: translateY(6px);
}

.footer-divider {
    width: min(280px, 70%);
    height: 1px;
    margin: 20px auto;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(216, 154, 66, 0.4) 30%,
            rgba(243, 181, 164, 0.5) 50%,
            rgba(216, 154, 66, 0.4) 70%,
            transparent
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.footer-col {
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.footer-col--legal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.footer-col:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 22px rgba(216, 154, 66, 0.18);
}

.footer-col-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #f3c9d4;
}

.footer-col-text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 248, 239, 0.6);
}

.footer-link {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #e8a8b8;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
    color: #f3c9d4;
    transform: translateX(2px);
}

.footer-build {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 11.5px;
    color: rgba(255, 248, 239, 0.4);
}

.footer-build-sep {
    opacity: 0.5;
}

.lang-dropdown-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.lang-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 248, 239, 0.75);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lang-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff8ef;
}

.lang-dropdown-arrow {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lang-dropdown-container.is-open .lang-dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    z-index: 100;
    min-width: 140px;
    display: none;
    flex-direction: column;
    padding: 6px;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    background: var(--surface-solid);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-dropdown-container.is-open .lang-dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 10px;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lang-dropdown-item:hover {
    background: rgba(183, 63, 85, 0.08);
    color: var(--wine);
}

[data-theme="dark"] .lang-dropdown-item:hover {
    background: rgba(212, 84, 110, 0.12);
    color: var(--rose);
}

.lang-dropdown-item.is-active {
    background: var(--wine);
    color: #fff8ef;
}

[data-theme="dark"] .lang-dropdown-item.is-active {
    background: var(--rose);
    color: #121212;
}

.lang-dropdown-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-dropdown-name {
    flex: 1;
}

@media (max-width: 720px) {
    .site-footer {
        padding: 48px 16px 32px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .footer-col-text {
        text-align: center;
    }

    .lang-dropdown-container {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
}