/* Radin Console About widgets — all selectors intentionally widget-scoped. */
.rs-about-hero,
.rs-about-stats,
.rs-about-benefits,
.rs-about-why-us,
.rs-about-values {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    direction: rtl;
}

.rs-about-hero *,
.rs-about-stats *,
.rs-about-benefits *,
.rs-about-why-us *,
.rs-about-values * {
    box-sizing: border-box;
}

/* Hero */
.rs-about-hero {
    --rs-about-content-width: 50%;
    overflow: hidden;
    border: 1px solid rgba(215, 226, 244, .82);
    background: radial-gradient(circle at 12% 0, rgba(49, 87, 255, .08), transparent 35%), #fff;
    box-shadow: 0 18px 50px rgba(27, 48, 91, .08);
}

.rs-about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, calc(100% - var(--rs-about-content-width))) minmax(0, var(--rs-about-content-width));
    align-items: center;
    gap: 44px;
}

.rs-about-hero__image,
.rs-about-hero__content {
    min-width: 0;
}

.rs-about-hero__image img {
    width: 100%;
    height: 430px;
    display: block;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(29, 52, 99, .14);
}

.rs-about-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: #3157ff;
    font-size: 13px;
    font-weight: 700;
}

.rs-about-hero__eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    margin-inline-end: 9px;
    border-radius: 99px;
    background: currentColor;
}

.rs-about-hero__title {
    margin: 0 0 20px;
    color: #17233d;
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 900;
    line-height: 1.55;
}

.rs-about-hero__description,
.rs-about-hero__secondary {
    color: #66738a;
    font-size: 15px;
    line-height: 2;
}

.rs-about-hero__description {
    margin-bottom: 10px;
}

.rs-about-hero__description p,
.rs-about-hero__secondary p {
    margin: 0 0 9px;
    color: inherit;
    font: inherit;
}

.rs-about-hero__cta {
    min-height: 46px;
    margin-top: 18px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 14px;
    background: #3157ff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(49, 87, 255, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.rs-about-hero__cta:hover,
.rs-about-hero__cta:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(49, 87, 255, .28);
}

.rs-about-hero__cta-icon,
.rs-about-hero__cta-icon svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

/* Shared grid foundations */
.rs-about-stats__grid,
.rs-about-benefits__grid,
.rs-about-why-us__grid,
.rs-about-values__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* Stats */
.rs-about-stats {
    overflow: hidden;
    border: 1px solid rgba(215, 226, 244, .82);
    background: #fff;
    box-shadow: 0 14px 38px rgba(27, 48, 91, .07);
}

.rs-about-stats__item {
    min-width: 0;
    position: relative;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rs-about-stats.is-carded .rs-about-stats__item {
    border: 1px solid #e3eaf5;
    background: #f9fbff;
    box-shadow: 0 8px 22px rgba(31, 55, 105, .06);
}

.rs-about-stats__icon,
.rs-about-benefits__icon,
.rs-about-why-us__icon,
.rs-about-values__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3157ff;
    background: #eef3ff;
}

.rs-about-stats__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    border-radius: 16px;
    font-size: 24px;
}

.rs-about-stats__icon svg,
.rs-about-benefits__icon svg,
.rs-about-why-us__icon svg,
.rs-about-values__icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.rs-about-stats__number {
    color: #17233d;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 900;
    line-height: 1.35;
}

.rs-about-stats__number span {
    margin-inline: 3px;
    font-size: .58em;
    font-weight: 750;
}

.rs-about-stats__title,
.rs-about-stats__description {
    margin: 0;
}

.rs-about-stats__title {
    color: #33415c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.rs-about-stats__description {
    margin-top: 5px;
    color: #7a879b;
    font-size: 12px;
    line-height: 1.75;
}

.rs-about-stats.has-separators:not(.is-carded) .rs-about-stats__item:not(:last-child)::after,
.rs-about-benefits.has-separators .rs-about-benefits__item:not(:last-child)::after,
.rs-about-values.has-separators .rs-about-values__item:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 58%;
    position: absolute;
    top: 21%;
    inset-inline-end: calc(-9px - .5px);
    background: #dfe7f4;
}

