/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
    background: var(--gradient-primary-dark);
    color: var(--color-text-inverse);
    margin-top: var(--space-4xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-color: var(--color-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='20' viewBox='0 0 60 20'%3E%3Cpath d='M30 2L38 10L30 18L22 10Z' fill='none' stroke='%23C8942A' stroke-width='1.5'/%3E%3Cpath d='M0 10L8 2L16 10L8 18Z' fill='none' stroke='%23C8942A' stroke-width='1' opacity='0.5'/%3E%3Cpath d='M44 10L52 2L60 10L52 18Z' fill='none' stroke='%23C8942A' stroke-width='1' opacity='0.5'/%3E%3Cline x1='16' y1='10' x2='22' y2='10' stroke='%23C8942A' stroke-width='1' opacity='0.4'/%3E%3Cline x1='38' y1='10' x2='44' y2='10' stroke='%23C8942A' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    background-size: 60px 20px;
    transform: translateY(-100%);
}

/* --- Footer Main (3 columns) --- */

.footer-main {
    padding: var(--space-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
}

/* --- Footer Info Column --- */

.footer-info__logo {
    height: 70px;
    width: auto;
    margin-bottom: var(--space-lg);
}

.footer-info__description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
    max-width: 320px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list .icon {
    flex-shrink: 0;
    color: var(--color-accent);
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-contact-list a:hover {
    color: var(--color-accent);
}

/* --- Footer Nav Column --- */

.footer-column__title {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-inverse);
    margin-bottom: var(--space-lg);
}

.footer-nav-list li {
    margin-bottom: var(--space-sm);
}

.footer-nav-list a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    position: relative;
    display: inline-block;
}

.footer-nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--duration-micro) var(--ease-out-quart);
}

.footer-nav-list a:hover {
    color: var(--color-accent);
}

.footer-nav-list a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* --- Footer Social --- */

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-inverse);
    transition:
        transform var(--duration-micro) var(--ease-out-back),
        background-color var(--duration-micro) var(--ease-out-quart),
        box-shadow var(--duration-micro) var(--ease-out-quart),
        color var(--transition-fast);
}

.footer-social__link:hover {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(200, 148, 42, 0.35);
}

.footer-social__link svg {
    width: 18px;
    height: 18px;
}

/* --- Footer Bottom --- */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom__copyright {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}
