/* Redesigned "How it works" page */
.vc-hiw {
    --hiw-card: #0e0e0e;
    --hiw-line: rgba(255, 255, 255, .1);
    padding-bottom: clamp(56px, 8vw, 120px);
}

.vc-hiw h1,
.vc-hiw h2,
.vc-hiw h3 {
    margin: 0;
    color: #fff;
    letter-spacing: -.02em;
}

.vc-hiw h1 {
    font-size: clamp(34px, 4.6vw, 72px);
    line-height: 1.04;
}

.vc-hiw h2 {
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.1;
}

.vc-hiw h3 {
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.25;
}

.vc-hiw__lead {
    max-width: 62ch;
    margin: 20px 0 0;
    color: var(--vc-muted);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.65;
}

.vc-hiw__notice {
    padding: 10px var(--vc-x);
    background: #3a2f00;
    color: #ffd666;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.vc-hiw__section {
    margin-top: clamp(64px, 8vw, 128px);
}

.vc-hiw__head {
    max-width: 900px;
    margin-bottom: clamp(28px, 3.5vw, 52px);
}

.vc-hiw__head .vc-eyebrow {
    margin: 0 0 14px;
}

.vc-hiw__sub {
    margin-bottom: clamp(22px, 2.5vw, 36px);
}

.vc-hiw__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* Hero */
.vc-hiw__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 5vw, 96px);
    align-items: center;
    padding-top: clamp(40px, 6vw, 96px);
}

.vc-hiw__hero-copy .vc-eyebrow {
    margin: 0 0 18px;
}

/* Before / after slider */
.vc-hiw-compare {
    margin: 0;
}

.vc-hiw-compare__stage {
    --pos: 50%;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--hiw-line);
    background: #000;
    user-select: none;
}

.vc-hiw-compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.vc-hiw-compare__img--after {
    clip-path: inset(0 0 0 var(--pos));
}

.vc-hiw-compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: var(--vc-green);
    box-shadow: 0 0 18px rgba(156, 255, 0, .55);
}

.vc-hiw-compare__handle::after {
    content: "‹ ›";
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    background: var(--vc-green);
    color: #050505;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.vc-hiw-compare__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.vc-hiw-compare__tag {
    position: absolute;
    top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .66);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vc-hiw-compare__tag--before {
    left: 14px;
}

.vc-hiw-compare__tag--after {
    right: 14px;
    color: var(--vc-green);
}

.vc-hiw-compare figcaption,
.vc-hiw__install-media figcaption {
    margin-top: 12px;
    color: var(--vc-muted);
    font-size: 13px;
}

/* Facts */
.vc-hiw__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(40px, 5vw, 72px);
    border: 1px solid var(--hiw-line);
    background: var(--hiw-line);
}

.vc-hiw__fact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: clamp(20px, 2.4vw, 34px);
    background: var(--hiw-card);
}

.vc-hiw__fact strong {
    color: var(--vc-green);
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
}

.vc-hiw__fact span {
    color: var(--vc-muted);
    font-size: 15px;
    line-height: 1.45;
}

/* Steps */
.vc-hiw__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vc-hiw__steps li {
    position: relative;
    padding: clamp(22px, 2.2vw, 32px);
    border: 1px solid var(--hiw-line);
    background: var(--hiw-card);
}

.vc-hiw__step-no {
    display: block;
    margin-bottom: 38px;
    color: var(--vc-green);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .1em;
}

.vc-hiw__steps p,
.vc-hiw__paths p,
.vc-hiw__features p {
    margin: 12px 0 0;
    color: var(--vc-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Installation */
.vc-hiw__install {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 88px);
    align-items: center;
}

.vc-hiw__install-media {
    margin: 0;
}

.vc-hiw__install-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--hiw-line);
}

.vc-hiw__install-copy .vc-eyebrow {
    margin: 0 0 14px;
}

