.why-us {
    width: auto;
}

.why-us__card {
    position: relative;
    background-color: var(--color-surface);
    background-image: url("../../image/why-us/why-us-bc.svg");
    background-size: cover;
    background-position: center;
    margin: clamp(40px, 6vw, 70px) var(--section-gutter) clamp(60px, 8vw, 100px);
    padding: clamp(28px, 4vw, 50px) clamp(24px, 4vw, 50px) clamp(36px, 5vw, 60px);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 30px);
    align-items: start;
}

@media (max-width: 900px) {
    .why-us__card {
        grid-template-columns: 1fr;
    }
}

.why-us__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='800' height='600' viewBox='0 0 800 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-100 200 Q200 100 500 200 T1100 200' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.5'/%3E%3Cpath d='M-100 240 Q200 140 500 240 T1100 240' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.5'/%3E%3Cpath d='M-100 280 Q200 180 500 280 T1100 280' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.5'/%3E%3Cpath d='M-100 320 Q200 220 500 320 T1100 320' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.5'/%3E%3Cpath d='M-100 360 Q200 260 500 360 T1100 360' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.5'/%3E%3Cpath d='M-100 400 Q200 300 500 400 T1100 400' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.4'/%3E%3Cpath d='M-100 440 Q200 340 500 440 T1100 440' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.4'/%3E%3Cpath d='M-100 480 Q200 380 500 480 T1100 480' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.4'/%3E%3Cpath d='M-100 520 Q200 420 500 520 T1100 520' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.3'/%3E%3Cpath d='M-100 560 Q200 460 500 560 T1100 560' stroke='%23c8c8c8' stroke-width='1' fill='none' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

.why-us__left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.6vw, 20px);
    padding-right: clamp(0px, 8vw, 15vw);
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-us__left.in {
    opacity: 1;
    transform: none;
}

.why-us__title {
    font-family: var(--font-title);
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--color-text);
    margin: 0 0 10px;
}

.why-us__subtitle,
.why-us__body {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
    font-weight: 400;
}

.why-us__result {
    font-family: var(--font-title);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.4px;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 8px 0 0;
}

.why-us__right {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: clamp(10px, 1.2vw, 14px);
    padding-top: clamp(40px, 14vw, 150px);
}

@media (max-width: 900px) {
    .why-us__right {

        padding-top: 24px;
    }
}

.why-us__feature {
    background: var(--color-white);
    backdrop-filter: blur(4px);
    border-radius: 18px;
    padding: clamp(16px, 1.8vw, 22px) clamp(14px, 1.6vw, 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    min-height: clamp(140px, 18vw, 220px);

    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease, box-shadow 0.2s ease;
}

.why-us__feature.in {
    opacity: 1;
}

.why-us__feature:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.why-us__feature:nth-child(2) { transition-delay: 0.08s, 0s, 0s; }
.why-us__feature:nth-child(3) { transition-delay: 0.16s, 0s, 0s; }
.why-us__feature:nth-child(4) { transition-delay: 0.24s, 0s, 0s; }
.why-us__feature:nth-child(5) { transition-delay: 0.32s, 0s, 0s; }
.why-us__feature:nth-child(6) { transition-delay: 0.4s, 0s, 0s; }

@media (min-width: 901px) {
    .why-us__right > .why-us__feature:nth-child(even) {
        transform: translateY(-50%);
    }
    .why-us__right > .why-us__feature:nth-child(even):hover {
        transform: translateY(calc(-50% - 2px));
        box-shadow: var(--shadow-card);
    }
}

@media (max-width: 900px) {
    .why-us__right > .why-us__feature:nth-child(even) {
        transform: translateY(-20px);
    }
    .why-us__right > .why-us__feature:nth-child(even):hover {
        transform: translateY(-24px);
        box-shadow: var(--shadow-card);
    }
}

.why-us__feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.why-us__feature--dark {
    background: var(--color-darker);
}

.why-us__feature--grey {
    background: var(--color-surface-2);
}

.why-us__feature-title {
    font-family: var(--font-body);
    font-size: clamp(20px, 1.1vw, 24px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text);
    margin: 0;
}

.why-us__feature--dark .why-us__feature-title {
    color: var(--color-white);
}

.why-us__feature-desc {
    font-family: var(--font-body);
    font-size: clamp(16px, 1vw, 20px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--color-text-soft);
    margin: 0;
}

.why-us__feature--dark .why-us__feature-desc {
    color: rgba(255, 255, 255, 0.55);
}

/* Мобильная вёрстка по Figma-макету 402px */
@media (max-width: 480px) {
    .why-us__title {
        font-size: 20px;
        line-height: 1.05;
        letter-spacing: normal;
    }

    .why-us__subtitle,
    .why-us__body {
        font-size: 14px;
        line-height: 1.35;
    }

    .why-us__result {
        font-size: 18px;
    }

    .why-us__feature {
        min-height: 130px;
        border-radius: 16px;
        padding: 12px;
        gap: 4px;
    }

    .why-us__feature-title {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.2;
    }

    .why-us__feature-desc {
        font-size: 11px;
        line-height: 1.3;
    }
}

