.values-section#values {
    position: relative;
    padding: 42px 0 48px;
    background: #fff;
}

.values-header {
    max-width: 650px;
    margin-bottom: 26px;
}

.values-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: #e30613;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.values-kicker::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 8px;
    background: #e30613;
}

.values-header h2 {
    margin: 0 0 10px;
    color: #101820;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.values-header p {
    max-width: 590px;
    margin: 0;
    color: #66707a;
    font-size: .92rem;
    line-height: 1.6;
}

.values-timeline {
    position: relative;
    height: 300px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.timeline-rail {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #dfbfc2;
}

.timeline-pulse {
    position: absolute;
    top: 50%;
    width: 38px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #e30613 45%, #fff 68%, #e30613);
    box-shadow: 0 0 8px rgba(227, 6, 19, .65);
    transform: translate(-50%, -50%);
    animation: pulseTravel 5.5s linear infinite;
}

.pulse-a { animation-delay: .4s; }
.pulse-b { animation-delay: 2.1s; }
.pulse-c { animation-delay: 3.8s; }

@keyframes pulseTravel {
    from { left: -5%; }
    to { left: 105%; }
}

.values-marquee-track {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 38px;
    width: max-content;
    height: 100%;
    animation: valuesMarquee var(--values-duration, 42s) linear infinite;
    will-change: transform;
}

@keyframes valuesMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * var(--values-offset, 0px))); }
}

.timeline-value {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    height: 112px;
    color: #17202a;
    text-align: center;
}

.timeline-value.is-above { transform: translateY(-86px); }
.timeline-value.is-below { transform: translateY(86px); }

.timeline-value::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 1px;
    height: 32px;
    background: #d6a4a8;
    transform: translateX(-50%);
}

.timeline-value.is-above::after { bottom: -30px; }
.timeline-value.is-below::after { top: -30px; }

.timeline-value::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 9px;
    height: 9px;
    border: 2px solid #e30613;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, .06);
    transform: translateX(-50%);
}

.timeline-value.is-above::before { bottom: -39px; }
.timeline-value.is-below::before { top: -39px; }

.value-number {
    display: block;
    margin-bottom: 5px;
    color: #e30613;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.timeline-value h3 {
    margin: 0 0 8px;
    color: #17202a;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.timeline-value p {
    margin: 0;
    color: #606b75;
    font-size: .82rem;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .values-section#values { padding: 34px 0 38px; }
    .values-header { margin-bottom: 18px; }
    .values-timeline { height: 286px; }
    .values-marquee-track { gap: 22px; }
    .timeline-value { flex-basis: 190px; width: 190px; height: 106px; }
    .timeline-value.is-above { transform: translateY(-82px); }
    .timeline-value.is-below { transform: translateY(82px); }
    .timeline-value h3 { margin-bottom: 7px; font-size: .98rem; }
    .timeline-value p { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
    .values-marquee-track,
    .timeline-pulse { animation: none !important; }
}
