/* ========================================
   JaktLicens – Process Section CSS
   Image-led step cards
   ======================================== */

.wp-block-jaktlicenscom-process-steps,
.process {
    padding: 100px 0;
    background: var(--bg-light, #f5f7f5);
}

.process .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.process .section-label {
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.process .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-dark);
    font-weight: 400;
    margin-bottom: 20px;
}

.process .section-desc {
    color: var(--text-soft, #5c5c52);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Steps grid */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

/* Individual step */
.process-step {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(51, 22, 32, 0.12);
}

/* Media */
.step-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
}

.step-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.process-step:hover .step-photo {
    transform: scale(1.05);
}

/* Icon fallback (when no photo) */
.step-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Step number badge */
.step-number {
    position: absolute;
    left: 20px;
    bottom: 20px;
    min-width: 46px;
    height: 46px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    color: #fff;
    border-radius: 30px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 6px 18px rgba(51, 22, 32, 0.25);
}

/* Body */
.step-body {
    padding: 28px 28px 32px;
}

.process-step h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.process-step p {
    color: var(--text-soft, #5c5c52);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .process-steps {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .process {
        padding: 60px 0;
    }

    .step-body {
        padding: 24px 22px 26px;
    }
}
