/* ========================================
   FOOTER STYLES
   Prefix: ftr-
   Royal Ambarrukmo Design System
   ======================================== */

/* --- Wrapper --- */
.ftr-wrapper {
    background: #111;
    border-top: 1px solid #222;
    padding-top: var(--sp-xxl);
    font-family: var(--ff-primary);
    color: #fff;
}

.ftr-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

/* --- Grid --- */
.ftr-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    gap: var(--sp-xl);
    padding-bottom: var(--sp-xxl);
}

/* --- Brand Column --- */
.ftr-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    text-decoration: none;
    margin-bottom: var(--sp-lg);
}

.ftr-logo-img {
    height: 40px;
    width: auto;
}

.ftr-desc {
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: #999;
    margin: 0 0 var(--sp-xl) 0;
    max-width: 300px;
}

/* --- Socials --- */
.ftr-socials {
    display: flex;
    gap: var(--sp-sm);
}

.ftr-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--rd-full);
    background: #222;
    color: #999;
    transition: background 0.2s ease, color 0.2s ease;
}

.ftr-social-link:hover {
    background: var(--clr-primary);
    color: #fff;
}

.ftr-social-icon {
    width: 18px;
    height: 18px;
}

/* --- Headings --- */
.ftr-heading {
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-bold);
    line-height: var(--lh-body);
    color: #fff;
    margin: 0 0 var(--sp-lg) 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Links --- */
.ftr-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    column-count: 2;
    column-gap: 20px;
}

.ftr-link {
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ftr-link:hover {
    color: var(--clr-primary);
}

/* --- Contact --- */
.ftr-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.ftr-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-regular);
    color: #999;
    line-height: var(--lh-body);
}

.ftr-contact-icon {
    font-size: var(--fs-heading-md);
    line-height: var(--lh-button);
    flex-shrink: 0;
}

.ftr-contact-address {
    align-items: flex-start;
}
.ftr-contact-address .ftr-contact-icon {
    margin-top: 4px;
}

/* --- Bottom --- */
.ftr-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-xl) 0;
    border-top: 1px solid #222;
}

.ftr-copyright {
    font-size: var(--fs-caption-sm);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: #666;
    margin: 0;
}

.ftr-bottom-links {
    display: flex;
    gap: var(--sp-xl);
}

.ftr-bottom-link {
    font-size: var(--fs-caption-sm);
    font-weight: var(--fw-regular);
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ftr-bottom-link:hover {
    color: #fff;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
    .ftr-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-xxl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ftr-wrapper {
        padding-top: var(--sp-xl);
    }

    .ftr-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-xxl);
    }

    .ftr-bottom {
        flex-direction: column;
        gap: var(--sp-md);
        text-align: center;
    }
}

