.home-trust-section {
    width: min(100% - 40px, 1040px);
    margin: 0 auto;
    padding: 92px 0 56px;
}

.home-trust-header {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
}

.home-trust-title {
    margin: 0;
    color: #111827;
    font-size: clamp(2.3rem, 4.5vw, 3.35rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.home-trust-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: 0.1em;
    padding: 0.08em 0.34em 0.12em;
    color: #111827;
    background: #f59e0b;
    border-radius: 999px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.72em;
    font-style: normal;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0;
    vertical-align: baseline;
    white-space: nowrap;
}

.home-trust-intro {
    margin: 18px auto 0;
    max-width: 820px;
    color: #6b7280;
    font-size: 1.03rem;
    line-height: 1.7;
}

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

.home-trust-card {
    min-height: 380px;
    padding: 0;
    border-radius: 18px;
    border: none;
    background-color: #e7edf5;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.22);
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.14);
}

.home-trust-card-white {
    background: #ffffff;
}

.home-trust-card-visual {
    flex: 1 1 auto;
    min-height: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-trust-card-body {
    padding: 6px 16px 10px;
    background: #e7edf5;
    box-shadow: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}

.home-trust-card-white .home-trust-card-body {
    background: #ffffff;
}

.home-trust-card-title {
    margin: 0;
    color: #1f2937;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.home-trust-card-text {
    margin: 0;
    color: #4b5563;
    opacity: 0.82;
    font-size: 0.8rem;
    line-height: 1.55;
}

.order-steps-section {
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
    padding: 48px 0 34px;
}

.order-steps-header {
    max-width: 1100px;
    margin: 0 auto 54px;
    text-align: center;
}

.order-steps-title {
    margin: 0;
    color: #05070b;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.order-steps-title span {
    color: var(--primary-dark, #d97706);
}

.order-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 44px;
    row-gap: 28px;
    position: relative;
    align-items: start;
}

.order-steps-grid::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 16.666%;
    right: 16.666%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.92) 0%, rgba(217, 119, 6, 0.92) 33%, rgba(223, 227, 234, 0.9) 33%, rgba(223, 227, 234, 0.9) 100%);
    z-index: 0;
    mask: repeating-linear-gradient(90deg, #000 0 28px, transparent 28px 60px);
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 28px, transparent 28px 60px);
}

.order-steps-grid::after {
    content: '';
    position: absolute;
    top: 72px;
    left: 16.666%;
    width: 16%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0) 0%, rgba(251, 191, 36, 0.26) 18%, rgba(217, 119, 6, 0.96) 50%, rgba(251, 191, 36, 0.3) 82%, rgba(251, 191, 36, 0) 100%);
    box-shadow: 0 0 18px rgba(217, 119, 6, 0.24);
    z-index: 0;
    mask: repeating-linear-gradient(90deg, #000 0 28px, transparent 28px 60px);
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 28px, transparent 28px 60px);
    animation: orderTimelineFlow 4.8s ease-in-out infinite;
    will-change: transform, opacity;
}

.order-steps-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.order-steps-icon-wrap {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.order-steps-icon {
    width: min(180px, 100%);
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(76, 131, 243, 0.18));
}

.order-steps-copy {
    max-width: 420px;
}

