.lam-footer {
    margin-top: 50px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    color: #1c2a4d;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.lam-footer__inner {
    width: min(100% - 48px, 1304px);
    margin: 0 auto;
    padding: 56px 0 24px;
}

.lam-footer__main {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: start;
    gap: 48px;
}

.lam-footer__logo { display: inline-block; }
.lam-footer__logo img { display: block; width: 180px; max-width: 100%; height: auto; }
.lam-footer__socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.lam-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dce4ee;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
    transition: color .2s, border-color .2s, background-color .2s;
}
.lam-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.lam-footer__social:hover { color: #1a4791; border-color: #1a4791; background: #f1f5f9; }
.lam-footer__heading { margin: 0 0 22px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.lam-footer__contacts { display: grid; gap: 14px; }
.lam-footer__contact { display: flex; align-items: center; gap: 12px; color: #526783; font-size: 15px; text-decoration: none; }
.lam-footer__contact:hover { color: #1a4791; text-decoration: underline; }
.lam-footer__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; border-radius: 6px; background: #f1f5f9; color: #64748b; }
.lam-footer__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lam-footer__commercial { display: flex; align-self: center; justify-content: flex-end; }
.lam-footer__cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 24px; border-radius: 8px; background: #1a4791; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background-color .2s; }
.lam-footer__cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lam-footer__cta:hover { background: #163b78; color: #fff; }
.lam-footer a:focus-visible { outline: 3px solid #1a4791; outline-offset: 4px; }
.lam-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 52px; padding-top: 24px; border-top: 1px solid #dce4ee; }
.lam-footer__legal, .lam-footer__copyright { margin: 0; font-size: 13px; line-height: 1.65; color: #526783; }
.lam-footer__legal { max-width: 740px; }
.lam-footer__copyright { flex-shrink: 0; text-align: right; }

@media (max-width: 991px) {
    .lam-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
    .lam-footer__commercial { grid-column: 1 / -1; justify-content: flex-start; }
    .lam-footer__bottom { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 36px; }
    .lam-footer__copyright { text-align: left; }
}

@media (max-width: 575px) {
    .lam-footer__inner { width: calc(100% - 40px); padding-top: 36px; }
    .lam-footer__main { grid-template-columns: minmax(0, 1fr); }
    .lam-footer__socials { margin-top: 24px; }
    .lam-footer__cta { width: 100%; }
    .lam-footer__contact { font-size: 14px; overflow-wrap: anywhere; }
}
