/* ============================================================
   WELCOME SECTION
   CORPORATE POLISHED VERSION
============================================================ */

.welcome-section {

    --welcome-navy: #0b2c52;
    --welcome-blue: #087fc4;
    --welcome-green: #137344;
    --welcome-gold: #ffc300;

    --welcome-text: #4b5c6d;
    --welcome-muted: #7b8794;
    --welcome-border: #e5ebf0;
    --welcome-soft: #f7f9fb;

    width: 100%;

    padding: 88px 0;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
}


/* ============================================================
   SAFE BOX SIZING
============================================================ */

.welcome-section,
.welcome-section *,
.welcome-section *::before,
.welcome-section *::after {

    box-sizing: border-box;
}


/* ============================================================
   SUBTLE BACKGROUND DECORATION
============================================================ */

.welcome-section::before {

    content: "";

    position: absolute;

    top: 45px;
    right: -180px;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,195,0,.045) 0%,
            rgba(255,195,0,0) 68%
        );

    pointer-events: none;
}


.welcome-section::after {

    content: "";

    position: absolute;

    bottom: 20px;
    left: -180px;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(11,44,82,.035) 0%,
            rgba(11,44,82,0) 68%
        );

    pointer-events: none;
}


/* ============================================================
   CONTAINER
============================================================ */

.container-welcome {

    width: calc(100% - 48px);

    max-width: 1240px;

    margin: 0 auto;

    position: relative;

    z-index: 1;
}


/* ============================================================
   MAIN GRID
============================================================ */

.welcome-grid {

    display: grid;

    grid-template-columns:
        minmax(0, .92fr)
        minmax(0, 1.08fr);

    gap: 72px;

    align-items: center;
}


/* ============================================================
   LEFT SIDE
============================================================ */

.welcome-image-side {

    position: relative;

    min-width: 0;
}


.image-frame-wrapper {

    position: relative;

    max-width: 520px;

    margin: 0 auto;

    padding: 16px;
}


/* ============================================================
   CORPORATE CORNER DECORATION
============================================================ */

.frame-decoration {

    position: absolute;

    width: 82px;
    height: 82px;

    border: 3px solid
        var(--welcome-gold);

    z-index: 1;

    opacity: .9;

    transition:
        transform .3s ease;
}


.frame-top-left {

    top: 0;
    left: 0;

    border-right: 0;
    border-bottom: 0;

    border-radius:
        14px 0 0 0;
}


.frame-bottom-right {

    right: 0;
    bottom: 0;

    border-left: 0;
    border-top: 0;

    border-radius:
        0 0 14px 0;
}


/* restrained hover */

.welcome-image-side:hover
.frame-top-left {

    transform:
        translate(
            -3px,
            -3px
        );
}


.welcome-image-side:hover
.frame-bottom-right {

    transform:
        translate(
            3px,
            3px
        );
}


/* ============================================================
   IMAGE
============================================================ */

.welcome-image {

    position: relative;

    width: 100%;

    aspect-ratio:
        4 / 5;

    overflow: hidden;

    z-index: 2;

    background:
        #eef2f5;

    border:
        1px solid
        rgba(11,44,82,.07);

    border-radius:
        16px;

    box-shadow:
        0 18px 45px
        rgba(11,44,82,.11);
}


.welcome-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform .55s ease;
}


.welcome-image-side:hover
.welcome-image img {

    transform:
        scale(1.035);
}


/* ============================================================
   IMAGE OVERLAY
============================================================ */

.image-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(11,44,82,.23) 0%,
            rgba(11,44,82,.04) 38%,
            transparent 62%
        );
}


/* ============================================================
   ESTABLISHED BADGE
============================================================ */

.years-badge {

    position: absolute;

    top: 38px;
    right: 0;

    z-index: 4;

    min-width: 118px;

    padding:
        14px 18px;

    text-align: center;

    color:
        var(--welcome-navy);

    background:
        var(--welcome-gold);

    border:
        1px solid
        rgba(11,44,82,.08);

    border-radius:
        10px 0 0 10px;

    box-shadow:
        0 8px 22px
        rgba(11,44,82,.12);

    transition:
        transform .25s ease;
}


.welcome-image-side:hover
.years-badge {

    transform:
        translateX(-3px);
}


.years-number {

    display: block;

    color:
        var(--welcome-navy);

    font-size:
        1.65rem;

    line-height:
        1;

    font-weight:
        800;

    letter-spacing:
        -.4px;
}


