/* Why Choose Us / horizontal proof strip -------------------------------- */

.why-choose {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: clamp(54px, 6vw, 82px) clamp(18px, 3.5vw, 58px) clamp(58px, 6.5vw, 94px);
    color: var(--revamp-ink);
    background: var(--revamp-paper-soft, #E8E5DC);
    border-top: none;
    border-bottom: none;
}

.why-choose::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    display: none;
    pointer-events: none;
}

.why-choose__inner {
    width: min(100%, 1320px);
    margin: 0 auto;
}

.why-choose__header {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 clamp(14px, 1.5vw, 24px);
    align-items: end;
    padding-top: 0;
    border-top: none;
}

.why-choose__header::before {
    display: none;
}

.why-choose__eyebrow {
    grid-column: 1 / span 3;
    color: var(--revamp-orange);
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.why-choose__header h2 {
    grid-column: 1 / span 8;
    margin: 0;
    color: var(--revamp-ink);
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.why-choose__header h2 span {
    color: var(--revamp-orange);
}

.why-choose__header > p {
    grid-column: 9 / -1;
    margin: 0;
    padding: 4px 0 5px;
    color: var(--revamp-muted);
    font-size: clamp(.82rem, .95vw, 1rem);
    line-height: 1.62;
}

.why-choose__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(32px, 3.6vw, 52px);
    overflow: hidden;
    background: var(--revamp-light-line, rgba(15, 20, 17, 0.14));
    border: 1px solid var(--revamp-light-line, rgba(15, 20, 17, 0.14));
    border-radius: 4px;
    box-shadow: none;
}

.why-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: clamp(178px, 15vw, 220px);
    padding: clamp(18px, 1.55vw, 24px);
    overflow: hidden;
    color: var(--revamp-ink);
    background: var(--revamp-panel, #F8F6EF);
    transition: color .35s ease, background-color .35s ease;
}

.why-choice::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--revamp-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .42s cubic-bezier(.16,1,.3,1);
}

.why-choice__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: .54rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.why-choice__meta span {
    color: var(--revamp-orange);
}

.why-choice__meta b {
    color: var(--revamp-muted, rgba(15, 20, 17, 0.48));
    font: inherit;
    transition: color .35s ease;
}

.why-choice--engineering .why-choice__meta,
.why-choice--engineering h3 {
    position: relative;
    z-index: 2;
}

.why-choice__rig {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 200px);
    height: 112px;
    object-fit: contain;
    object-position: right center;
    align-self: flex-end;
    flex: none;
    margin: 0 0 8px auto;
    pointer-events: none;
    user-select: none;
    filter: saturate(.94) contrast(1.03);
    transform: translateY(0);
    transform-origin: center;
    transition: filter .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

