.av-footer {
    --av-footer-light: #eef5ff;
    --av-footer-muted: #c8d6e5;
    --av-footer-accent: #ffd1ab;
    position: relative;
    padding: clamp(42px, 5vw, 72px) 0 25px;
    background: radial-gradient(ellipse at 86% 20%, #19466b 0%, transparent 58%),
                linear-gradient(160deg, #102d4a, #081f35 64%, #091d30);
    color: var(--av-footer-light);
}

.av-footer::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #ff6200, #ff9a4c 30%, #2d66ed 76%, #7246e7);
    content: "";
}

.av-footer .av-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.84fr)) minmax(0, 1.22fr);
    grid-template-areas: "brand services company contacts";
    gap: clamp(20px, 3.2vw, 52px);
    margin-bottom: clamp(34px, 4vw, 54px);
}

.av-footer__identity { grid-area: brand; }
.av-footer__services { grid-area: services; }
.av-footer__company { grid-area: company; }
.av-footer__contacts { grid-area: contacts; }

.av-footer__brand {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: clamp(1.13rem, 1.55vw, 1.55rem);
    line-height: 1.15;
}

.av-footer .av-footer__logo {
    flex: none;
    width: auto;
    height: clamp(49px, 5vw, 67px);
    margin: 0;
    opacity: 1;
    filter: none;
}

.av-footer .av-footer__desc {
    max-width: 37ch;
    margin: 18px 0 20px;
    color: var(--av-footer-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.av-footer__actions,
.av-footer__other-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.av-footer__action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
}

.av-footer__action--quote {
    background: var(--orange);
    color: #071726;
}

.av-footer__action--quote:hover {
    background: #ffa363;
}

.av-footer__action--max {
    background: linear-gradient(125deg, #2149e9, #7133c8);
    color: #fff;
}

.av-footer__action--max:hover {
    background: linear-gradient(125deg, #2851ef, #6029b7);
}

.av-footer__other-channels {
    margin-top: 12px;
}

.av-footer__other-channels a {
    min-height: 40px;
    align-content: center;
    color: var(--av-footer-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.av-footer .av-footer__col-title {
    margin: 0 0 12px;
    color: var(--av-footer-accent);
    font-size: 0.93rem;
    letter-spacing: 0.06em;
}

.av-footer .av-footer__menu li {
    margin: 0;
}

.av-footer .av-footer__menu li a {
    display: block;
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    padding: 6px 0;
    color: var(--av-footer-light);
    font-size: 0.92rem;
    line-height: 1.38;
    transition: color 0.16s ease;
}

.av-footer .av-footer__menu li a:hover,
.av-footer .av-footer__menu li a:focus-visible,
.av-footer__contact-link:hover,
.av-footer__phone:hover {
    padding-left: 0;
    color: var(--av-footer-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.av-footer__contacts {
    min-width: 0;
    padding: clamp(17px, 1.8vw, 27px);
    border: 1px solid rgba(198, 219, 240, 0.27);
    border-radius: 18px;
    background: rgba(195, 220, 245, 0.1);
}

.av-footer__address {
    display: grid;
    gap: 10px;
    font-style: normal;
    line-height: 1.45;
}

.av-footer__phone {
    display: flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    color: #fff;
    font-size: clamp(1.05rem, 1.65vw, 1.3rem);
    font-weight: 800;
}

.av-footer__contact-link {
    width: fit-content;
    max-width: 100%;
    color: var(--av-footer-light);
    font-size: 0.91rem;
    overflow-wrap: anywhere;
}

.av-footer__location,
.av-footer__schedule {
    color: var(--av-footer-muted);
    font-size: 0.91rem;
}

.av-footer__location a {
    display: block;
    width: fit-content;
    min-height: 35px;
    align-content: center;
    color: var(--av-footer-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.av-footer .av-footer__bottom {
    border-top-color: rgba(198, 219, 240, 0.26);
}

.av-footer .av-footer__copy,
.av-footer .av-footer__copy a,
.av-footer .av-footer__policy a {
    color: var(--av-footer-muted);
}

.av-footer .av-footer__policy {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}

.av-footer .av-footer__policy a {
    padding: 6px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.av-footer a:focus-visible {
    border-radius: 4px;
    outline: 2px solid #ffc08f;
    outline-offset: 3px;
}

.av-float.av-float--footer {
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .av-footer .av-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "brand contacts" "services company";
    }

    .av-footer .av-footer__menu li a {
        min-height: 44px;
        align-content: center;
    }
}

@media (max-width: 680px) {
    .av-footer .av-footer__grid {
        grid-template-areas: "brand brand" "contacts contacts" "services company";
        gap: 26px 18px;
    }
}
