.value {
    background: var(--background);
    padding: 160px 0 80px;
}

.value__wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ============================================
   TITLE SECTION
   ============================================ */

.value__title-section {
    max-width: 600px;
    min-height: 210px;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 0;
}

.value__title {
    font-size: var(--fs-xxl);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    color: var(--text-primary);
}

.value__title-accent {
    color: var(--accent-primary);
}

/* ============================================
   VALUE ITEMS (3)
   ============================================ */

.value__item {
    max-width: 1136px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
}

/* ============================================
   TEXT CONTENT
   ============================================ */

.value__text {
    flex: 0 1 472px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.value__name {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.value__content {
    font-size: var(--fs-sm);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   IMAGE
   ============================================ */

.value__image-wrapper {
    flex: 0 0 432px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile: < 640px */
@media (max-width: 639px) {
    .value {
        padding: 60px 0 40px;
    }

    .value__title-section {
        padding: 0 var(--space-2);
        margin-bottom: 40px;
    }

    .value__title {
        font-size: 32px;
    }

    .value__item {
        flex-direction: column;
        padding: 24px var(--space-2);
        gap: var(--space-3);
    }

    /* Override reverse on mobile - always vertical */
    .value__item--reverse {
        flex-direction: column;
    }

    .value__text {
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
    }

    .value__name {
        font-size: 24px;
    }

    .value__content {
        font-size: 14px;
    }

    .value__image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .value__image {
        max-width: 100%;
    }
}

/* Tablet: 640px - 1023px */
@media (min-width: 640px) and (max-width: 1023px) {
    .value {
        padding: 80px 0 60px;
    }

    .value__title-section {
        padding: 0 var(--space-3);
        margin-bottom: 60px;
    }

    .value__title {
        font-size: 48px;
    }

    .value__item {
        flex-direction: column;
        padding: 32px var(--space-3);
        gap: var(--space-4);
    }

    /* Override reverse on tablet - always vertical */
    .value__item--reverse {
        flex-direction: column;
    }

    .value__text {
        flex: 1 1 auto;
        width: 100%;
        max-width: 600px;
        text-align: center;
    }

    .value__name {
        font-size: 28px;
    }

    .value__image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }
}

/* Desktop: 1024px - 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
    .value {
        padding: 100px 0 70px;
    }

    .value__title-section {
        margin-bottom: 40px;
    }

    .value__title {
        font-size: 56px;
    }

    .value__item {
        padding: 40px var(--space-4);
        gap: var(--space-4);
    }

    .value__text {
        flex: 0 1 420px;
    }

    .value__image-wrapper {
        flex: 0 0 380px;
    }

    .value__name {
        font-size: 28px;
    }
}

/* Large Desktop: >= 1280px */
@media (min-width: 1280px) {
    .value__item {
        gap: var(--space-5);
    }
}

/* Accessibility - Focus States */
.value__item:focus-within {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

/* Smooth transitions for interactive elements */
.value__image {
    transition: transform 0.3s ease;
}

.value__item:hover .value__image {
    transform: scale(1.02);
}