/* =====================================================
   ОСНОВА
====================================================== */

.rr-value {
    /* Defaults — Elementor Style overrides via CSS vars on this root */
    --rr-black: #050505;
    --rr-black-light: #0b0b0c;
    --rr-graphite: #121214;
    --rr-graphite-light: #19191c;
    --rr-line: rgba(255, 255, 255, 0.1);
    --rr-line-light: rgba(255, 255, 255, 0.16);
    --rr-white: #f3f3f3;
    --rr-silver: #c6c7ca;
    --rr-silver-dark: #888b90;
    --rr-muted: #96989d;

    --rr-radius: 22px;
    --rr-border-color: rgba(255, 255, 255, 0.09);
    --rr-bg-1: #111113;
    --rr-bg-2: #070708;
    --rr-bg-3: #030303;
    --rr-shine-alpha: 0.08;
    --rr-shine-left-alpha: 0.11;
    --rr-shine-right-alpha: 0.09;
    --rr-shadow-outer: 0 26px 65px rgba(0, 0, 0, 0.42);
    --rr-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --rr-pad-block: clamp(20px, 3vw, 32px);

    position: relative;

    width: 100%;
    min-width: 0;

    overflow: hidden;
    container-type: inline-size;
    isolation: isolate;

    color: var(--rr-white);

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(255, 255, 255, var(--rr-shine-alpha)),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            var(--rr-bg-1) 0%,
            var(--rr-bg-2) 50%,
            var(--rr-bg-3) 100%
        );

    border: 1px solid var(--rr-border-color);
    border-radius: var(--rr-radius);

    box-shadow: var(--rr-shadow-outer), var(--rr-shadow-inset);

    font-family: inherit;
}

.rr-value,
.rr-value * {
    box-sizing: border-box;
}

.rr-value button {
    font: inherit;
}

.rr-value__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: var(--rr-pad-block);
}

/* =====================================================
   ФОНОВЫЕ ОТБЛЕСКИ
====================================================== */

.rr-value__shine {
    position: absolute;
    z-index: 0;

    width: 250px;
    height: 250px;

    pointer-events: none;
    border-radius: 50%;
    filter: blur(16px);
}

.rr-value__shine--left {
    top: -180px;
    left: -100px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, var(--rr-shine-left-alpha)),
            transparent 70%
        );
}

.rr-value__shine--right {
    right: -160px;
    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(150, 154, 163, var(--rr-shine-right-alpha)),
            transparent 70%
        );
}

/* =====================================================
   ЗАГОЛОВОК
====================================================== */

.rr-value__label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: var(--rr-silver);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.rr-value__label span {
    width: 28px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #f2f2f2,
            rgba(255, 255, 255, 0)
        );
}

.rr-value__title {
    max-width: 760px;
    margin: 0;

    color: var(--rr-white);
    font-size: clamp(27px, 3.2vw, 42px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.rr-value__title strong {
    display: block;

    color: transparent;
    font-weight: 500;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #a3a5aa 48%,
            #e6e6e7 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.rr-value__description {
    max-width: 760px;
    margin: 14px 0 0;

    color: var(--rr-muted);
    font-size: 14px;
    line-height: 1.65;
}

.rr-value__main-thesis {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 15px;
    padding: 13px 15px;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 13px;
}

.rr-value__check {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color: #090909;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #8d9095
        );

    border-radius: 50%;

    box-shadow:
        0 5px 16px rgba(255, 255, 255, 0.1);
}

.rr-value__check svg {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rr-value__main-thesis p {
    margin: 0;

    color: #d0d1d3;
    font-size: 13px;
    line-height: 1.55;
}

/* =====================================================
   ВЕРХНИЕ ВКЛАДКИ
====================================================== */

.rr-value__tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;

    padding: 5px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--rr-line);
    border-radius: 14px;
}

