.primend-footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
}

.primend-footer a {
    color: #fff;
    text-decoration: none;
}


/* ÜLEMINE OSA */

.primend-footer-top {
    position: relative;
    padding: 70px 0 65px;
    background: #182f48;
}

.primend-footer-logo {
    display: inline-block;
    margin-bottom: 8px;
}

.primend-footer-logo img {
    display: block;
    height: auto;
}

.primend-footer-brand p {
    max-width: 285px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.65;
}

.primend-footer-heading {
    margin-bottom: 16px;
    color: #e84e1b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.primend-footer-contact-list,
.primend-footer-menu,
.primend-footer-menu-group ul,
.primend-office-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primend-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

.primend-footer-contact-list i {
    flex: 0 0 14px;
    margin-top: 3px;
    color: #fff;
}

.primend-footer-menu-group {
    margin-bottom: 32px;
}

.primend-footer-menu-group:last-child {
    margin-bottom: 0;
}

.primend-footer-menu-group h4 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.primend-footer-menu li,
.primend-footer-menu-group li {
    margin-bottom: 7px;
}

.primend-footer-menu a,
.primend-footer-menu-group a {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    transition: color .2s ease;
}

.primend-footer-menu a:hover,
.primend-footer-menu-group a:hover,
.primend-footer-contact-list a:hover {
    color: #e84e1b;
}


/* ALUMINE OSA */

.primend-footer-bottom {
    position: relative;
    padding: 30px 0 18px;
    background: #14263a;
}

.primend-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 45px;
}

.primend-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.primend-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    transition: color .2s ease, transform .2s ease;
}

.primend-footer-socials a:hover {
    color: #e84e1b;
    transform: translateY(-2px);
}

.primend-footer-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.primend-footer-login,
.primend-footer-ticket {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.primend-footer-login {
    color: #fff;
    background: #e84e1b;
    border: 1px solid #e84e1b;
}

.primend-footer-login:hover {
    color: #fff;
    background: #ce4216;
    border-color: #ce4216;
}

.primend-footer-ticket {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .4);
}

.primend-footer-ticket:hover {
    color: #14263a;
    background: #fff;
    border-color: #fff;
}


/* KONTORID */

.primend-footer-offices h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.primend-office-row {
    overflow: hidden;
    background: #3d4e60;
    border: 1px solid #3d4e60;
    border-radius: 12px;
}

.primend-office-card {
    height: 100%;
    min-height: 158px;
    padding: 24px 24px 22px;
    background: #3d4e60;
    border-right: 1px solid rgba(255, 255, 255, .13);
}

.primend-office-row > div:last-child .primend-office-card {
    border-right: 0;
}

.primend-office-country {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    color: #e84e1b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.primend-office-country span {
    display: inline-flex;
    padding: 3px 7px;
    color: #fff;
    background: #e84e1b;
    border-radius: 999px;
    font-size: 8px;
    letter-spacing: .06em;
}

.primend-office-card h4 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .08em;
}

.primend-office-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.4;
}

.primend-office-card li:last-child {
    margin-bottom: 0;
}

.primend-office-card i {
    flex: 0 0 13px;
    margin-top: 2px;
    color: #fff;
}

.primend-office-card a:hover {
    color: #e84e1b;
}


/* ALUMINE LEGAL RIDA */

.primend-footer-legal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

.primend-footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.primend-footer-legal-links a {
    color: rgba(255, 255, 255, .7);
}

.primend-footer-legal-links a:hover {
    color: #fff;
}

.primend-footer-legal-links a:not(:nth-of-type(n+5)) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 4px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 3px;
}

.primend-footer-legal-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .45);
}


/* TABLET */

@media (max-width: 991.98px) {

    .primend-footer-top {
        padding: 60px 0;
    }

    .primend-office-row {
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .primend-office-row > div {
        padding: 6px;
    }

    .primend-office-card {
        border: 1px solid #3d4e60;
        border-radius: 10px;
    }

    .primend-footer-legal-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .primend-footer-legal-links {
        justify-content: flex-start;
    }
}


/* MOBIIL */

@media (max-width: 767.98px) {

    .primend-footer-top {
        padding: 48px 0;
    }

    .primend-footer-bottom {
        padding-top: 28px;
    }

    .primend-footer-actions {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 38px;
    }

    .primend-footer-buttons {
        width: 100%;
    }

    .primend-footer-login,
    .primend-footer-ticket {
        flex: 1 1 50%;
    }

    .primend-office-card {
        min-height: auto;
        padding: 22px;
    }
}


/* VÄIKE MOBIIL */

@media (max-width: 479.98px) {

    .primend-footer-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .primend-footer-login,
    .primend-footer-ticket {
        width: 100%;
    }
}

.primend-span-color {
	color: rgba(255, 255, 255, .78);
}

.footer-logo {
    max-width: 185px;
    margin-bottom: 0px;
}