.sagds2,
.sagds2 * { box-sizing: border-box; }

.sagds2 {
    width: 100%;
    overflow: hidden;
    background: #f8f9ff;
    color: #101a55;
    font-family: Inter, Arial, sans-serif;
    position: relative;
}
.sagds2::before,
.sagds2::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: .22;
    border: 1px solid #8b83ff;
    border-radius: 50%;
    width: 340px;
    height: 340px;
}
.sagds2::before { right: -170px; top: -145px; }
.sagds2::after { left: -190px; bottom: -220px; width: 460px; height: 460px; }

.sagds2__inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.sagds2__header {
    max-width: 850px;
    margin: 0 auto 30px;
    text-align: center;
}
.sagds2__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #4c45ef;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.sagds2__eyebrow-line {
    width: 28px;
    height: 1px;
    background: currentColor;
}
.sagds2__heading {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.035em;
    color: #101a55;
}
.sagds2__intro {
    max-width: 760px;
    margin: 17px auto 0;
    color: #52607d;
    font-size: 18px;
    line-height: 1.55;
}

.sagds2__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
}
.sagds2__card {
    --sagds2-media-width: 48%;
    display: grid;
    grid-template-columns: minmax(0, var(--sagds2-media-width)) minmax(0, 1fr);
    align-items: center;
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 22px 24px 22px 22px;
    background: #fff;
    border: 1px solid #e2e4f5;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(55, 65, 135, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}
.sagds2__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(55,65,135,.12);
}
.sagds2__media {
    min-width: 0;
    min-height: 240px;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, #f7f6ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sagds2__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sagds2__media-icon {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0efff;
    color: var(--sagds2-accent);
    font-size: 48px;
}
.sagds2__content {
    min-width: 0;
    padding-left: 22px;
    position: relative;
}
.sagds2__title-row {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    gap: 12px;
    align-items: start;
}
.sagds2__title-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--sagds2-icon-color);
    background: var(--sagds2-icon-bg);
    font-size: 25px;
    box-shadow: 0 8px 20px rgba(78,76,207,.10);
}
.sagds2__title-icon i,
.sagds2__title-icon svg,
.sagds2__media-icon i,
.sagds2__media-icon svg,
.sagds2__btn-icon i,
.sagds2__btn-icon svg {
    color: inherit !important;
    fill: currentColor !important;
}
.sagds2__card-title {
    margin: 3px 0 0;
    color: #111a52;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.22;
    font-weight: 800;
}
.sagds2__accent-line {
    width: 32px;
    height: 2px;
    margin: 12px 0 12px 66px;
    border-radius: 20px;
    background: var(--sagds2-accent);
}
.sagds2__card-desc {
    margin: 0 0 0 66px;
    color: #4f5b78;
    font-size: 15px;
    line-height: 1.62;
}
.sagds2__card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.sagds2__cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}
.sagds2__btn {
    min-width: 290px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 34px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sagds2__btn--primary {
    color: #fff;
    background: linear-gradient(90deg,#233be8 0%,#7b3ff1 100%);
    box-shadow: 0 10px 24px rgba(69,56,230,.22);
    border: 1px solid transparent;
}
.sagds2__btn--secondary {
    color: #263eea;
    background: #fff;
    border: 2px solid #263eea;
}
.sagds2__btn:hover { transform: translateY(-2px); }
.sagds2__btn-icon { display: inline-flex; align-items: center; }

@media (max-width: 1100px) {
    .sagds2__grid { grid-template-columns: 1fr !important; }
    .sagds2__card { grid-template-columns: minmax(0, 42%) minmax(0,1fr); }
}

@media (max-width: 767px) {
    .sagds2 { padding-left: 14px !important; padding-right: 14px !important; }
    .sagds2__header { margin-bottom: 22px; }
    .sagds2__eyebrow { font-size: 13px; gap: 9px; }
    .sagds2__eyebrow-line { width: 20px; }
    .sagds2__heading { font-size: clamp(31px, 9.5vw, 42px); }
    .sagds2__intro { font-size: 15px; line-height: 1.55; }
    .sagds2__grid { gap: 14px !important; }
    .sagds2__card {
        grid-template-columns: 1fr !important;
        padding: 14px !important;
    }
    .sagds2__media {
        width: 100%;
        height: auto !important;
        min-height: 210px;
    }
    .sagds2__content { padding: 16px 4px 4px; }
    .sagds2__card-title { font-size: 20px; }
    .sagds2__accent-line { margin-left: 58px; }
    .sagds2__card-desc { margin-left: 58px; font-size: 14px; }
    .sagds2__title-icon { width: 48px !important; height: 48px !important; font-size: 22px !important; }
    .sagds2__cta { margin-top: 20px; gap: 10px; flex-direction: column; }
    .sagds2__btn { min-width: 0; width: 100%; }
}

@media (max-width: 430px) {
    .sagds2__media { min-height: 180px; }
    .sagds2__title-row { gap: 10px; }
    .sagds2__accent-line { margin-left: 0; }
    .sagds2__card-desc { margin-left: 0; }
}
