/* Process Section */
.home-process {
    padding: var(--spacing-2xl) 0;
    background:
        radial-gradient(circle at 10% 18%, rgba(0, 86, 179, 0.08), transparent 26%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.home-process__header {
    max-width: 760px;
    margin: 0 auto var(--spacing-2xl);
    text-align: center;
}

.home-process__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 86, 179, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--color-brand-primary);
    font-size: var(--font-size-sm);
    font-weight: 800;
}

.home-process__badge::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-brand-accent);
}

.home-process__heading {
    max-width: 680px;
    margin: 0 auto var(--spacing-md);
    color: #06173d;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.18;
}

.home-process__description {
    max-width: 680px;
    margin: 0 auto;
    color: #526985;
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-process__list {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.home-process__item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: var(--spacing-lg);
    overflow: hidden;
    border: 1px solid rgba(210, 222, 238, 0.9);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-soft);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.home-process__item::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 46px;
    height: 32px;
    padding: 0 var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border-radius: 999px;
    background: var(--color-brand-primary);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.14);
}

.home-process__item::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.05);
    pointer-events: none;
}

.home-process__item:hover,
.home-process__item:focus-within {
    transform: translateY(-5px);
    border-color: rgba(0, 86, 179, 0.28);
    box-shadow: 0 14px 30px rgba(15, 48, 95, 0.11);
}

.home-process__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 193, 7, 0.2), transparent 26%),
        linear-gradient(135deg, #f4f9ff 0%, #eaf3ff 60%, #ffffff 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 86, 179, 0.08);
}

.home-process__icon::before,
.home-process__icon::after {
    content: "";
    position: absolute;
}

.home-process__icon::before {
    width: 44px;
    height: 30px;
    border: 4px solid var(--color-brand-primary);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.home-process__icon::after {
    width: 18px;
    height: 10px;
    border-left: 4px solid var(--color-brand-primary);
    border-bottom: 4px solid var(--color-brand-primary);
    transform: rotate(-45deg);
}

.home-process__item:nth-child(2) .home-process__icon::before {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.home-process__item:nth-child(2) .home-process__icon::after {
    width: 30px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: var(--color-brand-accent);
    transform: rotate(-35deg);
}

.home-process__item:nth-child(3) .home-process__icon::before {
    width: 52px;
    height: 34px;
    border-radius: 8px;
}

.home-process__item:nth-child(3) .home-process__icon::after {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: var(--color-brand-accent);
    box-shadow: 30px 0 0 var(--color-brand-accent);
    transform: translateY(22px);
}

.home-process__item:nth-child(4) .home-process__icon::before {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.home-process__item:nth-child(4) .home-process__icon::after {
    width: 20px;
    height: 12px;
}

.home-process__title {
    margin: 0 0 var(--spacing-sm);
    color: #10213f;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.home-process__excerpt {
    flex-grow: 1;
    margin: 0;
    color: #607391;
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.home-process__footer {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.home-process__footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

@media (prefers-reduced-motion: reduce) {
    .home-process__item {
        transition: none;
    }

    .home-process__item:hover,
    .home-process__item:focus-within {
        transform: none;
    }
}

@media (min-width: 768px) {
    .home-process__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-process__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-process__item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        right: calc(var(--spacing-lg) * -0.78);
        z-index: 3;
        width: var(--spacing-lg);
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(0, 86, 179, 0.32), rgba(255, 193, 7, 0.5));
        transform: translateY(-50%);
        pointer-events: none;
    }
}

@media (max-width: 767px) {
    .home-process__header {
        margin-bottom: var(--spacing-xl);
    }

    .home-process__item {
        padding: var(--spacing-md);
    }
}