.why-choice__signal {
    position: relative;
    display: block;
    width: 42px;
    height: 30px;
    margin-top: clamp(22px, 2.5vw, 36px);
    color: var(--revamp-ink);
    transition: color .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

.why-choice__mesh {
    display: block;
    width: min(100%, 138px);
    height: auto;
    aspect-ratio: 2 / 1;
    margin-top: clamp(18px, 2vw, 28px);
    pointer-events: none;
    user-select: none;
    opacity: .86;
    mix-blend-mode: difference;
    transform: translateY(0);
    transform-origin: left center;
    will-change: opacity, filter;
    transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

@keyframes why-mesh-pulse {
    0%, 100% {
        opacity: .72;
        filter: contrast(.96);
    }
    50% {
        opacity: 1;
        filter: contrast(1.28);
    }
}

.why-choice__mesh.is-animating {
    animation: why-mesh-pulse 2.8s ease-in-out infinite;
}

.why-choice__partnership {
    display: block;
    width: min(100%, 200px);
    height: 112px;
    object-fit: contain;
    object-position: right center;
    flex: none;
    align-self: flex-end;
    margin: 0 0 8px auto;
    pointer-events: none;
    user-select: none;
    opacity: .92;
    filter: grayscale(1) contrast(1.85) invert(1) brightness(1.08);
    mix-blend-mode: multiply;
    transform: translateY(0);
    transform-origin: center;
    transition: filter .35s ease, opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

.why-choice__security {
    display: block;
    width: min(100%, 164px);
    height: auto;
    flex: none;
    align-self: flex-end;
    margin: 0 0 12px auto;
    color: currentColor;
    transition: transform .35s ease;
}

.why-choice__map-frame {
    position: relative;
    width: min(100%, 170px);
    aspect-ratio: 2 / 1;
    align-self: flex-end;
    margin: 0 0 12px auto;
    overflow: visible;
    background: transparent;
    transition: transform .45s cubic-bezier(.16,1,.3,1);
}

.why-choice__map-frame::before,
.why-choice__map-frame::after {
    content: none;
}

.why-choice__dither {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: filter .35s ease;
}

.why-choice--delivery::before {
    background: var(--revamp-ink, #080A09);
}

.why-choice--delivery .why-choice__meta span {
    color: var(--revamp-ink, #080A09);
}

.why-choice--delivery h3 {
    max-width: 15ch;
}

.why-choice--delivery h3 span {
    display: block;
}

.why-choice__signal::before,
.why-choice__signal::after {
    content: "";
    position: absolute;
}

.why-choice__signal::before {
    inset: 0;
    background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px);
    clip-path: polygon(0 72%, 18% 46%, 36% 62%, 56% 12%, 76% 40%, 100% 0, 100% 100%, 0 100%);
}

.why-choice__signal::after {
    right: -3px;
    bottom: -3px;
    width: 7px;
    height: 7px;
    background: var(--revamp-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(20,45,80,.11);
}

.why-choice:nth-child(3) .why-choice__signal::before {
    inset: 2px 7px 4px 3px;
    background: none;
    border: 2px solid currentColor;
    border-radius: 8px;
    box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px currentColor;
    clip-path: none;
}

.why-choice:nth-child(4) .why-choice__signal::before {
    background: repeating-linear-gradient(-45deg, currentColor 0 2px, transparent 2px 7px);
    clip-path: polygon(0 28%, 100% 0, 100% 72%, 0 100%);
}

.why-choice h3 {
    max-width: 12ch;
    margin: auto 0 0;
    color: inherit;
    font-family: var(--font-sans);
    font-size: clamp(1.02rem, 1.2vw, 1.35rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
}

@media (hover: hover) {
    .why-choice:hover {
        color: var(--revamp-panel);
        background: var(--revamp-ink);
    }

    .why-choice:hover::before {
        transform: scaleX(1);
    }

    .why-choice:hover .why-choice__meta b {
        color: rgba(248,246,239,.55);
    }

    .why-choice:hover .why-choice__signal {
        color: var(--revamp-orange);
        transform: translateY(-4px);
    }

    .why-choice:hover .why-choice__mesh {
        opacity: .96;
        transform: translateY(-4px);
    }

    .why-choice:hover .why-choice__security {
        transform: translateY(-4px);
    }

    .why-choice--partnership:hover .why-choice__partnership {
        filter: grayscale(1) contrast(1.85);
        opacity: 1;
        mix-blend-mode: screen;
        transform: translateY(-4px);
    }

    .why-choice:hover .why-choice__map-frame {
        transform: translateY(-4px);
    }

    .why-choice--delivery:hover .why-choice__dither {
        filter: none;
    }

    .why-choice:hover .why-choice__rig {
        filter: saturate(1.02) brightness(1.06) contrast(1.04);
        transform: translateY(-4px) scale(1.015);
    }

    .why-choice--delivery:hover .why-choice__meta span {
        color: var(--revamp-panel, #F8F6EF);
    }
}

@media (max-width: 900px) {
    .why-choose__header {
        display: block;
    }

    .why-choose__header h2 {
        margin-top: 0;
    }

    .why-choose__header > p {
        max-width: 620px;
        margin-top: 14px;
        padding: 0;
        border-top: none;
        border-left: 0;
    }

    .why-choose__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-choice {
        min-height: 190px;
    }
}

@media (max-width: 560px) {
    .why-choose {
        padding-right: 18px;
        padding-left: 18px;
    }

    .why-choose__header h2 {
        font-size: clamp(1.75rem, 6.5vw, 2.3rem);
        line-height: 1.1;
        letter-spacing: -.035em;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .why-choose__grid {
        grid-template-columns: 1fr;
        border-radius: 4px;
    }

    .why-choice,
    .why-choice:last-child {
        grid-column: auto;
        min-height: 172px;
        padding: 24px 20px;
        overflow: hidden;
    }

    .why-choice__signal {
        margin-top: 30px;
    }

    .why-choice__map-frame {
        width: min(100%, 160px);
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-choice,
    .why-choice::before,
    .why-choice__meta b,
    .why-choice__signal,
    .why-choice__mesh,
    .why-choice__security,
    .why-choice__partnership,
    .why-choice__map-frame,
    .why-choice__dither,
    .why-choice__rig {
        transition: none;
    }
}

html[data-site-theme="dark"] .why-choose::before {
    background: none;
}

html[data-site-theme="dark"] .why-choose__grid {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: none;
}

html[data-site-theme="dark"] .why-choice {
    background: #0e1211;
}

html[data-site-theme="dark"] .why-choice__meta b {
    color: rgba(248, 246, 239, .56);
}

html[data-site-theme="dark"] .why-choice--delivery::before {
    background: #f8f6ef;
}

html[data-site-theme="dark"] .why-choice--delivery .why-choice__meta span {
    color: #f8f6ef;
}

html[data-site-theme="dark"] .why-choice--delivery .why-choice__dither {
    filter: none;
}

html[data-site-theme="dark"] .why-choice__partnership {
    filter: grayscale(1) contrast(1.85);
    mix-blend-mode: screen;
}

@media (hover: hover) {
    html[data-site-theme="dark"] .why-choice:hover .why-choice__meta b {
        color: rgba(8, 10, 9, .58);
    }

    html[data-site-theme="dark"] .why-choice--delivery:hover .why-choice__meta span {
        color: #080a09;
    }

    html[data-site-theme="dark"] .why-choice--delivery:hover .why-choice__dither {
        filter: none;
    }
}


/* Bind the copied component to the source palette without importing unrelated site styles. */
.why-choose{--revamp-paper-soft:var(--surface);--revamp-panel:var(--surface)}
.why-choose__header h2{margin-bottom:0}
.why-choice h3{color:inherit}
html[data-site-theme="dark"] .why-choose{--revamp-paper-soft:var(--surface);--revamp-panel:var(--surface)}