.vc-hiw__checks {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.vc-hiw__checks li {
    position: relative;
    padding-left: 34px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

.vc-hiw__checks li::before {
    content: "✓";
    position: absolute;
    top: -1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(156, 255, 0, .14);
    color: var(--vc-green);
    font-size: 13px;
    font-weight: 800;
}

.vc-hiw__paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vc-hiw__paths article {
    padding: clamp(22px, 2.2vw, 32px);
    border: 1px solid var(--hiw-line);
    background: var(--hiw-card);
}

.vc-hiw__path-no {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 22px;
    border-radius: 50%;
    border: 1px solid var(--vc-green);
    color: var(--vc-green);
    font-weight: 800;
}

/* Features */
.vc-hiw__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vc-hiw__features article {
    overflow: hidden;
    border: 1px solid var(--hiw-line);
    background: var(--hiw-card);
}

.vc-hiw__features img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 38%;
}

.vc-hiw__features article > div {
    padding: clamp(18px, 1.8vw, 26px);
}

/* Designs */
.vc-hiw__design-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vc-hiw__design-row img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 38%;
    border: 1px solid var(--hiw-line);
}

/* CTA bands */
.vc-hiw__band {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(64px, 8vw, 128px);
    padding: clamp(28px, 4vw, 56px);
    border: 1px solid rgba(156, 255, 0, .28);
    background: linear-gradient(120deg, rgba(156, 255, 0, .12), rgba(24, 198, 78, .05) 55%, #0b0b0b);
}

.vc-hiw__band > div:first-child {
    max-width: 760px;
}

.vc-hiw__band p {
    margin: 12px 0 0;
    color: var(--vc-muted);
    font-size: 17px;
    line-height: 1.55;
}

.vc-hiw__band .vc-hiw__actions {
    margin-top: 0;
}

/* FAQ */
.vc-hiw__faq-list {
    display: grid;
    gap: 10px;
    max-width: 980px;
}

.vc-hiw__faq details {
    border: 1px solid var(--hiw-line);
    background: var(--hiw-card);
}

.vc-hiw__faq summary {
    position: relative;
    padding: 20px 56px 20px 24px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.vc-hiw__faq summary::-webkit-details-marker {
    display: none;
}

.vc-hiw__faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    margin-top: -14px;
    color: var(--vc-green);
    font-size: 26px;
    line-height: 28px;
}

.vc-hiw__faq details[open] summary::after {
    content: "–";
}

.vc-hiw__faq details p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--vc-muted);
    line-height: 1.65;
}

/* Link on product pages */
.vc-hiw-pdp-link {
    margin: 14px 0 0;
    font-size: 14px;
}

.vc-hiw-pdp-link a {
    color: var(--vc-green);
    text-decoration: none;
}

.vc-hiw-pdp-link a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .vc-hiw__steps,
    .vc-hiw__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 860px) {
    .vc-hiw__hero,
    .vc-hiw__install {
        grid-template-columns: 1fr;
    }

    .vc-hiw__paths,
    .vc-hiw__design-row {
        grid-template-columns: 1fr;
    }

    .vc-hiw__band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .vc-hiw__steps,
    .vc-hiw__facts,
    .vc-hiw__features {
        grid-template-columns: 1fr;
    }

    .vc-hiw__actions .vc-button {
        width: 100%;
    }
}

/* Warranty */
.vc-hiw__warranty-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vc-hiw__warranty-cards article {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(22px, 2.4vw, 34px);
    border: 1px solid var(--hiw-line);
    background: var(--hiw-card);
}

.vc-hiw__warranty-cards article.is-featured {
    border-color: rgba(156, 255, 0, .5);
    background: linear-gradient(160deg, rgba(156, 255, 0, .1), #0e0e0e 60%);
}

.vc-hiw__warranty-cards strong {
    color: var(--vc-green);
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1;
}

.vc-hiw__warranty-cards span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.vc-hiw__warranty-cards em {
    margin-top: 6px;
    color: #fff;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
}

.vc-hiw__warranty-cards p {
    margin: 6px 0 0;
    color: var(--vc-muted);
    font-size: 15px;
    line-height: 1.55;
}

.vc-hiw__note {
    max-width: 860px;
    margin: 20px 0 0;
    color: var(--vc-muted);
    font-size: 14px;
    line-height: 1.6;
}

.vc-hiw__note a {
    color: var(--vc-green);
}

@media (max-width: 860px) {
    .vc-hiw__warranty-cards {
        grid-template-columns: 1fr;
    }
}
