/* Shared MomMirror footer */
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("/fonts/app-typography/nunito-variable-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Nunito";
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url("/fonts/app-typography/nunito-variable-italic-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/app-typography/lora-variable-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Lora";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("/fonts/app-typography/lora-variable-italic-latin.woff2") format("woff2");
}

.footer--professional {
    position: relative;
    isolation: isolate;
    min-height: 0;
    overflow: hidden;
    padding: clamp(4rem, 7vw, 5.5rem) 0 1.5rem;
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at 9% 5%, rgba(127, 255, 212, 0.12), transparent 27rem),
        radial-gradient(circle at 92% 110%, rgba(255, 127, 127, 0.11), transparent 32rem),
        linear-gradient(118deg, #3d3348 0%, #493d53 54%, #34534e 118%);
    font-family: "Nunito", "Avenir Next", system-ui, sans-serif;
}

.footer--professional::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #ff8f94, #deb1d1 48%, #72d4af);
}

.footer--professional .footer__inner {
    position: relative;
    z-index: 1;
    width: min(1150px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

.footer--professional .footer__top {
    display: grid;
    grid-template-columns: minmax(250px, 0.95fr) minmax(560px, 1.75fr);
    gap: clamp(4rem, 8vw, 7.5rem);
    align-items: start;
}

.footer--professional .footer__brand {
    max-width: 340px;
}

.footer--professional .footer__logo-link {
    display: inline-block;
    border-radius: 8px;
}

.footer--professional .footer__logo {
    width: 190px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer--professional .footer__brand-copy {
    max-width: 330px;
    margin: 1.45rem 0 1.55rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    line-height: 1.75;
    text-align: left;
    font-family: "Lora", Georgia, serif;
}

.footer--professional .footer__socials {
    display: flex;
    gap: 0.65rem;
}

.footer--professional .footer__socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.02rem;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer--professional .footer__socials a:hover {
    border-color: #89dfbf;
    color: #2f4743;
    background: #89dfbf;
    transform: translateY(-2px);
}

.footer--professional .footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
}

.footer--professional .footer__nav-group h2 {
    margin: 0 0 1.2rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-shadow: none;
}

.footer--professional .footer__nav-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer--professional .footer__nav-group li {
    margin: 0.72rem 0;
}

.footer--professional .footer__nav-group a {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Nunito", "Avenir Next", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 480;
    line-height: 1.45;
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer--professional .footer__nav-group a:hover {
    color: #fff;
    text-decoration: underline;
    transform: translateX(3px);
}

.footer--professional .footer__socials a:focus-visible,
.footer--professional .footer__nav-group a:focus-visible,
.footer--professional .footer__store-links a:focus-visible,
.footer--professional .footer__logo-link:focus-visible,
.footer--professional .language-picker__button:focus-visible {
    outline: 3px solid rgba(137, 223, 191, 0.72);
    outline-offset: 4px;
}

.footer--professional .footer__utility {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer--professional .footer__download {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer--professional .footer__utility-label,
.footer--professional .language-picker__label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer--professional .footer__store-links {
    display: flex;
    gap: 0.6rem;
}

.footer--professional .footer__store-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.65rem;
    padding: 0.68rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.065);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer--professional .footer__store-links a:hover {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.footer--professional .footer__store-links i {
    color: #fff;
    font-size: 1.05rem;
}

.footer--professional .footer-language {
    display: block;
}

.footer--professional .language-picker {
    display: grid;
    grid-template-columns: auto 230px;
    gap: 0.35rem 0.85rem;
    align-items: center;
    margin: 0;
    font-family: inherit;
}

.footer--professional .language-picker__label {
    color: rgba(255, 255, 255, 0.62);
}

.footer--professional .language-picker__control {
    position: relative;
    display: block;
}

.footer--professional .language-picker__button {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.065);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 550;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer--professional .language-picker__button:hover,
.footer--professional .language-picker__control.is-open .language-picker__button {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.footer--professional .language-picker__globe,
.footer--professional .language-picker__icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.68);
}

.footer--professional .language-picker__value {
    flex: 1;
}

.footer--professional .language-picker__icon {
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer--professional .language-picker__control.is-open .language-picker__icon {
    color: #fff;
    transform: rotate(180deg);
}

.footer--professional .language-picker__list {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.65rem);
    left: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(37, 31, 46, 0.97);
    list-style: none;
    box-shadow: 0 20px 50px rgba(16, 12, 32, 0.35);
    backdrop-filter: blur(16px);
}

.footer--professional .language-picker__list.is-visible {
    display: flex;
}

.footer--professional .language-picker__option {
    padding: 0.6rem 0.75rem;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 520;
    cursor: pointer;
}

.footer--professional .language-picker__option:hover,
.footer--professional .language-picker__option:focus {
    outline: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.footer--professional .language-picker__option.is-active {
    color: #fff;
    background: rgba(137, 223, 191, 0.18);
}

.footer--professional .language-picker__hint {
    grid-column: 2;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.7rem;
    line-height: 1.4;
}

.footer--professional .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.4rem 0 0;
    padding: 1.4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.75rem;
    text-align: left;
}

.footer--professional .footer-bottom p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .footer--professional .footer__top {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .footer--professional .footer__brand {
        max-width: 520px;
    }

    .footer--professional .footer__utility {
        grid-template-columns: 1fr;
    }

    .footer--professional .footer-language {
        max-width: 390px;
    }
}

@media (max-width: 640px) {
    .footer--professional {
        padding: 3.4rem 0 1.25rem;
    }

    .footer--professional .footer__inner {
        width: min(100% - 32px, 1150px);
    }

    .footer--professional .footer__top {
        gap: 2.9rem;
    }

    .footer--professional .footer__logo {
        width: 172px;
    }

    .footer--professional .footer__brand-copy {
        margin-block: 1.25rem 1.35rem;
        font-size: 0.88rem;
    }

    .footer--professional .footer__socials a {
        width: 40px;
        height: 40px;
    }

    .footer--professional .footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.25rem;
    }

    .footer--professional .footer__nav-group--wide {
        grid-column: 1 / -1;
    }

    .footer--professional .footer__nav-group--wide ul {
        columns: 2;
        column-gap: 1.25rem;
    }

    .footer--professional .footer__nav-group--wide li {
        break-inside: avoid;
    }

    .footer--professional .footer__nav-group a {
        font-size: 0.86rem;
    }

    .footer--professional .footer__utility {
        gap: 1.55rem;
        margin-top: 2.8rem;
        padding: 1.2rem;
        border-radius: 17px;
    }

    .footer--professional .footer__download {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.7rem;
    }

    .footer--professional .footer__store-links {
        width: 100%;
    }

    .footer--professional .footer__store-links a {
        flex: 1;
        justify-content: center;
        padding-inline: 0.65rem;
    }

    .footer--professional .footer-language {
        max-width: none;
    }

    .footer--professional .language-picker {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .footer--professional .language-picker__hint {
        grid-column: 1;
    }

    .footer--professional .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
        padding-inline: 0.5rem;
    }
}

@media (max-width: 360px) {
    .footer--professional .footer__nav {
        gap-inline: 0.9rem;
    }

    .footer--professional .footer__nav-group a {
        font-size: 0.82rem;
    }

    .footer--professional .footer__store-links {
        flex-direction: column;
    }

    .footer--professional .footer__store-links a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer--professional a,
    .footer--professional button,
    .footer--professional .language-picker__icon {
        transition: none;
    }
}
