/* ======================================================
   GMS GLOBAL FOOTER
   Industrial Editorial / B2B Procurement
   ====================================================== */

.gms-site-footer {
    position: relative;
    width: 100%;
    border-top: 5px solid var(--gms-red, #ed171c);
    background: var(--gms-navy, #071a3a);
    color: #ffffff;
}

.gms-footer-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

/* CTA FOOTER */

.gms-footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: #0b244c;
}

.gms-footer-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    padding-block: 48px;
}

.gms-footer-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9bbcff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.6px;
}

.gms-footer-label::before {
    content: "";
    width: 25px;
    height: 2px;
    background: var(--gms-red, #ed171c);
}

.gms-footer-cta h2 {
    max-width: 700px;
    margin: 13px 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.gms-footer-cta p {
    max-width: 700px;
    margin: 0;
    color: #c5d0df;
    font-size: 15px;
    line-height: 1.7;
}

.gms-footer-cta__actions {
    display: grid;
    gap: 10px;
    min-width: 220px;
}

.gms-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.gms-footer-button:hover {
    transform: translateY(-1px);
}

.gms-footer-button--primary {
    border-color: var(--gms-red, #ed171c);
    background: var(--gms-red, #ed171c);
    color: #ffffff !important;
}

.gms-footer-button--primary:hover {
    border-color: #c91217;
    background: #c91217;
}

.gms-footer-button--secondary {
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff !important;
}

.gms-footer-button--secondary:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--gms-navy, #071a3a) !important;
}

/* FOOTER MAIN */

.gms-footer-main {
    padding: 64px 0;
}

.gms-footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 0.75fr));
    gap: 48px;
}

.gms-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    min-height: 96px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: #ffffff;
}

.gms-footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.gms-footer-company {
    margin: 22px 0 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.gms-footer-description {
    max-width: 340px;
    margin: 0;
    color: #b9c6d8;
    font-size: 14px;
    line-height: 1.7;
}

.gms-footer-inline-link {
    display: inline-flex;
    margin-top: 18px;
    color: #9bbcff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.gms-footer-inline-link:hover {
    color: #ffffff !important;
}

.gms-footer-column h3 {
    margin: 0 0 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.gms-footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gms-footer-column li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.gms-footer-column a {
    display: flex;
    align-items: center;
    min-height: 43px;
    color: #b9c6d8 !important;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none !important;
    transition:
        color 180ms ease,
        padding-left 180ms ease;
}

.gms-footer-column a::before {
    content: "";
    width: 0;
    height: 1px;
    margin-right: 0;
    background: var(--gms-red, #ed171c);
    transition:
        width 180ms ease,
        margin-right 180ms ease;
}

.gms-footer-column a:hover {
    padding-left: 2px;
    color: #ffffff !important;
}

.gms-footer-column a:hover::before {
    width: 13px;
    margin-right: 8px;
}

/* FOOTER BOTTOM */

.gms-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: #05152f;
}

.gms-footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    min-height: 67px;
}

.gms-footer-bottom p {
    margin: 0;
    color: #8fa0b7;
    font-size: 12px;
}

.gms-footer-bottom p + p {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.gms-footer-bottom a {
    margin-left: auto;
    color: #b9c6d8 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.gms-footer-bottom a:hover {
    color: #ffffff !important;
}

/* TABLET */

@media (max-width: 900px) {
    .gms-footer-cta__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gms-footer-cta__actions {
        display: flex;
        flex-wrap: wrap;
        min-width: 0;
    }

    .gms-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px 32px;
    }

    .gms-footer-brand {
        grid-column: 1 / -1;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .gms-footer-container {
        width: min(100% - 30px, 1200px);
    }

    .gms-footer-cta__inner {
        padding-block: 38px;
    }

    .gms-footer-cta h2 {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

    .gms-footer-cta__actions {
        display: grid;
        width: 100%;
    }

    .gms-footer-button {
        width: 100%;
    }

    .gms-footer-main {
        padding: 48px 0 38px;
    }

    .gms-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .gms-footer-brand {
        grid-column: auto;
    }

    .gms-footer-description {
        max-width: none;
    }

    .gms-footer-bottom__inner {
        display: grid;
        gap: 8px;
        padding-block: 20px;
    }

    .gms-footer-bottom p + p {
        padding-left: 0;
        border-left: 0;
    }

    .gms-footer-bottom a {
        margin-left: 0;
        margin-top: 5px;
    }
}