.hiw-mobile-copy {
    display: none;
}

/* Three-step flow section */
.hiw-guide {
    padding: 4.5rem 0 5rem;
    background: var(--pl-white);
}

.hiw-process {
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--pl-border);
}

.hiw-process__heading {
    margin: 0 0 2.75rem;
}

.hiw-process__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.hiw-process__step {
    position: relative;
    min-width: 0;
    margin: 0;
    padding-left: 4rem;
}

.hiw-process__step::before {
    position: absolute;
    top: 2.05rem;
    left: 0;
    width: 0;
    height: 0;
    border-top: 0.55rem solid transparent;
    border-bottom: 0.55rem solid transparent;
    border-left: 1.2rem solid var(--pl-orange);
    content: "";
}

.hiw-process__step::after {
    position: absolute;
    top: 2.58rem;
    right: calc(-1 * clamp(1.5rem, 3vw, 3.5rem));
    left: 10rem;
    border-top: 2px dashed var(--pl-green-light);
    content: "";
    pointer-events: none;
}

.hiw-process__step:last-child::after {
    right: 0;
}

.hiw-process__number {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--pl-green-light);
    font-family: var(--font-family-heading);
    font-size: clamp(3.75rem, 5.5vw, 6rem);
    font-weight: 600;
    line-height: 1;
}

.hiw-process__step h3 {
    margin: 0 0 0.75rem;
    color: var(--pl-navy);
    font-family: var(--font-family-body);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.hiw-process__step p {
    max-width: 29rem;
    margin: 0;
    color: var(--pl-navy);
    font-size: 1rem;
    line-height: 1.4;
}

/* Service options: existing slider with illustrated cards */

.hiw-options {
    padding-top: 4rem;
}

.hiw-options__heading {
    margin: 0 0 1.25rem;
    color: var(--pl-navy);
    font-family: var(--font-family-heading);
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
}

.hiw-options__intro {
    margin: 0 0 2rem;
}

.hiw-options__slider {
    --slider-gap: 2rem;
}

.hiw-options__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 22rem;
    padding: 2rem 2.25rem;
    border: 0;
    border-radius: 18px;
    text-align: left;
    background: var(--pl-blue);
    color: var(--pl-white);
}

.hiw-options__icon {
    display: block;
    width: auto;
    height: 5.5rem;
    max-width: 7rem;
    margin: 0 0 1.25rem;
    object-fit: contain;
    object-position: left center;
}

.hiw-options__card h3 {
    margin: 0 0 1rem;
    color: var(--pl-white);
    font-family: var(--font-family-body);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.hiw-options__service {
    margin: 0 0 1.25rem;
    color: var(--pl-white);
    font-weight: 700;
}

.hiw-options__card p {
    color: var(--pl-white);
    font-size: 1rem;
    line-height: 1.45;
}

.hiw-options__card p:last-child {
    margin-bottom: 0;
}

/* Virtual touring: two-column editorial section */

.hiw-tour {
    padding: 4.5rem 0;
    background: var(--pl-cream);
}

.hiw-tour__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
}

.hiw-tour__content {
    min-width: 0;
}

.hiw-tour__content h2 {
    max-width: 43rem;
    margin: 0 0 1.75rem;
}

.hiw-tour__content p {
    max-width: 48rem;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.hiw-tour__button {
    margin-top: 0.75rem;
}

.hiw-tour__media {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 20px;
}

.hiw-tour__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4096 / 2160;
    object-fit: cover;
}

/* Benefits section */

.hiw-benefits {
    padding: 4.5rem 0 0;
}

.hiw-benefits h2 {
    margin: 0 0 2rem;
}

/* Desktop */

@media (min-width: 1165px) {
    .hiw-guide {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
    }

    .hiw-process {
        padding-bottom: 5rem;
    }

    .hiw-options {
        padding-top: 5rem;
    }

    .hiw-tour {
        padding: 6rem 0;
    }

    .hiw-tour__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        align-items: center;
        gap: clamp(3rem, 5vw, 7rem);
    }

    .hiw-benefits {
        padding-top: 6rem;
    }
}

/* Mobile: vertical timeline, alternate headings, image first */

@media (max-width: 767.98px) {
    .hiw-desktop-copy {
        display: none;
    }

    .hiw-mobile-copy {
        display: block;
    }

    .hiw-guide {
        padding: 3rem 0 4rem;
    }

    .hiw-process {
        padding-bottom: 2.5rem;
    }

    .hiw-process__heading {
        margin-bottom: 1.5rem;
    }

    .hiw-process__steps {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .hiw-process__step {
        padding-left: 3.25rem;
    }

    .hiw-process__step::before {
        top: 1rem;
        border-top-width: 0.45rem;
        border-bottom-width: 0.45rem;
        border-left-width: 0.95rem;
    }

    .hiw-process__step::after {
        top: 3.5rem;
        right: auto;
        bottom: -1.75rem;
        left: 0.45rem;
        border-top: 0;
        border-left: 2px dashed var(--pl-green-light);
    }

    .hiw-process__step:last-child::after {
        display: none;
    }

    .hiw-process__number {
        margin-bottom: 0.5rem;
        font-size: 3.25rem;
    }

    .hiw-process__step h3 {
        margin-bottom: 0.65rem;
        font-size: 0.875rem;
    }

    .hiw-options {
        padding-top: 2.75rem;
    }

    .hiw-options__heading {
        margin-bottom: 1.5rem;
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .hiw-options__card {
        min-height: 22rem;
        padding: 1.5rem;
    }

    .hiw-tour {
        padding: 2rem 0 3rem;
    }

    .hiw-tour__layout {
        gap: 1.75rem;
    }

    .hiw-tour__media {
        order: -1;
    }

    .hiw-tour__content h2 {
        margin-bottom: 1rem;
    }

    .hiw-tour__button {
        display: none;
    }

    .hiw-benefits {
        padding-top: 3rem;
    }

    .hiw-benefits h2 {
        text-align: center;
    }

}
