/* =========================
   Process — NETA Unified Editorial Flow
   Matches Hero / Services / About
========================= */

.process-section {
    position: relative;
    padding: var(--neta-section-padding, 112px 0);

    background:
        radial-gradient(
            ellipse 52% 40% at 82% 16%,
            color-mix(in srgb, var(--neta-white, #fffaf1) 66%, transparent),
            transparent 62%
        ),
        radial-gradient(
            circle at 18% 82%,
            color-mix(in srgb, var(--neta-brass, #8f7b5d) 9%, transparent),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            var(--neta-paper, #eee6d8),
            var(--neta-paper-light, #fffaf1)
        );

    overflow: hidden;
    isolation: isolate;
}

.process-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 10%;
    left: 10%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--neta-line, rgba(36, 25, 15, 0.14)),
        transparent
    );

    pointer-events: none;
}

.process-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;

    height: 42%;

    background: linear-gradient(
        180deg,
        transparent,
        color-mix(in srgb, var(--neta-white, #fffaf1) 34%, transparent)
    );

    pointer-events: none;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

/* =========================
   Head
========================= */

.process-section__head {
    max-width: var(--neta-section-head-width, 820px);
    margin: 0 auto 58px;
    text-align: center;
}

.process-section__head .section-label {
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
}

.process-section__head h2 {
    max-width: 780px;
    margin: 0 auto;

    color: var(--neta-walnut, #24190f);
    font-family: var(--font-display, serif);
    font-size: var(--neta-title-size, clamp(52px, 7vw, 92px));
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.process-section__head p:not(.section-label) {
    max-width: 680px;
    margin: 24px auto 0;

    color: var(--neta-walnut-soft, #4d4035);
    font-family: var(--font-body, sans-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
}

/* =========================
   List
========================= */

.process-list {
    width: min(900px, 100%);
    margin: 0 auto;

    display: grid;
    gap: 14px;
}

/* =========================
   Card
========================= */

.process-card {
    position: relative;

    min-height: 150px;
    padding: 28px 34px;
    border-radius: var(--neta-card-radius, 28px);

    overflow: hidden;
    isolation: isolate;

    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--neta-white, #fffaf1) 88%, transparent),
            color-mix(in srgb, var(--neta-paper-light, #fffaf1) 66%, transparent)
        );

    border: 1px solid color-mix(in srgb, var(--neta-line-soft, rgba(36, 25, 15, 0.08)) 92%, transparent);

    box-shadow:
        0 22px 62px rgba(36, 25, 15, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);

    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 26px;

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        opacity 0.32s ease;
}

.process-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 1;

    border: 1px solid color-mix(in srgb, var(--neta-white, #fffaf1) 42%, transparent);
    border-radius: calc(var(--neta-card-radius, 28px) - 10px);

    pointer-events: none;
}

.process-card::after {
    content: "";
    position: absolute;
    top: -28%;
    right: -10%;
    z-index: 0;

    width: 190px;
    height: 190px;
    border-radius: 999px;

    background: color-mix(in srgb, var(--neta-brass, #8f7b5d) 8%, transparent);
    opacity: 0.7;

    pointer-events: none;
}

.process-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--neta-brass, #8f7b5d) 30%, transparent);

    box-shadow:
        0 30px 78px rgba(36, 25, 15, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

/* =========================
   Scroll Animation State
   Lighter than clip-path version
========================= */

body.neta-animations-ready .process-card {
    opacity: 0;
    transform: translateY(18px);
}

body.neta-animations-ready .process-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.neta-animations-ready .process-card:nth-child(1) {
    transition-delay: 0.02s;
}

body.neta-animations-ready .process-card:nth-child(2) {
    transition-delay: 0.06s;
}

body.neta-animations-ready .process-card:nth-child(3) {
    transition-delay: 0.1s;
}

body.neta-animations-ready .process-card:nth-child(4) {
    transition-delay: 0.14s;
}

body.neta-animations-ready .process-card:nth-child(5) {
    transition-delay: 0.18s;
}

body.neta-animations-ready .process-card:nth-child(6) {
    transition-delay: 0.22s;
}

/* =========================
   Number
========================= */

.process-card__number {
    position: relative;
    z-index: 2;

    width: 72px;
    height: 72px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--neta-white, #fffaf1) 82%, transparent),
            color-mix(in srgb, var(--neta-paper, #eee6d8) 70%, transparent)
        );

    border: 1px solid color-mix(in srgb, var(--neta-line-soft, rgba(36, 25, 15, 0.08)) 90%, transparent);

    color: color-mix(in srgb, var(--neta-walnut, #24190f) 70%, var(--neta-brass, #8f7b5d));
    font-family: var(--font-display, serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;

    box-shadow:
        0 12px 28px rgba(36, 25, 15, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* =========================
   Text
========================= */

.process-card__content {
    position: relative;
    z-index: 2;
    text-align: right;
}

.process-card__content h3 {
    margin: 0 0 10px;

    color: var(--neta-walnut, #24190f);
    font-family: var(--font-display, serif);
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.process-card__content p {
    max-width: 590px;
    margin: 0;

    color: var(--neta-walnut-soft, #4d4035);
    font-family: var(--font-body, sans-serif);
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.78;
}

/* =========================
   Tablet
========================= */

@media (max-width: 1024px) {
    .process-section {
        padding: 88px 0;
    }

    .process-section__head {
        margin-bottom: 46px;
    }

    .process-section__head h2 {
        font-size: clamp(46px, 7vw, 76px);
    }

    .process-list {
        width: min(780px, 100%);
    }

    .process-card {
        grid-template-columns: 88px 1fr;
        padding: 26px 30px;
    }

    .process-card__number {
        width: 68px;
        height: 68px;
        font-size: 32px;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 899px) {
    .process-section {
        padding: var(--neta-section-padding-mobile, 58px 0 64px);
    }

    .process-section__head {
        max-width: 430px;
        margin-bottom: 32px;
    }

    .process-section__head .section-label {
        margin: 0 auto 14px;
        justify-content: center;

        font-size: 11px;
        letter-spacing: 0.2em;
    }

    .process-section__head .section-label::before {
        width: 28px;
    }

    .process-section__head h2 {
        max-width: 390px;

        font-size: var(--neta-title-size-mobile, clamp(36px, 10vw, 52px));
        line-height: 1.04;
        letter-spacing: -0.05em;
    }

    .process-section__head p:not(.section-label) {
        max-width: 380px;
        margin-top: 16px;

        font-size: 15.8px;
        line-height: 1.65;
    }

    .process-list {
        width: min(100%, 430px);
        gap: 10px;
    }

    .process-card {
        min-height: auto;
        padding: 22px 20px;
        border-radius: 22px;

        grid-template-columns: 54px 1fr;
        gap: 0 16px;
        align-items: start;
    }

    .process-card::before {
        inset: 10px;
        border-radius: 14px;
    }

    .process-card::after {
        width: 130px;
        height: 130px;
        opacity: 0.52;
    }

    .process-card__number {
        width: 52px;
        height: 52px;
        border-radius: 16px;

        font-size: 24px;
    }

    .process-card__content h3 {
        margin-bottom: 8px;

        font-size: 22px;
        line-height: 1.15;
    }

    .process-card__content p {
        max-width: none;

        font-size: 14.8px;
        line-height: 1.58;
    }
}

/* =========================
   Small Mobile
========================= */

@media (max-width: 560px) {
    .process-section {
        padding: 52px 0 58px;
    }

    .process-section__head {
        margin-bottom: 28px;
    }

    .process-section__head h2 {
        max-width: 350px;
        font-size: clamp(34px, 10vw, 46px);
    }

    .process-section__head p:not(.section-label) {
        max-width: 340px;
        font-size: 15.2px;
        line-height: 1.62;
    }

    .process-list {
        width: 100%;
        gap: 9px;
    }

    .process-card {
        padding: 20px 18px;
        grid-template-columns: 50px 1fr;
        gap: 0 14px;
    }

    .process-card__number {
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 22px;
    }

    .process-card__content h3 {
        font-size: 20px;
    }

    .process-card__content p {
        font-size: 14.2px;
        line-height: 1.55;
    }
}

/* =========================
   Very Small Mobile
========================= */

@media (max-width: 390px) {
    .process-section {
        padding: 46px 0 52px;
    }

    .process-section__head h2 {
        font-size: 32px;
    }

    .process-section__head p:not(.section-label) {
        font-size: 14.8px;
    }

    .process-card {
        padding: 19px 17px;
        grid-template-columns: 46px 1fr;
        gap: 0 12px;
    }

    .process-card__number {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 20px;
    }

    .process-card__content h3 {
        font-size: 18px;
    }

    .process-card__content p {
        font-size: 13.8px;
        line-height: 1.52;
    }
}

/* =========================
   Touch / Reduced Motion
========================= */

@media (hover: none) {
    .process-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-card {
        transition: none !important;
    }

    .process-card:hover,
    body.neta-animations-ready .process-card,
    body.neta-animations-ready .process-card.is-visible {
        transform: none !important;
        opacity: 1 !important;
    }
}