/* Shared branded footer treatment for all Citiwell Montenegro pages. */
.site-footer--prototype.footer {
    padding: 36px 0 18px !important;
    color: #f7fbfd;
    background: #10263a;
    border-top: 3px solid #42b8c7;
}

.site-footer--prototype .site-footer__inner {
    width: min(var(--container-width, 1200px), calc(100% - 40px));
}

.site-footer--prototype .site-footer__top {
    grid-template-columns: minmax(330px, 0.9fr) minmax(0, 2.1fr);
    gap: 44px;
}

.site-footer--prototype .site-footer__logo {
    margin-bottom: 9px;
    font-size: 1.35rem;
}

.site-footer--prototype .site-footer__description {
    max-width: 330px;
    margin-bottom: 15px;
    color: rgba(247, 251, 253, 0.72);
    font-size: 0.83rem;
}

.site-footer-prototype__channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.site-footer-prototype__channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(2, 15, 27, 0.16);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: filter 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-footer-prototype__channel i {
    flex: 0 0 auto;
    font-size: 1rem;
}

.site-footer-prototype__channel span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-footer-prototype__channel--whatsapp {
    color: #ffffff;
    background: #25d366;
    border-color: #25d366;
}

.site-footer-prototype__channel--viber {
    color: #ffffff;
    background: #7360f2;
    border-color: #7360f2;
}

.site-footer-prototype__channel--instagram {
    color: #ffffff;
    background: linear-gradient(135deg, #833ab4 0%, #c13584 42%, #e1306c 68%, #f77737 100%);
    border-color: #c13584;
}

.site-footer--prototype .site-footer__navigation {
    grid-template-columns: minmax(125px, 0.85fr) minmax(145px, 0.95fr) minmax(270px, 1.7fr) minmax(145px, 0.9fr);
    gap: 24px;
}

.site-footer--prototype .site-footer__summary {
    min-height: 34px;
    color: #ffffff;
    font-size: 0.86rem;
}

.site-footer--prototype .site-footer__summary span {
    position: relative;
    padding-bottom: 7px;
}

.site-footer--prototype .site-footer__summary span::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    content: '';
    background: #42b8c7;
    border-radius: 2px;
}

.site-footer--prototype .site-footer__links,
.site-footer--prototype .footer-careers-link {
    padding-top: 6px;
}

.site-footer--prototype .site-footer__links a,
.site-footer--prototype .footer-careers-link a {
    min-height: 32px;
    padding: 4px 0;
    color: rgba(247, 251, 253, 0.74) !important;
    font-size: 0.78rem;
}

.site-footer--prototype a[href*="about-us"] {
    display: flex !important;
}

.site-footer--prototype .site-footer__bottom {
    margin-top: 24px;
}

@media (hover: hover) {
    .site-footer-prototype__channel:hover {
        color: inherit;
        filter: brightness(1.06);
        box-shadow: 0 10px 22px rgba(2, 15, 27, 0.24);
        transform: translateY(-1px);
    }
}

@media (min-width: 769px) {
    .site-footer--prototype .site-footer__group[open] > .site-footer__links {
        display: grid;
    }

    .site-footer--prototype .site-footer__summary {
        pointer-events: none;
    }
}

@media (max-width: 1080px) and (min-width: 769px) {
    .site-footer--prototype .site-footer__top {
        grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.7fr);
        gap: 32px;
    }

    .site-footer--prototype .site-footer__navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 30px;
    }
}

@media (max-width: 768px) {
    .site-footer--prototype.footer {
        padding: 25px 0 14px !important;
    }

    .site-footer--prototype .site-footer__inner {
        width: min(100% - 32px, 560px);
    }

    .site-footer--prototype .site-footer__brand {
        padding-bottom: 18px;
    }

    .site-footer--prototype .site-footer__logo {
        min-height: 36px;
        margin-bottom: 6px;
        font-size: 1.22rem;
    }

    .site-footer--prototype .site-footer__description {
        max-width: 440px;
        margin-bottom: 12px;
        font-size: 0.78rem;
    }

    .site-footer-prototype__channel {
        min-height: 48px;
        font-size: 0.73rem;
    }

    .site-footer-prototype__channel i {
        font-size: 1.08rem;
    }

    .site-footer--prototype .site-footer__navigation {
        display: block;
    }

    .site-footer--prototype .site-footer__summary {
        min-height: 52px;
        font-size: 0.88rem;
        cursor: pointer;
    }

    .site-footer--prototype .site-footer__summary span {
        padding-bottom: 0;
    }

    .site-footer--prototype .site-footer__summary span::after {
        display: none;
    }

    .site-footer--prototype .site-footer__summary i {
        display: block;
    }

    .site-footer--prototype .site-footer__links,
    .site-footer--prototype .footer-careers-link,
    .site-footer--prototype .site-footer__links--studios {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 0 9px;
    }

    .site-footer--prototype .site-footer__links a,
    .site-footer--prototype .footer-careers-link a {
        min-height: 44px;
        padding: 8px 4px;
        font-size: 0.82rem;
    }

    .site-footer--prototype .site-footer__bottom {
        margin-top: 14px;
    }
}

@media (max-width: 370px) {
    .site-footer-prototype__contacts {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-prototype__channel {
        gap: 4px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 0.67rem;
    }
}
