/* Union Monique Bank ? Professional homepage */

:root {
    --bank-navy: var(--brand-navy, var(--brand-text, #0A1F33));
    --bank-navy-deep: var(--brand-navy-deep, #081828);
    --bank-teal: var(--brand-primary, #0EA5E9);
    --bank-teal-dark: var(--brand-primary-dark, #0369A1);
    --bank-ink: var(--brand-text, #0A1F33);
    --bank-muted: var(--brand-muted, #5B6B7C);
    --bank-line: #DCE3EB;
    --bank-fog: var(--brand-bg, #F4F7FB);
    --bank-paper: var(--brand-bg, #F4F7FB);
    --bank-white: #FFFFFF;
    --bank-radius: 2px;
    --shadow-card: 0 1px 2px rgba(10, 31, 51, 0.04), 0 8px 24px rgba(10, 31, 51, 0.07);
    --shadow-card-hover: 0 2px 4px rgba(10, 31, 51, 0.05), 0 16px 40px rgba(10, 31, 51, 0.11);
    --shadow-strip: 0 12px 36px rgba(10, 31, 51, 0.1);

    --dashboard-blue-dark: var(--brand-navy, var(--brand-text, #0A1F33));
    --dashboard-blue-light: var(--brand-primary, #0EA5E9);
    --dashboard-bg-light: var(--brand-bg, #F4F7FB);
    --dashboard-text-dark: var(--brand-text, #0A1F33);
    --dashboard-text-muted: var(--brand-muted, #5B6B7C);
    --dashboard-border: #DCE3EB;
    --dashboard-footer-dark: var(--brand-navy, #0A1F33);
    --dashboard-footer-text: rgba(255, 255, 255, 0.72);
    --dashboard-footer-heading: #F1F5F9;
    --dashboard-footer-border: rgba(255, 255, 255, 0.1);
    --dashboard-footer-link-hover: var(--brand-primary-light, #38BDF8);

    --primary-color: var(--brand-primary, #0EA5E9);
    --secondary-color: var(--brand-secondary, #14B8A6);
    --bg-color: var(--brand-bg, #F4F7FB);
    --text-color: var(--brand-text, #0A1F33);
    --text-muted-color: var(--brand-muted, #5B6B7C);
    --border-color: #DCE3EB;
    --gradient-primary: var(--brand-gradient, linear-gradient(135deg, #0369A1, #0EA5E9));

    --header-navy: var(--brand-navy, var(--brand-text, #0A1F33));
    --header-navy-deep: var(--brand-navy-deep, #081828);
    --header-ink: var(--brand-text, #0A1F33);
    --header-muted: var(--brand-muted, #5B6B7C);
    --header-line: #DCE3EB;
    --header-surface: var(--brand-card, #FFFFFF);
    --header-hover: var(--brand-bg, #F4F7FB);
    --utility-height: 36px;
    --navbar-height: 76px;
    --navbar-height-mobile: 60px;
    --header-stack: calc(var(--utility-height) + var(--navbar-height));
    --header-stack-mobile: var(--navbar-height-mobile);
}

/* Header scrolls with the page */
.site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

/* Header ? Popular-inspired type scale (16px base) */
.header-utility {
    background: #F4F6F8;
    color: var(--bank-muted);
    border-bottom: 1px solid var(--bank-line);
    font-size: 0.875rem;
    font-weight: 500;
}
.header-utility a { color: var(--bank-muted); }
.header-utility a:hover { color: var(--bank-navy); }
.utility-audience a {
    padding: 0.2rem 0.7rem 0.28rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    color: var(--bank-muted);
}
.utility-audience a.is-active {
    color: var(--brand-primary-dark, var(--bank-navy));
    border-bottom-color: var(--brand-primary, #0ea5e9);
}
.utility-right .header-login-mini {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bank-navy);
    padding: 0.2rem 0.45rem;
}
.utility-right .header-login-mini:hover {
    color: var(--brand-primary-dark, var(--bank-navy));
}
.header-bar {
    border-bottom: 1px solid var(--bank-line);
    background: #fff;
}
.navbar-brand .brand-name {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--bank-navy);
    letter-spacing: 0.01em;
}
.navbar-brand .brand-tagline {
    font-size: 0.75rem;
    color: var(--bank-muted);
    font-weight: 500;
}
.navbar-brand img { height: 40px; max-height: 40px; width: auto; }
.nav-item .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bank-ink);
    padding: 0 0.75rem;
}
.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: var(--brand-primary-dark, var(--bank-navy));
    border-bottom-color: var(--brand-primary, #0ea5e9);
}
.header-cta {
    background: var(--brand-primary, #0ea5e9);
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: normal;
    padding: 0.56rem 1.15rem;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.22);
    color: #fff !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, filter 0.25s ease;
}
.header-cta:hover {
    background: var(--brand-primary, #0ea5e9);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.28);
    filter: brightness(0.97);
}
.header-bar.is-mobile .brand-tagline { display: none; }

.btn-primary {
    background: var(--brand-primary, #0ea5e9);
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.22);
}
.btn-primary:hover {
    background: var(--brand-primary, #0ea5e9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.28);
    filter: brightness(0.97);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--brand-primary, #0ea5e9);
    color: var(--brand-primary, #0ea5e9);
    border-radius: 8px;
    padding: calc(0.56rem - 1.5px) calc(1.15rem - 1.5px);
}
.btn-outline:hover {
    background: var(--brand-primary, #0ea5e9);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Homepage */
.home-page {
    background: var(--bank-paper);
    font-size: 1rem;
    line-height: 1.5;
}

/* Hero */
.s5-hero {
    position: relative;
    min-height: clamp(460px, 64vh, 640px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #1a2a38 center/cover no-repeat;
    overflow: visible;
}
.s5-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        color-mix(in srgb, var(--brand-primary-dark, #0369a1) 92%, #061525) 0%,
        color-mix(in srgb, var(--brand-primary-dark, #0369a1) 78%, transparent) 34%,
        color-mix(in srgb, var(--brand-primary, #0ea5e9) 32%, transparent) 62%,
        rgba(6, 21, 37, 0.12) 100%
    );
    z-index: 1;
}
.s5-hero-inner {
    position: relative;
    z-index: 2;
    padding: 4.75rem 0 5.75rem;
}
.s5-hero-copy { max-width: 520px; }
.s5-kicker {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--bank-muted);
    margin-bottom: 0.9rem;
}
.s5-hero .s5-kicker {
    color: rgba(255, 255, 255, 0.78);
}
.s5-hero-copy h1 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 1rem;
}
.s5-hero-copy p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.75rem;
    max-width: 420px;
}
.s5-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
}

/* Buttons ? matched to unionmonique.com */
.s5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: normal;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
}
.s5-btn-primary {
    background: var(--brand-primary, #0ea5e9);
    color: #fff !important;
    padding: 0.56rem 1.15rem;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.22);
}
.s5-btn-primary:hover {
    background: var(--brand-primary, #0ea5e9);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.28);
    filter: brightness(0.97);
}
.s5-btn-primary .btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    line-height: 0;
}
.s5-btn-primary .btn-ico img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}
.s5-btn-secondary {
    background: transparent;
    color: var(--brand-primary, #0ea5e9) !important;
    padding: calc(0.56rem - 1.5px) calc(1.15rem - 1.5px);
    border: 1.5px solid var(--brand-primary, #0ea5e9);
    box-shadow: none;
}
.s5-btn-secondary:hover {
    background: var(--brand-primary, #0ea5e9);
    color: #fff !important;
    border-color: var(--brand-primary, #0ea5e9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.s5-hero .s5-btn-primary,
.s5-hero .s5-btn-secondary {
    font-size: 1rem;
    padding: 0.75rem 1.8rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.s5-hero .s5-btn-secondary {
    padding: calc(0.75rem - 1.5px) calc(1.8rem - 1.5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.92);
}
.s5-hero .s5-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.s5-hero .s5-btn-secondary:hover {
    transform: translateY(-3px);
    background: #fff;
    color: var(--brand-primary-dark, #0369a1) !important;
    border-color: #fff;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}
.s5-btn-text {
    color: var(--brand-primary, #0ea5e9) !important;
    font-weight: 600;
    padding: 0.35rem 0;
    border-radius: 0;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}
.s5-btn-text:hover {
    border-bottom-color: var(--brand-primary, #0ea5e9);
    transform: none;
    box-shadow: none;
}

/* Product strip ? text-first, no icon circles */
.s5-product-strip-wrap {
    position: relative;
    z-index: 3;
    margin-top: -2.75rem;
}
.s5-product-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid rgba(var(--brand-primary-rgb, 14, 165, 233), 0.12);
    border-radius: 12px;
    box-shadow:
        0 2px 8px rgba(var(--brand-primary-rgb, 14, 165, 233), 0.08),
        0 12px 36px rgba(10, 31, 51, 0.1);
    overflow: hidden;
}
.s5-product-strip a {
    display: block;
    padding: 1.55rem 1.35rem 1.65rem;
    text-decoration: none;
    color: var(--bank-ink);
    border-right: 1px solid rgba(var(--brand-primary-rgb, 14, 165, 233), 0.1);
    transition: background 0.25s ease, transform 0.25s ease;
}
.s5-product-strip a:last-child { border-right: none; }
.s5-product-strip a:hover { background: rgba(var(--brand-primary-rgb, 14, 165, 233), 0.04); }
.s5-product-strip .ps-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.9rem;
    line-height: 0;
}
.s5-product-strip .ps-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}
.s5-product-strip strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bank-navy);
    letter-spacing: 0.01em;
    margin-bottom: 0.35rem;
}
.s5-product-strip a > span:not(.ps-icon) {
    display: block;
    font-size: 0.875rem;
    color: var(--bank-muted);
    line-height: 1.45;
}

/* Products */
.s5-section {
    padding: 5rem 0 4.5rem;
    background: var(--bank-paper);
}
.s5-section-head {
    max-width: 560px;
    margin: 0 0 2.75rem;
}
.s5-section-head .s5-kicker { margin-bottom: 0.7rem; }
.s5-section-head h2 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: var(--bank-navy);
    letter-spacing: 0.04em;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}
.s5-section-head p {
    font-size: 1rem;
    color: var(--bank-muted);
    margin: 0;
    line-height: 1.5;
}

.s5-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* Popular Bank-inspired cards: no gray frame, soft depth, brand hover */
.s5-product-card {
    background: #fff;
    border: 3px solid transparent;
    border-radius: 0;
    box-shadow: 1px 1px 2px #ddd;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.s5-product-card:hover {
    border-color: var(--brand-primary, #0ea5e9);
    box-shadow: 0 0 8px rgba(77, 88, 98, 0.35);
}
.s5-product-card .pc-media {
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background: #E4EAF0;
    border-bottom: none;
    position: relative;
}
.s5-product-card .pc-media--visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.s5-product-card .pc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.s5-product-card:hover .pc-media img {
    transform: scale(1.03);
}
.s5-product-card .pc-body {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    position: relative;
    z-index: 1;
    text-align: left;
}
.s5-product-card > .pc-body:first-child {
    padding: 2.5rem 1.75rem;
    text-align: center;
    align-items: center;
}
.s5-product-card > .pc-body:first-child .pc-btn,
.s5-product-card > .pc-body:first-child .pc-link {
    align-self: center;
}
.s5-product-card .pc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 0.9rem;
    line-height: 0;
}
.s5-product-card .pc-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
.s5-product-card h3 {
    font-family: var(--font-sans);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--bank-navy, #0A1F33);
    margin: 0 0 0.75rem;
    letter-spacing: 0.01em;
    line-height: 1.25;
}
.s5-product-card p {
    font-size: 1rem;
    color: var(--bank-muted);
    line-height: 1.625;
    margin: 0 0 1.5rem;
    flex: 1;
}
.s5-product-card .pc-btn {
    align-self: flex-start;
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.56rem 1.2rem;
}
.s5-product-card .pc-link {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary, #0ea5e9) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.s5-product-card .pc-link:hover {
    color: var(--brand-primary-dark, #0369a1) !important;
}
.s5-product-card .pc-arrow {
    font-size: 1em;
    line-height: 1;
    transition: transform 0.15s ease;
}
.s5-product-card .pc-link:hover .pc-arrow {
    transform: translateX(3px);
}

/* Digital ? matched to unionmonique.com */
.s5-digital {
    position: relative;
    background: #E4EAF0 center/cover no-repeat;
    padding: 3rem 0;
    border-top: none;
}
.s5-digital-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
}
.s5-digital-inner {
    position: relative;
    z-index: 2;
}
.s5-digital-copy {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.s5-digital-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.s5-digital-kicker .ti-desktop {
    color: var(--brand-primary, #0ea5e9);
    font-size: 1.1rem;
}
.s5-digital-kicker > span:last-child {
    font-size: 0.8125rem;
    color: var(--bank-ink);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.s5-digital-copy h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--bank-ink);
    margin: 0 0 0.85rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
}
.s5-digital-copy p {
    color: var(--bank-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem;
    max-width: 100%;
    text-align: center;
}
.s5-digital-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* CTA */
.s5-cta {
    position: relative;
    background: var(--brand-primary-dark, #0369a1) center/cover no-repeat;
    padding: 3.25rem 0;
    overflow: hidden;
}
.s5-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(var(--brand-primary-dark-rgb, 3, 105, 161), 0.82) 0%,
        rgba(var(--brand-primary-rgb, 14, 165, 233), 0.72) 55%,
        rgba(var(--brand-primary-rgb, 14, 165, 233), 0.55) 100%
    );
    z-index: 1;
}
.s5-cta .container {
    position: relative;
    z-index: 2;
}
.s5-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.s5-cta-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 720px;
}
.s5-cta-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    line-height: 0;
}
.s5-cta-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}
.s5-cta-text h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.375rem, 2vw, 1.6rem);
    color: #fff;
    margin: 0 0 0.35rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.s5-cta-text p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}
.s5-cta .s5-btn-primary {
    background: #fff;
    color: var(--brand-primary, #0ea5e9) !important;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem 1.875rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}
.s5-cta .s5-btn-primary:hover {
    background: #fff;
    color: var(--brand-primary, #0ea5e9) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    filter: none;
    opacity: 0.95;
}

/* Footer – professional bank layout */
.ae-footer .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer.ae-footer,
.ae-footer {
    background: var(--brand-sidebar, var(--bank-navy, #0A1F33)) !important;
    color: #fff !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: none !important;
    position: relative;
    overflow: hidden;
}
.ae-footer::before,
.ae-footer::after { display: none !important; content: none !important; }
.footer.ae-footer a,
.ae-footer a {
    color: rgba(255, 255, 255, 0.88) !important;
}
.footer.ae-footer h2,
.ae-footer h2 {
    color: #fff !important;
}
.ae-footer ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.ae-footer li {
    list-style: none !important;
}

.ae-footer-shell {
    position: relative;
    background-color: var(--brand-sidebar, var(--bank-navy, #0A1F33));
    background-image:
        linear-gradient(180deg, rgba(var(--brand-primary-dark-rgb), 0.72) 0%, rgba(var(--brand-primary-dark-rgb), 0.55) 48%, rgba(var(--brand-primary-dark-rgb), 0.82) 100%),
        url('../images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3.5rem 0 0;
}

.ae-footer-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: 2rem;
}

.ae-footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(120px, 1fr));
    gap: 2.25rem 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ae-footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    margin-bottom: 0.85rem;
    color: #fff !important;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}
.ae-footer-logo img {
    height: 42px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    /* Keep navy plaque + gold C as-is on the dark footer */
    filter: none;
}
}

.ae-footer-tagline {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78) !important;
    max-width: 18rem;
}

.ae-footer-address {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 1.15rem;
    font-style: normal;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72) !important;
}
.ae-footer-address a {
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    width: fit-content;
}
.ae-footer-address a:hover {
    text-decoration: underline !important;
    color: var(--brand-primary-light, #fff) !important;
}

.ae-footer-title {
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}

.ae-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.ae-footer-col a {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none !important;
    line-height: 1.4;
}
.ae-footer-col a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.ae-social-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ae-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    text-decoration: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.ae-social-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.7);
}

.ae-footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    padding: 1.25rem 0 1rem;
}
.ae-footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
}
.ae-footer-legal a {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.8125rem;
    text-decoration: none !important;
}
.ae-footer-legal a:hover {
    color: var(--brand-primary-light, #fff) !important;
    text-decoration: underline !important;
}
.ae-footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
}

.ae-footer-disclaimer {
    margin: 0;
    padding-top: 0.25rem;
    max-width: 58rem;
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55) !important;
}

.bottom-nav-item.active { color: var(--brand-primary, #0ea5e9); }

@media (max-width: 991.98px) {
    .ae-footer-shell { padding-top: 2.75rem; }
    .ae-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }
    .ae-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .footer.ae-footer,
    .ae-footer {
        padding-bottom: 4.5rem !important;
    }
    .ae-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-bottom: 1.75rem;
    }
    .ae-footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .ae-footer-wrap {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .s5-hero::before {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--brand-primary-dark, #0369a1) 35%, transparent) 0%,
            color-mix(in srgb, var(--brand-primary-dark, #0369a1) 78%, #061525) 55%,
            color-mix(in srgb, var(--brand-primary-dark, #0369a1) 90%, #061525) 100%
        );
    }
    .s5-hero-inner { padding: 3.25rem 0 4.75rem; }
    .s5-product-strip { grid-template-columns: 1fr 1fr; }
    .s5-product-strip a:nth-child(2n) { border-right: none; }
    .s5-product-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--bank-line); }
    .s5-product-grid { grid-template-columns: 1fr; max-width: none; }
    .s5-section-head { margin-left: auto; margin-right: auto; text-align: center; }
    .s5-digital { padding: 2.5rem 0; }
    .s5-digital-copy { padding: 1.5rem 0.75rem; }
    .s5-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .s5-product-strip { grid-template-columns: 1fr; }
    .s5-product-strip a {
        border-right: none;
        border-bottom: 1px solid var(--bank-line);
    }
    .s5-product-strip a:last-child { border-bottom: none; }
    .s5-product-strip-wrap { margin-top: -1.5rem; }
    .s5-btn-primary,
    .s5-btn-secondary { width: 100%; }
}

/* =========================================================
   Inner pages - Style5 chrome (shared across marketing pages)
   ========================================================= */
.s5-page { background: var(--bank-paper); }

.s5-page-hero {
    position: relative;
    min-height: clamp(240px, 38vh, 360px);
    display: flex;
    align-items: flex-end;
    background-color: var(--brand-navy, #0A1F33);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
.s5-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(var(--brand-navy-deep-rgb, 8, 24, 40), 0.78) 0%,
        rgba(var(--brand-primary-dark-rgb, 3, 105, 161), 0.55) 100%
    );
    z-index: 1;
}
.s5-page-hero-inner {
    position: relative;
    z-index: 2;
    padding: 3.5rem 0 3rem;
    color: #fff;
    max-width: 720px;
}
.s5-page-hero .s5-kicker {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
}
.s5-page-hero h1 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 0.75rem;
    text-shadow: none;
}
.s5-page-hero p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.88);
    margin: 0;
    max-width: 560px;
}

.s5-page .s5-section,
.s5-page-section {
    padding: 4.5rem 0;
    background: #fff;
}
.s5-page-section.is-fog {
    background: linear-gradient(180deg, #F4F6F9 0%, #F2F4F7 45%, #EEF1F5 100%);
    border-top: 1px solid rgba(220, 227, 235, 0.85);
    border-bottom: 1px solid rgba(220, 227, 235, 0.85);
}
.s5-page .s5-section-head {
    margin-bottom: 2.5rem;
}
.s5-page .s5-section-head.is-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.s5-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.s5-split.is-reverse { direction: rtl; }
.s5-split.is-reverse > * { direction: ltr; }
.s5-split-media {
    overflow: hidden;
    border: none;
    background: #E4EAF0;
    aspect-ratio: 4 / 3;
    box-shadow: 1px 1px 2px #ddd;
}
.s5-split-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}
.s5-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.s5-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--bank-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.s5-feature-list .ti-check-box {
    color: var(--brand-primary, #0ea5e9);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Legacy chrome upgrades when Style5 CSS is loaded */
.hero-section {
    min-height: clamp(240px, 38vh, 360px) !important;
    padding: 0 !important;
    align-items: flex-end !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero-section .hero-overlay {
    background: linear-gradient(
        100deg,
        rgba(var(--brand-navy-deep-rgb, 8, 24, 40), 0.78) 0%,
        rgba(var(--brand-primary-dark-rgb, 3, 105, 161), 0.55) 100%
    ) !important;
}
.hero-section .hero-content-wrapper {
    min-height: auto !important;
    padding: 3.5rem 0 3rem !important;
    text-align: left !important;
    margin: 0 !important;
    width: 100%;
}
.hero-section .hero-text {
    max-width: 720px;
    margin: 0 !important;
}
.hero-section .hero-subheading,
.hero-section .glassmorphic-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8) !important;
    box-shadow: none !important;
}
.hero-section .hero-subheading .ti,
.hero-section .glassmorphic-badge .ti,
.hero-section .glassmorphic-badge span {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.8125rem !important;
}
.hero-section .hero-title {
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    font-size: clamp(2rem, 4vw, 2.75rem) !important;
    letter-spacing: 0.04em !important;
    line-height: 1.15 !important;
    text-shadow: none !important;
    margin-bottom: 0.75rem !important;
    animation: none !important;
}
.hero-section .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
    opacity: 0.9 !important;
    margin: 0 !important;
    animation: none !important;
}

.section {
    padding: 4.5rem 0 !important;
}
.section-header {
    text-align: left !important;
    margin-bottom: 2.5rem !important;
}
.section-title {
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    font-size: clamp(1.6rem, 2.5vw, 2rem) !important;
    letter-spacing: 0.04em !important;
    color: var(--bank-navy) !important;
}
.section-subtitle {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: var(--bank-muted) !important;
    margin: 0.5rem 0 0 !important;
}

.card-grid {
    gap: 1.25rem !important;
}
.card {
    border-radius: 0 !important;
    border: 3px solid transparent !important;
    box-shadow: 1px 1px 2px #ddd !important;
    overflow: hidden;
    background: #fff !important;
    transition: border-color 0.4s ease, box-shadow 0.4s ease !important;
}
.card::before {
    display: none !important;
}
.card:hover {
    transform: none !important;
    border-color: var(--brand-primary, #0ea5e9) !important;
    box-shadow: 0 0 8px rgba(77, 88, 98, 0.35) !important;
}
.card-tag {
    background: rgba(14, 165, 233, 0.1) !important;
    color: var(--brand-primary, #0ea5e9) !important;
    border-radius: 0 !important;
}
.card-title {
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    font-size: 1.375rem !important;
    letter-spacing: 0.01em !important;
    color: var(--bank-navy, #0A1F33) !important;
}
.card-description {
    font-size: 1rem !important;
    line-height: 1.625 !important;
}
.card .btn-link {
    color: var(--brand-primary, #0ea5e9) !important;
}

.faq-item {
    border-radius: 12px !important;
    border: 1px solid rgba(14, 165, 233, 0.12) !important;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.06) !important;
}
.faq-toggle-icon { color: var(--brand-primary, #0ea5e9) !important; }

.tabs-menu {
    background: #F2F4F7 !important;
    border-radius: 10px !important;
    padding: 0.4rem !important;
}
.tab-link {
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.tab-link.active {
    background: var(--brand-primary, #0ea5e9) !important;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25) !important;
}

.legal-content {
    border-radius: 12px !important;
    border: 1px solid rgba(14, 165, 233, 0.12) !important;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.06) !important;
}
.legal-content h2,
.legal-content h3 {
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
}

.price-card {
    border-radius: 0 !important;
    border: 3px solid transparent !important;
    box-shadow: 1px 1px 2px #ddd !important;
}
.price-card:hover {
    border-color: var(--brand-primary, #0ea5e9) !important;
    box-shadow: 0 0 8px rgba(77, 88, 98, 0.35) !important;
    transform: none !important;
}
.price-card.popular {
    border-color: var(--brand-primary, #0ea5e9) !important;
    border-width: 3px !important;
}
.price-card-title {
    color: var(--bank-navy, #0A1F33) !important;
    font-weight: 500 !important;
}

.cta-section {
    background: linear-gradient(135deg, var(--brand-primary-dark, #0369a1) 0%, var(--brand-primary, #0ea5e9) 100%) !important;
}
.cta-section .btn-secondary {
    border-radius: 8px !important;
}

.form-control:focus {
    border-color: var(--brand-primary, #0ea5e9) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
}

@media (max-width: 991.98px) {
    .s5-split {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .s5-split.is-reverse { direction: ltr; }
    .hero-section .hero-content-wrapper {
        padding: 2.75rem 0 2.5rem !important;
    }
}

/* =========================================================
   Contact page – Style5 interactive form + channel cards
   ========================================================= */
.s5-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2rem 2.5rem;
    align-items: start;
}
.s5-contact-aside .s5-section-head {
    margin-bottom: 1.5rem;
}
.s5-contact-channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.s5-contact-channel {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 3px solid transparent;
    box-shadow: 1px 1px 2px #ddd;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
a.s5-contact-channel:hover {
    border-color: var(--brand-primary, #0ea5e9);
    box-shadow: 0 0 8px rgba(77, 88, 98, 0.28);
}
.s5-contact-channel-ico {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary, #0ea5e9);
    font-size: 1.15rem;
    background: rgba(var(--brand-primary-rgb, 14, 165, 233), 0.08);
}
.s5-contact-channel-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.s5-contact-channel-body strong {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bank-navy, #0A1F33);
    letter-spacing: 0.01em;
}
.s5-contact-channel-body span {
    font-size: 0.9rem;
    color: var(--bank-muted, #5B6B7C);
    line-height: 1.45;
    word-break: break-word;
}

.s5-contact-form-card {
    background: #fff;
    border: 3px solid transparent;
    box-shadow: 1px 1px 2px #ddd;
    padding: clamp(1.5rem, 3vw, 2.35rem);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.s5-contact-form-card:focus-within {
    border-color: var(--brand-primary, #0ea5e9);
    box-shadow: 0 0 8px rgba(77, 88, 98, 0.28);
}
.s5-contact-form-head {
    margin-bottom: 1.5rem;
}
.s5-contact-form-head .s5-kicker {
    margin-bottom: 0.55rem;
}
.s5-contact-form-head h3 {
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 500;
    color: var(--bank-navy, #0A1F33);
    letter-spacing: 0.02em;
    margin: 0 0 0.45rem;
    line-height: 1.2;
}
.s5-contact-form-head p {
    margin: 0;
    color: var(--bank-muted, #5B6B7C);
    font-size: 0.95rem;
    line-height: 1.5;
}

.s5-contact-alert {
    padding: 0.8rem 1rem;
    margin-bottom: 1.15rem;
    font-size: 0.9rem;
    line-height: 1.45;
    border: 1px solid transparent;
}
.s5-contact-alert.is-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}
.s5-contact-alert.is-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
    color: #047857;
}

.s5-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.s5-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.s5-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}
.s5-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bank-navy, #0A1F33);
    letter-spacing: 0.01em;
}
.s5-field-hint {
    margin: 0;
    font-size: 0.75rem;
    color: var(--bank-muted, #5B6B7C);
}
.s5-input {
    width: 100%;
    padding: 0.8rem 0.95rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--bank-navy, #0A1F33);
    background: #F7F9FC;
    border: 1px solid #DCE3EB;
    border-radius: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.s5-input::placeholder {
    color: #94A3B8;
}
.s5-input:hover {
    border-color: #C5D0DB;
}
.s5-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand-primary, #0ea5e9);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 14, 165, 233), 0.16);
}
.s5-textarea {
    min-height: 140px;
    resize: vertical;
}
.s5-captcha {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: stretch;
}
.s5-captcha-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--brand-primary-dark, #0369a1);
    background: rgba(var(--brand-primary-rgb, 14, 165, 233), 0.08);
    border: 1px solid rgba(var(--brand-primary-rgb, 14, 165, 233), 0.18);
    user-select: none;
}
.s5-contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}
.s5-contact-quick .pc-body p {
    margin-bottom: 0;
}
.s5-contact-quick .pc-body a {
    color: var(--brand-link, var(--brand-primary-dark, #0369a1));
    text-decoration: none;
    word-break: break-word;
}
.s5-contact-quick .pc-body a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .s5-contact-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}
@media (max-width: 575.98px) {
    .s5-contact-grid {
        grid-template-columns: 1fr;
    }
    .s5-captcha {
        grid-template-columns: 1fr;
    }
    .s5-captcha-code {
        min-height: 2.75rem;
    }
}

