.mg-aip { --aip-ink: #0b1a3c; --aip-navy: #0b3d9e; --aip-red: #c8102e; padding-bottom: 6px; }

.mg-aip-crumbs { display: flex; align-items: center; gap: 16px; padding: 36px 0 20px; border-bottom: 1.5px solid #d6dbe4; font-size: 22px; line-height: 1.3; color: var(--aip-ink); }
.mg-aip-crumbs a { color: var(--aip-navy); }
.mg-aip-crumbs svg { width: 20px; height: 20px; fill: none; stroke: var(--aip-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.mg-aip-title { margin: 42px 0 0; font-size: 71px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--aip-ink); }
.mg-aip-lead { margin: 22px 0 0; max-width: 950px; font-size: 24px; line-height: 1.75; color: #2c3446; }

.mg-aip-grid { display: grid; grid-template-columns: 332fr 356fr; gap: 46px; align-items: start; margin-top: 40px; }

.mg-aip-details { background: #fff; border: 1.5px solid #dde2ea; border-radius: 10px; box-shadow: 0 4px 14px rgba(11, 26, 60, .05); overflow: hidden; }
.mg-aip-dhead { display: flex; align-items: center; gap: 20px; height: 96px; padding: 0 20px; border-bottom: 1.5px solid #e1e5ec; }
.mg-aip-dico { width: 57px; height: 57px; border-radius: 50%; background: var(--aip-navy); display: grid; place-items: center; flex: none; }
.mg-aip-dico svg { width: 30px; height: 30px; }
.mg-aip-dhead h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: var(--aip-navy); }

.mg-aip-row { display: flex; align-items: center; gap: 24px; height: 85px; padding: 0 30px 0 24px; cursor: text; }
.mg-aip-row + .mg-aip-row { border-top: 1.5px solid #e1e5ec; }
.mg-aip-ico { width: 42px; height: 42px; flex: none; fill: none; stroke: var(--aip-navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mg-aip-lab { flex: 1; font-size: 23px; color: var(--aip-ink); white-space: nowrap; }
.mg-aip .mg-aip-val { width: 52%; height: 46px; padding: 0 8px; margin-right: -8px; border: 1.5px solid transparent; border-radius: 6px; background: transparent; text-align: right; font: inherit; font-size: 23px; font-weight: 600; color: var(--aip-ink); }
.mg-aip span.mg-aip-val { display: block; line-height: 43px; }
.mg-aip input.mg-aip-val:hover { border-color: #e1e5ec; }
.mg-aip input.mg-aip-val:focus { outline: 0; border-color: var(--aip-navy); background: #fff; box-shadow: 0 0 0 3px rgba(11, 61, 158, .12); }

.mg-aip-decision { background: #fff; border: 2px solid var(--aip-red); border-radius: 10px; overflow: hidden; }
.mg-aip-rhead { display: flex; align-items: center; gap: 22px; height: 99px; padding: 0 22px; background: var(--aip-red); }
.mg-aip-check { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.mg-aip-check svg { width: 32px; height: 32px; fill: none; stroke: var(--aip-red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mg-aip-rhead h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: #fff; }

.mg-aip-body { padding: 30px 20px 36px; text-align: center; }
.mg-aip-body p { margin: 0; }
.mg-aip-may { font-size: 24px; line-height: 1.3; color: var(--aip-ink); }
.mg-aip-fig { margin-top: 6px !important; font-size: 88px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--aip-red); }
.mg-aip-valid { display: inline-flex; align-items: center; gap: 30px; margin: 10px 0 0 -14px; text-align: left; }
.mg-aip-cal { width: 86px; height: 86px; border-radius: 50%; background: #fde8eb; display: grid; place-items: center; flex: none; }
.mg-aip-cal svg { width: 44px; height: 44px; fill: none; stroke: var(--aip-red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mg-aip-vl { font-size: 24px; line-height: 1.3; color: var(--aip-ink); }
.mg-aip-days { font-size: 31px; line-height: 1.25; font-weight: 700; color: var(--aip-red); }

.mg-aip-note { display: flex; align-items: center; gap: 22px; padding: 22px 30px; background: #fdf0f2; }
.mg-aip-note svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--aip-red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mg-aip-note p { margin: 0; font-size: 18.5px; line-height: 1.6; color: var(--aip-ink); }

.mg-aip-btn { height: 86px; margin-top: 30px; padding: 0 58px 0 44px; gap: 26px; border-radius: 4px; background: #0b3fae; font-size: 30px; font-weight: 600; }
.mg-aip-btn:hover { background: #09348f; }
.mg-aip-apply { margin-left: 16px; background: #e10600; text-decoration: none; }
.mg-aip-apply:hover { background: #b80500; }
@media (max-width: 760px) { .mg-aip-apply { margin-left: 0; } }
.mg-aip-btn svg { width: 38px; height: 38px; stroke-width: 2.2; }

.mg-aip-partner { display: flex; align-items: center; gap: 16px; margin: 44px 0 6px; color: var(--aip-ink); }
.mg-aip-partner::before,
.mg-aip-partner::after { content: ""; flex: 1; height: 1.5px; background: #cdd3dd; }
.mg-aip-partner::before { margin-right: 6px; }
.mg-aip-partner::after { margin-left: 6px; }
.mg-aip-pl { font-size: 21px; margin-right: 14px; }
.mg-aip-diamond { width: 46px; height: 46px; flex: none; }
.mg-aip-partner strong { font-size: 28px; font-weight: 600; letter-spacing: -.01em; }

@media (max-width: 900px) {
    .mg-aip-title { font-size: 44px; }
    .mg-aip-lead { font-size: 18px; }
    .mg-aip-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .mg-aip-lab { white-space: normal; }
    .mg-aip-row { padding: 0 16px; gap: 14px; height: 70px; }
    .mg-aip-lab, .mg-aip .mg-aip-val { font-size: 18px; }
    .mg-aip-fig { font-size: 60px; }
    .mg-aip-btn { height: 64px; font-size: 22px; }
    .mg-aip-pl { font-size: 16px; margin-right: 0; }
    .mg-aip-partner strong { font-size: 20px; }
    .mg-aip-partner::before, .mg-aip-partner::after { min-width: 16px; }
}

@media print {
    .site-header, .site-footer, .mg-aip-btn, .mg-aip-crumbs { display: none !important; }
    .mg-aip-decision, .mg-aip-rhead, .mg-aip-note, .mg-aip-dico, .mg-aip-cal { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
