footer.aero-footer[data-footer] {
    --footer-bg: #2c2c2c;
    --footer-bg-deep: #242424;
    --footer-panel: rgba(255, 255, 255, .045);
    --footer-line: rgba(158, 171, 179, .2);
    --footer-text: #f7fafc;
    --footer-muted: #9eabb3;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-radius: 24px 24px 0 0;
    background:
        radial-gradient(circle at 68% 15%, rgba(4, 100, 163, .08), transparent 31%),
        linear-gradient(145deg, var(--footer-bg), var(--footer-bg-deep));
    color: var(--footer-text);
}

footer.aero-footer[data-footer]::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(4, 100, 163, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(4, 100, 163, .018), 0 0 0 140px rgba(4, 100, 163, .012);
    pointer-events: none;
}

footer.aero-footer[data-footer] .container {
    position: relative;
    z-index: 1;
    display: block;
    padding-top: 42px;
    padding-bottom: 24px;
}

footer.aero-footer[data-footer] a {
    color: inherit;
    text-decoration: none;
}

.aero-footer-cta {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.6fr) auto;
    gap: 32px;
    align-items: center;
    padding: 23px 26px;
    border: 1px solid var(--footer-line);
    border-radius: 18px;
    background: linear-gradient(110deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.aero-footer-brand {
    display: flex;
    gap: 15px;
    align-items: center;
    min-width: 0;
}

.aero-footer-brand__mark {
    display: grid;
    flex: 0 0 66px;
    width: 66px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.aero-footer-brand:hover .aero-footer-brand__mark {
    transform: rotate(-3deg) scale(1.04);
    border-color: rgba(4, 100, 163, .9);
    background: rgba(4, 100, 163, .12);
}

.aero-footer-brand__mark img {
    display: block;
    width: 49px;
    height: 34px;
    object-fit: contain;
}

.aero-footer-brand__text {
    max-width: 145px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.aero-footer-cta__copy {
    padding-left: 30px;
    border-left: 1px solid var(--footer-line);
}

.aero-footer-cta__title {
    margin-bottom: 5px;
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 600;
    line-height: 1.2;
}

.aero-footer-cta__text {
    color: var(--footer-muted);
    font-size: 15px;
    line-height: 1.5;
}

.aero-footer-cta__actions {
    display: grid;
    gap: 8px;
    justify-items: stretch;
}

.aero-footer-cta__button {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 12px 22px;
    border: 0;
    border-radius: 11px;
    background: var(--blue, #0464a3);
    box-shadow: 0 10px 28px rgba(4, 100, 163, .23);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.aero-footer-cta__button:hover {
    transform: translateY(-2px);
    background: #03426b;
    box-shadow: 0 14px 34px rgba(4, 100, 163, .34);
}

.aero-footer-cta__button:focus-visible,
.aero-footer a:focus-visible,
.aero-footer summary:focus-visible {
    outline: 2px solid #62b8ef;
    outline-offset: 3px;
}

.aero-footer-cta__phone {
    color: var(--footer-muted) !important;
    font-size: 12px;
    text-align: center;
    transition: color .2s ease;
}

.aero-footer-cta__phone:hover {
    color: #fff !important;
}

.aero-footer-main {
    display: grid;
    grid-template-columns: minmax(150px, .85fr) minmax(185px, 1.05fr) minmax(145px, .8fr) minmax(240px, 1.3fr);
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
    margin-top: 38px;
}

.aero-footer-section,
.aero-footer-service {
    min-width: 0;
}

.aero-footer-section > summary {
    position: relative;
    margin-bottom: 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
}

.aero-footer-section > summary::-webkit-details-marker,
.aero-footer-service > summary::-webkit-details-marker {
    display: none;
}

.aero-footer-links {
    display: grid;
    gap: 12px;
}

.aero-footer-links > a,
.aero-footer-services-all {
    position: relative;
    width: fit-content;
    max-width: 100%;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.4;
    transition: color .2s ease, transform .2s ease;
}

.aero-footer-links > a::before,
.aero-footer-services-all::before {
    content: "";
    position: absolute;
    top: .68em;
    left: -13px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue, #0464a3);
    opacity: 0;
    transform: translateX(-3px);
    transition: opacity .2s ease, transform .2s ease;
}

.aero-footer-links > a:hover,
.aero-footer-services-all:hover {
    transform: translateX(5px);
    color: #fff;
}

.aero-footer-links > a:hover::before,
.aero-footer-services-all:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.aero-footer-services-list {
    position: relative;
    display: grid;
    gap: 12px;
}

.aero-footer-services-all {
    color: var(--footer-muted) !important;
}

.aero-footer-service {
    position: relative;
    overflow: visible;
}

.aero-footer-service__trigger {
    display: flex;
    width: 100%;
    min-height: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--footer-muted);
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.aero-footer-section > summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #86c9f5;
    border-bottom: 1.5px solid #86c9f5;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease;
}

.aero-footer-section[open] > summary::after {
    transform: translateY(-25%) rotate(225deg);
}

.aero-footer-service__arrow {
    flex: 0 0 auto;
    color: #6bbcec;
    font-size: 15px;
    line-height: 1;
    transition: transform .2s ease, color .2s ease;
}

.aero-footer-service:hover > .aero-footer-service__trigger,
.aero-footer-service:focus-within > .aero-footer-service__trigger,
.aero-footer-service.is-open > .aero-footer-service__trigger {
    transform: translateX(3px);
    color: #fff;
}

.aero-footer-service:hover .aero-footer-service__arrow,
.aero-footer-service:focus-within .aero-footer-service__arrow,
.aero-footer-service.is-open .aero-footer-service__arrow {
    transform: translateX(3px);
    color: #fff;
}

.aero-footer-service__links {
    position: absolute;
    z-index: 30;
    top: -14px;
    left: 100%;
    display: grid;
    width: 300px;
    gap: 10px;
    padding: 15px 17px 17px;
    border: 1px solid rgba(158, 171, 179, .28);
    border-radius: 13px;
    background: #303030;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-7px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.aero-footer-service__links::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -6px;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid rgba(158, 171, 179, .28);
    border-left: 1px solid rgba(158, 171, 179, .28);
    background: #303030;
    transform: rotate(45deg);
}

.aero-footer-service:hover > .aero-footer-service__links,
.aero-footer-service:focus-within > .aero-footer-service__links,
.aero-footer-service.is-open > .aero-footer-service__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.aero-footer-service__links a {
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.4;
    transition: color .2s ease, transform .2s ease;
}

.aero-footer-service__links a:hover {
    transform: translateX(3px);
    color: #fff;
}

.aero-footer-service__links .aero-footer-service__all {
    color: #7bc4f2;
    font-weight: 600;
}

.aero-footer-contacts {
    display: grid;
    gap: 13px;
}

.aero-footer-contact {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    color: #eaf3f8;
    font-size: 14px;
    line-height: 1.4;
    transition: color .2s ease;
}

a.aero-footer-contact:hover {
    color: #76c7fb;
}

.aero-footer-contact--address {
    align-items: start;
    color: var(--footer-muted);
}

.aero-footer-contact__icon {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid var(--footer-line);
    border-radius: 50%;
    color: #51b1ee;
}

.aero-footer-contact__icon svg {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.aero-footer-contact__icon svg path {
    stroke: currentColor;
}

.aero-footer-messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.aero-footer-messengers a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--footer-line);
    border-radius: 999px;
    color: var(--footer-muted);
    font-size: 12px;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.aero-footer-messengers a:hover {
    transform: translateY(-2px);
    border-color: rgba(4, 100, 163, .8);
    background: rgba(4, 100, 163, .12);
    color: #fff;
}

.aero-footer-messengers span,
.aero-footer-messengers svg {
    display: block;
    width: 16px;
    height: 16px;
}

.aero-footer-messengers a[href*="wa.me"] svg {
    filter: brightness(0) invert(1);
}

footer.aero-footer[data-footer] .footer_other-links {
    display: flex;
    grid-area: auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--footer-line);
    color: #778995;
    font-size: 12px;
    line-height: 1.45;
}

.aero-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.aero-footer-legal-links a {
    transition: color .2s ease;
}

.aero-footer-legal-links a:hover {
    color: #fff;
}

@media (min-width: 901px) {
    .aero-footer-section > summary {
        pointer-events: none;
    }

    .aero-footer-section > summary::after {
        display: none;
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .aero-footer-cta {
        grid-template-columns: minmax(190px, .8fr) minmax(300px, 1.4fr) auto;
        gap: 22px;
    }

    .aero-footer-main {
        grid-template-columns: .8fr 1.1fr .8fr;
        gap: 28px;
    }

    .aero-footer-section--contacts {
        grid-column: 1 / -1;
    }

    .aero-footer-section--contacts .aero-footer-contacts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aero-footer-messengers {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    footer.aero-footer[data-footer] {
        margin-top: 0;
        border-radius: 20px 20px 0 0;
    }

    footer.aero-footer[data-footer] .container {
        display: block;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .aero-footer-cta {
        grid-template-columns: 1fr;
        gap: 19px;
        padding: 20px;
    }

    .aero-footer-brand__text {
        max-width: none;
    }

    .aero-footer-cta__copy {
        padding: 17px 0 0;
        border-top: 1px solid var(--footer-line);
        border-left: 0;
    }

    .aero-footer-cta__title {
        font-size: 22px;
    }

    .aero-footer-cta__actions {
        width: 100%;
    }

    .aero-footer-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 22px;
        border-top: 1px solid var(--footer-line);
    }

    .aero-footer-section {
        border-bottom: 1px solid var(--footer-line);
    }

    .aero-footer-section > summary {
        margin: 0;
        padding: 17px 34px 17px 0;
        cursor: pointer;
    }

    .aero-footer-section > summary::after {
        right: 5px;
    }

    .aero-footer-section__content {
        padding: 0 0 18px;
    }

    .aero-footer-services-list {
        gap: 0;
    }

    .aero-footer-services-all {
        margin-bottom: 4px;
        padding: 8px 0;
        font-size: 14px;
    }

    .aero-footer-service {
        border-top: 1px solid rgba(158, 171, 179, .14);
    }

    .aero-footer-service__trigger {
        min-height: 44px;
        padding: 10px 0;
        font-size: 14px;
    }

    .aero-footer-service.is-open .aero-footer-service__arrow {
        transform: rotate(90deg);
    }

    .aero-footer-service__links,
    .aero-footer-service:hover > .aero-footer-service__links,
    .aero-footer-service:focus-within > .aero-footer-service__links {
        position: static;
        display: none;
        width: auto;
        gap: 9px;
        padding: 3px 0 14px 14px;
        border: 0;
        border-left: 1px solid rgba(4, 100, 163, .55);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .aero-footer-service__links::before {
        display: none;
    }

    .aero-footer-service.is-open > .aero-footer-service__links {
        display: grid;
    }

    .aero-footer-contact {
        font-size: 15px;
    }

    footer.aero-footer[data-footer] .footer_other-links {
        display: grid;
        justify-items: start;
        gap: 14px;
        margin-top: 24px;
        padding-top: 18px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .aero-footer-cta {
        padding: 18px 16px;
    }

    .aero-footer-brand__mark {
        flex-basis: 56px;
        width: 56px;
        height: 48px;
    }

    .aero-footer-brand__mark img {
        width: 43px;
    }

    .aero-footer-brand__text {
        font-size: 14px;
    }

    .aero-footer-cta__title {
        font-size: 20px;
    }

    .aero-footer-cta__text {
        font-size: 14px;
    }

    .aero-footer-cta__button {
        justify-content: space-between;
        width: 100%;
        font-size: 14px;
    }

    .aero-footer-messengers a {
        flex: 1 1 auto;
        justify-content: center;
    }

    .aero-footer-legal-links {
        display: grid;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aero-footer *,
    .aero-footer *::before,
    .aero-footer *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
