:root {
    --footer-accent: #c85a28;
    --footer-accent-dark: #9a3f18;
    --footer-bg: #1f1f1f;
    --footer-bg-soft: #2f2b28;
    --footer-text: #fff8f3;
    --footer-muted: #decfc2;
}

.site-footer {
    margin-top: 44px;
    color: var(--footer-text);
    background: linear-gradient(150deg, #1f1f1f 0%, #2f2b28 58%, #1a1918 100%);
    position: relative;
    overflow: hidden;
}

.footer-wave {
    height: 16px;
    background: linear-gradient(90deg, var(--footer-accent) 0%, #e39361 45%, #f2c2a3 100%);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 34px 20px 18px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 24px;
}

.footer-brand-block h3 {
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-brand-block p {
    color: var(--footer-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 42ch;
}

.footer-cta {
    display: inline-block;
    background: var(--footer-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 16px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-cta:hover {
    background: var(--footer-accent-dark);
    transform: translateY(-2px);
}

.footer-links-block h4,
.footer-social-block h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-links-block ul {
    list-style: none;
}

.footer-links-block li + li {
    margin-top: 8px;
}

.footer-links-block a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-block a:hover {
    color: #ffffff;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 210px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.55);
}

.social-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    padding: 14px 20px 20px;
}

.footer-bottom p {
    color: var(--footer-muted);
    font-size: 0.92rem;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .social-grid {
        max-width: none;
        grid-template-columns: repeat(4, 44px);
    }
}
