/* ==========================================
   FOOTER DESIGN SYSTEM
   Pixel-perfect footer layout matching MCSUL spec
========================================== */
.site-footer { background-color: #0c1017; color: #ffffff; padding: 68px 0 40px; font-family: "Poppins"; -webkit-font-smoothing: antialiased;
}

.footer-container {  width: 100%;  max-width: 1240px;  margin: 0 auto;  padding: 0 32px;
}


/* ==========================================
   TOP FOOTER (COLUMNS GRID)
========================================== */

.footer-top {  display: grid;  grid-template-columns: 280px repeat(4, 1fr);  gap: 44px;  align-items: flex-start;
}

/* ==========================================
   BRAND COLUMN
========================================== */

.footer-brand {  max-width: 250px;
}

.footer-logo {  display: inline-block;  margin-bottom: 20px;  text-decoration: none;
}

.footer-logo img {  display: block;  width: auto;  max-height: 44px;  height: auto;  filter: brightness(0) invert(1);
}

.footer-description {  color: #ffffff;  font-size: 13px;  line-height: 1.6;
}

/* ==========================================
   FOOTER COLUMN & HEADINGS
========================================== */

.footer-column { display: flex; flex-direction: column;
}

.footer-title {  margin: 0 0 18px;  color: #ffffff;  font-size: 12px;  font-weight: 700;  line-height: 1.2;  text-transform: uppercase;  letter-spacing: 0.08em;
}

/* ==========================================
   FOOTER NAVIGATION MENU
========================================== */

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

.footer-menu li {  margin: 0 0 12px;  padding: 0;
}

.footer-menu li:last-child {  margin-bottom: 0;
}

.footer-menu li a {  display: inline-block;  color: #ffffff;  font-size: 14px;  line-height: 1.5;  text-decoration: none;  transition: color 0.15s ease;
}

.footer-menu li a:hover {  color: #ffffff;
}


/* ==========================================
   DIVIDERS
========================================== */

.footer-divider {  width: 100%;  height: 1px;  background-color: rgba(255, 255, 255, 0.12);
}

.footer-top + .footer-divider { margin: 48px 0 24px;
}

.footer-copyright + .footer-divider {  margin: 24px 0 24px;
}


/* ==========================================
   COPYRIGHT BAR
========================================== */

.footer-copyright { display: flex; align-items: center; justify-content: space-between;  gap: 20px;
}

.copyright-left { display: flex; align-items: center; gap: 8px; color: #ffffff; font-size: 12px;
}

.copyright-separator { color: #ffffff;
}

.footer-email {  color: #ffffff;  font-size: 12px;  text-decoration: none;  transition: color 0.15s ease;
}

.footer-email:hover { color: #ffffff;
}


/* ==========================================
   TRADEMARK DISCLAIMER
========================================== */

.footer-trademark {  color: #ffffff;  font-size: 12px;  line-height: 1.5;  text-align: center;  letter-spacing: 0.01em;
}


/* ==========================================
   TABLET & MOBILE RESPONSIVE
========================================== */

@media (max-width: 1024px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        grid-template-columns: 240px repeat(4, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0 32px;
    }

    .site-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .site-footer .footer-brand {
        margin-bottom: 12px;
    }

    .site-footer .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 8px;
    }

    .site-footer .footer-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        padding: 10px 0;
        user-select: none;
    }

    .site-footer .footer-title::after {
        content: '+';
        font-size: 16px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.6);
        transition: transform 0.2s ease;
    }

    .site-footer .footer-column.is-active .footer-title::after {
        content: '−';
    }

    .site-footer .footer-column .footer-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        padding-top: 0;
    }

    .site-footer .footer-column.is-active .footer-menu {
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .footer-top + .footer-divider {
        margin: 32px 0 20px;
    }

    .footer-copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}