/* Aventus footer redesign — from aventus-footer-mockup.html */
/* Overrides global link rules in new-main.css (a:visited/hover/active { color: black }) */

.av-footer {
    position: relative;
    background: #383748;
    color: #fff;
    overflow: hidden;
}

/* ---- Link state resets (beat site-wide black link styles) ---- */
.av-footer .av-footer__btn--orange,
.av-footer .av-footer__btn--orange:link,
.av-footer .av-footer__btn--orange:visited,
.av-footer .av-footer__btn--orange:hover,
.av-footer .av-footer__btn--orange:active,
.av-footer .av-footer__btn--orange:focus {
    color: #fff !important;
    background-color: #ff5408;
}

.av-footer .av-footer__btn--orange:hover,
.av-footer .av-footer__btn--orange:active,
.av-footer .av-footer__btn--orange:focus {
    background-color: #e5490a !important;
    color: #fff !important;
}

.av-footer .av-footer__btn--orange svg {
    stroke: #fff !important;
}

.av-footer .av-footer__btn--ghost,
.av-footer .av-footer__btn--ghost:link,
.av-footer .av-footer__btn--ghost:visited,
.av-footer .av-footer__btn--ghost:hover,
.av-footer .av-footer__btn--ghost:active,
.av-footer .av-footer__btn--ghost:focus {
    color: #fff !important;
    background-color: transparent;
}

.av-footer .av-footer__btn--ghost:hover,
.av-footer .av-footer__btn--ghost:active,
.av-footer .av-footer__btn--ghost:focus {
    border-color: #fff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.av-footer__col a,
.av-footer__col a:link,
.av-footer__col a:visited {
    color: #c9c8d4 !important;
}

.av-footer__col a:hover,
.av-footer__col a:active,
.av-footer__col a:focus {
    color: #ff5408 !important;
}

.av-footer__contact-row a,
.av-footer__contact-row a:link,
.av-footer__contact-row a:visited {
    color: #c9c8d4 !important;
}

.av-footer__contact-row a:hover,
.av-footer__contact-row a:active,
.av-footer__contact-row a:focus {
    color: #ff5408 !important;
}

.av-footer__legal a,
.av-footer__legal a:link,
.av-footer__legal a:visited {
    color: #c9c8d4 !important;
}

.av-footer__legal a:hover,
.av-footer__legal a:active,
.av-footer__legal a:focus {
    color: #fff !important;
}

.av-footer__social a,
.av-footer__social a:link,
.av-footer__social a:visited,
.av-footer__social a:hover,
.av-footer__social a:active,
.av-footer__social a:focus {
    color: #fff !important;
}

.av-footer__social a:hover,
.av-footer__social a:active,
.av-footer__social a:focus {
    background: #ff5408 !important;
    border-color: #ff5408 !important;
    color: #fff !important;
}

.av-footer__logo:link,
.av-footer__logo:visited,
.av-footer__logo:hover,
.av-footer__logo:active,
.av-footer__logo:focus {
    text-decoration: none;
}

.av-footer__to-top,
.av-footer__to-top:link,
.av-footer__to-top:visited,
.av-footer__to-top:hover,
.av-footer__to-top:active,
.av-footer__to-top:focus {
    color: #fff !important;
    background-color: #ff5408 !important;
}

.av-footer__to-top:hover,
.av-footer__to-top:active,
.av-footer__to-top:focus {
    background-color: #e5490a !important;
    color: #fff !important;
}

.av-footer__to-top svg,
.av-footer__to-top svg path {
    fill: #fff !important;
}

.av-footer__skyline {
    display: block;
    width: 100%;
    height: auto;
}

.av-footer__skyline-wrap {
    background: #383748;
    line-height: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.av-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 40px 0;
}

.av-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}

.av-footer__brand {
    max-width: 340px;
}

.av-footer__logo {
    display: inline-block;
    margin-bottom: 18px;
    text-decoration: none;
    line-height: 0;
}

.av-footer__logo img {
    display: block;
    width: 85px;
    height: auto;
    max-width: 100%;
}

.av-footer__brand p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #c9c8d4;
    margin: 0;
}

.av-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.av-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.18s;
}

.av-footer__social a:hover {
    background: #ff5408;
    border-color: #ff5408;
}

.av-footer__social svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.av-footer__cta {
    display: flex;
}

.av-footer__cta-card {
    background: rgba(255, 84, 8, 0.07);
    border: 1px solid rgba(255, 84, 8, 0.35);
    border-radius: 16px;
    padding: 26px 28px;
    max-width: 390px;
    transition: 0.18s;
}

.av-footer__cta-card:hover {
    background: rgba(255, 84, 8, 0.1);
    border-color: rgba(255, 84, 8, 0.55);
}

.av-footer__cta-kicker {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ff5408;
    font-weight: 600;
}

.av-footer__cta-card h4 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    margin: 9px 0 8px;
    color: #fff;
}

.av-footer__cta-card p {
    font-size: 13px;
    color: #c9c8d4;
    line-height: 1.65;
    margin-bottom: 18px;
}

.av-footer__cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.av-footer__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    padding: 10px 20px;
    transition: 0.18s;
    border: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
}

.av-footer__btn--orange {
    background: #ff5408;
    color: #fff;
}

.av-footer__btn--orange:hover {
    background: #e5490a;
    color: #fff;
}

.av-footer__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.av-footer__btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.av-footer__mid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 44px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.av-footer__col h5 {
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px;
    padding: 0;
    font-weight: 600;
}

