.nexum-company-values-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.nexum-company-header {
    margin: 0 auto 75px;
    text-align: center;
}

.nexum-company-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #111111;
}

.nexum-company-badge::before,
.nexum-company-badge::after {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.35;
    margin: 0 14px;
}

.nexum-company-heading {
    font-size: clamp(40px, 5vw, 76px);
    line-height: 1.05;
    font-weight: 500;
    margin: 0 0 26px;
    color: #111111;
    letter-spacing: -2px;
}

.nexum-company-description {
    font-size: 18px;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto;
    color: #6b6b6b;
}

.nexum-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    align-items: stretch;
}

.nexum-value-card {
    position: relative;
    min-height: 340px;
    padding: 34px 28px;
    background: #f7f7f4;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    transition: all 0.4s ease;
}

.nexum-value-card::before {
    content: "0" counter(value-counter);
    counter-increment: value-counter;
    position: absolute;
    right: 24px;
    top: 18px;
    font-size: 64px;
    line-height: 1;
    font-weight: 500;
    color: rgba(17, 17, 17, 0.06);
    letter-spacing: -3px;
}

.nexum-values-grid {
    counter-reset: value-counter;
}

.nexum-value-card::after {
    content: "";
    position: absolute;
    left: 28px;
    bottom: 28px;
    width: 52px;
    height: 2px;
    background: #111111;
    transform-origin: left;
    transform: scaleX(0.35);
    opacity: 0.25;
    transition: all 0.35s ease;
}

.nexum-value-card:hover {
    background: #ffffff;
    transform: translateY(-10px);
}

.nexum-value-card:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.nexum-value-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 92px;
    border-radius: 20px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.nexum-value-card:hover .nexum-value-icon {
    transform: rotate(-8deg) scale(1.06);
}

.nexum-value-icon i {
    font-size: 21px;
    line-height: 1;
}

.nexum-value-icon svg {
    width: 21px;
    height: 21px;
}

.nexum-value-title {
    position: relative;
    z-index: 2;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 16px;
    color: #111111;
    letter-spacing: -0.7px;
}

.nexum-value-description {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.75;
    color: #666666;
    margin: 0;
}

@media (max-width: 1024px) {
    .nexum-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nexum-value-card:nth-child(even) {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .nexum-company-header {
        margin-bottom: 45px;
    }

    .nexum-values-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .nexum-value-card {
        min-height: auto;
        padding: 32px 24px 78px;
    }

    .nexum-value-icon {
        margin-bottom: 55px;
    }

    .nexum-company-badge::before,
    .nexum-company-badge::after {
        width: 22px;
        margin: 0 10px;
    }
}