.site-footer {
    background:
        radial-gradient(circle at top left, rgba(201, 147, 79, 0.16), transparent 34%),
        linear-gradient(180deg, #fff8ef 0%, #fff2e4 100%);
    padding: 78px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(201, 147, 79, 0.18);
}

/* ===== BRAND ROW ===== */
.footer-brand-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 58px;
    flex-wrap: wrap;
}

.footer-video-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 178px;
    height: 108px;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.footer-video-logo video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.03);
}

.footer-brand-text {
    margin-top: 0;
    font-size: 18.5px;
    font-weight: 500;
    color: #4d351c;
    max-width: 650px;
    line-height: 1.75;
    letter-spacing: 0.25px;
}

/* ===== TOP GRID ===== */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 54px;
    align-items: start;
}

.footer-col h4 {
    margin-bottom: 26px;
    font-size: 26px;
    font-weight: 700;
    color: #241709;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, #b57a35, transparent);
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.45;
    color: #77634e;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a i {
    width: 17px;
    min-width: 17px;
    font-size: 13px;
    color: #b57a35;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
    color: #211407;
    transform: translateX(6px);
}

.footer-col a:hover i {
    color: #211407;
    transform: scale(1.08);
}

/* ===== MIDDLE ===== */
.footer-middle {
    padding: 46px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(201, 147, 79, 0.2);
    font-size: 17px;
    color: #332313;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(71, 43, 15, 0.06);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-4px);
    color: #fff;
    background: linear-gradient(135deg, #c9934f, #8f5b22);
    border-color: rgba(143, 91, 34, 0.45);
    box-shadow: 0 14px 30px rgba(143, 91, 34, 0.22);
}

.footer-blog-link {
    width: auto !important;
    padding: 0 18px;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.8px;
}

/* ===== BADGES ===== */
.footer-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-badges span {
    width: 52px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff7ec 0%, #ead3ad 100%);
    border: 1px solid rgba(143, 91, 34, 0.13);
    color: #4a3219;
    font-size: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 12px 28px rgba(71, 43, 15, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition: all 0.35s ease;
}

.footer-badges span::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
    transform: translateX(-130%);
    transition: transform 0.75s ease;
}

.footer-badges span:hover {
    transform: translateY(-5px) scale(1.05);
    color: #1d1207;
    box-shadow:
        0 16px 34px rgba(71, 43, 15, 0.13),
        0 0 18px rgba(201, 147, 79, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.footer-badges span:hover::before {
    transform: translateX(130%);
}

.footer-badges i {
    position: relative;
    z-index: 1;
    line-height: 1;
}

/* ===== BOTTOM ===== */
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(143, 91, 34, 0.14);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #6c5c48;
    letter-spacing: 0.25px;
}

/* ===== FOOTER GIFT BUTTON ===== */
.footer-gift-anchor {
    display: block;
    height: 0;
    scroll-margin-top: calc(var(--topbar-height, 36px) + var(--header-height, 76px) + 18px);
}

.footer-gift-btn {
    position: fixed;
    left: 22px;
    bottom: 22px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #483636;
    background: transparent;
    border: transparent;
    box-shadow:
        0 18px 42px rgba(82, 48, 13, 0.34),
        0 0 0 rgba(201, 147, 79, 0.42);
    animation: giftFloat 2.4s ease-in-out infinite, giftPulse 1.8s ease-in-out infinite;
    transition: all 0.32s ease;
}

.footer-gift-btn:hover {
    transform: translateY(-5px) scale(1.08);
    animation-play-state: paused;
}

.footer-gift-btn-icon {
    width: 64px;
    height: 64px;
    border-radius: 100%;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.75), transparent 34%),
        linear-gradient(135deg, #fff8ef 0%, #ead0a9 44%, #c9934f 100%);
    border: 1px solid rgba(143, 91, 34, 0.22);
    font-size: 28px;
    color: #483636;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 10px 24px rgba(143, 91, 34, 0.28);
}

.footer-gift-btn::before,
.footer-gift-btn::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px solid rgba(201, 147, 79, 0.45);
    animation: giftRing 1.9s ease-out infinite;
}

.footer-gift-btn::after {
    animation-delay: 0.55s;
}

@keyframes giftFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes giftPulse {
    0%, 100% {
        box-shadow:
            0 18px 42px rgba(82, 48, 13, 0.34),
            0 0 0 0 rgba(201, 147, 79, 0.42);
    }

    50% {
        box-shadow:
            0 22px 48px rgba(82, 48, 13, 0.4),
            0 0 0 13px rgba(201, 147, 79, 0);
    }
}

@keyframes giftRing {
    0% {
        opacity: 0.72;
        transform: scale(0.86);
    }

    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@media (max-width: 767px) {
    .footer-gift-btn {
        width: 62px;
        height: 62px;
        left: 14px;
        bottom: 14px;
    }

    .footer-gift-btn-icon {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }
}

/* ===== SCROLL BUTTON ===== */
.scroll-progress-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: transparent;
    cursor: pointer;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: all 0.32s ease;

    box-shadow:
        0 14px 32px rgba(82, 48, 13, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.scroll-progress-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-progress-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 18px 38px rgba(82, 48, 13, 0.34),
        0 0 18px rgba(201, 147, 79, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.scroll-progress-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.scroll-progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.34);
    stroke-width: 4;
}

.scroll-progress-fill {
    fill: none;
    stroke: #483636;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s linear;
}

.scroll-progress-icon {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.13);
    font-size: 20px;
    color: #483636;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 48px 0 22px;
    }

    .footer-brand-row {
        justify-content: center;
        text-align: center;
        gap: 14px;
        margin-bottom: 38px;
    }

    .footer-video-logo {
        width: 145px;
        height: 88px;
    }

    .footer-brand-text {
        font-size: 16px;
        line-height: 1.65;
        max-width: 92%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(143, 91, 34, 0.12);
    }

    .footer-col h4 {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .footer-col a {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .footer-middle {
        padding: 30px 0 22px;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
        gap: 12px;
    }

    .footer-social a {
        width: 39px;
        height: 39px;
        font-size: 15px;
    }

    .footer-blog-link {
        padding: 0 16px;
    }

    .footer-badges {
        justify-content: center;
        gap: 9px;
    }

    .footer-badges span {
        width: 46px;
        height: 39px;
        font-size: 20px;
        border-radius: 12px;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.5;
    }

    .scroll-progress-btn {
        width: 48px;
        height: 48px;
        right: 13px;
        bottom: 13px;
    }

    .scroll-progress-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .scroll-progress-bg,
    .scroll-progress-fill {
        stroke-width: 2.5;
    }
}