/* Brand-specific adjustments on top of the original page styles. */
html { scroll-padding-top: 88px; }
.site-header .logo { width: 118px; flex: 0 0 auto; }
.site-header .logo img { display: block; width: 100%; height: auto; }
.site-header .nav-menu { gap: clamp(20px, 3vw, 48px); margin-left: auto; }
.site-header .nav-link, .gl-header-contact { white-space: nowrap; }
.gl-header-contact {
    flex: 0 0 auto; margin-left: clamp(20px, 3vw, 44px); padding: 9px 18px;
    color: white; background: var(--color-primary); border-radius: 999px;
    font-size: 15px; font-weight: 600;
}
.gl-header-contact:hover { color: white; background: #1648d6; }
.site-footer .footer-logo { width: 126px; height: auto; }
.gl-hero-actions { display: flex; align-items: center; gap: 14px; }
.gl-hero-actions .btn-pill { margin: 0; width: fit-content; flex: 0 0 auto; }
.gl-hero-actions .gl-hero-secondary {
    background: transparent; color: white; border: 1px solid rgba(255,255,255,.85);
    box-shadow: none; justify-content: center; min-width: 130px;
}
.gl-hero-actions .gl-hero-secondary:hover { background: rgba(255,255,255,.13); }
.gl-list-dot { flex: 0 0 8px; width: 8px; height: 8px; background: #202632; border-radius: 50%; }
.gl-inline-link { color: var(--color-primary); }
.gl-inline-link:hover { text-decoration: underline; }
.gl-email-space { min-height: 180px; display: grid; align-content: center; gap: 8px; margin-bottom: 30px; overflow-wrap: anywhere; }
.gl-email-button { display: block; background: #1657fe; color: white; padding: 10px; border-radius: 4px; }
.gl-email-button:hover { color: white; background: #1648d6; }
.gl-legacy { padding-block: 80px; }
.gl-link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.gl-pillars { gap: 12px; }
.gl-pillars h3 { font-size: clamp(20px, 2.2vw, 32px) !important; }
.gl-pillars p { font-size: clamp(15px, 1.4vw, 20px) !important; }

.gl-industry-hero { background: linear-gradient(106deg,#f6f9ff,#e7efff); }
.gl-industry-hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-block: 44px; min-height: 430px; }
.gl-industry-label { color: var(--color-primary); font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.gl-industry-hero h1 { font-size: clamp(34px,4vw,52px); line-height: 1.25; margin-bottom: 14px; }
.gl-industry-hero p { font-size: 19px; color: #515866; }
.gl-industry-hero img { display: block; width: 100%; border-radius: 20px; mix-blend-mode: multiply; }
.gl-industry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.gl-industry-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px,3vw,34px); border-radius: 16px; background: linear-gradient(180deg,#eff3ff,#fff); border: 1px solid #e4ebfc; }
.gl-industry-card > img { width: 56px; height: 56px; object-fit: contain; }
.gl-industry-card > h3 { margin: 0; font-size: clamp(22px,2.1vw,28px); line-height: 1.35; }
.gl-industry-card > p { margin: 0; color: #515866; line-height: 1.6; }
.gl-industry-card > ul { margin: 2px 0 4px; padding-left: 1.2em; line-height: 1.75; }
.gl-industry-card ul li::marker { color: var(--color-primary); }
.gl-industry-products { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; font-size: 14px; }
.gl-industry-products span { color: #515866; }
.gl-industry-cta { margin-bottom: 60px; }
.gl-industry-cta .btn-pill { width: fit-content; }

@media (min-width: 1025px) {
    .site-header .header-inner { justify-content: flex-start; }
    .hero-text { max-width: 62%; }
    .stats-section-restored .benefits-row-box { max-width: calc(100% - 48px); gap: 24px; }
    .stats-section-restored .benefit-card-fixed { flex: 1 1 0; }
    .stats-section-restored .b-card-icon-box { left: 50%; transform: translateX(-50%); }
    .stats-section-restored .b-card-desc { left: 8%; width: 84%; }
    .stats-row-box { max-width: calc(100% - 40px); }
}
@media (min-width: 1025px) and (max-width: 1320px) {
    .acquiring-banner-content,.collection-banner-content,.disb-banner-content { width: 100%; }
    .acquiring-banner .banner-float-cards { width: auto; right: 32px; gap: 14px; }
    .acquiring-banner .banner-info-card { flex: 1 1 0; min-width: 0; }
    .solutions-wrapper { gap: 16px; padding-inline: 0; }
    .solution-card { flex: 1 1 0; }
    .solution-card > img { left: 50%; transform: translateX(-50%); max-width: 86%; object-fit: contain; }
    .solution-card .solution-title, .solution-card .solution-desc { left: 10%; width: 80%; }
    .sol-cards-container { gap: 14px; padding-inline: 0; }
    .sol-card-fixed { flex: 1 1 0; min-width: 0; }
}
@media (min-width: 1025px) and (max-width: 1420px) {
    .va-section-wrapper .va-content-box {
        width: 100%; height: auto; min-height: 470px; display: grid;
        grid-template-columns: minmax(0,1fr) minmax(150px,17%) minmax(0,1fr);
        align-items: start; column-gap: 3%; padding: 62px 5%;
        background-size: 100% 100%;
    }
    .va-section-wrapper .va-center-circle {
        position: static; grid-column: 2; grid-row: 1; width: 100%; height: auto;
        aspect-ratio: 1; transform: none; align-self: center;
    }
    .va-section-wrapper .va-left-col, .va-section-wrapper .va-right-col { position: static; width: auto; grid-row: 1; }
    .va-section-wrapper .va-left-col { grid-column: 1; }
    .va-section-wrapper .va-right-col { grid-column: 3; }
}
@media (max-width: 1024px) {
    .site-header .header-inner { position: relative; flex-direction: row !important; flex-wrap: wrap; gap: 0 12px; padding: 10px 16px 0 !important; }
    .site-header .logo { width: 104px !important; margin: 0; }
    .site-header .gl-header-contact { order: 1; margin-left: auto; }
    .site-header .nav-menu {
        order: 2; flex: 1 0 100%; justify-content: center; flex-wrap: wrap;
        width: 100%; padding: 8px 0 6px; gap: 6px 12px !important; overflow: visible;
    }
    .site-header .nav-menu .nav-link { padding-inline: 3px; flex: 0 0 auto; }
    .gl-hero-actions { justify-content: center; }
    .gl-hero-actions .btn-pill { width: auto !important; min-width: 110px; padding-inline: 14px; }
    .gl-hero-actions .gl-hero-secondary { text-shadow: none !important; }
    .gl-pillars { flex-wrap: wrap; row-gap: 24px; }
    .gl-pillars > div { width: calc(50% - 6px) !important; }
    .gl-industry-hero-inner { padding-inline: 20px; }
    .gl-industry-cta .btn-pill { margin-inline: auto; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 160px; }
    .gl-industry-hero-inner { grid-template-columns: 1fr; gap: 18px; padding-block: 44px 24px; }
    .gl-industry-grid { grid-template-columns: 1fr; }
    .gl-industry-label { font-size: 17px; }
    .gl-industry-hero p { font-size: 16px; }
    .site-footer .footer-brand-box { gap: 18px; }
    .site-footer .footer-nav-row { flex-wrap: wrap; }
}
/* Homepage onboarding in the existing blue CTA. */
.gl-onboarding.cta-section-restored {
    height: auto;
    min-height: 550px;
    padding: 72px 24px;
}
.gl-onboarding .cta-ring { opacity: .38; }
.gl-onboarding .cta-content {
    width: min(100%, 1120px);
    gap: 42px;
    padding: 0;
}
.gl-onboarding-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2.2vw, 28px);
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.gl-onboarding-steps li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px clamp(18px, 2vw, 28px);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    background: rgba(20,66,196,.88);
    color: white;
}
.gl-onboarding-number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    font-weight: 700;
}
.gl-onboarding-steps h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; }
.gl-onboarding-steps p { margin: 0; color: #edf3ff; font-size: 15px; line-height: 1.75; text-wrap: pretty; }
.gl-onboarding .cta-btn-white:focus-visible { outline: 2px solid white; outline-offset: 4px; }

@media (max-width: 700px) {
    .gl-onboarding.cta-section-restored { min-height: 0; padding: 48px 18px; }
    .gl-onboarding .cta-content { max-width: 460px; gap: 28px; }
    .gl-onboarding-steps { grid-template-columns: 1fr; gap: 14px; }
    .gl-onboarding-steps li { padding: 18px 20px; gap: 10px; }
    .gl-onboarding-steps h3 { font-size: 18px; }
    .gl-onboarding .cta-btn-white { font-size: 17px; }
}
/* Four advantage cards in the existing homepage benefits row. */
@media (min-width: 1025px) {
    .gl-four-benefits .b-card-title { font-size: clamp(21px, 2vw, 28px); line-height: 1.45; }
    .stats-section-restored .gl-four-benefits .b-card-desc { font-size: 17px; line-height: 1.65; top: 242px; }
}
/* Global acquiring capabilities and onboarding. */
.gl-acquiring-capabilities.features-container-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch !important;
    gap: clamp(22px, 3vw, 40px);
    width: 100%;
}
.gl-acquiring-capabilities .gl-acquiring-capability {
    width: 100%;
    min-height: 224px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(112px, 13vw, 168px);
    align-items: center;
    gap: 18px;
}
.gl-acquiring-capability > img { display: block; width: 100%; height: auto; }
.gl-acquiring-capability .fb-desc { margin: 0; line-height: 1.6; }

.gl-acquiring-steps.steps-wrapper { width: 100%; gap: clamp(10px, 2vw, 28px); }
.gl-acquiring-steps .step-item { flex: 1 1 0; width: auto; min-width: 0; }
.gl-acquiring-steps .step-icon img { width: min(100%,168px); height: auto; }
.gl-acquiring-steps .step-title-box { display: flex; align-items: center; justify-content: center; gap: 7px; }
.gl-acquiring-steps .step-num { position: static; width: 30px; height: 30px; font-size: 17px; flex: 0 0 30px; }
.gl-acquiring-steps .step-title { margin: 0; font-size: 22px; }
.gl-acquiring-steps .step-desc { margin: 0; line-height: 1.55; text-wrap: balance; }
.gl-acquiring-steps .step-arrow { width: clamp(38px, 6vw, 86px); }

@media (min-width: 1025px) and (max-width: 1180px) {
    #coverage .region-cards-wrapper { gap: 16px; }
    #coverage .region-card-fixed { flex: 1 1 0; min-width: 0; }
    #coverage .region-chips-box { gap: 7px; padding-inline: 10px; }
}
@media (max-width: 1024px) {
    .gl-acquiring-steps .step-item { flex: none; width: min(100%, 280px); }
}
@media (max-width: 680px) {
    .gl-acquiring-capabilities.features-container-grid { grid-template-columns: 1fr; }
    .gl-acquiring-capabilities .gl-acquiring-capability {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) clamp(76px, 25vw, 112px);
        gap: 10px;
        padding: 20px;
    }
    #coverage .region-chips-box { gap: 8px; }
}