.years-text {

    display: block;

    margin-top: 5px;

    color:
        rgba(11,44,82,.82);

    font-size:
        .62rem;

    line-height:
        1.3;

    font-weight:
        800;

    letter-spacing:
        .75px;

    text-transform:
        uppercase;
}


/* ============================================================
   INSTITUTIONAL CARD
============================================================ */

.experience-card {

    position: absolute;

    left: 3px;
    bottom: 7px;

    z-index: 4;

    max-width: 260px;

    padding:
        14px 17px;

    display: flex;

    align-items: center;

    gap: 12px;

    background:
        rgba(255,255,255,.97);

    border:
        1px solid
        var(--welcome-border);

    border-radius:
        11px;

    box-shadow:
        0 12px 30px
        rgba(11,44,82,.12);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.welcome-image-side:hover
.experience-card {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 34px
        rgba(11,44,82,.14);
}


/* ============================================================
   INSTITUTIONAL CARD ICON
============================================================ */

.exp-icon {

    width: 43px;
    height: 43px;

    flex:
        0 0 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--welcome-gold);

    background:
        var(--welcome-navy);

    border-radius:
        9px;
}


.exp-icon i {

    color:
        var(--welcome-gold);

    font-size:
        1.05rem;
}


/* ============================================================
   INSTITUTIONAL CARD TEXT
============================================================ */

.exp-text {

    min-width: 0;

    display: flex;

    flex-direction: column;
}


.exp-text strong {

    margin: 0;

    color:
        var(--welcome-navy);

    font-size:
        .95rem;

    line-height:
        1.3;

    font-weight:
        700;
}


.exp-text span {

    margin-top: 2px;

    color:
        var(--welcome-muted);

    font-size:
        .7rem;

    line-height:
        1.4;
}


/* ============================================================
   RIGHT CONTENT
============================================================ */

.welcome-content-side {

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


/* ============================================================
   ABOUT TAG
============================================================ */

.welcome-tag {

    margin-bottom: 17px;

    padding:
        7px 13px;

    display:
        inline-flex;

    align-items:
        center;

    gap: 7px;

    align-self:
        flex-start;

    color:
        var(--welcome-navy);

    background:
        #edf3f8;

    border:
        1px solid
        #dce7f0;

    border-radius:
        6px;

    font-size:
        .7rem;

    line-height:
        1;

    font-weight:
        800;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

    box-shadow: none;
}


.welcome-tag i {

    color:
        var(--welcome-blue);

    font-size:
        .8rem;
}


/* ============================================================
   HEADING
============================================================ */

.welcome-heading {

    margin:
        0 0 13px;

    color:
        var(--welcome-navy);

    font-size:
        clamp(
            2.1rem,
            3.4vw,
            2.8rem
        );

    line-height:
        1.14;

    font-weight:
        800;

    letter-spacing:
        -.6px;
}


.welcome-heading
.highlight {

    position: relative;

    display: inline-block;

    color:
        var(--welcome-blue);

    z-index: 0;
}


.welcome-heading
.highlight::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 3px;

    height: 8px;

    z-index: -1;

    background:
        rgba(255,195,0,.22);

    border-radius:
        4px;
}


/* ============================================================
   TITLE ACCENT
============================================================ */

.welcome-title-line {

    width: 68px;
    height: 3px;

    margin-bottom: 24px;

    border-radius:
        3px;

    background:
        linear-gradient(
            90deg,
            var(--welcome-blue) 0%,
            var(--welcome-blue) 65%,
            var(--welcome-gold) 65%,
            var(--welcome-gold) 100%
        );
}


/* ============================================================
   DESCRIPTION
============================================================ */

.welcome-description {

    width: 100%;

    margin-bottom: 26px;

    color:
        var(--welcome-text);

    font-size:
        .96rem;

    line-height:
        1.78;
}


.welcome-description p {

    margin:
        0 0 13px;

    text-align:
        left;
}


.welcome-description p:last-child {

    margin-bottom: 0;
}


/* Prevent imported backend content from breaking section */

.welcome-description img {

    max-width: 100%;

    height: auto;
}


.welcome-description table {

    max-width: 100%;
}


/* ============================================================
   FEATURE LIST
============================================================ */

.welcome-features {

    width: 100%;

    margin:
        0 0 30px;

    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap:
        13px 20px;

    list-style:
        none;
}


.welcome-features li {

    min-width: 0;

    display: flex;

    align-items:
        flex-start;

    gap: 10px;

    color:
        #33465a;

    font-size:
        .87rem;

    line-height:
        1.5;

    font-weight:
        500;
}


