﻿/* ====== Base / tokens ====== */
:root {
    --pa-bg: #ffffff;
    --pa-text: #111827; /* near-black */
    --pa-subtle: #6b7280; /* gray-500 */
    --pa-accent: #f97316; /* Pleasant orange */
    --pa-accent-2: #4b958e; /* brand teal (your code) */
    --pa-ring: rgba(0,0,0,.06);
}

.section.process {
    background: var(--pa-bg);
    padding: clamp(2.5rem, 4vw, 4rem) 0;
}


    .section.process h2 {
        text-align: center;
        font-size: clamp(1.6rem, 2.2vw, 2.2rem);
        line-height: 1.2;
        margin: 0 0 .5rem;
        color: var(--pa-text);
    }

    .section.process .subtitle {
        text-align: center;
        color: var(--pa-subtle);
        margin: 0 auto 2.2rem;
        max-width: 78ch;
    }

/* ====== Steps grid ====== */
.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, minmax(160px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: 0;
    margin: 0;
    position: relative;
}

/* connector line on wide screens */
@@media (min-width: 992px) {
    .process-steps::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 38px;
        height: 2px;
        background: linear-gradient(90deg, transparent 6%, var(--pa-ring) 6% 94%, transparent 94%);
        z-index: 0;
    }
}

.step {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    gap: .65rem;
    position: relative;
}

.step-head {
    display: flex;
    align-items: center;
    gap: .7rem;
    position: relative;
    z-index: 1;
}

.step-circle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, #fff 0 40%, #ffe8d7 41% 100%);
    border: 2px solid var(--pa-accent);
    color: var(--pa-accent);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(249,115,22,.2);
}

.step-icon {
    color: var(--pa-accent-2);
    background: #ecf6f5;
    border-radius: 10px;
    padding: .4rem .5rem;
    line-height: 0;
    border: 1px solid rgba(75,149,142,.18);
}

.step h3 {
    font-size: 1.05rem;
    margin: .15rem 0 0;
    color: var(--pa-text);
}

.step p {
    color: var(--pa-subtle);
    font-size: .95rem;
    margin: 0;
}

/* ====== Responsive ====== */
@@media (max-width: 1199px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@@media (max-width: 720px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .section.process .subtitle {
        margin-bottom: 1.6rem;
    }
}

/* Focus-visible for keyboard users */
.step:focus-within {
    outline: 2px solid var(--pa-accent-2);
    outline-offset: 2px;
    border-color: var(--pa-accent-2);
}
