.mg-hub { position: relative; overflow: hidden; background: #f2f4f7; }
.mg-hub-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.mg-hub-in { position: relative; z-index: 1; padding: 24px 0 52px; }

.mg-hub-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mg-hub-badge { width: 82px; height: 98px; }
.mg-hub-eyebrow {
    display: flex; align-items: center; gap: 24px; margin: 22px 0 0;
    font-size: 20px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #0b2f86;
}
.mg-hub-eyebrow::before, .mg-hub-eyebrow::after { content: ""; width: 66px; height: 2px; background: var(--c-red); }
.mg-hub .mg-hub-title { margin: 8px 0 0; font-size: 114px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: #0b2f86; }
.mg-hub-rule { display: block; width: 104px; height: 4px; background: var(--c-red); border-radius: 2px; margin: 22px 0 0; }
.mg-hub .mg-hub-lead { margin: 34px 0 0; font-size: 23px; line-height: 1.55; color: #3b4150; }

.mg-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 25px; max-width: 1096px; margin: 44px auto 0; }
.mg-hub-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    min-height: 284px; padding: 22px 18px 24px; background: #fff; border-radius: 8px;
    box-shadow: 0 2px 14px rgba(11, 26, 60, .08); color: var(--c-ink); transition: box-shadow .2s, transform .2s;
}
.mg-hub-card:hover { box-shadow: 0 10px 28px rgba(11, 26, 60, .14); transform: translateY(-2px); }
.mg-hub-ico { width: 84px; height: 84px; }
.mg-hub-card h2 { margin: 22px 0 0; font-size: 20.5px; line-height: 1.2; font-weight: 700; letter-spacing: .005em; text-transform: uppercase; color: #0b2f86; }
.mg-hub-card p { margin: 10px 0 0; font-size: 17.5px; line-height: 1.6; color: #1f2430; }
.mg-hub-link { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; font-size: 18px; font-weight: 600; color: var(--c-red); }
.mg-hub-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.mg-hub-partner { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 48px 0 0; color: #0b2f86; }
.mg-hub-partner::before, .mg-hub-partner::after { content: ""; flex: 1; height: 1px; background: #cfd5df; }
.mg-hub-partner::before { margin-right: 4px; }
.mg-hub-partner::after { margin-left: 4px; }
.mg-hub-with { font-size: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mg-hub-m { width: 56px; height: 48px; margin-left: 2px; }
.mg-hub-mf { display: flex; flex-direction: column; line-height: 1; }
.mg-hub-mf b { font-size: 31px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mg-hub-mf small { margin-top: 4px; font-size: 14.5px; letter-spacing: .32em; text-transform: uppercase; color: #3d4a66; }

@media (max-width: 900px) {
    .mg-hub .mg-hub-title { font-size: 56px; }
    .mg-hub .mg-hub-lead { font-size: 18px; }
    .mg-hub-eyebrow { font-size: 15px; gap: 14px; }
    .mg-hub-eyebrow::before, .mg-hub-eyebrow::after { width: 36px; }
    .mg-hub-grid { grid-template-columns: 1fr; }
    .mg-hub-partner { flex-wrap: wrap; gap: 12px; }
    .mg-hub-partner::before, .mg-hub-partner::after { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .mg-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
