/* =========================================
   HOW IT WORKS PAGE
   Reuses .sd2-header (banner) and .sd2-cta-final
   (dark CTA banner) from service-detail2.css, plus
   .steps-track/.step-card and .pickup-note from
   style.css. This file covers what's unique here:
   the trust strip, "two ways to start" cards, the
   connected timeline treatment, and FAQ accents.
   ========================================= */

.hiw-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.hiw-section-head .chip {
    margin-bottom: 16px;
}

.hiw-section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.hiw-section-head p {
    font-size: 1.02rem;
    color: var(--grey);
    line-height: 1.6;
}

/* ---- TRUST STRIP ---- */
.hiw-trust {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.hiw-trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hiw-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    padding: 28px 20px;
    border-right: 1px solid var(--border);
}

.hiw-trust-item:last-child {
    border-right: none;
}

.hiw-trust-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue-lg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-trust-icon svg {
    width: 20px;
    height: 20px;
}

.hiw-trust-n {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.hiw-trust-l {
    display: block;
    font-size: 0.78rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---- TWO WAYS ---- */
.hiw-ways {
    padding: 90px 0;
    background: #fff;
}

.hiw-ways-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.hiw-way-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--t);
    box-shadow: 0 4px 16px rgba(15, 31, 61, 0.04);
}

.hiw-way-card:hover {
    box-shadow: 0 24px 48px rgba(0, 113, 188, 0.14);
    transform: translateY(-6px);
    border-color: rgba(0, 113, 188, 0.2);
}

.hiw-way-img {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.hiw-way-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hiw-way-card:hover .hiw-way-img img {
    transform: scale(1.08);
}

.hiw-way-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 31, 61, 0) 40%, rgba(15, 31, 61, 0.6) 100%);
}

.hiw-way-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 14px;
    border-radius: 100px;
    background: var(--yellow);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hiw-way-icon {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 28px;
    border-radius: 16px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 113, 188, 0.35);
    border: 3px solid #fff;
    transition: var(--t);
}

.hiw-way-card:hover .hiw-way-icon {
    background: var(--dark);
    transform: scale(1.08) rotate(-4deg);
}

.hiw-way-icon svg {
    width: 26px;
    height: 26px;
}

.hiw-way-body {
    padding: 18px 28px 28px;
}

.hiw-way-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.hiw-way-card p {
    font-size: 0.96rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hiw-way-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.hiw-way-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.hiw-way-checklist svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.hiw-way-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 100px;
    background: var(--blue-lg);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    transition: var(--t);
}

.hiw-way-card:hover .hiw-way-link {
    background: var(--blue);
    color: #fff;
}

.hiw-way-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.hiw-way-card:hover .hiw-way-link svg {
    transform: translateX(4px);
}

/* ---- STEPS (connected timeline) ---- */
.hiw-steps-section {
    padding: 90px 0;
    background: var(--offwhite);
    scroll-margin-top: 100px;
}

.hiw-steps-track {
    position: relative;
    margin-bottom: 40px;
}

.hiw-steps-track::before {
    content: '';
    position: absolute;
    top: 68px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
    z-index: 0;
}

.hiw-steps-track .step-card {
    position: relative;
    z-index: 1;
}

/* ---- FAQ ---- */
.hiw-faq-section {
    padding: 90px 0;
    background: #fff;
}

.hiw-faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.hiw-faq-list .sd2-faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hiw-faq-q-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--blue-lg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    transition: var(--t);
}

.hiw-faq-list .sd2-faq-item[open] .hiw-faq-q-icon {
    background: var(--blue);
    color: #fff;
}

.hiw-faq-list .sd2-faq-q-text {
    flex: 1;
}

.hiw-faq-list .sd2-faq-a {
    padding-left: 62px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .hiw-trust-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hiw-trust-item {
        border-bottom: 1px solid var(--border);
    }

    .hiw-trust-item:nth-child(2n) {
        border-right: none;
    }

    .hiw-steps-track::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hiw-ways,
    .hiw-steps-section,
    .hiw-faq-section {
        padding: 60px 0;
    }

    .hiw-ways-grid {
        grid-template-columns: 1fr;
    }

    .hiw-faq-list .sd2-faq-a {
        padding-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 560px) {
    .hiw-trust-inner {
        grid-template-columns: 1fr;
    }

    .hiw-trust-item {
        border-right: none;
        justify-content: flex-start;
    }
}
