/* Footer contact — unified icon boxes (all viewports) */

.footer .footer-col--contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.45;
}

.footer .footer-col--contact a > span:last-child {
    flex: 1;
    min-width: 0;
}

.footer .footer-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--primary-light);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer .footer-contact-icon .icons {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    flex-shrink: 0;
    display: block;
}

.footer .footer-col--contact a:hover .footer-contact-icon {
    background:
        linear-gradient(180deg, rgba(51, 184, 184, 0.28), rgba(51, 184, 184, 0.12)),
        rgba(255, 255, 255, 0.06);
    border-color: rgba(51, 184, 184, 0.35);
    color: #fff;
}

.footer .footer-col--contact a:hover {
    transform: none;
}

/* Mobile footer — compact two-column links + contact card */

@media (max-width: 768px) {
    .footer {
        padding: 44px 16px 24px;
    }

    .footer .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        margin-bottom: 28px;
    }

    .footer .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer .footer-about .logo {
        justify-content: center;
        margin-bottom: 14px;
    }

    .footer .footer-about p {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 18px;
        font-size: 13px;
        line-height: 1.7;
    }

    .footer .footer-social {
        justify-content: center;
        gap: 12px;
    }

    .footer .footer-col h4 {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .footer .footer-col a {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 9px;
    }

    .footer .footer-col--contact,
    .footer .footer-col:last-of-type {
        grid-column: 1 / -1;
        padding: 18px 16px;
        border-radius: 14px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .footer .footer-col--contact h4,
    .footer .footer-col:last-of-type h4 {
        margin-bottom: 10px;
    }

    .footer .footer-col--contact a,
    .footer .footer-col:last-of-type a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        word-break: break-word;
    }

    .footer .footer-col--contact a:last-child,
    .footer .footer-col:last-of-type a:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer .footer-col--contact a:first-of-type,
    .footer .footer-col:last-of-type a:first-of-type {
        padding-top: 4px;
    }

    .footer .footer-contact-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .footer .footer-contact-icon .icons {
        width: 16px !important;
        height: 16px !important;
    }

    .footer-bottom {
        gap: 14px;
        padding-top: 20px;
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-bottom span:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
}

@media (max-width: 400px) {
    .footer .footer-grid {
        gap: 24px 14px;
    }

    .footer .footer-col a {
        font-size: 12px;
    }
}
