/**
 * meCloud footer — brand left + Links rápidos right (white)
 */

.mecloud-footer {
    background: #ffffff;
    color: #1d1d1f;
    padding: 48px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mecloud-footer .container {
    max-width: 1200px;
}

.mecloud-footer__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px 48px;
}

.mecloud-footer__brand {
    flex: 1 1 260px;
    max-width: 380px;
}

.mecloud-footer__logo,
.mecloud-footer__logo img {
    display: block;
    max-height: 40px;
    width: auto;
    margin: 0 0 16px;
}

.mecloud-footer__desc {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    color: #1d1d1f;
}

.mecloud-footer__desc--muted {
    color: #6e6e73;
}

.mecloud-footer__links {
    flex: 0 1 200px;
}

.mecloud-footer__lang {
    flex: 0 1 180px;
}

.mecloud-footer__lang-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 220px;
}

.mecloud-footer__lang-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid #6e6e73;
    border-bottom: 2px solid #6e6e73;
    transform: rotate(45deg);
    pointer-events: none;
}

.mecloud-footer__lang-select {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 36px 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    background: #ffffff !important;
    background-image: none !important;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer;
}

.mecloud-footer__lang-select::-ms-expand {
    display: none;
}

.mecloud-footer__lang-wrap:hover::after,
.mecloud-footer__lang-select:focus + .mecloud-footer__lang-wrap::after,
.mecloud-footer__lang-wrap:focus-within::after {
    border-color: #1a8a7c;
}

.mecloud-footer__lang-select:hover,
.mecloud-footer__lang-select:focus {
    border-color: #1a8a7c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 138, 124, 0.15);
}

.mecloud-footer__links-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #1d1d1f;
}

.mecloud-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mecloud-footer__list a {
    color: #424245 !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.mecloud-footer__list a:hover,
.mecloud-footer__list a:focus,
.mecloud-footer__list a.is-active {
    color: #1a8a7c !important;
}

.mecloud-footer__list a.is-active {
    font-weight: 600;
}

/* Harmonize Lagom footer-bottom under meCloud block */
.main-footer .mecloud-footer + .footer-bottom {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 20px;
    padding-bottom: 24px;
}

.main-footer .mecloud-footer + .footer-bottom .footer-copyright,
.main-footer .mecloud-footer + .footer-bottom .footer-nav a,
.main-footer .mecloud-footer + .footer-bottom .footer-nav span {
    color: #6e6e73 !important;
}

@media (max-width: 767.98px) {
    .mecloud-footer {
        padding: 36px 0 28px;
    }

    .mecloud-footer__grid {
        flex-direction: column;
        gap: 32px;
    }

    .mecloud-footer__brand,
    .mecloud-footer__links {
        max-width: none;
        width: 100%;
    }
}
