/* ==========================================================================
   POLY — Why POLY Cleaning

   Card driven layout: an editorial header, a wide rounded showcase image with
   the strongest reason floating over it as a raised panel, and the remaining
   reasons as soft cards underneath. Radii, pills and meters are local to this
   section so the rest of the system keeps its sharper editorial look.
   ========================================================================== */

.poly-usp {
    --usp-radius: 22px;
    --usp-radius-lg: 28px;
    --usp-card-shadow: 0 24px 60px -38px rgba(11, 17, 48, .5), 0 2px 5px -2px rgba(11, 17, 48, .05);
    --usp-card-shadow-hover: 0 34px 72px -34px rgba(11, 17, 48, .55), 0 3px 8px -3px rgba(11, 17, 48, .08);
}

/* ------------------------------------------------------------------ header */

.poly-usp__head { max-width: 1030px; }

/* The shared chip eyebrow on the section's deep mist pill. */
.poly-usp__chip {
    --poly-eyebrow-chip-surface: var(--poly-mist-deep);
    margin: 0 0 1.5rem;
}

.poly-usp__title { max-width: 17ch; }

/* Button left, supporting copy right — the reference pairs them on one line. */
.poly-usp__lede {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    margin-top: clamp(28px, 3.2vw, 44px);
}

.poly-usp__lede .poly-btn { flex: none; }

.poly-usp__intro {
    flex: 1 1 300px;
    max-width: 52ch;
    font-size: 1.0125rem;
    line-height: 1.75;
    color: var(--poly-muted);
}

/* ---------------------------------------------------------------- showcase */

.poly-usp__showcase {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    margin-top: clamp(48px, 5.5vw, 84px);
}

.poly-usp__media {
    grid-column: 1 / 10;
    grid-row: 1;
    aspect-ratio: 16 / 9;
    border-radius: var(--usp-radius-lg);
}

.poly-usp__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 17, 48, 0) 55%, rgba(11, 17, 48, .38) 100%);
    pointer-events: none;
}

.poly-usp__media-badge {
    position: absolute;
    left: clamp(16px, 1.8vw, 26px);
    bottom: clamp(16px, 1.8vw, 26px);
    z-index: 1;
    padding: .5em 1.1em;
    border-radius: 999px;
    background: var(--poly-brand);
    color: var(--poly-white);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .01em;
}

/* The strongest reason lifts off the image, mirroring the reference card. */
.poly-usp__feature {
    grid-column: 8 / -1;
    grid-row: 1;
    z-index: 2;
    margin-top: clamp(40px, 7vw, 96px);
    padding: clamp(24px, 2.2vw, 32px);
    background: var(--poly-white);
    border: 1px solid var(--poly-line);
    border-radius: var(--usp-radius);
    box-shadow: var(--usp-card-shadow);
}

.poly-usp__feature-tag {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: .4em .9em;
    border-radius: 999px;
    background: var(--poly-mist);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--poly-brand);
}

.poly-usp__feature-title {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    letter-spacing: -.022em;
}

.poly-usp__feature-text {
    margin-top: .8rem;
    font-size: .96rem;
    line-height: 1.72;
    color: var(--poly-muted);
}

.poly-usp__feature-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--poly-line);
}

.poly-usp__meta {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--poly-title);
}

.poly-usp__meta-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: var(--poly-brand);
    color: var(--poly-white);
}

.poly-usp__meta-icon .poly-icon { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ meter */

.poly-usp__meter { margin-top: 1.5rem; }

.poly-usp__meter-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
    font-size: .8125rem;
    color: var(--poly-muted);
}

.poly-usp__meter-value {
    font-family: var(--poly-font-display);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--poly-brand);
}

.poly-usp__meter-track {
    height: 8px;
    border-radius: 999px;
    background: var(--poly-mist-deep);
    overflow: hidden;
}

.poly-usp__meter-fill {
    display: block;
    height: 100%;
    width: var(--poly-meter, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--poly-brand) 0%, var(--poly-accent) 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s var(--poly-ease-out) .2s;
}

/* Without JS the reveal class never lands, so the bar must rest filled. */
.poly-usp__meter-fill { transform: scaleX(1); }
.poly-js .poly-usp__meter-fill { transform: scaleX(0); }
.poly-js [data-poly-reveal].is-revealed .poly-usp__meter-fill { transform: scaleX(1); }

/* ------------------------------------------------------------------ cards */

.poly-usp__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: clamp(18px, 1.8vw, 26px);
    margin-top: clamp(40px, 4.5vw, 64px);
}

.poly-usp__card {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 2.2vw, 32px);
    background: var(--poly-white);
    border: 1px solid var(--poly-line);
    border-radius: var(--usp-radius);
    box-shadow: 0 1px 2px rgba(11, 17, 48, .03);
    transition: transform .4s var(--poly-ease-out), box-shadow .4s var(--poly-ease),
                border-color .4s var(--poly-ease);
}

.poly-usp__card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--usp-card-shadow-hover);
}

.poly-usp__no {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.35rem;
    border-radius: 50%;
    background: var(--poly-mist-deep);
    font-family: var(--poly-font-display);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--poly-brand);
    transition: background-color .4s var(--poly-ease), color .4s var(--poly-ease);
}

.poly-usp__card:hover .poly-usp__no {
    background: var(--poly-brand);
    color: var(--poly-white);
}

.poly-usp__card-title {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    letter-spacing: -.02em;
}

.poly-usp__card-text {
    margin-top: .7rem;
    font-size: .9375rem;
    line-height: 1.72;
    color: var(--poly-muted);
}

.poly-usp__card .poly-usp__meter { margin-top: auto; padding-top: 1.5rem; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1023px) {
    .poly-usp__media { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

    .poly-usp__feature {
        grid-column: 1 / -1;
        grid-row: 2;
        width: min(480px, 100%);
        margin-top: -56px;
        margin-inline: auto 0;
    }
}

@media (max-width: 600px) {
    .poly-usp__media { aspect-ratio: 4 / 3; }
    .poly-usp__feature { margin-inline: auto; margin-top: -40px; }

    /* The card now spans the full width, so the badge moves clear of it. */
    .poly-usp__media-badge { top: 16px; bottom: auto; }
    .poly-usp__lede { gap: 1.5rem; }
    .poly-usp__lede .poly-btn,
    .poly-usp__feature-foot .poly-btn { width: 100%; }
}