/* Benefits */
.rs-about-benefits {
    overflow: hidden;
    border: 1px solid rgba(210, 223, 243, .9);
    background: linear-gradient(135deg, #f8faff, #fff);
    box-shadow: 0 16px 42px rgba(28, 52, 101, .08);
}

.rs-about-benefits__item {
    min-width: 0;
    min-height: 84px;
    position: relative;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    text-decoration: none;
}

.rs-about-benefits__item:hover,
.rs-about-benefits__item:focus-visible {
    color: inherit;
}

.rs-about-benefits__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 17px;
    font-size: 25px;
}

.rs-about-benefits__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rs-about-benefits__title,
.rs-about-benefits__description {
    display: block;
}

.rs-about-benefits__title {
    color: #24314b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
}

.rs-about-benefits__description {
    margin-top: 3px;
    color: #7a879b;
    font-size: 11.5px;
    line-height: 1.7;
}

/* Why us */
.rs-about-why-us__heading {
    max-width: 720px;
    margin: 0 auto 26px;
    text-align: center;
}

.rs-about-why-us__title,
.rs-about-why-us__subtitle {
    margin: 0;
}

.rs-about-why-us__title {
    color: #17233d;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.6;
}

.rs-about-why-us__subtitle {
    margin-top: 8px;
    color: #748198;
    font-size: 14px;
    line-height: 1.9;
}

.rs-about-why-us__card {
    min-width: 0;
    min-height: 240px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #e2e9f4;
    border-radius: 22px;
    background: #fff;
    color: inherit;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(29, 52, 99, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rs-about-why-us__card:hover,
.rs-about-why-us__card:focus-visible {
    border-color: color-mix(in srgb, var(--rs-about-accent, #3157ff) 34%, #e2e9f4);
    color: inherit;
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(29, 52, 99, .11);
}

.rs-about-why-us__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 17px;
    border-radius: 20px;
    color: var(--rs-about-accent, #3157ff);
    font-size: 26px;
}

.rs-about-why-us__card-title,
.rs-about-why-us__card-description {
    margin: 0;
}

.rs-about-why-us__card-title {
    color: #24314b;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.75;
}

.rs-about-why-us__card-description {
    margin-top: 8px;
    color: #748198;
    font-size: 12.5px;
    line-height: 1.9;
}

/* Values */
.rs-about-values {
    overflow: hidden;
    border: 1px solid rgba(215, 226, 244, .85);
    background: #fff;
    box-shadow: 0 16px 42px rgba(29, 52, 99, .075);
}

.rs-about-values__heading {
    margin: 0 0 26px;
    color: #17233d;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.6;
    text-align: center;
}

.rs-about-values__item {
    min-width: 0;
    position: relative;
    padding: 12px 18px;
    text-align: center;
}

.rs-about-values__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    border-radius: 18px;
    font-size: 25px;
}

.rs-about-values__title,
.rs-about-values__description {
    margin: 0;
}

.rs-about-values__title {
    color: #26344f;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.75;
}

.rs-about-values__description {
    margin-top: 7px;
    color: #748198;
    font-size: 12.5px;
    line-height: 1.9;
}

@media (max-width: 1024px) {
    .rs-about-stats__grid,
    .rs-about-benefits__grid,
    .rs-about-why-us__grid,
    .rs-about-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-about-stats.has-separators:not(.is-carded) .rs-about-stats__item:nth-child(2n)::after,
    .rs-about-benefits.has-separators .rs-about-benefits__item:nth-child(2n)::after,
    .rs-about-values.has-separators .rs-about-values__item:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .rs-about-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .rs-about-hero__image {
        order: 1;
    }

    .rs-about-hero__content {
        order: 2;
    }

    .rs-about-hero__image img {
        height: min(72vw, 390px);
    }

    .rs-about-hero__title {
        font-size: clamp(25px, 7.5vw, 34px);
    }

    .rs-about-benefits__grid,
    .rs-about-why-us__grid,
    .rs-about-values__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rs-about-benefits.has-separators .rs-about-benefits__item::after,
    .rs-about-values.has-separators .rs-about-values__item::after {
        width: 72%;
        height: 1px;
        top: auto;
        bottom: -9px;
        inset-inline-end: 14%;
    }

    .rs-about-benefits__item {
        justify-content: flex-start;
    }

    .rs-about-why-us__card {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .rs-about-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-about-stats__item {
        padding-inline: 8px;
    }

    .rs-about-stats__number {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-about-hero__cta,
    .rs-about-why-us__card {
        transition: none;
    }
}
