@media (max-width: 1180px) {
    body.public-site .marketing-hero h1 {
        width: min(100%, 340px) !important;
        max-width: 340px !important;
        margin-inline: auto !important;
        font-size: clamp(2.2rem, 11vw, 3.1rem) !important;
        line-height: 1.03 !important;
        overflow-wrap: normal !important;
        text-wrap: balance;
    }
}

/* Contact hero shares the homepage's image-led slideshow treatment */
.contact-hero-with-slides {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: #04110d;
}

.contact-hero-slider,
.contact-hero-slide {
    position: absolute;
    inset: 0;
}

.contact-hero-slider { z-index: -2; }
.contact-hero-slide { margin: 0; background-position: center; background-size: cover; opacity: 0; animation: contactHeroFade 18s infinite; }
.contact-hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,11,22,.9), rgba(5,11,22,.58) 58%, rgba(5,11,22,.75)); }
.contact-hero-slide-2 { animation-delay: 6s; }
.contact-hero-slide-3 { animation-delay: 12s; }
@keyframes contactHeroFade { 0%, 8% { opacity: 0; transform: scale(1.02); } 14%, 38% { opacity: 1; transform: scale(1); } 45%, 100% { opacity: 0; transform: scale(1.03); } }
.contact-hero-copy { position: relative; z-index: 1; max-width: 920px; }
.contact-hero-with-slides .section-kicker { color: #dbeafe; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.contact-hero-with-slides h1 { color: #fff; }
.contact-hero-with-slides h1 em { color: #9db3ff; }
.contact-hero-with-slides p { color: #e3ebf8; }

/* Contact support cards */
.contact-why-panel li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
}

.contact-why-panel li::before { display: none; }
.contact-why-panel li i { flex: 0 0 auto; margin-top: 3px; color: #fff; font-size: 1rem; }
.contact-why-panel li span { color: #fff; }

.contact-details-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-direct-panel p { display: flex; align-items: center; gap: 11px; margin: 12px 0; }
.contact-direct-panel p i { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid #eadbb5; border-radius: 8px; color: #101827; background: #fff8e8; }
.contact-direct-panel p span { display: grid; gap: 2px; color: #101827; font-weight: 750; }
.contact-direct-panel p small { color: #94a3b8; font-size: .64rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.contact-hours-panel { background: #f6eedb !important; }
.contact-hours-panel p { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; margin: 0; border-bottom: 1px solid rgba(93,73,27,.1); font-size: .88rem; }
.contact-hours-panel p span { text-align: right; }

/* Fill the support guidance panel with direct contact and hours */
.contact-why-panel { display: flex; flex-direction: column; }
.contact-side-details { display: grid; gap: 14px; margin-top: 22px; }
.contact-side-card { padding: 18px; border-radius: 13px; color: #101827; background: #fff; }
.contact-side-card h3 { margin: 0 0 12px; color: #101827; font: 900 1rem Poppins, Inter, sans-serif; }
.contact-side-card p { display: flex; align-items: center; gap: 9px; margin: 9px 0; }
.contact-side-card p i { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px; color: #101827; background: #fff4dd; }
.contact-side-card p span { display: grid; gap: 1px; color: #101827; font-size: .8rem; font-weight: 750; }
.contact-side-card p small { color: #94a3b8; font-size: .58rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.contact-side-hours { background: #f6eedb; }
.contact-side-hours p { justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(93,73,27,.11); font-size: .76rem; }
.contact-side-hours p:last-child { border-bottom: 0; }
.contact-side-hours p span { display: block; text-align: right; color: #52627b; }

@media (max-width: 900px) {
    .contact-details-grid { grid-template-columns: 1fr; }
}

.mobile-drawer.open,
.sidebar.mobile-drawer.open,
.customer-authenticated .mobile-drawer.open,
.public-site .mobile-drawer.open {
    z-index: 5000 !important;
}

.sidebar-backdrop.open,
.customer-authenticated .sidebar-backdrop.open,
.public-site .sidebar-backdrop.open {
    z-index: 4990 !important;
}

/* Shared brand asset and control alignment */
.brand-logo {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
    border-radius: 9px;
}

.brand:has(.brand-logo) .brand-mark {
    display: none !important;
}

/* Center customer-facing service cards on laptop and retain swipe rails on phones */
@media (min-width: 768px) {
    .service-category-stack {
        max-width: 1220px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-rail {
        grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
        justify-content: center;
    }

    .service-category-section .category-heading {
        justify-content: center;
        text-align: center;
    }
}

.testimonial-section h2,
.testimonial-section .section-title {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 14px rgba(0,0,0,.22);
}

/* Keep dashboard and transfer card actions inside premium card bounds */
.wallet-hero-card,
.function-hero-card {
    overflow: hidden !important;
}

.wallet-hero-card {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    min-height: 212px !important;
    padding: clamp(18px, 4vw, 26px) !important;
}

.wallet-hero-card > div:first-child {
    min-width: 0;
}

.wallet-hero-card strong {
    font-size: clamp(1.65rem, 6vw, 2.45rem) !important;
    line-height: 1.05 !important;
}

.wallet-hero-card small {
    overflow-wrap: anywhere;
}

.wallet-hero-actions {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-width: 0;
    width: 100% !important;
}

.wallet-hero-actions a {
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(.76rem, 3.4vw, .94rem) !important;
}

.wallet-hero-actions .wallet-pill {
    padding: 9px 13px !important;
}

.transfer-choice-page .function-hero-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 260px !important;
    padding: clamp(18px, 4vw, 28px) !important;
}

.transfer-choice-page .function-hero-card h2 {
    max-width: min(100%, 320px) !important;
    margin: 8px 0 !important;
    font-size: clamp(1.35rem, 5.6vw, 2.05rem) !important;
}

.transfer-choice-page .function-balance-chip {
    position: static !important;
    width: min(100%, 260px) !important;
    margin-top: auto !important;
}

@media (max-width: 420px) {
    .wallet-hero-card {
        min-height: 194px !important;
        padding: 18px !important;
    }

    .wallet-hero-actions {
        gap: 7px !important;
    }

    .wallet-hero-actions a {
        font-size: .76rem !important;
    }

    .wallet-hero-actions .wallet-pill {
        padding: 8px 10px !important;
    }
}

/* Customer live chat */
.live-chat-page {
    width: min(100%, 920px);
    margin: 0 auto;
}

.live-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.live-chat-head span,
.live-chat-head small {
    color: var(--db-muted, #64748b);
}

.live-chat-head h1 {
    margin: 2px 0;
    font: 900 clamp(1.55rem, 4vw, 2.2rem)/1.15 Poppins, Inter, sans-serif;
}

.live-chat-window {
    display: flex;
    min-height: 440px;
    max-height: 62vh;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 22px;
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 16px;
    background: #edf5f1;
    box-shadow: 0 18px 50px rgba(15,23,42,.1);
}

.chat-bubble {
    max-width: min(78%, 540px);
    padding: 11px 13px 8px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(15,23,42,.08);
}

.chat-bubble p { margin: 0; white-space: pre-wrap; }
.chat-bubble small { display: block; margin-top: 5px; font-size: .68rem; opacity: .72; }
.chat-bubble.incoming { align-self: flex-start; border-bottom-left-radius: 4px; background: #fff; color: #101827; }
.chat-bubble.outgoing { align-self: flex-end; border-bottom-right-radius: 4px; background: #d6f8e9; color: #093126; }

.live-chat-compose {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15,23,42,.08);
}

.live-chat-compose .form-control { min-width: 0; }
.live-chat-compose .btn { display: inline-flex; align-items: center; gap: 8px; }

/* Credit Vast contact page */
.contact-hero-creditvast {
    min-height: 420px;
    padding: clamp(60px, 9vw, 120px) clamp(24px, 7vw, 96px);
    background: radial-gradient(circle at 16% 12%, rgba(15,143,91,.14), transparent 34%), #f7f9fc;
}

.contact-hero-creditvast h1 {
    max-width: 920px;
    margin: 18px 0;
    color: #101827;
    font: 900 clamp(3rem, 6vw, 5.8rem)/.98 Poppins, Inter, sans-serif;
}

.contact-hero-creditvast h1 em { color: #0f8f5b; font-style: normal; }
.contact-hero-creditvast p { max-width: 780px; color: #52627b; font-size: 1.1rem; line-height: 1.75; }
.contact-response-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 20px; border-radius: 12px; background: #0f8f5b; color: #fff; font-weight: 850; text-decoration: none; }

.contact-channel-grid,
.contact-request-section,
.contact-details-grid,
.contact-faq-section {
    width: min(1240px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: -44px;
    position: relative;
    z-index: 1;
}

.contact-channel-grid article,
.contact-details-grid article {
    padding: 24px;
    border: 1px solid rgba(15,143,91,.13);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(15,23,42,.08);
}

.contact-channel-grid i { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; color: #101827; background: #eef0ff; }
.contact-channel-grid span,
.contact-channel-grid strong,
.contact-channel-grid small { display: block; }
.contact-channel-grid span { color: #64748b; margin-bottom: 5px; }
.contact-channel-grid strong { color: #101827; margin-bottom: 7px; }
.contact-channel-grid small { color: #64748b; line-height: 1.5; }

.contact-request-section { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .78fr); gap: 42px; padding: 78px 0 42px; }
.contact-request-form { padding: clamp(24px, 4vw, 48px); border-radius: 20px; background: #fff; box-shadow: 0 22px 64px rgba(15,23,42,.1); }
.contact-request-form h2,
.contact-why-panel h2,
.contact-faq-section h2 { color: #101827; font: 900 clamp(1.8rem, 4vw, 3rem)/1.1 Poppins, Inter, sans-serif; }
.contact-request-form > p { color: #64748b; line-height: 1.7; }
.contact-intent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.contact-intent-grid label { position: relative; display: grid; gap: 8px; min-height: 100px; padding: 18px; border: 1px solid rgba(15,23,42,.12); border-radius: 12px; cursor: pointer; text-align: center; }
.contact-intent-grid input { position: absolute; opacity: 0; }
.contact-intent-grid label:has(input:checked) { border-color: #0f8f5b; background: #f0f3ff; box-shadow: 0 0 0 3px rgba(15,143,91,.09); }
.contact-intent-grid i { color: #0f8f5b; font-size: 1.25rem; }
.contact-intent-grid span { color: #334155; font-size: .9rem; font-weight: 800; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-request-form textarea { margin-bottom: 14px; }
.contact-privacy { display: block; margin-top: 14px; color: #94a3b8; text-align: center; }

.contact-why-panel { padding: clamp(28px, 4vw, 38px); border-radius: 20px; color: #fff; background: linear-gradient(145deg, #0f8f5b, #2737bd); box-shadow: 0 22px 58px rgba(15,143,91,.25); }
.contact-why-panel h2 { color: #fff; font-size: 1.45rem; }
.contact-why-panel ul { display: grid; gap: 14px; margin: 24px 0; padding: 0; list-style: none; }
.contact-why-panel li { position: relative; padding-left: 28px; color: #fff; font-weight: 750; line-height: 1.5; }
.contact-why-panel li::before { content: '\\f00c'; position: absolute; left: 0; top: 2px; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.contact-why-panel > div { display: flex; align-items: baseline; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.contact-why-panel strong { font-size: 1.5rem; }
.contact-why-panel span { color: #dce4ff; }

.contact-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px 0 56px; }
.contact-details-grid h3 { color: #101827; font: 900 1.15rem Poppins, Inter, sans-serif; }
.contact-details-grid p { color: #64748b; line-height: 1.7; }
.contact-details-grid p strong,
.contact-details-grid p span { display: block; }
.contact-details-grid p strong { color: #101827; }

.contact-faq-section { padding: 64px 0 84px; }
.contact-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.contact-faq-grid details { border-radius: 13px; background: #fff; box-shadow: 0 14px 36px rgba(15,23,42,.08); overflow: hidden; }
.contact-faq-grid summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; color: #101827; font-weight: 850; cursor: pointer; list-style: none; }
.contact-faq-grid summary::-webkit-details-marker { display: none; }
.contact-faq-grid summary i { color: #0f8f5b; }
.contact-faq-grid p { margin: 0; padding: 0 20px 20px; color: #64748b; line-height: 1.65; }

@media (max-width: 900px) {
    .contact-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-request-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .contact-hero-creditvast { min-height: auto; padding: 52px 20px 86px; }
    .contact-hero-creditvast h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
    .contact-channel-grid,
    .contact-request-section,
    .contact-details-grid,
    .contact-faq-section { width: min(100% - 32px, 1240px); }
    .contact-channel-grid,
    .contact-details-grid,
    .contact-faq-grid,
    .contact-form-grid,
    .contact-intent-grid { grid-template-columns: 1fr; }
    .contact-channel-grid { margin-top: -46px; }
    .live-chat-head { align-items: flex-start; flex-direction: column; }
    .live-chat-window { min-height: 390px; }
    .live-chat-compose .btn span { display: none; }
}

/* Phone emulation safety: keep the contact headline within the visible handset width */
@media (max-width: 1180px) {
    .contact-hero-creditvast h1 {
        width: min(350px, calc(100vw - 40px)) !important;
        max-width: 350px !important;
        font-size: clamp(2.4rem, 10vw, 3.1rem) !important;
        line-height: 1.03 !important;
        overflow-wrap: normal !important;
        text-wrap: balance;
    }
}

/* Contact hero text must remain readable over every rotating image */
.contact-hero-with-slides .contact-hero-copy h1,
.contact-hero-with-slides .contact-hero-copy h1 em,
.contact-hero-with-slides .contact-hero-copy p {
    color: #fff !important;
    text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.contact-hero-with-slides .contact-hero-copy h1 em {
    color: #a9bcff !important;
}

/* Contact page dark mode: every content surface uses the dark banking palette. */
[data-theme="dark"] body.public-site .contact-channel-grid article,
[data-theme="dark"] body.public-site .contact-request-form,
[data-theme="dark"] body.public-site .contact-details-grid article,
[data-theme="dark"] body.public-site .contact-faq-grid details,
[data-theme="dark"] body.public-site .contact-side-card {
    background: #111c30 !important;
    border: 1px solid #2a3b59 !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.26) !important;
}

[data-theme="dark"] body.public-site .contact-channel-grid i,
[data-theme="dark"] body.public-site .contact-side-card p i {
    color: #cbd7ff !important;
    background: #1c2b48 !important;
}

[data-theme="dark"] body.public-site .contact-channel-grid span,
[data-theme="dark"] body.public-site .contact-channel-grid small,
[data-theme="dark"] body.public-site .contact-request-form > p,
[data-theme="dark"] body.public-site .contact-details-grid p,
[data-theme="dark"] body.public-site .contact-faq-grid p,
[data-theme="dark"] body.public-site .contact-side-card p small,
[data-theme="dark"] body.public-site .contact-side-hours p span,
[data-theme="dark"] body.public-site .contact-privacy {
    color: #aebdd2 !important;
}

[data-theme="dark"] body.public-site .contact-channel-grid strong,
[data-theme="dark"] body.public-site .contact-request-form h2,
[data-theme="dark"] body.public-site .contact-details-grid h3,
[data-theme="dark"] body.public-site .contact-details-grid p strong,
[data-theme="dark"] body.public-site .contact-faq-section h2,
[data-theme="dark"] body.public-site .contact-faq-grid summary,
[data-theme="dark"] body.public-site .contact-side-card h3,
[data-theme="dark"] body.public-site .contact-side-card p span {
    color: #f7f9fd !important;
}

[data-theme="dark"] body.public-site .contact-intent-grid label {
    background: #14213a !important;
    border-color: #334765 !important;
}

[data-theme="dark"] body.public-site .contact-intent-grid label:has(input:checked) {
    background: #1c2f57 !important;
    border-color: #7188ff !important;
    box-shadow: 0 0 0 3px rgba(113,136,255,.18) !important;
}

[data-theme="dark"] body.public-site .contact-intent-grid span {
    color: #e4ebf8 !important;
}

[data-theme="dark"] body.public-site .contact-request-form .form-control {
    color: #eef3fb !important;
    background: #0d1523 !important;
    border-color: #334765 !important;
}

[data-theme="dark"] body.public-site .contact-request-form .form-control::placeholder {
    color: #8fa0ba !important;
}

[data-theme="dark"] body.public-site .contact-side-hours {
    background: #19263b !important;
}

[data-theme="dark"] body.public-site .contact-side-hours p {
    border-color: #334765 !important;
}

/* Home-page contrast and composition in dark mode. */
@media (min-width: 768px) {
    .service-category-section > .section-kicker,
    .service-category-section > h2,
    .service-category-section > .section-lead {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

[data-theme="dark"] body.public-site .service-category-section {
    background: #14233a !important;
}

[data-theme="dark"] body.public-site .service-category-section > h2,
[data-theme="dark"] body.public-site .service-category-section .category-heading span,
[data-theme="dark"] body.public-site .why-creditvast-section h2,
[data-theme="dark"] body.public-site .creditvast-about-section h2 {
    color: #f5f8fd !important;
}

[data-theme="dark"] body.public-site .service-category-section > .section-lead,
[data-theme="dark"] body.public-site .service-category-section .category-heading small,
[data-theme="dark"] body.public-site .service-tile-copy p {
    color: #b9c8de !important;
}

[data-theme="dark"] body.public-site .service-tile {
    background: #101d31 !important;
    border-color: #2d4361 !important;
}

[data-theme="dark"] body.public-site .service-tile-copy strong {
    color: #f5f8fd !important;
}

[data-theme="dark"] body.public-site .why-creditvast-section,
[data-theme="dark"] body.public-site .creditvast-about-section {
    background: #081321 !important;
}

[data-theme="dark"] body.public-site .why-card,
[data-theme="dark"] body.public-site .about-proof-list article {
    background: #122038 !important;
    border-color: #2d4361 !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.24) !important;
}

[data-theme="dark"] body.public-site .why-card h3,
[data-theme="dark"] body.public-site .about-proof-list strong {
    color: #f5f8fd !important;
}

[data-theme="dark"] body.public-site .why-card p,
[data-theme="dark"] body.public-site .about-proof-list span,
[data-theme="dark"] body.public-site .about-copy p {
    color: #b9c8de !important;
}

[data-theme="dark"] body.public-site .about-proof-list i {
    color: #d9e4ff !important;
    background: #1b2d4a !important;
}

[data-theme="dark"] body.public-site .about-stats span {
    color: #f5f8fd;
    background: #142846;
    border: 1px solid #2d4361;
}

/* The homepage banker inquiry remains readable without a light-mode form in dark mode. */
[data-theme="dark"] body.public-site #home-inquiry .form-shell {
    background: rgba(15, 25, 42, .96) !important;
    border-color: rgba(135, 157, 198, .3) !important;
    box-shadow: 0 20px 48px rgba(0,0,0,.32) !important;
}

[data-theme="dark"] body.public-site #home-inquiry .form-control,
[data-theme="dark"] body.public-site #home-inquiry .form-select {
    color: #edf3fd !important;
    background: #0b1320 !important;
    border-color: #334765 !important;
}

[data-theme="dark"] body.public-site #home-inquiry .form-control::placeholder {
    color: #91a2bc !important;
}

[data-theme="dark"] body.public-site #home-inquiry .form-select option {
    color: #edf3fd;
    background: #0b1320;
}

/* Compact direct-contact and office-hours cards remain inside their panel. */
.contact-side-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.contact-side-card {
    min-width: 0;
    padding: 14px;
}

.contact-side-card h3 {
    margin-bottom: 9px;
    font-size: .88rem;
}

.contact-side-card p {
    gap: 7px;
    margin: 7px 0;
}

.contact-side-card p i {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: .72rem;
}

.contact-side-card p span {
    font-size: .7rem;
    overflow-wrap: anywhere;
}

.contact-side-card p small {
    font-size: .52rem;
}

.contact-side-hours p {
    font-size: .68rem;
    line-height: 1.25;
}

[data-theme="dark"] body.public-site .contact-side-hours p strong {
    color: #f7f9fd !important;
}

/* Support history uses compact records rather than an empty table header. */
.support-ticket-list {
    display: grid;
    gap: 12px;
}

.support-ticket-card,
.support-ticket-empty {
    padding: 18px;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,.08);
}

.support-ticket-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px 16px;
    align-items: center;
}

.support-ticket-card small,
.support-ticket-card time {
    color: #64748b;
    font-size: .78rem;
}

.support-ticket-card h2 {
    margin: 3px 0 0;
    color: #101827;
    font-size: 1rem;
}

.support-ticket-card time { grid-column: 1 / -1; }
.support-ticket-empty { color: #64748b; text-align: center; }
.support-ticket-empty i { display: block; margin-bottom: 10px; color: #0f8f5b; font-size: 1.35rem; }

[data-theme="dark"] body.public-site .support-ticket-card,
[data-theme="dark"] body.public-site .support-ticket-empty {
    background: #111c30;
    border-color: #2a3b59;
    box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

/* Public accent system: restrained financial green used for actions and guidance. */
body.public-site {
    --public-accent-green: #009b4d;
    --public-accent-green-dark: #007f3f;
    --public-accent-green-soft: rgba(0, 155, 77, .10);
    --public-accent-green-line: rgba(0, 155, 77, .24);
}

body.public-site .content-wrap .btn-gold,
body.public-site .marketing-hero .btn-gold {
    color: #fff !important;
    background: var(--public-accent-green) !important;
    border-color: var(--public-accent-green) !important;
    box-shadow: 0 12px 28px rgba(0, 127, 63, .22) !important;
}

body.public-site .content-wrap .btn-gold:hover,
body.public-site .content-wrap .btn-gold:focus,
body.public-site .marketing-hero .btn-gold:hover,
body.public-site .marketing-hero .btn-gold:focus {
    color: #fff !important;
    background: var(--public-accent-green-dark) !important;
    border-color: var(--public-accent-green-dark) !important;
}

body.public-site .section-kicker:not(.financial-clarity-section *),
body.public-site .hero-eyebrow {
    color: var(--public-accent-green-dark) !important;
    background: var(--public-accent-green-soft) !important;
    border-color: var(--public-accent-green-line) !important;
}

body.public-site .marketing-hero .hero-eyebrow {
    color: #fff !important;
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.34) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,.28);
}

body.public-site .why-card i,
body.public-site .faq-item summary i,
body.public-site .support-ticket-empty i,
body.public-site .hero-trust-signals i,
body.public-site .contact-details-grid i {
    color: var(--public-accent-green) !important;
}

body.public-site .faq-item summary b {
    color: var(--public-accent-green-dark) !important;
    background: var(--public-accent-green-soft) !important;
}

body.public-site .faq-item summary b::before,
body.public-site .faq-item summary b::after {
    background: var(--public-accent-green) !important;
}

body.public-site .content-wrap a:not(.btn):hover,
body.public-site .public-site-footer a:hover {
    color: var(--public-accent-green) !important;
}

[data-theme="dark"] body.public-site {
    --public-accent-green: #20c978;
    --public-accent-green-dark: #18aa65;
    --public-accent-green-soft: rgba(32, 201, 120, .12);
    --public-accent-green-line: rgba(32, 201, 120, .28);
}

[data-theme="dark"] body.public-site .support-ticket-card h2 { color: #f5f8fd; }
[data-theme="dark"] body.public-site .support-ticket-card small,
[data-theme="dark"] body.public-site .support-ticket-card time,
[data-theme="dark"] body.public-site .support-ticket-empty { color: #b9c8de; }

@media (max-width: 560px) {
    .contact-side-details { grid-template-columns: 1fr; }
}

/* Credit Vast final green public surfaces */
body.public-site .site-footer,
[data-theme="dark"] body.public-site .site-footer,
[data-theme="dark"] body.public-site .why-creditvast-section,
[data-theme="dark"] body.public-site .creditvast-about-section,
[data-theme="dark"] body.public-site .contact-channel-grid article,
[data-theme="dark"] body.public-site .contact-request-form,
[data-theme="dark"] body.public-site .contact-details-grid article,
[data-theme="dark"] body.public-site .contact-faq-grid details,
[data-theme="dark"] body.public-site .contact-side-card {
    background: linear-gradient(135deg, #04110d 0%, #062f23 58%, #0a4d36 100%) !important;
    border-color: rgba(118, 226, 189, .18) !important;
}

body.public-site {
    --public-accent-green-dark: #0b5f43;
    --public-accent-green: #0f8f5b;
}

[data-theme="dark"] body.public-site {
    --public-accent-green-dark: #17b978;
    --public-accent-green: #76e2bd;
}

/* Credit Vast EOF public dark mode green surfaces */
[data-theme="dark"] body.public-site,
[data-theme="dark"] body.public-site .main-panel,
[data-theme="dark"] body.public-site .content-wrap,
[data-theme="dark"] body.public-site .site-footer {
    background: linear-gradient(135deg, #04110d 0%, #062f23 58%, #0a4d36 100%) !important;
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site #home-inquiry .form-control,
[data-theme="dark"] body.public-site #home-inquiry .form-select,
[data-theme="dark"] body.public-site #home-inquiry .form-select option {
    background: rgba(4, 17, 13, .82) !important;
    color: #f4fff9 !important;
    border-color: rgba(118, 226, 189, .20) !important;
}

/* Credit Vast final dark-mode service section: replace navy with matching deep green. */
[data-theme="dark"] body.public-site .service-category-section {
    background:
        radial-gradient(circle at 16% 18%, rgba(15, 143, 91, .20), transparent 32%),
        radial-gradient(circle at 86% 8%, rgba(118, 226, 189, .11), transparent 34%),
        linear-gradient(135deg, #04110d 0%, #062417 42%, #0a3725 100%) !important;
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site .service-category-section > h2,
[data-theme="dark"] body.public-site .service-category-section .category-heading span {
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site .service-category-section > .section-lead,
[data-theme="dark"] body.public-site .service-category-section .category-heading small {
    color: #b7d7ca !important;
}

[data-theme="dark"] body.public-site .service-category-section .section-kicker {
    color: #76e2bd !important;
    background: rgba(15, 143, 91, .22) !important;
    border-color: rgba(118, 226, 189, .28) !important;
}

[data-theme="dark"] body.public-site .service-tile {
    background: rgba(4, 17, 13, .72) !important;
    border-color: rgba(118, 226, 189, .18) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24) !important;
}

/* Credit Vast final dark-mode panel conversion: every remaining navy card becomes deep green. */
[data-theme="dark"] body.public-site .why-card,
[data-theme="dark"] body.public-site .about-proof-list article,
[data-theme="dark"] body.public-site .faq-item,
[data-theme="dark"] body.public-site .market-ticker,
[data-theme="dark"] body.public-site .fx-quote,
[data-theme="dark"] body.public-site .market-loading,
[data-theme="dark"] body.public-site .market-opportunity,
[data-theme="dark"] body.public-site #home-inquiry .form-shell,
[data-theme="dark"] body.public-site .contact-request-form,
[data-theme="dark"] body.public-site .support-ticket-card,
[data-theme="dark"] body.public-site .support-ticket-empty {
    background:
        linear-gradient(145deg, rgba(6, 47, 35, .96), rgba(4, 17, 13, .94)) !important;
    border-color: rgba(118, 226, 189, .22) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24) !important;
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site .why-card:hover,
[data-theme="dark"] body.public-site .about-proof-list article:hover,
[data-theme="dark"] body.public-site .faq-item:hover,
[data-theme="dark"] body.public-site .fx-quote:hover,
[data-theme="dark"] body.public-site .market-opportunity:hover {
    background:
        linear-gradient(145deg, rgba(10, 77, 54, .98), rgba(6, 47, 35, .96)) !important;
    border-color: rgba(118, 226, 189, .30) !important;
}

[data-theme="dark"] body.public-site .why-card i,
[data-theme="dark"] body.public-site .about-proof-list i,
[data-theme="dark"] body.public-site .faq-item summary i,
[data-theme="dark"] body.public-site .fx-quote .fx-flag {
    color: #76e2bd !important;
    background: rgba(118, 226, 189, .12) !important;
}

[data-theme="dark"] body.public-site .faq-item summary b {
    color: #76e2bd !important;
    background: rgba(118, 226, 189, .12) !important;
}

[data-theme="dark"] body.public-site .faq-item summary b::before,
[data-theme="dark"] body.public-site .faq-item summary b::after {
    background: #76e2bd !important;
}

[data-theme="dark"] body.public-site .why-card h3,
[data-theme="dark"] body.public-site .about-proof-list strong,
[data-theme="dark"] body.public-site .faq-item summary span,
[data-theme="dark"] body.public-site .fx-quote strong,
[data-theme="dark"] body.public-site .fx-quote b,
[data-theme="dark"] body.public-site .market-opportunity strong,
[data-theme="dark"] body.public-site .market-opportunity b {
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site .why-card p,
[data-theme="dark"] body.public-site .about-proof-list span,
[data-theme="dark"] body.public-site .faq-item p,
[data-theme="dark"] body.public-site .fx-quote small,
[data-theme="dark"] body.public-site .market-opportunity em,
[data-theme="dark"] body.public-site .support-ticket-card small,
[data-theme="dark"] body.public-site .support-ticket-card time,
[data-theme="dark"] body.public-site .support-ticket-empty {
    color: #b7d7ca !important;
}

[data-theme="dark"] body.public-site #home-inquiry .form-control,
[data-theme="dark"] body.public-site #home-inquiry .form-select,
[data-theme="dark"] body.public-site #home-inquiry textarea.form-control,
[data-theme="dark"] body.public-site .contact-request-form .form-control,
[data-theme="dark"] body.public-site .contact-request-form .form-select,
[data-theme="dark"] body.public-site .contact-request-form textarea.form-control {
    background: rgba(3, 13, 10, .82) !important;
    border-color: rgba(118, 226, 189, .22) !important;
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site #home-inquiry .form-control::placeholder,
[data-theme="dark"] body.public-site #home-inquiry textarea.form-control::placeholder,
[data-theme="dark"] body.public-site .contact-request-form .form-control::placeholder,
[data-theme="dark"] body.public-site .contact-request-form textarea.form-control::placeholder {
    color: #9bbdaf !important;
}

/* Credit Vast global public dark-mode sweep: translate remaining navy surfaces to deep green. */
[data-theme="dark"] body.public-site .nav-dropdown-menu,
[data-theme="dark"] body.public-site .contact-why-panel,
[data-theme="dark"] body.public-site .contact-intent-grid label,
[data-theme="dark"] body.public-site .contact-channel-grid article,
[data-theme="dark"] body.public-site .contact-details-grid article,
[data-theme="dark"] body.public-site .contact-faq-grid details,
[data-theme="dark"] body.public-site .contact-side-card,
[data-theme="dark"] body.public-site .contact-side-hours,
[data-theme="dark"] body.public-site .hero-bank-status span,
[data-theme="dark"] body.public-site .hero-trust-signals span,
[data-theme="dark"] body.public-site .service-visual-panel,
[data-theme="dark"] body.public-site .service-visual-copy,
[data-theme="dark"] body.public-site .glass,
[data-theme="dark"] body.public-site .light-panel,
[data-theme="dark"] body.public-site .service-rail .service-tile,
[data-theme="dark"] body.public-site .service-tile,
[data-theme="dark"] body.public-site .service-image-tile,
[data-theme="dark"] body.public-site .service-tile-copy,
[data-theme="dark"] body.public-site .wallet-hero-card,
[data-theme="dark"] body.public-site .function-hero-card {
    background:
        linear-gradient(145deg, rgba(6, 47, 35, .96), rgba(4, 17, 13, .94)) !important;
    border-color: rgba(118, 226, 189, .22) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24) !important;
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site .alt-band,
[data-theme="dark"] body.public-site .section-pad.alt-band,
[data-theme="dark"] body.public-site .financial-clarity-section,
[data-theme="dark"] body.public-site .why-creditvast-section,
[data-theme="dark"] body.public-site .creditvast-about-section,
[data-theme="dark"] body.public-site .contact-request-section,
[data-theme="dark"] body.public-site .contact-faq-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(15, 143, 91, .18), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(118, 226, 189, .10), transparent 32%),
        linear-gradient(135deg, #04110d 0%, #062417 45%, #0a3725 100%) !important;
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site .nav-dropdown-menu a,
[data-theme="dark"] body.public-site .contact-why-panel h2,
[data-theme="dark"] body.public-site .contact-why-panel strong,
[data-theme="dark"] body.public-site .contact-why-panel li span,
[data-theme="dark"] body.public-site .contact-intent-grid span,
[data-theme="dark"] body.public-site .contact-channel-grid strong,
[data-theme="dark"] body.public-site .contact-details-grid h3,
[data-theme="dark"] body.public-site .contact-faq-grid summary,
[data-theme="dark"] body.public-site .contact-side-card h3,
[data-theme="dark"] body.public-site .contact-side-card p span,
[data-theme="dark"] body.public-site .contact-side-hours p strong,
[data-theme="dark"] body.public-site .hero-bank-status b,
[data-theme="dark"] body.public-site .service-tile strong,
[data-theme="dark"] body.public-site .service-tile-copy strong,
[data-theme="dark"] body.public-site .service-visual-copy strong,
[data-theme="dark"] body.public-site .feature-list li,
[data-theme="dark"] body.public-site .wallet-hero-card strong,
[data-theme="dark"] body.public-site .function-hero-card h2 {
    color: #f4fff9 !important;
}

[data-theme="dark"] body.public-site .contact-why-panel span,
[data-theme="dark"] body.public-site .contact-channel-grid small,
[data-theme="dark"] body.public-site .contact-details-grid p,
[data-theme="dark"] body.public-site .contact-faq-grid p,
[data-theme="dark"] body.public-site .contact-side-card p small,
[data-theme="dark"] body.public-site .contact-side-hours p span,
[data-theme="dark"] body.public-site .hero-bank-status small,
[data-theme="dark"] body.public-site .hero-bank-status em,
[data-theme="dark"] body.public-site .hero-trust-signals span,
[data-theme="dark"] body.public-site .service-tile p,
[data-theme="dark"] body.public-site .service-tile-copy p,
[data-theme="dark"] body.public-site .service-visual-copy span,
[data-theme="dark"] body.public-site .wallet-hero-card small,
[data-theme="dark"] body.public-site .function-hero-card p {
    color: #b7d7ca !important;
}

[data-theme="dark"] body.public-site .contact-intent-grid label:has(input:checked),
[data-theme="dark"] body.public-site .nav-dropdown-menu a:hover,
[data-theme="dark"] body.public-site .service-tile:hover,
[data-theme="dark"] body.public-site .service-image-tile:hover,
[data-theme="dark"] body.public-site .contact-channel-grid article:hover,
[data-theme="dark"] body.public-site .contact-details-grid article:hover {
    background:
        linear-gradient(145deg, rgba(10, 77, 54, .98), rgba(6, 47, 35, .96)) !important;
    border-color: rgba(118, 226, 189, .32) !important;
}

[data-theme="dark"] body.public-site .contact-why-panel i,
[data-theme="dark"] body.public-site .contact-intent-grid i,
[data-theme="dark"] body.public-site .contact-channel-grid i,
[data-theme="dark"] body.public-site .contact-details-grid i,
[data-theme="dark"] body.public-site .contact-side-card p i,
[data-theme="dark"] body.public-site .service-tile > i,
[data-theme="dark"] body.public-site .service-tile-copy > i,
[data-theme="dark"] body.public-site .service-tile-copy i {
    color: #76e2bd !important;
    background: rgba(118, 226, 189, .12) !important;
}

/* Credit Vast hero overlay reduced by 25% so slider images show through more clearly. */
body.public-site .marketing-hero::before,
[data-theme="dark"] body.public-site .marketing-hero::before {
    background:
        linear-gradient(90deg, rgba(4, 17, 13, .675) 0%, rgba(4, 17, 13, .51) 45%, rgba(4, 17, 13, .375) 100%),
        linear-gradient(180deg, rgba(4, 17, 13, .165), rgba(4, 17, 13, .54)) !important;
}

/* Credit Vast final public text visibility pass. */
body.public-site .section-kicker,
[data-theme="dark"] body.public-site .section-kicker,
body.public-site .testimonial-section .section-kicker,
body.public-site .why-creditvast-section .section-kicker,
body.public-site .creditvast-about-section .section-kicker {
    color: #76e2bd !important;
    background: rgba(118, 226, 189, .14) !important;
    border-color: rgba(118, 226, 189, .34) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .36) !important;
    opacity: 1 !important;
}

body.public-site .marketing-hero .btn-outline-dark,
[data-theme="dark"] body.public-site .marketing-hero .btn-outline-dark,
body.public-site .hero-actions .btn-outline-dark,
[data-theme="dark"] body.public-site .hero-actions .btn-outline-dark {
    color: #f4fff9 !important;
    background: rgba(6, 47, 35, .62) !important;
    border-color: rgba(118, 226, 189, .42) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .20) !important;
    opacity: 1 !important;
}

body.public-site .marketing-hero .btn-outline-dark:hover,
body.public-site .marketing-hero .btn-outline-dark:focus,
body.public-site .hero-actions .btn-outline-dark:hover,
body.public-site .hero-actions .btn-outline-dark:focus {
    color: #04110d !important;
    background: #76e2bd !important;
    border-color: #76e2bd !important;
}

body.public-site #home-inquiry .section-kicker,
[data-theme="dark"] body.public-site #home-inquiry .section-kicker {
    color: #76e2bd !important;
    background: rgba(118, 226, 189, .16) !important;
    border-color: rgba(118, 226, 189, .38) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .38) !important;
    opacity: 1 !important;
}

body.public-site .marketing-hero .hero-bank-status span,
[data-theme="dark"] body.public-site .marketing-hero .hero-bank-status span {
    background:
        linear-gradient(145deg, rgba(6, 47, 35, .96), rgba(4, 17, 13, .94)) !important;
    border-color: rgba(118, 226, 189, .24) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
    color: #f4fff9 !important;
}

body.public-site .marketing-hero .hero-bank-status small,
body.public-site .marketing-hero .hero-bank-status em,
[data-theme="dark"] body.public-site .marketing-hero .hero-bank-status small,
[data-theme="dark"] body.public-site .marketing-hero .hero-bank-status em {
    color: #b7d7ca !important;
    opacity: 1 !important;
}

body.public-site .marketing-hero .hero-bank-status b,
[data-theme="dark"] body.public-site .marketing-hero .hero-bank-status b {
    color: #f4fff9 !important;
    opacity: 1 !important;
}

body.public-site .content-wrap .marketing-hero .hero-bank-status > span,
[data-theme="dark"] body.public-site .content-wrap .marketing-hero .hero-bank-status > span {
    background:
        radial-gradient(circle at 18% 18%, rgba(118, 226, 189, .18), transparent 42%),
        linear-gradient(145deg, rgba(10, 77, 54, .50), rgba(6, 47, 35, .50) 56%, rgba(4, 28, 20, .50)) !important;
    border: 1px solid rgba(118, 226, 189, .34) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22) !important;
}

/* Light-mode clarity for About Credit Vast and Why choose us sections. */
html[data-theme="light"] body.public-site .creditvast-about-section,
html[data-theme="light"] body.public-site .why-creditvast-section {
    background: #ffffff !important;
    color: #053525 !important;
}

html[data-theme="light"] body.public-site .creditvast-about-section .section-kicker,
html[data-theme="light"] body.public-site .why-creditvast-section .section-kicker {
    color: #0b5f43 !important;
    background: rgba(15, 143, 91, .10) !important;
    border-color: rgba(15, 143, 91, .24) !important;
    text-shadow: none !important;
}

html[data-theme="light"] body.public-site .creditvast-about-section h2,
html[data-theme="light"] body.public-site .why-creditvast-section h2,
html[data-theme="light"] body.public-site .creditvast-about-section .about-copy h2,
html[data-theme="light"] body.public-site .why-creditvast-section .section-title {
    color: #053525 !important;
}

html[data-theme="light"] body.public-site .creditvast-about-section p,
html[data-theme="light"] body.public-site .why-creditvast-section > p,
html[data-theme="light"] body.public-site .creditvast-about-section .about-copy p,
html[data-theme="light"] body.public-site .why-creditvast-section .section-lead {
    color: #245345 !important;
}

/* Credit Vast dark-mode login page */
html[data-theme="dark"] body.public-site .auth-experience {
    background:
        radial-gradient(circle at 18% 12%, rgba(15, 143, 91, .18), transparent 34%),
        linear-gradient(135deg, #04110d 0%, #062417 48%, #0a3725 100%) !important;
    color: #f4fff9 !important;
}

html[data-theme="dark"] body.public-site .auth-form-panel {
    background:
        linear-gradient(145deg, rgba(6, 47, 35, .96), rgba(4, 17, 13, .94)) !important;
    border: 1px solid rgba(118, 226, 189, .18) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .28) !important;
    color: #f4fff9 !important;
}

html[data-theme="dark"] body.public-site .auth-form-panel h2,
html[data-theme="dark"] body.public-site .auth-form-panel .form-label,
html[data-theme="dark"] body.public-site .auth-brand,
html[data-theme="dark"] body.public-site .auth-brand span,
html[data-theme="dark"] body.public-site .auth-register-link {
    color: #f4fff9 !important;
}

html[data-theme="dark"] body.public-site .auth-form-panel .text-muted,
html[data-theme="dark"] body.public-site .demo-access-note span {
    color: #b7d7ca !important;
}

html[data-theme="dark"] body.public-site .auth-form-panel .section-kicker {
    color: #76e2bd !important;
    background: rgba(118, 226, 189, .14) !important;
    border-color: rgba(118, 226, 189, .34) !important;
}

html[data-theme="dark"] body.public-site .auth-form-panel .form-control {
    background: rgba(3, 13, 10, .84) !important;
    border-color: rgba(118, 226, 189, .22) !important;
    color: #f4fff9 !important;
}

html[data-theme="dark"] body.public-site .auth-form-panel .form-control::placeholder {
    color: #9bbdaf !important;
}

html[data-theme="dark"] body.public-site .auth-form-panel .input-with-icon i {
    color: #76e2bd !important;
}

html[data-theme="dark"] body.public-site .demo-access-note {
    background: rgba(4, 28, 20, .82) !important;
    border: 1px solid rgba(118, 226, 189, .18) !important;
    color: #b7d7ca !important;
}

html[data-theme="dark"] body.public-site .demo-access-note strong,
html[data-theme="dark"] body.public-site .auth-register-link a {
    color: #76e2bd !important;
}

html[data-theme="light"] body.public-site .auth-visual-copy .section-kicker {
    color: #064632 !important;
    background: rgba(244, 255, 249, .86) !important;
    border-color: rgba(15, 143, 91, .34) !important;
    text-shadow: none !important;
    box-shadow: 0 8px 22px rgba(2, 14, 10, .16) !important;
}

body.public-site .auth-visual::after,
html[data-theme="light"] body.public-site .auth-visual::after,
html[data-theme="dark"] body.public-site .auth-visual::after {
    background:
        linear-gradient(180deg, rgba(4, 17, 13, .10) 0%, rgba(6, 47, 35, .30) 54%, rgba(4, 17, 13, .41) 100%),
        linear-gradient(90deg, rgba(4, 17, 13, .34), rgba(10, 77, 54, .19) 54%, rgba(4, 17, 13, .17)) !important;
}

/* 2026-08-26 client-requested homepage hero: image-led branch-style layout. Revert by restoring index.php render_hero() and removing this block. */
body.public-site .home-branch-hero {
    overflow: hidden;
    background: #eef7f3;
    color: #061b2b;
    padding-bottom: clamp(22px, 4vw, 48px);
}

body.public-site .home-branch-stage {
    position: relative;
    min-height: clamp(560px, 76vh, 820px);
    display: grid;
    place-items: center;
    isolation: isolate;
    background: #f7fbff;
}

body.public-site .home-branch-slider,
body.public-site .home-branch-slide {
    position: absolute;
    inset: 0;
}

body.public-site .home-branch-slider {
    z-index: -2;
    background: #ffffff;
}

body.public-site .home-branch-slide {
    margin: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    animation: homeBranchFade 24s infinite;
    transform: scale(1.015);
}

body.public-site .home-branch-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.08) 42%, rgba(255,255,255,.62) 100%),
        linear-gradient(90deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.24) 36%, rgba(255,255,255,.18) 100%);
}

body.public-site .home-branch-slide-1 { animation-delay: 0s; }
body.public-site .home-branch-slide-2 { animation-delay: 6s; }
body.public-site .home-branch-slide-3 { animation-delay: 12s; }
body.public-site .home-branch-slide-4 { animation-delay: 18s; }
body.public-site .home-branch-slide-1 { background-position: center 42%; }
body.public-site .home-branch-slide-2 { background-position: 62% 48%; }
body.public-site .home-branch-slide-3 { background-position: 58% 50%; }
body.public-site .home-branch-slide-4 { background-position: 44% 42%; }

body.public-site .home-branch-slide figcaption {
    position: absolute;
    left: clamp(18px, 4vw, 48px);
    bottom: clamp(18px, 4vw, 42px);
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    color: #0b3f30;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(15,143,91,.18);
    font-size: .78rem;
    font-weight: 700;
}

body.public-site .home-branch-brand-panel {
    width: min(392px, calc(100% - 40px));
    margin: clamp(80px, 12vh, 140px) auto clamp(70px, 10vh, 120px);
    padding: clamp(16px, 2.5vw, 26px);
    text-align: center;
    background: rgba(255,255,255,.30);
    border: 1px solid rgba(15,143,91,.18);
    box-shadow: 0 34px 80px rgba(4,17,13,.18);
    backdrop-filter: blur(10px);
}

body.public-site .home-branch-brand {
    justify-content: center;
    margin-bottom: 10px;
    color: #062f23;
}

body.public-site .home-branch-brand .brand-logo {
    width: 28px;
    height: 28px;
}

body.public-site .home-branch-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    color: #0b5f43;
    background: rgba(15,143,91,.10);
    border: 1px solid rgba(15,143,91,.22);
    font-size: .64rem;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(.82rem, 1.15vw, 1.02rem);
    font-weight: 700;
    letter-spacing: .065em;
    line-height: 1.45;
    text-transform: uppercase;
}

body.public-site .home-branch-brand-panel h1 {
    max-width: 350px;
    margin: 0 auto 10px;
    color: #061b2b;
    font: 800 clamp(1.15rem, 2.4vw, 2.32rem)/.98 Poppins, sans-serif;
}

body.public-site .home-branch-brand-panel p {
    max-width: 340px;
    margin: 0 auto 16px;
    color: #315063;
    font-size: clamp(.82rem, 1.05vw, .92rem);
    line-height: 1.48;
}

body.public-site .home-branch-brand-panel .hero-actions {
    justify-content: center;
}

body.public-site .home-branch-brand-panel .btn-outline-dark {
    color: #062f23;
    background: #ffffff;
    border-color: rgba(15,143,91,.34);
}

body.public-site .home-branch-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 22px);
    width: min(1280px, calc(100% - clamp(24px, 6vw, 84px)));
    margin: clamp(20px, 4vw, 42px) auto 0;
    padding: 15px clamp(16px, 3vw, 28px);
    border: 1px solid rgba(118,226,189,.18);
    border-radius: 8px 8px 0 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 16% 20%, rgba(118,226,189,.22), transparent 34%),
        linear-gradient(135deg, #04110d 0%, #062f23 56%, #0a4d36 100%);
    box-shadow: 0 20px 50px rgba(4,17,13,.14);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}

body.public-site .home-branch-tagline i {
    width: 1px;
    height: 24px;
    background: rgba(242,189,79,.72);
}

body.public-site .home-branch-feature-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(1280px, calc(100% - clamp(24px, 6vw, 84px)));
    margin: 0 auto;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(232,247,240,.98));
    border: 1px solid rgba(15,143,91,.18);
    border-top: 0;
    box-shadow: 0 22px 54px rgba(4,17,13,.12);
}

body.public-site .home-branch-feature-row article {
    min-width: 0;
    padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 26px);
    text-align: center;
    border-right: 1px solid rgba(15,143,91,.18);
    background:
        radial-gradient(circle at top, rgba(118,226,189,.16), transparent 52%),
        linear-gradient(180deg, rgba(255,255,255,.56), rgba(255,255,255,.18));
}

body.public-site .home-branch-feature-row article:last-child {
    border-right: 0;
}

body.public-site .home-branch-feature-row i {
    display: block;
    margin-bottom: 14px;
    color: #0b5f43;
    font-size: clamp(2rem, 4vw, 3rem);
}

body.public-site .home-branch-feature-row strong {
    display: block;
    max-width: 210px;
    margin: 0 auto 9px;
    color: #053525;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(.82rem, .92vw, .94rem);
    font-weight: 750;
    letter-spacing: .018em;
    line-height: 1.22;
    text-transform: uppercase;
}

body.public-site .home-branch-feature-row p {
    max-width: 210px;
    margin: 0 auto;
    color: #245345;
    font-size: clamp(.84rem, .9vw, .96rem);
    font-weight: 500;
    line-height: 1.55;
}

body.public-site .home-branch-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    width: min(1280px, calc(100% - clamp(24px, 6vw, 84px)));
    margin: 0 auto;
    padding: 16px clamp(14px, 3vw, 24px);
    color: #ffffff;
    background:
        linear-gradient(135deg, #062f23 0%, #0b5f43 58%, #0f8f5b 100%);
    border: 1px solid rgba(118,226,189,.24);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 24px 52px rgba(4,17,13,.14);
}

body.public-site .home-branch-proof-strip span,
body.public-site .home-branch-proof-strip strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 18px;
    border-right: 1px solid rgba(118,226,189,.32);
    color: #ffffff;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(.74rem, .84vw, .86rem);
    font-weight: 650;
    letter-spacing: .025em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.public-site .home-branch-proof-strip strong {
    border-right: 0;
    color: #fff7d8;
    font-size: clamp(.86rem, 1vw, 1.04rem);
    font-weight: 750;
    letter-spacing: .035em;
}

body.public-site .home-branch-proof-strip i {
    color: #f2bd4f;
    font-size: 1.35rem;
}

html[data-theme="dark"] body.public-site .home-branch-hero {
    background:
        radial-gradient(circle at top left, rgba(15,143,91,.18), transparent 34%),
        linear-gradient(135deg, #04110d 0%, #062f23 58%, #0a4d36 100%);
}

html[data-theme="dark"] body.public-site .home-branch-tagline,
html[data-theme="dark"] body.public-site .home-branch-proof-strip {
    background:
        radial-gradient(circle at 12% 20%, rgba(118,226,189,.18), transparent 34%),
        linear-gradient(135deg, #04110d 0%, #062f23 60%, #0a4d36 100%);
    border-color: rgba(118,226,189,.28);
    box-shadow: 0 24px 60px rgba(0,0,0,.30);
}

html[data-theme="dark"] body.public-site .home-branch-feature-row {
    background:
        radial-gradient(circle at 20% 12%, rgba(118,226,189,.14), transparent 36%),
        linear-gradient(145deg, rgba(6,47,35,.96), rgba(4,17,13,.94));
    border-color: rgba(118,226,189,.22);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

html[data-theme="dark"] body.public-site .home-branch-feature-row article {
    background: linear-gradient(180deg, rgba(118,226,189,.06), rgba(255,255,255,.02));
    border-color: rgba(118,226,189,.18);
}

html[data-theme="dark"] body.public-site .home-branch-feature-row i {
    color: #76e2bd;
}

html[data-theme="dark"] body.public-site .home-branch-feature-row strong {
    color: #f4fff9;
}

html[data-theme="dark"] body.public-site .home-branch-feature-row p {
    color: #b7d7ca;
}

@keyframes homeBranchFade {
    0%, 23.5% { opacity: 1; transform: scale(1); }
    27.5%, 95.5% { opacity: 0; transform: scale(1.025); }
    100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 991.98px) {
    body.public-site .home-branch-stage {
        min-height: auto;
        padding: 94px 0 88px;
        place-items: end center;
    }
    body.public-site .home-branch-slide figcaption {
        left: 28px;
        right: auto;
        bottom: 24px;
        max-width: calc(100% - 56px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body.public-site .home-branch-brand-panel {
        width: min(392px, calc(100% - 28px));
        margin: 180px auto 0;
        padding: 20px 16px;
    }
    body.public-site .home-branch-feature-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100% - 28px, 760px);
    }
    body.public-site .home-branch-feature-row article {
        border-right: 1px solid rgba(15,143,91,.20);
        border-bottom: 1px solid rgba(15,143,91,.20);
    }
    body.public-site .home-branch-feature-row article:nth-child(2n) {
        border-right: 0;
    }
    body.public-site .home-branch-feature-row article:last-child {
        grid-column: 1 / -1;
        border-bottom: 0;
    }
    body.public-site .home-branch-proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100% - 28px, 760px);
        padding: 12px;
    }
    body.public-site .home-branch-proof-strip span,
    body.public-site .home-branch-proof-strip strong {
        border-right: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    body.public-site .home-branch-stage {
        padding: 76px 0 28px;
    }
    body.public-site .home-branch-slide figcaption {
        display: none;
    }
    body.public-site .home-branch-slide {
        background-position: center top;
    }
    body.public-site .home-branch-slide-1 { background-position: center 24%; }
    body.public-site .home-branch-slide-2 { background-position: 62% 32%; }
    body.public-site .home-branch-slide-3 { background-position: 60% 30%; }
    body.public-site .home-branch-slide-4 { background-position: 42% 22%; }
    body.public-site .home-branch-slide::after {
        background:
            linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.18) 34%, rgba(255,255,255,.88) 100%),
            linear-gradient(90deg, rgba(255,255,255,.44), rgba(255,255,255,.12));
    }
    body.public-site .home-branch-brand-panel {
        width: min(392px, calc(100% - 20px));
        margin-top: 210px;
        padding: 18px 14px;
    }
    body.public-site .home-branch-brand-panel h1 {
        font-size: clamp(1.55rem, 9vw, 2.2rem);
        line-height: 1;
    }
    body.public-site .home-branch-brand-panel p {
        font-size: .96rem;
        line-height: 1.55;
    }
    body.public-site .home-branch-brand-panel .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    body.public-site .home-branch-brand-panel .hero-actions .btn {
        width: 100%;
    }
    body.public-site .home-branch-tagline {
        width: min(100% - 28px, 760px);
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 13px 12px;
        font-size: .78rem;
        letter-spacing: .035em;
        line-height: 1.5;
    }
    body.public-site .home-branch-tagline i {
        display: none;
    }
    body.public-site .home-branch-feature-row {
        grid-template-columns: 1fr;
        width: calc(100% - 20px);
    }
    body.public-site .home-branch-feature-row article,
    body.public-site .home-branch-feature-row article:nth-child(2n) {
        display: grid;
        grid-template-columns: 54px 1fr;
        gap: 4px 14px;
        align-items: center;
        padding: 18px 20px;
        text-align: left;
        border-right: 0;
        border-bottom: 1px solid rgba(15,143,91,.22);
    }
    body.public-site .home-branch-feature-row i {
        grid-row: 1 / 3;
        margin: 0;
        font-size: 2.1rem;
        text-align: center;
    }
    body.public-site .home-branch-feature-row strong {
        max-width: none;
        margin: 0 0 4px;
        font-size: .76rem;
        letter-spacing: .012em;
        line-height: 1.24;
    }
    body.public-site .home-branch-feature-row p {
        max-width: none;
        margin: 0;
        font-size: .76rem;
        line-height: 1.42;
    }
    body.public-site .home-branch-proof-strip {
        grid-template-columns: 1fr;
        width: calc(100% - 20px);
    }
    body.public-site .home-branch-proof-strip span,
    body.public-site .home-branch-proof-strip strong {
        min-height: 36px;
        padding: 6px 8px;
        font-size: .72rem;
        letter-spacing: .018em;
        line-height: 1.35;
    }
}
