﻿/* =========================================================
   SOUTHERN STAR ELECTRONICS — FOOTER
   ========================================================= */

.sse-site-footer {
    width: 100%;
    background: #06182d;
    color: #ffffff;
}

.sse-footer-main {
    padding: 58px 0 46px;
}

.sse-footer-container {
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
}

.sse-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
    gap: 50px;
}

/* Brand */

.sse-footer-brand img {
    display: block;
    width: 330px;
    max-width: 100%;
    height: auto;
    margin-bottom: 22px;
    background: #ffffff;
}

.sse-footer-brand p {
    max-width: 390px;
    margin: 0;
    color: #b9c9d8;
    font-size: 14px;
    line-height: 1.7;
}

/* Headings */

.sse-footer-column h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.sse-footer-column h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 9px;
    background: #ed1c24;
}

/* Menus */

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

.sse-footer-column li {
    margin: 0;
    padding: 0;
}

.sse-footer-column li + li {
    margin-top: 9px;
}

.sse-footer-column a {
    color: #c5d2de;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color .2s ease;
}

.sse-footer-column a:hover,
.sse-footer-column a:focus {
    color: #ffffff;
}

/* Contact */

.sse-footer-contact {
    display: grid;
    gap: 14px;
}

.sse-footer-contact-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
}

.sse-footer-contact-icon {
    color: #ed1c24;
    font-size: 17px;
    line-height: 1.4;
}

.sse-footer-contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sse-footer-contact-item a,
.sse-footer-contact-item span {
    color: #c5d2de;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.sse-footer-contact-item a:hover {
    color: #ffffff;
}

/* Certifications */

.sse-footer-certifications {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

.sse-footer-certifications img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 70px;
    height: auto;
    object-fit: contain;
}

/* Bottom bar */

.sse-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14);
    background: #041327;
}

.sse-footer-bottom-container {
    width: min(1420px, calc(100% - 48px));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sse-footer-copyright {
    margin: 0;
    color: #8fa2b5;
    font-size: 12px;
    line-height: 1.5;
}

.sse-footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sse-footer-legal a {
    color: #8fa2b5;
    font-size: 12px;
    text-decoration: none;
}

.sse-footer-legal a:hover,
.sse-footer-legal a:focus {
    color: #ffffff;
}

/* Responsive */

@media (max-width: 1000px) {
    .sse-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 35px;
    }
}

@media (max-width: 650px) {
    .sse-footer-main {
        padding: 48px 0 38px;
    }

    .sse-footer-container {
        width: min(100% - 28px, 1420px);
    }

    .sse-footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .sse-footer-brand img {
        width: 280px;
    }

    .sse-footer-bottom-container {
        width: min(100% - 28px, 1420px);
        min-height: auto;
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .sse-footer-legal {
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}

/* Keep certification badges at their natural width on mobile. */
@media (max-width: 767px) {
    .sse-footer-brand .sse-footer-certifications img {
        width: auto;
        height: auto;
        max-width: 150px;
        max-height: 70px;
        margin-bottom: 0;
        background: transparent;
    }
}