.rr-value__tab {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;

    color: #777a80;
    text-align: left;
    cursor: pointer;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.rr-value__tab:hover {
    color: #e7e7e8;
    background: rgba(255, 255, 255, 0.04);
}

.rr-value__tab.is-active {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.035)
        );

    border-color: rgba(255, 255, 255, 0.18);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rr-value__tab span {
    color: var(--rr-silver);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.rr-value__tab strong {
    overflow: hidden;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =====================================================
   КАРТОЧКА СЛАЙДЕРА
====================================================== */

.rr-value__slider {
    position: relative;
    overflow: hidden;

    /*
    После удаления нижней навигации нижний отступ
    уменьшен и уравновешен с верхним.
    */
    padding:
        clamp(15px, 2vw, 20px)
        clamp(17px, 2.4vw, 25px)
        clamp(16px, 2.1vw, 21px);

    background:
        linear-gradient(
            145deg,
            rgba(27, 27, 30, 0.92),
            rgba(8, 8, 9, 0.97)
        );

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 40px rgba(0, 0, 0, 0.27);
}

.rr-value__slider::after {
    position: absolute;
    top: 0;
    left: 10%;

    width: 55%;
    height: 1px;

    content: "";

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
        );
}

/* =====================================================
   СЛАЙДЫ
====================================================== */

.rr-value__slides {
    position: relative;
    display: grid;
}

.rr-value__slide {
    grid-area: 1 / 1;

    min-width: 0;

    visibility: hidden;
    pointer-events: none;

    opacity: 0;
    transform: translateX(16px);

    transition:
        opacity 0.38s ease,
        transform 0.45s ease,
        visibility 0.38s ease;
}

.rr-value__slide.is-active {
    z-index: 2;

    visibility: visible;
    pointer-events: auto;

    opacity: 1;
    transform: translateX(0);
}

.rr-value__slide-header {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 14px;
}

.rr-value__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color: #d9dadd;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rr-value__icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rr-value__overline {
    display: block;

    margin-bottom: 5px;

    color: #8d9095;
    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.rr-value__slide h3 {
    margin: 0;

    color: #f3f3f3;
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 450;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.rr-value__slide-text {
    max-width: 720px;
    margin: 0 0 15px;

    color: #a2a4a9;
    font-size: 13px;
    line-height: 1.6;
}

/* =====================================================
   ТЕЗИСЫ
====================================================== */

.rr-value__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.rr-value__list li {
    position: relative;

    min-width: 0;
    padding-left: 15px;

    color: #d1d2d4;
    font-size: 12px;
    line-height: 1.45;
}

.rr-value__list li::before {
    position: absolute;
    top: 7px;
    left: 0;

    width: 5px;
    height: 5px;

    content: "";

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #777a80
        );

    border-radius: 50%;

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.045);
}

/* =====================================================
   РЕЗУЛЬТАТ
====================================================== */

.rr-value__result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: start;

    margin-top: 17px;
    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rr-value__result > span {
    padding: 6px 8px;

    color: #d7d8da;
    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.rr-value__result p {
    margin: 0;

    color: #92949a;
    font-size: 12px;
    line-height: 1.5;
}

/* =====================================================
   ФОКУС
====================================================== */

.rr-value button:focus-visible {
    outline: 1px solid #ffffff;
    outline-offset: 3px;
}

/* =====================================================
   АДАПТАЦИЯ К ШИРИНЕ КОНТЕЙНЕРА
====================================================== */

@container (max-width: 720px) {
    .rr-value__content {
        padding: 21px;
    }

    .rr-value__title {
        font-size: 31px;
    }

    .rr-value__tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rr-value__list {
        grid-template-columns: 1fr;
    }
}

@container (max-width: 460px) {
    .rr-value {
        border-radius: 18px;
    }

    .rr-value__content {
        gap: 16px;
        padding: 17px;
    }

    .rr-value__title {
        font-size: 27px;
    }

    .rr-value__title strong {
        display: inline;
    }

    .rr-value__slider {
        padding: 14px 16px 15px;
    }

    .rr-value__slide-header {
        align-items: flex-start;
    }

    .rr-value__result {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rr-value__result > span {
        width: max-content;
    }
}

/* Резервная мобильная адаптация */

@media (max-width: 767px) {
    .rr-value__tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rr-value__list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rr-value *,
    .rr-value *::before,
    .rr-value *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}