/* ========================================
   5-STEP PROCESS SECTION
   Inspired by controleur.ca
   Color Palette: Red & White
   ======================================== */

:root {
    --process-primary: #CD1C18;
    --process-primary-light: #FFA896;
    --process-primary-dark: #9B1313;
    --process-bg: #ffffff;
    --process-bg-secondary: #f8fafc;
    --process-text: #1e293b;
    --process-text-muted: #64748b;
    --process-border: #e2e8f0;
    --process-line-color: #e2e8f0;
    --process-card-bg: #ffffff;
    --process-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --process-card-shadow-hover: 0 12px 40px -5px rgba(205, 28, 24, 0.15), 0 20px 60px -10px rgba(0, 0, 0, 0.08);
    --process-icon-bg: linear-gradient(135deg, #CD1C18, #FFA896);
    --process-icon-shadow: 0 8px 20px rgba(205, 28, 24, 0.3);
    --process-number-bg: linear-gradient(135deg, #CD1C18, #9B1313);
    --process-btn-primary-bg: linear-gradient(135deg, #CD1C18, #FFA896);
    --process-btn-primary-hover: linear-gradient(135deg, #9B1313, #CD1C18);
    --process-btn-primary-shadow: 0 4px 15px rgba(205, 28, 24, 0.4);
    --process-btn-secondary-bg: #ffffff;
    --process-btn-secondary-border: #CD1C18;
    --process-btn-secondary-text: #CD1C18;
    --process-btn-secondary-hover-bg: #CD1C18;
    --process-btn-secondary-hover-text: #ffffff;
}

[data-theme="dark"] {
    --process-bg: #0f172a;
    --process-bg-secondary: #1e293b;
    --process-text: #f8fafc;
    --process-text-muted: #94a3b8;
    --process-border: #334155;
    --process-line-color: #334155;
    --process-card-bg: #1e293b;
    --process-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    --process-card-shadow-hover: 0 12px 40px -5px rgba(205, 28, 24, 0.2), 0 20px 60px -10px rgba(0, 0, 0, 0.3);
    --process-icon-shadow: 0 8px 20px rgba(205, 28, 24, 0.4);
    --process-btn-secondary-bg: #1e293b;
    --process-btn-secondary-border: #FFA896;
    --process-btn-secondary-text: #FFA896;
    --process-btn-secondary-hover-bg: #FFA896;
    --process-btn-secondary-hover-text: #ffffff;
}

.process-section {
    position: relative;
    padding: 100px 0;
    background: var(--process-bg);
    overflow: hidden;
}

.process-bg-decoration {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.process-floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    animation: floatShape 25s ease-in-out infinite;
}

.process-shape-1 {
    width: 500px; height: 500px;
    background: var(--process-primary);
    top: -150px; left: -150px;
}

.process-shape-2 {
    width: 350px; height: 350px;
    background: var(--process-primary-light);
    bottom: -100px; right: -100px;
    animation-delay: -8s;
}

.process-shape-3 {
    width: 250px; height: 250px;
    background: var(--process-primary);
    top: 40%; left: 60%;
    animation-delay: -16s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-25px) rotate(5deg); }
    66% { transform: translateY(15px) rotate(-3deg); }
}

.process-header {
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
}

.process-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--process-btn-primary-bg);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.process-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--process-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.process-divider {
    width: 80px; height: 4px;
    background: var(--process-btn-primary-bg);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.process-subtitle {
    font-size: 1.125rem;
    color: var(--process-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.process-steps {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-icon-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.step-icon {
    width: 80px; height: 80px;
    background: var(--process-icon-bg);
    border-radius: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--process-icon-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.process-step:hover .step-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(205, 28, 24, 0.4);
}

.step-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 1.5rem;
    background: var(--process-icon-bg);
    opacity: 0.15;
    z-index: -1;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon::after {
    inset: -8px;
    opacity: 0.25;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--process-primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.step-content { padding: 0 0.5rem; }

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--process-text);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9rem;
    color: var(--process-text-muted);
    line-height: 1.6;
    margin: 0;
}

.process-connection {
    position: relative;
    z-index: 0;
    margin: -60px 0 3rem;
    display: none;
}

.process-connection svg {
    width: 100%;
    height: 100px;
}

.process-cta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-process-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--process-btn-primary-bg);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--process-btn-primary-shadow);
    cursor: pointer;
}

.btn-process-primary:hover {
    background: var(--process-btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 28, 24, 0.5);
    color: white;
}

.btn-process-primary i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-process-primary:hover i {
    transform: translateX(4px);
}

.btn-process-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--process-btn-secondary-bg);
    color: var(--process-btn-secondary-text);
    border: 2px solid var(--process-btn-secondary-border);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-process-secondary:hover {
    background: var(--process-btn-secondary-hover-bg);
    color: var(--process-btn-secondary-hover-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 28, 24, 0.2);
}

.btn-process-secondary i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-process-secondary:hover i {
    transform: rotate(15deg);
}

@media (max-width: 992px) {
    .process-section { padding: 80px 0; }
    .process-steps { flex-wrap: wrap; justify-content: center; }
    .process-step { flex: 0 0 calc(50% - 1rem); margin-bottom: 2rem; }
    .process-step:last-child { flex: 0 0 100%; }
}

@media (max-width: 768px) {
    .process-section { padding: 60px 0; }
    .process-header { margin-bottom: 3rem; }
    .process-steps { flex-direction: column; align-items: center
