/* Process Section - Clean & Elegant Design with Images */

.ehs-process {
    padding: var(--ehs-spacing-xl) 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.ehs-process__header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 4rem);
}

.ehs-process__title {
    font-size: var(--ehs-font-size-h2);
    color: var(--ehs-color-dark);
    margin: 0 0 16px;
    text-transform: uppercase;
    font-family: var(--ehs-font-family-heading);
    line-height: var(--ehs-line-height-tight);
}

.ehs-process__subtitle {
    font-size: var(--ehs-font-size-subtitle);
    color: var(--ehs-color-muted);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--ehs-line-height-normal);
}

/* Timeline Grid */
.ehs-process__timeline {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
}

/* Step Card */
.ehs-process__step {
    display: flex;
    flex-direction: column;
    background: var(--ehs-color-light);
    border-radius: var(--ehs-radius-xl);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.ehs-process__step:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
    border-color: rgba(97, 6, 217, 0.1);
}

/* Image Section */
.ehs-process__image {
    position: relative;
    width: 100%;
    aspect-ratio: 5/3;
    overflow: hidden;
}

.ehs-process__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ehs-process__step:hover .ehs-process__image img {
    transform: scale(1.03);
}

/* Step Number Badge */
.ehs-process__step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    font-size: 1.375rem;
    font-weight: 800;
    font-family: var(--ehs-font-family-heading);
    color: var(--ehs-color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(97, 6, 217, 0.1);
}

/* Content Section */
.ehs-process__content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ehs-process__step-title {
    font-size: var(--ehs-font-size-h4);
    color: var(--ehs-color-dark);
    margin: 0 0 0.5rem;
    font-weight: 700;
    font-family: var(--ehs-font-family-heading);
    line-height: var(--ehs-line-height-tight);
}

.ehs-process__step-subtitle {
    font-size: var(--ehs-font-size-small);
    color: var(--ehs-color-muted);
    margin: 0 0 1.5rem;
    line-height: var(--ehs-line-height-relaxed);
    font-style: italic;
    font-weight: 500;
}

/* Details Container */
.ehs-process__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Includes Section */
.ehs-process__includes {
    flex: 1;
}

.ehs-process__section-title {
    font-size: 0.8125rem;
    color: var(--ehs-color-dark);
    margin: 0 0 0.75rem;
    font-weight: 700;
    font-family: var(--ehs-font-family-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ehs-process__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ehs-process__list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--ehs-color-muted);
    line-height: var(--ehs-line-height-relaxed);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: color 0.2s ease;
}

.ehs-process__step:hover .ehs-process__list li {
    color: var(--ehs-color-dark);
}

.ehs-process__list li:last-child {
    border-bottom: none;
}

.ehs-process__list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--ehs-color-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Protection Section */
.ehs-process__protection {
    background: linear-gradient(135deg, rgba(97, 6, 217, 0.04) 0%, rgba(124, 71, 244, 0.04) 100%);
    border: 1px solid rgba(97, 6, 217, 0.1);
    border-radius: var(--ehs-radius-md);
    padding: 1rem;
}

.ehs-process__protection-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ehs-process__protection-icon {
    width: 16px;
    height: 16px;
    color: var(--ehs-color-primary);
    flex-shrink: 0;
}

.ehs-process__protection-icon svg {
    width: 100%;
    height: 100%;
}

.ehs-process__protection-title {
    font-size: 0.75rem;
    color: var(--ehs-color-primary);
    font-weight: 700;
    font-family: var(--ehs-font-family-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ehs-process__protection-text {
    font-size: 0.8125rem;
    color: var(--ehs-color-dark);
    margin: 0;
    line-height: var(--ehs-line-height-relaxed);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
    .ehs-process__timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1rem, 2.5vw, 1.5rem);
    }
    
    .ehs-process__content {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .ehs-process {
        padding: clamp(2.5rem, 6vw, 3.5rem) 0;
    }

    .ehs-process__header {
        margin-bottom: 2rem;
    }

    .ehs-process__timeline {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ehs-process__step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .ehs-process__content {
        padding: 1.25rem;
    }

    .ehs-process__step-title {
        font-size: 1.125rem;
    }
    
    .ehs-process__details {
        gap: 1rem;
    }

    .ehs-process__protection {
        padding: 0.875rem;
    }
}

/* Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
    .ehs-process__step {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .ehs-process__step.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    .ehs-process__step:nth-child(1) { transition-delay: 0ms; }
    .ehs-process__step:nth-child(2) { transition-delay: 150ms; }
    .ehs-process__step:nth-child(3) { transition-delay: 300ms; }
    .ehs-process__step:nth-child(4) { transition-delay: 450ms; }
}