.aha-footer {
    --aha-footer-blue: #2190f4;
    --aha-footer-blue-dark: #0049dc;
    --aha-footer-bg: #00194c;
    --aha-footer-bg-soft: #052a73;
    --aha-footer-ink: #f7fbff;
    --aha-footer-muted: #c8d8f2;
    --aha-footer-line: rgba(255, 255, 255, 0.13);
    --aha-footer-accent: #f4b940;
    background: var(--aha-footer-bg);
    color: var(--aha-footer-muted);
    font-family: var(--tg-body-font-family);
}

.aha-footer a {
    color: inherit;
    text-decoration: none;
}

.aha-footer-cta {
    background: #eef4ff;
    border-bottom: 1px solid #dce5f6;
    border-top: 1px solid #dce5f6;
    color: #00194c;
}

.aha-footer-cta__inner {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 52px 0;
}

.aha-footer-eyebrow {
    color: var(--aha-footer-blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.aha-footer-cta h2 {
    color: #00194c;
    font-size: 40px;
    line-height: 1.14;
    margin: 0;
    max-width: 780px;
}

.aha-footer-cta p {
    color: #334770;
    font-size: 17px;
    line-height: 1.7;
    margin: 16px 0 0;
    max-width: 760px;
}

.aha-footer-cta__actions {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 260px;
}

.aha-footer-primary-btn,
.aha-footer-secondary-link {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    line-height: 1.2;
    min-height: 52px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.aha-footer-primary-btn {
    background: var(--aha-footer-blue);
    color: #fff;
    padding: 0 22px;
}

.aha-footer-primary-btn:hover {
    background: var(--aha-footer-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.aha-footer-secondary-link {
    border: 1px solid #cfdcf1;
    color: #00194c;
    padding: 0 18px;
}

.aha-footer-secondary-link:hover {
    border-color: var(--aha-footer-accent);
    color: #00194c;
}

.aha-footer-main {
    background: linear-gradient(180deg, var(--aha-footer-bg) 0%, var(--aha-footer-bg-soft) 100%);
}

.aha-footer-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(260px, 1.45fr) minmax(150px, 0.72fr) minmax(170px, 0.82fr) minmax(190px, 0.82fr);
    padding: 66px 0 38px;
}

.aha-footer-brand {
    max-width: 460px;
}

.aha-footer-logo {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: inline-flex;
    min-height: 68px;
    padding: 12px 16px;
}

.aha-footer-logo img {
    display: block;
    max-height: 48px;
    max-width: 245px;
    width: auto;
}

.aha-footer-logo span {
    color: #00194c;
    font-size: 20px;
    font-weight: 800;
}

.aha-footer-brand p {
    color: var(--aha-footer-muted);
    font-size: 16px;
    line-height: 1.75;
    margin: 24px 0 0;
}

.aha-footer-contact-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.aha-footer-contact-item {
    align-items: center;
    display: flex;
    gap: 12px;
}

.aha-footer-contact-icon {
    align-items: center;
    background: rgba(33, 144, 244, 0.16);
    border: 1px solid rgba(33, 144, 244, 0.26);
    border-radius: 8px;
    color: #7ec6ff;
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.aha-footer-contact-item strong {
    color: var(--aha-footer-ink);
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.aha-footer-contact-item span:last-child {
    color: var(--aha-footer-muted);
    font-size: 15px;
    line-height: 1.45;
}

.aha-footer-contact-item:hover span:last-child {
    color: #fff;
}

.aha-footer-column h3 {
    color: var(--aha-footer-ink);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.aha-footer-links,
.aha-footer-legal-list,
.aha-footer-socials {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.aha-footer-links a {
    align-items: center;
    color: var(--aha-footer-muted);
    display: inline-flex;
    font-size: 15px;
    gap: 9px;
    line-height: 1.45;
}

.aha-footer-links a::before {
    border-right: 2px solid var(--aha-footer-accent);
    border-top: 2px solid var(--aha-footer-accent);
    content: "";
    display: inline-block;
    flex: 0 0 7px;
    height: 7px;
    transform: rotate(45deg);
    width: 7px;
}

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

.aha-footer-connect p {
    color: var(--aha-footer-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.aha-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aha-footer-socials a {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--aha-footer-line);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 15px;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.aha-footer-socials a:hover {
    background: var(--aha-footer-blue);
    border-color: var(--aha-footer-blue);
    color: #fff;
}

.aha-footer-socials img {
    display: block;
    max-height: 18px;
    width: auto;
}

.aha-footer-bottom {
    align-items: center;
    border-top: 1px solid var(--aha-footer-line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 23px 0 26px;
}

.aha-footer-bottom-right {
    align-items: flex-end;
    display: grid;
    gap: 10px;
    justify-items: end;
}

.aha-footer-bottom p {
    color: #b9c8e5;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.aha-footer-legal-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: flex-end;
}

.aha-footer-legal-list a {
    color: #b9c8e5;
    font-size: 14px;
    line-height: 1.4;
}

.aha-footer-legal-list a:hover {
    color: #fff;
}

.aha-footer-credit {
    text-align: right;
}

.aha-footer-credit a {
    color: var(--aha-footer-accent);
    font-weight: 800;
}

.aha-footer-credit a:hover {
    color: #fff;
}

.aha-footer-credit span {
    color: #d7e2f7;
}

@media (max-width: 1199px) {
    .aha-footer-grid {
        grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(140px, 1fr));
    }
}

@media (max-width: 991px) {
    .aha-footer-cta__inner {
        grid-template-columns: 1fr;
    }

    .aha-footer-cta__actions {
        min-width: 0;
    }

    .aha-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aha-footer-brand {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .aha-footer-cta h2 {
        font-size: 30px;
    }

    .aha-footer-cta p {
        font-size: 16px;
    }

    .aha-footer-grid {
        gap: 30px;
        grid-template-columns: 1fr;
        padding-top: 48px;
    }

    .aha-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .aha-footer-bottom-right {
        align-items: flex-start;
        justify-items: start;
    }

    .aha-footer-legal-list {
        justify-content: flex-start;
    }

    .aha-footer-credit {
        text-align: left;
    }
}

@media (max-width: 575px) {
    .aha-footer-cta__inner {
        padding: 42px 0;
    }

    .aha-footer-primary-btn,
    .aha-footer-secondary-link {
        width: 100%;
    }

    .aha-footer-logo {
        max-width: 100%;
    }

    .aha-footer-logo img {
        max-width: 210px;
    }
}
