/* =========================================================
   ELMAX-IT - CUSTOM FOOTER
   ========================================================= */

.elmax-site-footer {
    --ef-primary: #4f6df5;
    --ef-primary-dark: #3851cf;
    --ef-navy: #10182f;
    --ef-white: #ffffff;
    --ef-text: #c7cede;
    --ef-muted: #8f99af;
    --ef-border: rgba(255,255,255,.10);
    --ef-card: rgba(255,255,255,.055);

    position: relative !important;
    inset: auto !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--ef-navy) !important;
    color: var(--ef-text);
    font-family: inherit;
    line-height: 1.65;
    transform: none !important;
}

.elmax-site-footer *,
.elmax-site-footer *::before,
.elmax-site-footer *::after { box-sizing: border-box; }

.elmax-site-footer a { text-decoration: none; }

.elmax-footer-main,
.elmax-footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

/* MAIN */
.elmax-footer-main {
    display: grid;
    gap: 42px;
    padding: 62px 0 62px !important;
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,.9fr);
}

.elmax-footer-brand-name {
    display: inline-block;
    color: #fff !important;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.elmax-footer-brand > p {
    max-width: 360px;
    margin: 18px 0 0;
    color: var(--ef-text) !important;
    font-size: 15px;
    line-height: 1.75;
}

.elmax-footer-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--ef-muted);
    font-size: 14px;
    font-weight: 700;
}

.elmax-footer-location > span {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #57d39a;
    box-shadow: 0 0 0 5px rgba(87,211,154,.10);
}

.elmax-footer-review-card {
    display: inline-flex;
    width: 100%;
    max-width: 285px;
    flex-direction: column;
    gap: 7px;
    margin-top: 25px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    color: #fff !important;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.elmax-footer-review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(79,109,245,.48);
    background: rgba(255,255,255,.07);
}

.elmax-footer-review-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    line-height: 1;
}

.elmax-footer-review-google {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.elmax-footer-review-stars {
    color: #fbbc04;
    font-size: 14px;
    letter-spacing: 1.5px;
}

.elmax-footer-review-card > strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.elmax-footer-review-link {
    color: #aeb9ff;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
}

.elmax-footer-review-card:hover .elmax-footer-review-link {
    color: #fff;
}

.elmax-footer-column h3 {
    margin: 0 0 18px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
}

.elmax-footer-column .elmax-footer-subheading { margin-top: 29px; }

.elmax-footer-column ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.elmax-footer-column li a {
    display: inline-block;
    color: var(--ef-text) !important;
    font-size: 14px;
    line-height: 1.45;
    transition: color .2s ease, transform .2s ease;
}

.elmax-footer-company li a {
    overflow-wrap: anywhere;
}

.elmax-footer-column li a:hover {
    color: #fff !important;
    transform: translateX(3px);
}

.elmax-footer-link {
    display: inline-block;
    color: var(--ef-text) !important;
    font-size: 14px;
    line-height: 1.45;
    transition: color .2s ease, transform .2s ease;
}

.elmax-footer-link:hover {
    color: #fff !important;
}

/* BOTTOM */
.elmax-footer-bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid var(--ef-border);
    color: var(--ef-muted);
    font-size: 13px;
}

.elmax-footer-bottom a {
    color: var(--ef-muted) !important;
    font-size: 13px;
}

.elmax-footer-bottom a:hover { color: #fff !important; }

@media (max-width:1050px) {
    .elmax-footer-main {
        gap: 42px 36px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:780px) {
    .elmax-footer-main,
    .elmax-footer-bottom {
        width: min(100% - 28px,1180px);
    }

    .elmax-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 26px;
        padding: 46px 0 48px !important;
    }

    .elmax-footer-brand,
    .elmax-footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width:560px) {
    .elmax-footer-review-card {
        max-width: 100%;
    }

    .elmax-footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .elmax-footer-brand,
    .elmax-footer-company {
        grid-column: auto;
    }

    .elmax-footer-bottom {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 0 26px;
    }
}