.order-steps-number {
    margin: 0 0 4px;
    color: var(--primary-dark, #d97706);
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.order-steps-card-title {
    margin: 0;
    color: #2f3338;
    font-size: clamp(1.7rem, 2.4vw, 2rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.order-steps-card-text {
    margin: 18px 0 0;
    color: #5e636a;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.62;
}

@keyframes orderTimelineFlow {
    0% {
        transform: translateX(0%);
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    50% {
        transform: translateX(105%);
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% {
        transform: translateX(210%);
        opacity: 0;
    }
}

@keyframes orderTimelineFlowVertical {
    0% {
        transform: translateX(-50%) translateY(0%);
        opacity: 0;
    }
    14% {
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(62%);
        opacity: 1;
    }
    86% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(124%);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .order-steps-section {
        width: min(100% - 24px, 1240px);
        padding: 28px 0 20px;
    }

    .order-steps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .order-steps-grid::before,
    .order-steps-grid::after {
        display: none;
    }

    .order-steps-header {
        margin-bottom: 28px;
    }

    .order-steps-card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
        text-align: left;
    }

    .order-steps-icon-wrap {
        position: relative;
        min-height: 0;
        min-width: 0;
        margin: 0;
        padding-bottom: 32px;
        justify-content: flex-start;
    }

    .order-steps-icon {
        width: 84px;
        max-width: 84px;
    }

    .order-steps-card:not(:last-child) .order-steps-icon-wrap::after {
        content: '';
        position: absolute;
        top: 88px;
        bottom: -18px;
        left: 50%;
        width: 4px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(217, 119, 6, 0.95) 0%, rgba(217, 119, 6, 0.95) 46%, rgba(223, 227, 234, 0.95) 46%, rgba(223, 227, 234, 0.95) 100%);
        mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 38px);
        -webkit-mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 38px);
    }

    .order-steps-card:not(:last-child) .order-steps-icon-wrap::before {
        content: '';
        position: absolute;
        top: 88px;
        left: 50%;
        width: 4px;
        height: 72px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(251, 191, 36, 0) 0%, rgba(251, 191, 36, 0.26) 18%, rgba(217, 119, 6, 0.96) 50%, rgba(251, 191, 36, 0.3) 82%, rgba(251, 191, 36, 0) 100%);
        box-shadow: 0 0 16px rgba(217, 119, 6, 0.22);
        z-index: 1;
        mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 38px);
        -webkit-mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 38px);
        animation: orderTimelineFlowVertical 4.2s ease-in-out infinite;
        will-change: transform, opacity;
    }

    .order-steps-copy {
        max-width: none;
        min-width: 0;
        padding-top: 8px;
    }

    .order-steps-number {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 0.96;
        margin-bottom: 8px;
    }

    .order-steps-card-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.08;
    }

    .order-steps-card-text {
        margin-top: 14px;
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 26ch;
        text-wrap: pretty;
    }
}

@media (max-width: 768px) {
    .home-trust-section {
        width: min(100% - 20px, 1220px);
        padding: 56px 0 34px;
    }

    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-trust-title {
        font-size: 2rem;
    }

    .home-trust-card {
        min-height: 260px;
        border-radius: 14px;
    }

    .home-trust-card-visual {
        flex: 1 1 auto;
        min-height: 0;
    }

    .home-trust-card-body {
        min-height: 0;
        padding: 5px 8px 8px;
        gap: 3px;
    }

    .home-trust-card-title {
        font-size: 0.82rem;
        line-height: 1.18;
    }

    .home-trust-card-text {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 0.66rem;
        line-height: 1.35;
    }
}

@media (max-width: 520px) {
    .order-steps-section {
        width: min(100% - 18px, 1240px);
    }

    .order-steps-title {
        font-size: clamp(2rem, 11vw, 3rem);
        line-height: 1.02;
    }

    .order-steps-card {
        grid-template-columns: 78px minmax(0, 1fr);
        column-gap: 14px;
    }

    .order-steps-icon {
        width: 72px;
        max-width: 72px;
    }

    .order-steps-card:not(:last-child) .order-steps-icon-wrap::after {
        top: 76px;
        bottom: -16px;
    }

    .order-steps-card:not(:last-child) .order-steps-icon-wrap::before {
        top: 76px;
        height: 64px;
    }

    .order-steps-copy {
        padding-top: 6px;
    }

    .order-steps-number {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .order-steps-card-title {
        font-size: 1.15rem;
    }

    .order-steps-card-text {
        max-width: none;
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-steps-grid::after,
    .order-steps-card:not(:last-child) .order-steps-icon-wrap::before {
        animation: none;
        opacity: 0.7;
    }
}
