﻿/* =========================
   FOOTER - WHITE VERSION
   ========================= */

.mp-footer {
    --f-bg: #ffffff;
    --f-line: #e8edf3;
    --f-line-strong: #dde5ee;
    --f-head: #0f172a;
    --f-text: #475569;
    --f-link: #334155;
    --f-hover: #0f172a;
    --f-muted: #7b8794;
    /*--f-box: #f8fafc;*/
    --f-box-border: #e7edf4;
    /*--f-pattern: rgba(15, 23, 42, 0.045);*/
    position: relative;
    overflow: hidden;
    background: var(--f-bg);
    border-top: 1px solid var(--f-line-strong);
}

.mp-footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--f-line-strong);
    z-index: 3;
}

.mp-footer-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(var(--f-pattern) 1px, transparent 1px), linear-gradient(90deg, var(--f-pattern) 1px, transparent 1px);
    background-size: 110px 110px;
    opacity: 0.5;
}

.mp-container {
    width: min(1320px, calc(100% - 32px));
    margin-inline: auto;
    position: relative;
    z-index: 2;
}

/* top */
.mp-footer-head {
    padding: 46px 0 22px;
}

.mp-footer-head-inner {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 12px;
}

.mp-footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mp-footer-logo {
    height: 38px;
    width: auto;
    display: block;
}

.mp-footer-tagline {
    margin: 0;
    max-width: 760px;
    color: var(--f-text);
    font-size: 15px;
    line-height: 1.8;
}

.mp-footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2px;
}

.mp-social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--f-head);
    border: 1px solid var(--f-box-border);
    background: rgba(255, 255, 255, 0.88);
    transition: all .18s ease;
}

    .mp-social svg {
        width: 18px;
        height: 18px;
    }

    .mp-social:hover {
        transform: translateY(-2px);
        border-color: #cfd9e5;
        background: #f8fafc;
    }

.mp-footer-head-sep {
    display: none;
}

/* body */
.mp-footer-body {
    padding: 12px 0 26px;
}

.mp-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.35fr;
    gap: 28px;
    padding: 18px 0 18px;
    border-top: 1px solid var(--f-line);
}

.mp-footer-col {
    min-width: 0;
}

.mp-footer-title {
    color: var(--f-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mp-footer-link {
    display: block;
    padding: 8px 0;
    color: var(--f-link);
    text-decoration: none;
    line-height: 1.6;
    transition: all .16s ease;
}

    .mp-footer-link:hover {
        color: var(--f-hover);
        transform: translateX(3px);
    }

/* contact */
.mp-footer-col--contact {
    padding-left: 10px;
    border-left: 1px solid var(--f-line);
}

.mp-footer-contact {
    display: grid;
    gap: 10px;
}

.mp-footer-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid var(--f-box-border);
    background: var(--f-box);
    color: var(--f-head);
    text-decoration: none;
    transition: all .16s ease;
}

    .mp-footer-contact-row:hover {
        border-color: #d7e0ea;
        background: #f3f7fb;
    }

    .mp-footer-contact-row.is-static:hover {
        transform: none;
    }

.mp-ci {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    border: 1px solid #dde5ee;
    background: #ffffff;
    color: var(--f-head);
    flex: 0 0 auto;
}

    .mp-ci svg {
        width: 18px;
        height: 18px;
    }

/* newsletter */
.mp-footer-news {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--f-line);
}

.mp-footer-news-title {
    color: var(--f-head);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mp-footer-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mp-footer-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #dce5ee;
    background: #ffffff;
    color: var(--f-head);
    outline: none;
    font: inherit;
}

    .mp-footer-input::placeholder {
        color: var(--f-muted);
    }

    .mp-footer-input:focus {
        border-color: #cfd9e5;
        background: #ffffff;
    }

.mp-footer-btn {
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #dce5ee;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all .16s ease;
}

    .mp-footer-btn:hover {
        background: #111827;
        border-color: #111827;
        transform: translateY(-1px);
    }

.mp-footer-mini {
    margin-top: 8px;
    color: var(--f-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* mobile accordion hidden desktop */
.mp-footer-mobile {
    display: none;
}

/* bottom */
.mp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 18px;
    margin-top: 8px;
    border-top: 1px solid var(--f-line);
}

.mp-footer-copy {
    color: var(--f-muted);
    font-size: 14px;
    line-height: 1.6;
}

.mp-footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mp-footer-legal-link {
    color: var(--f-link);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 10px;
    transition: all .16s ease;
}

    .mp-footer-legal-link:hover {
        color: var(--f-head);
        background: #f8fafc;
    }

.mp-footer-sep {
    color: #b6c0cb;
}

.mp-footer-toplink {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--f-head);
    border: 1px solid var(--f-box-border);
    background: #ffffff;
    transition: all .16s ease;
}

    .mp-footer-toplink:hover {
        background: #f8fafc;
        border-color: #d6e0ea;
        transform: translateY(-1px);
    }

/* mobile accordion */
.mp-footer-acc {
    border-bottom: 1px solid var(--f-line);
}

    .mp-footer-acc:last-child {
        border-bottom: 0;
    }

.mp-footer-acc-title {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 34px 18px 0;
    color: var(--f-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

    .mp-footer-acc-title::-webkit-details-marker {
        display: none;
    }

    .mp-footer-acc-title::after {
        content: "+";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        color: var(--f-head);
        font-size: 22px;
        line-height: 1;
        font-weight: 400;
        transition: transform .2s ease;
    }

.mp-footer-acc[open] .mp-footer-acc-title::after {
    content: "−";
}

.mp-footer-acc-body {
    padding: 0 0 14px;
}

    .mp-footer-acc-body .mp-footer-link {
        padding: 8px 0;
    }

/* responsive */
@media (max-width: 1100px) {
    .mp-footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .mp-footer-col--contact {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid var(--f-line);
        padding-left: 0;
        padding-top: 18px;
        margin-top: 4px;
    }
}

@media (max-width: 768px) {
    .mp-footer-head {
        padding: 38px 0 18px;
    }

    .mp-footer-desktop {
        display: none;
    }

    .mp-footer-mobile {
        display: block;
        border-top: 1px solid var(--f-line);
        padding-top: 2px;
    }

    .mp-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .mp-footer-toplink {
        margin-left: 0;
    }
}

@media (max-width: 540px) {
    .mp-container {
        width: min(100% - 24px, 1320px);
    }

    .mp-footer-form {
        flex-direction: column;
        align-items: stretch;
    }

    .mp-footer-btn {
        width: 100%;
    }

    .mp-footer-logo {
        height: 34px;
    }

    .mp-footer-tagline {
        font-size: 14px;
    }
}
