/* ============================================================
   3. Highlights — 3 vertical marquee columns of product benefits
   ============================================================ */

.highlights__head { text-align: center; }
.highlights__head .section__lead { margin-inline: auto; }

.highlights__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: clamp(2.2rem, 4vw, 3.4rem);
    height: 460px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hcol { overflow: hidden; }

.hcol__track {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: hl-marquee var(--dur, 30s) linear infinite;
}
.hcol:hover .hcol__track,
.hcol:focus-within .hcol__track { animation-play-state: paused; }

@keyframes hl-marquee {
    from { transform: translateY(0); }
    to   { transform: translateY(calc(-50% - 0.6rem)); }
}

.hcard {
    padding: 1.5rem 1.6rem;
    border-radius: var(--r-card);
    background: #f7fafd;
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hcard__text {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;
}
.hcard__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
}
.hcard__label::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
}

@media (max-width: 860px) {
    .highlights__cols { grid-template-columns: repeat(2, 1fr); height: 420px; }
    .hcol:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
    .highlights__cols { grid-template-columns: 1fr; height: 380px; }
    .hcol:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hcol__track { animation: none; }
    .highlights__cols {
        height: auto;
        -webkit-mask-image: none;
                mask-image: none;
    }
    /* without animation the duplicate set is redundant */
    .hcol__track > .hcard:nth-child(n+4) { display: none; }
}