/* ============================================================
   FEATURE ICON
============================================================ */

.feature-icon {

    width: 23px;
    height: 23px;

    flex:
        0 0 23px;

    margin-top:
        1px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        #ffffff;

    background:
        var(--welcome-green);

    border-radius:
        50%;

    box-shadow: none;
}


.feature-icon i {

    color:
        #ffffff;

    font-size:
        .6rem;
}


/* ============================================================
   ACTIONS
============================================================ */

.welcome-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}


/* ============================================================
   PRIMARY BUTTON
============================================================ */

.btn-welcome-primary {

    min-height: 44px;

    padding:
        11px 20px;

    position: relative;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    overflow:
        hidden;

    color:
        #ffffff !important;

    background:
        var(--welcome-navy);

    border:
        1px solid
        var(--welcome-navy);

    border-radius:
        7px;

    font-size:
        .78rem;

    line-height:
        1;

    font-weight:
        700;

    letter-spacing:
        .25px;

    text-transform:
        uppercase;

    text-decoration:
        none !important;

    box-shadow:
        0 6px 16px
        rgba(11,44,82,.15);

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


/*
 * Remove old gold sliding overlay behavior.
 */
.btn-welcome-primary::before {

    display: none;
}


.btn-welcome-primary span,
.btn-welcome-primary i {

    position: relative;

    z-index: 1;
}


.btn-welcome-primary:hover {

    color:
        #ffffff !important;

    background:
        #123f70;

    border-color:
        #123f70;

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(11,44,82,.18);
}


.btn-welcome-primary i {

    font-size:
        .72rem;

    transition:
        transform .2s ease;
}


.btn-welcome-primary:hover i {

    transform:
        translateX(3px);
}


/* ============================================================
   SECONDARY BUTTON
============================================================ */

.btn-welcome-secondary {

    min-height: 44px;

    padding:
        11px 19px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    color:
        var(--welcome-navy)
        !important;

    background:
        #ffffff;

    border:
        1px solid
        #becbd7;

    border-radius:
        7px;

    font-size:
        .78rem;

    line-height:
        1;

    font-weight:
        700;

    letter-spacing:
        .25px;

    text-transform:
        uppercase;

    text-decoration:
        none !important;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.btn-welcome-secondary:hover {

    color:
        var(--welcome-navy)
        !important;

    background:
        #f3f7fa;

    border-color:
        var(--welcome-navy);

    transform:
        translateY(-1px);

    box-shadow:
        none;
}


.btn-welcome-secondary i {

    color:
        var(--welcome-blue);

    font-size:
        .75rem;
}


/* ============================================================
   ACCESSIBILITY FOCUS
============================================================ */

.btn-welcome-primary:focus-visible,
.btn-welcome-secondary:focus-visible {

    outline:
        3px solid
        rgba(8,127,196,.20);

    outline-offset:
        3px;
}


/* ============================================================
   LAPTOP
============================================================ */

@media (
    max-width: 1199px
) {

    .welcome-grid {

        gap: 50px;
    }


    .container-welcome {

        max-width: 1080px;
    }

}


/* ============================================================
   TABLET
============================================================ */

@media (
    max-width: 991px
) {

    .welcome-section {

        padding:
            70px 0;
    }


    .welcome-grid {

        grid-template-columns:
            1fr;

        gap:
            52px;
    }


    .welcome-image-side {

        width:
            100%;

        max-width:
            500px;

        margin:
            0 auto;
    }


    .welcome-content-side {

        max-width:
            700px;

        margin:
            0 auto;

        align-items:
            flex-start;
    }


    .welcome-heading {

        font-size:
            2.3rem;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (
    max-width: 767px
) {

    .welcome-section {

        padding:
            54px 0;
    }


    .container-welcome {

        width:
            calc(100% - 30px);
    }


    .welcome-grid {

        gap:
            42px;
    }


    .image-frame-wrapper {

        padding:
            12px;
    }


    .frame-decoration {

        width:
            62px;

        height:
            62px;

        border-width:
            2px;
    }


    .years-badge {

        top:
            28px;

        padding:
            11px 14px;

        min-width:
            100px;
    }


    .years-number {

        font-size:
            1.35rem;
    }


    .years-text {

        font-size:
            .55rem;
    }


    .experience-card {

        left:
            0;

        bottom:
            3px;

        max-width:
            230px;

        padding:
            11px 13px;

        gap:
            9px;
    }


    .exp-icon {

        width:
            36px;

        height:
            36px;

        flex-basis:
            36px;
    }


    .exp-text strong {

        font-size:
            .84rem;
    }


    .exp-text span {

        font-size:
            .62rem;
    }


    .welcome-heading {

        font-size:
            1.9rem;
    }


    .welcome-description {

        font-size:
            .91rem;

        line-height:
            1.7;
    }


    .welcome-features {

        grid-template-columns:
            1fr;

        gap:
            11px;
    }


    .welcome-features li {

        font-size:
            .84rem;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (
    max-width: 480px
) {

    .welcome-section {

        padding:
            45px 0;
    }


    .welcome-heading {

        font-size:
            1.7rem;
    }


    .welcome-tag {

        padding:
            6px 10px;

        font-size:
            .62rem;
    }


    .welcome-title-line {

        margin-bottom:
            20px;
    }


    .years-badge {

        top:
            22px;

        min-width:
            90px;

        padding:
            10px 12px;
    }


    .years-number {

        font-size:
            1.2rem;
    }


    .experience-card {

        max-width:
            210px;

        padding:
            9px 11px;
    }


    .exp-icon {

        width:
            33px;

        height:
            33px;

        flex-basis:
            33px;
    }


    .welcome-description {

        margin-bottom:
            22px;

        font-size:
            .88rem;
    }


    .welcome-actions {

        width:
            100%;

        display:
            grid;

        grid-template-columns:
            1fr;
    }


    .btn-welcome-primary,
    .btn-welcome-secondary {

        width:
            100%;

        min-height:
            43px;
    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (
    prefers-reduced-motion: reduce
) {

    .welcome-section *,
    .welcome-section *::before,
    .welcome-section *::after {

        animation:
            none !important;

        transition:
            none !important;

        scroll-behavior:
            auto !important;
    }


    .welcome-image-side:hover
    .welcome-image img,

    .welcome-image-side:hover
    .years-badge,

    .welcome-image-side:hover
    .experience-card,

    .welcome-image-side:hover
    .frame-top-left,

    .welcome-image-side:hover
    .frame-bottom-right,

    .btn-welcome-primary:hover,

    .btn-welcome-secondary:hover {

        transform:
            none !important;
    }

}

/* ============================================================
   AVIYAN HOME PAGE - PROFESSIONAL SECTIONS
   Leadership / Deposits / Services / Loans / At a Glance
   Scoped and responsive.
============================================================ */

.av-home-section,
.av-home-section *,
.av-home-section *::before,
.av-home-section *::after,
.at-glance-section,
.at-glance-section *,
.at-glance-section *::before,
.at-glance-section *::after {
    box-sizing: border-box;
}

.av-home-section {
    --avh-navy: #0b2c52;
    --avh-blue: #087fc4;
    --avh-green: #137344;
    --avh-gold: #ffc300;
    --avh-text: #4b5c6d;
    --avh-muted: #7b8794;
    --avh-border: #e3eaf0;
    --avh-soft: #f7f9fb;
    width: 100%;
    position: relative;
}

.av-home-container {
    width: calc(100% - 48px);
    max-width: 1240px;
    margin: 0 auto;
}

.av-home-section-head {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.av-home-section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 12px;
    color: #0b2c52;
    background: #edf3f8;
    border: 1px solid #dce7f0;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.av-home-section-head__eyebrow i {
    color: #087fc4;
}

.av-home-section-head__eyebrow--green {
    color: #0f6740;
    background: #edf7f1;
    border-color: #d8ebdf;
}

.av-home-section-head__eyebrow--green i {
    color: #137344;
}

.av-home-section-head h2 {
    margin: 0;
    color: #0b2c52;
    font-size: clamp(29px, 3.2vw, 40px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.55px;
}

.av-home-section-head p {
    max-width: 620px;
    margin: 11px auto 0;
    color: #667587;
    font-size: 14px;
    line-height: 1.7;
}

.av-home-section-head__line {
    display: block;
    width: 68px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #087fc4 0 66%, #ffc300 66% 100%);
}

.av-home-button {
    min-height: 44px;
    padding: 11px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .2px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.av-home-button--primary {
    color: #fff !important;
    background: #0b2c52;
    border-color: #0b2c52;
    box-shadow: 0 6px 16px rgba(11,44,82,.14);
}

.av-home-button--primary:hover {
    color: #fff !important;
    background: #123f70;
    border-color: #123f70;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11,44,82,.17);
}

.av-home-button:focus-visible,
.av-home-product-card a:focus-visible,
.av-services a:focus-visible,
.at-glance-section a:focus-visible {
    outline: 3px solid rgba(8,127,196,.22);
    outline-offset: 3px;
}

.av-home-empty {
    padding: 28px;
    color: #667085;
    background: #fff;
    border: 1px dashed #cfd8e3;
    border-radius: 12px;
    text-align: center;
}

/* ============================================================
   LEADERSHIP
============================================================ */

.av-home-leadership {
    padding: 78px 0;
    background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
    overflow: hidden;
}

.av-home-leadership__card {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.5fr);
    gap: 52px;
    align-items: center;
    padding: 36px;
    background: #fff;
    border: 1px solid #e3eaf0;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(11,44,82,.07);
    position: relative;
}

.av-home-leadership__card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #087fc4, #ffc300);
    border-radius: 18px 0 0 18px;
}

.av-home-leadership__media {
    min-width: 0;
}

.av-home-leadership__photo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eef2f5;
    border: 1px solid #dfe7ed;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(11,44,82,.10);
}

.av-home-leadership__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform .32s ease;
}

.av-home-leadership__card:hover .av-home-leadership__photo img {
    transform: scale(1.02);
}

.av-home-leadership__identity {
    max-width: 300px;
    margin: 14px auto 0;
    text-align: center;
}

.av-home-leadership__identity strong {
    display: block;
    margin-bottom: 3px;
    color: #0b2c52;
    font-size: 17px;
    font-weight: 800;
}

.av-home-leadership__identity span {
    display: inline-block;
    padding: 4px 11px;
    color: #0c5f95;
    background: #eef6fb;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.av-home-leadership__content {
    min-width: 0;
}

.av-home-leadership__quote {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b2c52;
    background: #ffc300;
    border-radius: 9px;
    font-size: 16px;
}

.av-home-leadership__content h3 {
    margin: 0;
    color: #0b2c52;
    font-size: clamp(23px, 2.3vw, 31px);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.3px;
}

.av-home-leadership__title-line {
    display: block;
    width: 58px;
    height: 3px;
    margin: 14px 0 20px;
    border-radius: 4px;
    background: linear-gradient(90deg, #087fc4 0 66%, #ffc300 66% 100%);
}

.av-home-leadership__intro p,
.av-home-leadership__more p {
    margin: 0 0 14px;
    color: #4d5d6d;
    font-size: 15px;
    line-height: 1.82;
    text-align: left;
}

.av-home-leadership__more[hidden] {
    display: none !important;
}

.av-home-leadership__toggle {
    margin-top: 8px;
}

/* ============================================================
   DEPOSITS / SHARED PRODUCT CARDS
============================================================ */

.av-home-deposits {
    padding: 72px 0;
    background: #fff;
}

.av-home-deposits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}

.av-home-product-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e9ef;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(11,44,82,.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.av-home-product-card:hover {
    transform: translateY(-2px);
    border-color: #c7d7e3;
    box-shadow: 0 11px 26px rgba(11,44,82,.08);
}

.av-home-product-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: block;
    background: #edf2f6;
}

.av-home-product-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}

.av-home-product-card:hover .av-home-product-card__media img {
    transform: scale(1.025);
}

.av-home-product-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(to top, rgba(11,44,82,.22), transparent);
    pointer-events: none;
}

.av-home-product-card__badge {
    position: absolute;
    z-index: 2;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    color: #fff;
    background: rgba(11,44,82,.92);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.av-home-product-card--saving .av-home-product-card__badge {
    background: rgba(19,115,68,.94);
}

.av-home-product-card__body {
    min-height: 122px;
    padding: 17px 18px 18px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.av-home-product-card__body h3 {
    margin: 0 0 14px;
    color: #0b2c52;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
}

.av-home-product-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.av-home-product-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0b2c52;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration: none !important;
}

.av-home-product-card--saving .av-home-product-card__link {
    color: #137344;
}

.av-home-product-card__link i {
    font-size: 9px;
    transition: transform .2s ease;
}

.av-home-product-card__link:hover i {
    transform: translateX(3px);
}

/* ============================================================
   OUR SERVICES
============================================================ */

.av-services {
    --avs-navy: #0b2c52;
    --avs-green: #137344;
    --avs-text: #536477;
    --avs-border: #e4ebf0;
    width: 100%;
    padding: 72px 0;
    background: #f7f9fb;
}

.av-services .av-services__container {
    width: calc(100% - 48px);
    max-width: 1120px;
    margin: 0 auto;
}

.av-services .av-services__header {
    margin-bottom: 38px;
}

.av-services .av-services__grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
    align-items: stretch;
}

.av-services .av-services__card {
    --avs-accent: var(--avs-navy);
    --avs-tint: #edf3f9;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--avs-border);
    border-top: 3px solid var(--avs-accent);
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(11,44,82,.05);
}

.av-services .av-services__card--saving {
    --avs-accent: var(--avs-green);
    --avs-tint: #eaf6ee;
}

.av-services .av-services__card-top {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.av-services .av-services__badge {
    padding: 6px 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--avs-accent);
    background: var(--avs-tint);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.av-services .av-services__category {
    color: var(--avs-text);
    font-size: 11px;
}

.av-services .av-services__poster {
    height: 350px;
    margin: 0 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e7edf2;
    border-radius: 9px;
    text-decoration: none;
    transition: border-color .18s ease;
}

.av-services .av-services__poster:hover {
    border-color: var(--avs-accent);
}

.av-services .av-services__poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.av-services .av-services__body {
    padding: 20px 20px 21px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.av-services .av-services__body h3 {
    margin: 0 0 8px;
    color: #0b2c52;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 800;
}

.av-services .av-services__body > p {
    margin: 0 0 18px;
    color: var(--avs-text);
    font-size: 13px;
    line-height: 1.75;
}

.av-services .av-services__actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.av-services .av-services__button {
    min-height: 43px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    background: var(--avs-accent);
    border: 1px solid var(--avs-accent);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease;
}

.av-services .av-services__button:hover {
    color: var(--avs-accent);
    background: var(--avs-tint);
}

.av-services .av-services__poster-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b2c52;
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.av-services .av-services__poster-link:hover {
    color: var(--avs-accent);
}

.av-services .av-services__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   LOANS
============================================================ */

.av-home-loans {
    padding: 72px 0 82px;
    background: #fff;
}

.av-home-loan__slider:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.av-home-loan__slide {
    min-width: 0;
    padding: 8px;
}

.av-home-loan__slider.slick-initialized {
    margin: 0 -8px;
}

.av-home-loan__slider .slick-track {
    display: flex;
}

.av-home-loan__slider .slick-slide {
    height: auto;
}

.av-home-loan__slider .slick-slide > div,
.av-home-loan__slider .av-home-loan__slide,
.av-home-loan__slider .av-home-product-card {
    height: 100%;
}

.av-home-loan__slider .slick-prev,
.av-home-loan__slider .slick-next {
    width: 38px;
    height: 38px;
    z-index: 5;
    background: #0b2c52;
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(11,44,82,.15);
}

.av-home-loan__slider .slick-prev {
    left: -14px;
}

.av-home-loan__slider .slick-next {
    right: -14px;
}

.av-home-loan__slider .slick-prev::before,
.av-home-loan__slider .slick-next::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    opacity: 1;
    font-size: 13px;
}

.av-home-loan__slider .slick-prev::before {
    content: "\f053";
}

.av-home-loan__slider .slick-next::before {
    content: "\f054";
}

.av-home-loan__slider .slick-prev:hover,
.av-home-loan__slider .slick-next:hover {
    background: #123f70;
}

.av-home-loan__slider .slick-dots {
    bottom: -34px;
}

.av-home-loan__slider .slick-dots li {
    width: 14px;
    height: 14px;
    margin: 0 2px;
}

.av-home-loan__slider .slick-dots li button::before {
    color: #0b2c52;
    font-size: 8px;
    opacity: .25;
}

.av-home-loan__slider .slick-dots li.slick-active button::before {
    color: #087fc4;
    opacity: 1;
}

.av-home-loans__footer {
    margin-top: 48px;
    text-align: center;
}

/* ============================================================
   AT A GLANCE
   Styles the existing site.glance-officer partial.
============================================================ */

.at-glance-section {
    --avg-navy: #0b2c52;
    --avg-blue: #087fc4;
    --avg-green: #137344;
    --avg-gold: #ffc300;
    --avg-text: #536477;
    --avg-border: #e3eaf0;
    width: 100%;
    padding: 76px 0;
    position: relative;
    overflow: hidden;
    background: #f7f9fb;
}

.at-glance-section .container-glance {
    width: calc(100% - 48px);
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.at-glance-section .glance-header {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.at-glance-section .glance-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 12px;
    color: var(--avg-navy);
    background: #edf3f8;
    border: 1px solid #dce7f0;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
    box-shadow: none;
}

.at-glance-section .glance-tag i {
    color: var(--avg-blue);
}

.at-glance-section .glance-header h2 {
    margin: 0;
    color: var(--avg-navy);
    font-size: clamp(29px,3.2vw,40px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.55px;
}

.at-glance-section .glance-header p {
    max-width: 620px;
    margin: 11px auto 0;
    color: #667587;
    font-size: 14px;
    line-height: 1.7;
}

.at-glance-section .glance-head-line {
    width: 68px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg,#087fc4 0 66%,#ffc300 66% 100%);
}

.at-glance-section .glance-head-line::before,
.at-glance-section .glance-head-line::after {
    display: none;
}

.at-glance-section .glance-grid {
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(300px,.85fr);
    gap: 24px;
    align-items: start;
}

.at-glance-section .stats-card,
.at-glance-section .officer-card {
    background: #fff;
    border: 1px solid var(--avg-border);
    border-radius: 16px;
    box-shadow: 0 9px 26px rgba(11,44,82,.055);
    position: relative;
    overflow: hidden;
}

.at-glance-section .stats-card {
    padding: 26px;
}

.at-glance-section .stats-card::before,
.at-glance-section .officer-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg,var(--avg-blue),var(--avg-gold));
}

.at-glance-section .stats-card-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #e8edf2;
}

.at-glance-section .stats-icon-badge {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--avg-navy);
    background: var(--avg-gold);
    border-radius: 9px;
    box-shadow: none;
}

.at-glance-section .stats-icon-badge i {
    font-size: 17px;
}

.at-glance-section .stats-header-text h3 {
    margin: 0 0 3px;
    color: var(--avg-navy);
    font-size: 18px;
    font-weight: 800;
}

.at-glance-section .stats-header-text p {
    margin: 0;
    color: #8490a0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.at-glance-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

.at-glance-section .stat-item {
    min-width: 0;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    background: #f8fafc;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    transition: border-color .18s ease, background .18s ease;
}

.at-glance-section .stat-item:hover {
    background: #fff;
    border-color: #c8d7e3;
    transform: none;
    box-shadow: none;
}

.at-glance-section .stat-item::before {
    display: none;
}

.at-glance-section .stat-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--avg-blue);
    background: #fff;
    border: 1px solid #e2e8ee;
    border-radius: 8px;
    box-shadow: none;
}

.at-glance-section .stat-icon img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.at-glance-section .stat-icon i {
    color: var(--avg-blue);
    font-size: 14px;
}

.at-glance-section .stat-content {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.at-glance-section .stat-label {
    margin-bottom: 3px;
    overflow: hidden;
    color: #7a8795;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.at-glance-section .stat-value {
    color: var(--avg-navy);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

.at-glance-section .stat-item:hover .stat-icon,
.at-glance-section .stat-item:hover .stat-value {
    transform: none;
    color: inherit;
}

.at-glance-section .officer-card {
    padding: 26px 24px;
    position: sticky;
    top: 90px;
}

.at-glance-section .officer-card-header {
    margin-bottom: 20px;
    padding-bottom: 17px;
    text-align: center;
    border-bottom: 1px solid #e8edf2;
}

.at-glance-section .officer-tag {
    margin-bottom: 10px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f6740;
    background: #edf7f1;
    border: 1px solid #d8ebdf;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    box-shadow: none;
}

.at-glance-section .officer-card-header h3 {
    margin: 0 0 5px;
    color: var(--avg-navy);
    font-size: 19px;
    font-weight: 800;
}

.at-glance-section .officer-card-header p {
    margin: 0;
    color: #8490a0;
    font-size: 11px;
}

.at-glance-section .officer-profile {
    margin-bottom: 20px;
    text-align: center;
}

.at-glance-section .officer-photo-wrapper {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 14px;
}

.at-glance-section .officer-photo-ring {
    position: absolute;
    inset: -5px;
    border: 2px solid #ffc300;
    border-radius: 50%;
    animation: none;
}

.at-glance-section .officer-photo-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    background: #eef2f5;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(11,44,82,.10);
}

.at-glance-section .officer-info h4 {
    margin: 0 0 6px;
    color: var(--avg-navy);
    font-size: 17px;
    font-weight: 800;
}

.at-glance-section .officer-role {
    padding: 4px 10px;
    display: inline-block;
    color: #7a5900;
    background: #fff8dd;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.at-glance-section .officer-contact {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.at-glance-section .contact-item {
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    background: #f8fafc;
    border: 1px solid #e8edf2;
    border-radius: 9px;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.at-glance-section .contact-item:hover {
    background: #fff;
    border-color: #c8d7e3;
    transform: none;
    box-shadow: none;
}

.at-glance-section .contact-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--avg-navy);
    border-radius: 8px;
}

.at-glance-section .contact-icon i {
    color: #fff;
    font-size: 12px;
}

.at-glance-section .contact-text {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.at-glance-section .contact-label {
    margin-bottom: 2px;
    color: #8a95a3;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.at-glance-section .contact-value {
    overflow: hidden;
    color: var(--avg-navy);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.at-glance-section .officer-cta {
    min-height: 42px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: var(--avg-navy);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .18s ease;
    box-shadow: none;
}

.at-glance-section .officer-cta::before {
    display: none;
}

.at-glance-section .officer-cta:hover {
    color: #fff;
    background: #123f70;
    transform: none;
    box-shadow: none;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1199px) {
    .av-home-deposits__grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .av-home-loan__slider:not(.slick-initialized) {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 991px) {
    .av-home-section,
    .av-services,
    .at-glance-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .av-home-leadership__card {
        grid-template-columns: 260px minmax(0,1fr);
        gap: 34px;
        padding: 28px;
    }

    .av-home-deposits__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .av-services .av-services__poster {
        height: 320px;
    }

    .at-glance-section .glance-grid {
        grid-template-columns: 1fr;
    }

    .at-glance-section .officer-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .av-home-container,
    .av-services .av-services__container,
    .at-glance-section .container-glance {
        width: calc(100% - 30px);
    }

    .av-home-section,
    .av-services,
    .at-glance-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .av-home-section-head,
    .at-glance-section .glance-header {
        margin-bottom: 30px;
    }

    .av-home-section-head h2,
    .at-glance-section .glance-header h2 {
        font-size: 27px;
    }

    .av-home-section-head p,
    .at-glance-section .glance-header p {
        font-size: 13px;
    }

    .av-home-leadership__card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 22px;
    }

    .av-home-leadership__photo {
        max-width: 230px;
    }

    .av-home-leadership__content {
        text-align: left;
    }

    .av-home-leadership__quote {
        width: 38px;
        height: 38px;
    }

    .av-home-leadership__content h3 {
        font-size: 23px;
    }

    .av-home-leadership__intro p,
    .av-home-leadership__more p {
        font-size: 14px;
        line-height: 1.72;
    }

    .av-home-deposits__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .av-home-product-card__media {
        aspect-ratio: 16 / 9;
    }

    .av-services .av-services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .av-services .av-services__poster {
        height: clamp(280px, 80vw, 400px);
        margin: 0 13px;
    }

    .av-home-loan__slider .slick-prev,
    .av-home-loan__slider .slick-next {
        display: none !important;
    }

    .at-glance-section .stats-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .at-glance-section .stats-card,
    .at-glance-section .officer-card {
        padding: 21px 18px;
    }
}

@media (max-width: 480px) {
    .av-home-section-head h2,
    .at-glance-section .glance-header h2 {
        font-size: 24px;
    }

    .av-home-section-head__eyebrow,
    .at-glance-section .glance-tag {
        font-size: 9px;
    }

    .av-home-leadership__card {
        padding: 18px;
        border-radius: 14px;
    }

    .av-home-leadership__photo {
        max-width: 190px;
    }

    .av-home-leadership__content h3 {
        font-size: 21px;
    }

    .av-home-leadership__toggle,
    .av-home-loans__footer .av-home-button {
        width: 100%;
    }

    .av-services .av-services__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .av-services .av-services__button,
    .av-services .av-services__poster-link {
        width: 100%;
        justify-content: center;
    }

    .at-glance-section .stats-grid {
        grid-template-columns: 1fr;
    }

    .at-glance-section .stat-value {
        font-size: 17px;
    }
}

/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
    .av-home-section *,
    .av-home-section *::before,
    .av-home-section *::after,
    .av-services *,
    .av-services *::before,
    .av-services *::after,
    .at-glance-section *,
    .at-glance-section *::before,
    .at-glance-section *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .av-home-product-card:hover,
    .av-home-button:hover,
    .av-home-leadership__card:hover .av-home-leadership__photo img {
        transform: none !important;
    }
}
