/* --- FOOTER GENERAL STYLES --- */
.shifman-footer {
    background-color: #f7f5f2; /* Matches the neutral grey/beige background */
    padding: 60px 8% 40px;
    font-family: 'Inter', sans-serif;
    color: #444;
}

.footer-branding {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #1a0f0d;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-socials {
    margin-bottom: 30px;
}

.footer-socials a {
    margin: 0 12px;
    color: #1a0f0d;
    font-size: 18px;
    transition: opacity 0.3s;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #dcdad7; /* Subtle divider seen in screenshots */
    margin: 30px 0;
}

/* --- DESKTOP LINK COLUMNS --- */
.footer-main-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    color: #1a0f0d;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.3s;
}

.company-info p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 5px;
    color: #555;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    font-size: 12px;
    color: #888;
}

/* --- MOBILE ACCORDION STYLES --- */
@media (max-width: 768px) {
    .shifman-footer {
        padding: 40px 20px;
        background-color: #f7f5f2;
    }

    .footer-main-links {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        border-bottom: 1px solid #dcdad7; /* Accordion borders */
    }

    .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 0;
        margin-bottom: 0 !important;
        cursor: pointer;
        font-size: 18px;
    }

    .toggle-icon {
        font-size: 22px;
        font-weight: 300;
    }

    .accordion-content {
        display: none; /* Hidden by default on mobile */
        padding: 5px 0 20px 15px;
    }

    .company-info {
        border-bottom: none;
        padding-top: 30px;
    }
    
    .footer-top .footer-divider {
        display: none; /* Hide top divider on mobile to match image */
    }
}

/* --- DESKTOP VIEW (Static) --- */
@media (min-width: 769px) {
    .accordion-content {
        display: block !important; /* Always show links on desktop */
        grid-template-rows: none !important;
    }

    .toggle-icon {
        display: none; /* Hide the + icon on desktop */
    }

    .accordion-header {
        cursor: default; /* Remove pointer since it's not clickable on desktop */
        pointer-events: none; /* Disables click events on desktop */
    }
}

/* --- FOOTER UTILITY BAR --- */
.footer-utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    width: 100%;
}

/* Force each child to be exactly 1/3 of the container width */
.footer-monogram,
.footer-socials-minimal,
.footer-copyright {
    flex: 1;
}

/* Align Monogram to the Left */
.footer-monogram {
    text-align: left;
}

.footer-monogram img {
    height: 35px;
    width: auto;
}

/* EXACT CENTER for Socials */
.footer-socials-minimal {
    text-align: center;
}

.footer-socials-minimal a {
    margin: 0 12px;
    color: #1a0f0d;
    font-size: 18px;
    transition: opacity 0.3s;
}

/* Align Copyright to the Right */
.footer-copyright {
    text-align: right;
}

.copyright-text {
    font-size: 11px;
    color: #888;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- MOBILE STACKING --- */
@media (max-width: 768px) {
    .footer-utility-bar {
        flex-direction: column;
        gap: 25px;
    }

    .footer-monogram,
    .footer-socials-minimal,
    .footer-copyright {
        text-align: center;
        flex: none;
        width: 100%;
    }
    
    .footer-socials-minimal a {
        margin: 0 15px; /* Slightly more space for fingers on mobile */
    }
}