﻿
/* How It Works — customer journey path + stage icon watermarks */
#how-it-works {
    position: relative;
    overflow: hidden;
}

.journey-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

    .journey-bg svg {
        width: 100%;
        height: 100%;
        display: block;
    }

#how-it-works .wrap {
    position: relative;
    z-index: 1;
}

.contact-us-background {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    top: 10%;
    width: 40%;
    height: 100%;
    opacity: 0.85;
    pointer-events: none;
    display: flex;
    justify-content: end;
}

#how-it-works .process-list::before {
    content: "";
    position: absolute;
    top: 37px;
    bottom: 34px;
    right: 32px;
    width: 1px;
    background-image: repeating-linear-gradient(to bottom, var(--navy-900) 0 4px, transparent 4px 9px);
    opacity: .22;
    z-index: 0;
    height: 66%;
}

#how-it-works .process-seal {
    position: relative;
    z-index: 1;
    background: var(--paper);
}

#how-it-works .process-text {
    position: relative;
    border-bottom: 1px solid var(--line);
    padding-bottom: 40px;
}

#how-it-works .process-item {
    border-top: none;
    padding-top: 0;
}

#how-it-works .process-list .process-item:last-child {
    border-bottom: none;
}

#how-it-works .process-text h3, #how-it-works .process-text p {
    position: relative;
    z-index: 2;
}

#how-it-works .process-text::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .07;
    pointer-events: none;
    z-index: 0;
}

#how-it-works .process-item:nth-child(1) .process-text::after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231D2C5C%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v11H8l-4%204z%22/%3E%3Cline%20x1%3D%227.5%22%20y1%3D%229%22%20x2%3D%2216.5%22%20y2%3D%229%22/%3E%3Cline%20x1%3D%227.5%22%20y1%3D%2212.5%22%20x2%3D%2213%22%20y2%3D%2212.5%22/%3E%3C/svg%3E");
}

#how-it-works .process-item:nth-child(2) .process-text::after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231D2C5C%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M9%2011l2%202%204-4%22/%3E%3Cline%20x1%3D%228%22%20y1%3D%2216%22%20x2%3D%2214%22%20y2%3D%2216%22/%3E%3C/svg%3E");
}

#how-it-works .process-item:nth-child(3) .process-text::after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231D2C5C%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012l4-4%203%203%204-4%204%204%203-3%22/%3E%3Cpath%20d%3D%22M7%2011v6c0%201%201%202%202%202h6c1%200%202-1%202-2v-6%22/%3E%3C/svg%3E");
}

@media (max-width:980px) {
    #how-it-works .process-text::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-us-background {
        left: 0;
        top: 30%;
        width: 45%;
        height: 55%;
        opacity: 0.10;
    }
}

@media (max-width:600px) {
    #how-it-works .process-list::before {
        content: none !important
    }
}
