.custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 900px) {
    .custom-logo {
        max-height: 40px;
    }
}

.site-footer {
    padding: 2.25rem 0 0;
    background: #08111f;
    border-top: 4px solid var(--accent-color);
    color: #dce6f1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 0.9fr) minmax(320px, 1.8fr);
    align-items: start;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
}

.footer-logo {
    margin-bottom: 0.8rem;
}

.footer-ci {
    max-height: 54px;
    width: auto;
    filter: none;
    opacity: 1;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: none;
    display: inline-block;
    padding: 0;
}

.footer-title::after {
    display: none;
}

.footer-tagline {
    margin: 0;
    color: #f5f8fb;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.75rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #04101f;
}

.footer-contact {
    color: #d7e2ee;
    font-size: 0.86rem;
    line-height: 1.7;
}

.footer-contact p {
    margin: 0.1rem 0 0;
}

.footer-contact p:first-child {
    margin-top: 0;
    color: #ffffff;
    font-weight: 800;
}

.footer-phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.55rem 0 0.35rem;
    padding: 0.68rem 0.9rem;
    border-radius: 8px;
    background: #ffcf33;
    color: #07182c;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.footer-phone-cta span {
    color: #23364c;
}

.footer-phone-cta strong {
    color: #07182c;
    font-size: 1.06rem;
    letter-spacing: 0;
}

.footer-phone-cta:hover,
.footer-phone-cta:focus {
    background: #ffffff;
    color: var(--primary-color);
}

.footer-bottom {
    background: #03070d;
    padding: 0.95rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    text-align: center !important;
    color: #c7d2df !important;
    font-size: 0.78rem !important;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