.av-footer__col ul:not(.tabs) {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.av-footer__col ul:not(.tabs) li {
    margin: 0 0 11px !important;
    padding: 0 !important;
    list-style: none;
}

.av-footer__col ul:not(.tabs) li:last-child {
    margin-bottom: 0 !important;
}

.av-footer__col a {
    color: #c9c8d4;
    text-decoration: none;
    font-size: 13.5px;
    transition: 0.15s;
}

.av-footer__col a:hover {
    color: #ff5408;
}

.av-footer__offices {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.av-footer__office {
    display: flex;
    gap: 12px;
}

.av-footer__pin {
    color: #ff5408;
    flex-shrink: 0;
    margin-top: 2px;
}

.av-footer__pin svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.av-footer__city {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.av-footer__addr {
    font-size: 12.5px;
    color: #a9a8b6;
    line-height: 1.6;
}

.av-footer__contact-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.av-footer__contact-row a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c9c8d4;
    text-decoration: none;
    font-size: 13px;
}

.av-footer__contact-row a:hover {
    color: #ff5408;
}

.av-footer__contact-row svg {
    width: 15px;
    height: 15px;
    fill: #3b8993;
    flex-shrink: 0;
}

.av-footer__news {
    padding: 34px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.av-footer__news-text {
    flex: 1 1 280px;
    min-width: 0;
    max-width: 100%;
}

.av-footer__news-text h4 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.av-footer__news-text p {
    font-size: 13px;
    color: #a9a8b6;
    max-width: 420px;
    line-height: 1.6;
    margin: 0;
}

.av-footer__news-form {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    flex: 0 1 360px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
}

.av-footer__news-form input[type="email"] {
    font-family: "Poppins", sans-serif;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    color: #fff;
    font-size: 13px;
    width: 280px;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    line-height: normal;
    padding: 12px 20px;
    outline: none;
    margin: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    display: block;
}

.av-footer__news-form .av-footer__btn {
    flex: 0 0 auto;
    min-height: 48px;
    white-space: nowrap;
}

.av-footer__news-form input::placeholder {
    color: #a9a8b6;
}

.av-footer__news-form input:focus {
    border-color: #3b8993;
}

.av-footer__bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.av-footer__copy {
    font-size: 12.5px;
    color: #a9a8b6;
}

.av-footer__legal {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.av-footer__legal a {
    color: #c9c8d4;
    text-decoration: none;
    font-size: 12.5px;
    transition: 0.15s;
}

.av-footer__legal a:hover {
    color: #fff;
}

.av-footer__to-top {
    position: absolute;
    right: 40px;
    bottom: 92px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ff5408;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: 0.18s;
    z-index: 2;
}

.av-footer__to-top:hover {
    background: #e5490a;
    transform: translateY(-3px);
    color: #fff;
}

.av-footer__to-top svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Contact form section (sits above .av-footer) */
.footer__form {
    padding: 56px 0 64px !important;
    text-align: center;
}

.footer__form .footer-form-title {
    margin: 0 0 28px;
    padding: 0;
}

.footer__form .footer-form-intro {
    margin-bottom: 28px;
}

.footer__form .grid-container {
    padding-left: 16px;
    padding-right: 16px;
}

.footer__form .tabs {
    margin-bottom: 2rem !important;
}

.footer__form .tabs-content {
    border: none;
}

.footer__form .contact-us-form input[type="submit"].button {
    margin-top: 12px;
}

@media (max-width: 980px) {
    .av-footer__inner {
        padding-top: 32px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .av-footer__top {
        gap: 24px;
        padding-bottom: 28px;
    }

    .av-footer__mid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 28px 0;
    }

    .av-footer__brand {
        max-width: none;
    }

    .av-footer__top {
        flex-direction: column;
    }

    .av-footer__cta {
        width: 100%;
    }

    .av-footer__cta-card {
        max-width: none;
        width: 100%;
    }

    .av-footer__news {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 22px 0;
    }

    .av-footer__news-text {
        width: 100%;
        flex: 0 0 auto;
    }

    .av-footer__news-text h4 {
        margin-bottom: 4px;
    }

    .av-footer__news-text p {
        max-width: none;
    }

    .av-footer__news-form {
        width: 100%;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .av-footer__news-form input[type="email"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        line-height: normal;
        padding: 12px 20px;
    }

    .av-footer__news-form .av-footer__btn {
        width: 100%;
        justify-content: center;
        flex: 0 0 auto;
    }

    .av-footer__to-top {
        right: 28px;
        bottom: 84px;
    }
}

@media (max-width: 768px) {
    .av-footer__inner {
        padding-top: 28px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .av-footer__top {
        gap: 20px;
        padding-bottom: 24px;
    }

    .av-footer__mid {
        gap: 22px;
        padding: 24px 0;
    }

    .av-footer__bottom {
        padding: 18px 24px;
    }
}

@media (max-width: 560px) {
    .av-footer__inner {
        padding-top: 24px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .av-footer__bottom {
        padding-left: 22px;
        padding-right: 22px;
    }

    .av-footer__mid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .av-footer__logo img {
        width: 72px;
    }

    .av-footer__cta-card h4 {
        font-size: 20px;
    }

    .av-footer__cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .av-footer__cta-actions .av-footer__btn {
        justify-content: center;
        width: 100%;
    }

    .av-footer__news {
        padding: 18px 0;
        gap: 12px;
    }

    .av-footer__news-form input[type="email"] {
        width: 100%;
        flex: 0 0 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }

    .av-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
    }

    .av-footer__legal {
        gap: 16px;
    }

    .av-footer__to-top {
        bottom: auto;
        top: 20px;
        right: 22px;
    }

    .footer__form {
        padding: 40px 0 48px !important;
    }
}
