/* Progressive reveal is enabled only after the scroll observer is ready. */
@media (prefers-reduced-motion: no-preference) {
    .tt-home .tt-process__line.tt-process--motion > div:nth-child(n) {
        --tt-step-offset: 20px;
        opacity: 0;
    }

    .tt-home .tt-process__line.tt-process--motion > div.tt-process-step--shown:nth-child(n) {
        animation: tt-process-reveal 850ms cubic-bezier(.22, 1, .36, 1) var(--tt-step-delay, 0ms) both;
    }
}

@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
    .tt-home .tt-process__line.tt-process--motion > div:nth-child(odd) {
        --tt-step-offset: -20px;
    }
}

@keyframes tt-process-reveal {
    from {
        opacity: 0;
        transform: translate3d(0, var(--tt-step-offset), 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media print {
    .tt-home .tt-process__line.tt-process--motion > div:nth-child(n) {
        opacity: 1;
        animation: none;
        transform: none;
    }
}

/* Work process only. Figma 10:57, 1366px reference. */
.tt-home .tt-process {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    height: auto;
    min-height: 568px;
    padding: 23px 0 130px;
    color: #fff;
    background: linear-gradient(180deg, #98120f 3%, #650c0c 98%);
}

    .tt-home .tt-process::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        pointer-events: none;
        background: url('/Design/img/XayDungTT/figma-home/process-bg.jpg') center / cover no-repeat;
        opacity: .5;
        mix-blend-mode: multiply;
    }

    .tt-home .tt-process > .tt-container {
        width: calc(100% - 48px);
        max-width: 1206px;
        margin-inline: auto;
    }

    .tt-home .tt-process .tt-script {
        margin: 0;
        color: #fff;
        font: 400 24px/44px 'NVN-Motherland-Signature-1', cursive;
    }

    .tt-home .tt-process h2 {
        margin: 6px 0 0;
        color: #fff;
        font: 700 32px/38px 'BlackerSansText-Bold', serif;
        letter-spacing: 0;
        text-transform: uppercase;
    }

.tt-home .tt-process__line {
    position: relative;
    display: block;
    height: 288px;
    margin: 41px 0 0;
    border: 0;
}

    .tt-home .tt-process__line::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 124px;
        height: 1px;
        background: linear-gradient(90deg, transparent, #e4b4ae 12%, #e4b4ae 88%, transparent);
    }

    .tt-home .tt-process__line > div {
        position: absolute;
        top: 0;
        left: 0;
        width: 316px;
        min-height: 100px;
        padding: 0 0 0 119px;
        border: 0;
        box-sizing: border-box;
        transform: none;
    }

        .tt-home .tt-process__line > div:nth-child(2) {
            left: 19.32%;
            top: 158px;
        }

        .tt-home .tt-process__line > div:nth-child(3) {
            left: 36.07%;
        }

        .tt-home .tt-process__line > div:nth-child(4) {
            left: 59.37%;
            top: 158px;
        }

        .tt-home .tt-process__line > div:nth-child(5) {
            left: auto;
            right: 0;
            width: 313px;
        }

        .tt-home .tt-process__line > div::before {
            content: "";
            position: absolute;
            width: 141px;
            height: 141px;
            left: -17px;
            top: -21px;
            background: url('/Design/img/XayDungTT/figma-home/service-1.jpg') center / contain no-repeat;
            pointer-events: none;
        }

        .tt-home .tt-process__line > div:nth-child(2)::before {
            background-image: url('/Design/img/XayDungTT/figma-home/service-2.jpg');
            width: 159px;
            height: 159px;
            left: -27px;
            top: -30px;
        }

        .tt-home .tt-process__line > div:nth-child(3)::before {
            background-image: url('/Design/img/XayDungTT/figma-home/service-3.jpg');
            width: 167px;
            height: 167px;
            left: -33px;
            top: -37px;
        }

        .tt-home .tt-process__line > div:nth-child(4)::before {
            background-image: url('/Design/img/XayDungTT/figma-home/service-4.jpg');
            width: 165px;
            height: 165px;
            left: -30px;
            top: -30px;
        }

        .tt-home .tt-process__line > div:nth-child(5)::before {
            background-image: url('/Design/img/XayDungTT/figma-home/service-5.jpg');
            width: 125px;
            height: 125px;
            left: -10px;
            top: -14px;
        }

        .tt-home .tt-process__line > div::after {
            content: "";
            position: absolute;
            box-sizing: border-box;
            left: 50px;
            right: auto;
            top: 117px;
            width: 15px;
            height: 15px;
            border: 1px solid #f4d0c8;
            border-radius: 50%;
            background: #98120f;
            box-shadow: 0 0 4px #edb7a0, inset 0 0 4px #edb7a0;
        }

        .tt-home .tt-process__line > div:nth-child(even)::after {
            top: -41px;
        }

    .tt-home .tt-process__line b {
        position: static;
        display: block;
        margin: 0 0 2px;
        color: #fff;
        font: 700 28px/28px 'BlackerSansText-Bold', serif;
    }

        .tt-home .tt-process__line b::before {
            content: "";
            position: absolute;
            left: 112px;
            top: 6px;
            height: 40px;
            border-left: 1px solid #fff;
        }

        .tt-home .tt-process__line b::after {
            content: "";
            position: absolute;
            left: 51px;
            top: 103px;
            border: 6px solid transparent;
            border-top: 8px solid #fff;
        }

    .tt-home .tt-process__line > div:nth-child(even) b::after {
        top: -21px;
        border-top: 0;
        border-bottom: 8px solid #fff;
    }

    .tt-home .tt-process__line strong {
        display: block;
        min-height: 0;
        margin: 0 0 4px;
        color: #fff;
        font: 700 16px/19px 'BlackerSansText-Bold', serif;
        text-transform: uppercase;
    }

    .tt-home .tt-process__line span {
        display: block;
        max-width: 180px;
        color: #fff;
        font: 400 13px/16px 'Montserrat-Regular', sans-serif;
    }
/* Switch before the staggered desktop groups can collide. */
@media (max-width: 1199px) {
    .tt-home .tt-process {
        min-height: 0;
        padding: 32px 0 130px;
    }

    .tt-home .tt-process__line b {
        font-size: 23px;
        line-height: 25px;
    }

    .tt-home .tt-process h2 {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
    }

    .tt-home .tt-process__line {
        height: auto;
        margin-top: 16px;
        padding-left: 24px;
    }

        .tt-home .tt-process__line::before {
            left: 6px;
            right: auto;
            top: 20px;
            bottom: 40px;
            width: 1px;
            height: auto;
        }

        .tt-home .tt-process__line > div:nth-child(n) {
            position: relative;
            top: auto;
            left: auto;
            right: auto;
            width: 100%;
            min-height: 125px;
            padding: 8px 0 24px 120px;
            transform: none;
        }

            .tt-home .tt-process__line > div:nth-child(n)::before {
                left: -7px;
                top: -8px;
                width: 116px;
                height: 116px;
            }

            .tt-home .tt-process__line > div:nth-child(n)::after {
                left: -25px;
                top: 20px;
            }

        .tt-home .tt-process__line b::before {
            left: 112px;
            top: 12px;
        }

        .tt-home .tt-process__line b::after {
            display: none;
        }

        .tt-home .tt-process__line span {
            max-width: 480px;
            font-size: 12px;
            line-height: 1.6;
            text-align: justify;
        }

        .tt-home .tt-process__line strong {
            line-height: 1.4;
        }
}

@media (max-width: 600px) {
    .tt-home .tt-process > .tt-container {
        width: calc(100% - 32px);
    }

    .tt-home .tt-process {
        padding-bottom: 7px;
    }

        .tt-home .tt-process h2 {
            font-size: 22px;
        }

    .tt-home .tt-process__line > div:nth-child(n) {
        padding-left: 85px;
    }

        .tt-home .tt-process__line > div:nth-child(n)::before {
            width: 82px;
            height: 82px;
            top: 4px;
        }

    .tt-home .tt-process__line > div:nth-child(5)::before {
        width: 67px;
        height: 67px;
        top: 11px;
        left: 0;
    }

    .tt-home .tt-process__line b::before {
        left: 78px;
    }

    .tt-home .tt-process__line strong {
        font-size: 14px;
    }

    .tt-home .tt-process__line span {
        overflow-wrap: break-word;
    }
}