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

.benefits {
    background: linear-gradient(
            156.36deg,
            var(--color-secondary) 0%,
            rgba(23, 28, 25, 1) 100%
    );
    padding: 64px 96px 0px 96px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.benefits-title {
    display: flex;
    flex-direction: row;
    gap: 10.29px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.benefits-title-text {
    color: var(--color-text-secondary);
    text-align: center;
    font-family: var(--font-family);
    font-size: var(--font-size-5xl);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
    font-weight: var(--font-weight-bold);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.subtract {
    flex-shrink: 0;
    width: 360.02px;
    height: 82.49px;
    position: relative;
}
.benefits-content {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1188px;
    position: relative;
}

.benefits-grid {
    align-self: stretch;
    flex: 1;
    display: grid;
    gap: 24px;
    min-height: 412px;
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
}

.benefit-card {
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    height: 131.08px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.benefit-card:hover {
    box-shadow: 0 6px 12px var(--card-shadow-hover);
    transform: scale(1.05);
}

.benefit-card__icon {
    opacity: 0.8;
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    position: relative;
}

.benefit-card__text {
    text-align: center;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.45;
    letter-spacing: -0.005em;
    font-weight: var(--font-weight-normal);
    opacity: 0.8;
    position: relative;
    white-space: nowrap;
}

.benefit-card--blue {
    background: var(--bg-accent-blue);
}
.benefit-card--blue .benefit-card__text {
    color: var(--color-accent-blue);
}

.benefit-card--pink {
    background: var(--bg-accent-pink);
}
.benefit-card--pink .benefit-card__text {
    color: var(--color-accent-pink);
}

.benefit-card--orange {
    background: var(--bg-accent-orange);
}
.benefit-card--orange .benefit-card__text {
    color: var(--color-accent-orange);
}

.benefit-card--green {
    background: var(--bg-accent-green);
}
.benefit-card--green .benefit-card__text {
    color: var(--color-accent-green);
}

.benefit-card--yellow {
    background: var(--bg-accent-yellow);
}
.benefit-card--yellow .benefit-card__text {
    color: var(--color-accent-yellow);
}

.benefit-card--purple {
    background: var(--bg-accent-purple);
}
.benefit-card--purple .benefit-card__text {
    color: var(--color-accent-purple);
}

.benefit-card--red {
    background: var(--bg-accent-red);
}
.benefit-card--red .benefit-card__text {
    color: var(--color-accent-red);
}

.hover-instruction {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    justify-content: center;
    height: 131.08px;
    position: relative;
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
}

.hover-instruction__icon {
    opacity: 0.8;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    position: relative;
    overflow: hidden;
}

.hover-instruction__text {
    color: var(--color-text-secondary);
    text-align: center;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.45;
    letter-spacing: -0.005em;
    font-weight: var(--font-weight-mixed);
    opacity: 0.8;
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-description {
    background: var(--bg-accent-pink);
    border-radius: 24px;
    padding: 44px;
    display: flex;
    flex-direction: row;
    gap: 12.8px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex: 1;
    position: relative;
    transition: all 0.4s ease;
}

.benefits-description__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
}

.benefits-description__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.benefits-description__title-container {
    display: flex;
    flex-direction: row;
    gap: 7.5px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: center;
    flex: 1;
    position: relative;
}

.benefits-description__title {
    color: var(--color-text-secondary);
    text-align: left;
    font-family: var(--font-family);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-semibold);
    position: relative;
    transition: opacity 0.3s ease;
}

.body-text {
    color: var(--color-text-secondary);
    font-family: var(--font-family);
    font-size: var(--font-size-xl);
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.benefits-description__tag {
    flex-shrink: 0;
    width: 227.26px;
    height: 68.74px;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.benefits-description__icon {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.benefits-description__icon img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100px;
    height: 100px;
}

.benefits-pattern {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    width: 6621px;
    height: 60px;
    position: relative;
    inset: 1px;
}

@media (max-width: 1200px) {
    .benefits {
        padding: 64px 48px 0px 48px;
    }

    .benefits-content {
        width: 100%;
        gap: 48px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .benefit-card__text {
        font-size: var(--font-size-sm);
    }

    .hover-instruction {
        display: none;
    }

    .benefits-description {
        padding: 32px;
    }

    .benefits-description__title {
        font-size: var(--font-size-3xl);
    }

    .benefits-description__tag {
        width: 180px;
        height: 54.39px;
    }

    .benefits-description__icon {
        width: 80px;
        height: 80px;
    }

    .benefits-description__icon img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 780px) {
    .benefits {
        padding: 48px 32px 0px 32px;
        gap: 20px;
    }

    .benefits-title {
        flex-direction: column;
        gap: 0px;
    }

    .benefits-title-text {
        font-size: 28px;
        margin-bottom: -9px;
    }

    .benefits-title img {
        width: 200px;
    }

    .benefit-card {
        height: auto;
        padding: 16px 4px;
        flex-direction: row;
        gap: 8px;
        justify-content: flex-start;
    }

    .benefit-card__icon {
        width: 24px;
        height: 24px;
    }

    .benefit-card__text {
        font-size: 11px;
    }

    .benefits-content {
        flex-direction: column;
        gap: 32px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        min-height: auto;
        gap: 12px;
    }

    .benefits-description {
        width: 100%;
        padding: 24px;
    }

    .benefits-description__title {
        font-size: var(--font-size-2xl);
    }

    .benefits-description__tag {
        width: 150px;
        height: 45.32px;
    }

    .benefits-description__icon {
        width: 60px;
        height: 60px;
    }

    .benefits-description__icon img {
        width: 60px;
        height: 60px;
    }
}