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

.sags {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 54px 20px;
    background: linear-gradient(180deg, #fbfbff 0%, #f7f7ff 100%);
    color: #111958;
    font-family: Inter, Arial, sans-serif;
}

.sags::before,
.sags::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    opacity: .6;
    background-image: radial-gradient(circle, #bcc0ff 2.5px, transparent 2.8px);
    background-size: 16px 16px;
}
.sags::before { left: -28px; top: 10px; }
.sags::after { right: -18px; top: 180px; }
.sags-decorations- .sags::before,
.sags-decorations- .sags::after { display: none; }

.sags__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.sags__heading-wrap {
    max-width: 850px;
    margin: 0 auto 34px;
    text-align: center;
}

.sags__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: #5b5cff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.sags__eyebrow::before,
.sags__eyebrow::after {
    content: "✦";
    color: currentColor;
    font-size: 14px;
}

.sags__heading {
    margin: 0;
    font-family: Manrope, Inter, Arial, sans-serif;
    color: #111958;
    font-size: clamp(38px, 4.1vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 800;
}
.sags__heading span { display: block; }

.sags__description {
    max-width: 790px;
    margin: 18px auto 0;
    color: #5a617d;
    font-size: 17px;
    line-height: 1.55;
}

.sags__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sags__card {
    min-width: 0;
    overflow: hidden;
    padding: 18px 20px 22px;
    background: var(--sags-card-bg, #fff);
    border: 1px solid rgba(93, 101, 198, .14);
    border-radius: 22px;
    box-shadow: 0 15px 34px rgba(58, 65, 138, .08);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.sags__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(58, 65, 138, .12);
}

.sags__image-wrap {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 12px;
}
.sags__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.sags__icon-wrap {
    width: 110px;
    height: 110px;
    margin: 6px auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    color: var(--sags-icon-color, #315efb);
    background: var(--sags-icon-bg, #f2f4ff);
    font-size: 52px;
}
.sags__icon-wrap i { color: inherit !important; font-size: 1em !important; }
.sags__icon-wrap svg { width: 1em; height: 1em; fill: currentColor; color: inherit; }

.sags__card-title {
    margin: 0 0 8px;
    color: #111958;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}
.sags__card-title a { color: inherit; text-decoration: none; }

.sags__card-description {
    max-width: 340px;
    margin: 0 auto;
    color: #5b617b;
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .sags { padding: 46px 20px; }
    .sags__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .sags__heading { font-size: clamp(34px, 5.6vw, 48px); }
    .sags__image-wrap { height: 180px; }
}

@media (max-width: 767px) {
    .sags { padding: 36px 16px; }
    .sags__heading-wrap { margin-bottom: 24px; }
    .sags__eyebrow { font-size: 12px; gap: 10px; margin-bottom: 12px; }
    .sags__heading { font-size: clamp(30px, 9vw, 40px); }
    .sags__description { margin-top: 12px; font-size: 14px; }
    .sags__grid { grid-template-columns: 1fr !important; gap: 14px; }
    .sags__card { padding: 14px 14px 18px; }
    .sags__image-wrap { height: 170px; }
    .sags__card-title { font-size: 19px; }
    .sags__card-description { font-size: 14px; }
}
