/*=============================================
            MÓDULO DE PROCESO DE PRODUCCIÓN
            Cotizar - Diseño - Producción - Envío
            Estilo: Packaging and Color
=============================================*/

/* Contenedor principal */
.proceso-module {
    background-color: #ffffff;
    min-height: auto;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo sutil */
.proceso-module::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(218, 38, 126, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.proceso-module .container {
    position: relative;
    z-index: 1;
}

/* Títulos */
.proceso-title {
    background: linear-gradient(135deg, #2c3e50, #1a1e24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.proceso-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: #6c757d;
}

/* Cards de proceso */
.proceso-card {
    background: white;
    border: 1px solid #e9ecef !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
}

.proceso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.2);
    border-color: #DA267E !important;
}

/* Efecto de brillo en hover */
.proceso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 38, 126, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.proceso-card:hover::before {
    left: 100%;
}

/* Wrapper de icono */
.proceso-icon-wrapper {
    position: relative;
    display: inline-block;
}

.proceso-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);
}

.proceso-card:hover .proceso-icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px -5px rgba(218, 38, 126, 0.3);
}

.proceso-icon-circle i {
    transition: all 0.3s ease;
}

.proceso-card:hover .proceso-icon-circle i {
    transform: scale(1.1);
}

/* Títulos de cards */
.proceso-card h3 {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.proceso-card:hover h3 {
    color: #DA267E;
}

/* Descripción */
.proceso-descripcion {
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.proceso-card:hover .proceso-descripcion {
    color: #495057 !important;
}

/* Paso (etiqueta) */
.proceso-step {
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.proceso-card:hover .proceso-step {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Banner de calidad */
.calidad-banner {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.calidad-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1);
    border-color: #DA267E !important;
}

.calidad-banner i {
    filter: drop-shadow(0 5px 10px rgba(218, 38, 126, 0.2));
}

/* Animaciones */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proceso-card {
    animation: cardFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.proceso-card:nth-child(1) { animation-delay: 0.1s; }
.proceso-card:nth-child(2) { animation-delay: 0.2s; }
.proceso-card:nth-child(3) { animation-delay: 0.3s; }
.proceso-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .proceso-module {
        padding: 3rem 0;
    }
    
    .proceso-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .proceso-icon-circle i {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .proceso-module {
        padding: 2rem 0;
    }
    
    .proceso-title {
        font-size: 2rem;
    }
    
    .proceso-subtitle {
        font-size: 1rem;
    }
    
    .proceso-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .proceso-icon-circle i {
        font-size: 1.5rem;
    }
    
    .proceso-card {
        margin-bottom: 1rem;
    }
    
    .calidad-banner {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .proceso-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .proceso-icon-circle i {
        font-size: 1.3rem;
    }
    
    .proceso-card h3 {
        font-size: 1.2rem;
    }
    
    .proceso-descripcion {
        font-size: 0.9rem;
    }
}

/* Modo oscuro */
[data-bs-theme="dark"] .proceso-module {
    background-color: #1a1e24;
}

[data-bs-theme="dark"] .proceso-title {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-bs-theme="dark"] .proceso-card {
    background: #2c3e50;
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .proceso-card h3 {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .proceso-descripcion {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .calidad-banner {
    background: #2c3e50;
    border-color: #495057;
}

[data-bs-theme="dark"] .calidad-banner h4 {
    color: #f8f9fa;
}