/* =========================================================
   DNC LOGISTICS — FOOTER
   Values/design adapted from the uploaded reference CSS.
   Current HTML classes are preserved.
========================================================= */

.footer {
    width: 100%;
    background: #071923;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 38px 0 0;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #45cfc2;
}


/* =========================================================
   MAIN
========================================================= */

.footer-main {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr 1.2fr;

    gap: 42px;

    padding-bottom: 32px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    max-width: 390px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;
}

.footer-logo img {
    display: block;
    width: 125px;
    height: auto;
    object-fit: contain;
}

.footer-brand > p {
    max-width: 390px;

    margin: 0 0 18px;

    color: #9fb5ba;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   QUOTE BUTTON
========================================================= */

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    padding: 12px 20px;

    background: #0b817d;
    border: 1px solid #0b817d;
    border-radius: 3px;

    color: #ffffff;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s ease;
}

.footer-cta span {
    font-size: 17px;
    transition: 0.3s ease;
}

.footer-cta:hover {
    background: transparent;
    border-color: #45cfc2;
    color: #45cfc2;

    transform: none;
}

.footer-cta:hover span {
    transform: translate(4px, -4px);
}


/* =========================================================
   COLUMNS
========================================================= */

.footer-column {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    position: relative;

    margin: 0 0 21px;

    color: #ffffff;

    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 8px;

    background: #45cfc2;
}


/* =========================================================
   LINKS
========================================================= */

.footer-column > a {
    position: relative;

    display: block;
    width: fit-content;

    margin-bottom: 10px;

    color: #9fb5ba;

    text-decoration: none;

    font-size: 13px;
    line-height: 1.5;

    transition: 0.3s ease;
}

.footer-column > a::before {
    content: "→";

    display: inline-block;

    width: 0;
    margin-right: 0;

    color: #45cfc2;

    opacity: 0;

    transition: 0.3s ease;
}

.footer-column > a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-column > a:hover::before {
    width: 16px;
    opacity: 1;
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact {
    max-width: 320px;
}

.footer-contact p {
    margin: 0 0 12px;

    color: #9fb5ba;

    font-size: 13px;
    line-height: 1.6;

    transition: 0.3s ease;
}

.footer-contact p:hover {
    color: #45cfc2;
}


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    width: 90%;
    max-width: 1200px;

    min-height: 52px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;

    color: #718b90;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-social {
    display: flex;
    align-items: center;

    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;

    color: #b9cbcf;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #0b817d;
    border-color: #0b817d;
    color: #ffffff;

    transform: translateY(-4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .footer-main {
        width: 92%;

        grid-template-columns: 1.4fr 1fr 1fr;

        gap: 32px;
    }

    .footer-contact {
        grid-column: span 3;

        max-width: 100%;
    }

    .footer-bottom {
        width: 92%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .footer {
        padding-top: 38px;
    }

    .footer-main {
        width: calc(100% - 40px);

        grid-template-columns: 1fr 1fr;

        gap: 30px 22px;

        padding-bottom: 30px;
    }

    .footer-brand {
        grid-column: span 2;

        max-width: 100%;
    }

    .footer-brand > p {
        max-width: 100%;

        font-size: 13px;
        line-height: 1.7;
    }

    .footer-contact {
        grid-column: span 2;

        max-width: 100%;
    }

    .footer-column > a {
        font-size: 13px;
    }

    .footer-contact p {
        font-size: 13px;
    }

    .footer-bottom {
        width: calc(100% - 40px);

        flex-direction: column;

        justify-content: center;

        gap: 8px;

        min-height: auto;

        padding: 16px 0;

        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .footer {
        padding-top: 34px;
    }

    .footer-main {
        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        gap: 28px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-brand > p {
        font-size: 13px;
    }

    .footer-cta {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .footer-column > a {
        font-size: 13px;
    }

    .footer-contact p {
        font-size: 13px;
    }

    .footer-bottom {
        width: calc(100% - 30px);
    }

    .footer-bottom p {
        font-size: 10px;
        line-height: 1.5;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .footer-main,
    .footer-bottom {
        width: calc(100% - 24px);
    }

    .footer-main {
        gap: 24px;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
    }
}
