/* --- ESTILOS PARA LA SECCIÓN EID (Why Are We Doing This) - BRAND GUIDE V2.0 --- */

:root {
    /* Brand Colors (Página 14) */
    --brand-leaf-core: #8DC63F;         
    --brand-leaf-light: #D4EDAA;        
    --brand-sky-motion: #00AEEF;        
    --brand-data-graphite: #5E5E5E;     
    --brand-graphite-light: #9E9E9E;    
    
    /* UI Backgrounds */
    --brand-fog-white: #EEF1F2;         
    --brand-clean-canvas: #F8FAF9;      
    --brand-white: #FFFFFF;

    /* Typography (Página 16) */
    --font-primary: 'Urbanist', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-display: 'Rajdhani', sans-serif;
}

.eid-section-container {
    padding: 60px 0;
    background-color: var(--brand-white);
    font-family: var(--font-secondary); /* Inter por defecto */
    color: var(--brand-data-graphite);
}

/* Header Styles */
.eid-header h2 {
    font-family: var(--font-display); /* Rajdhani */
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--brand-data-graphite);
    letter-spacing: 0.5px;
}

.eid-header .subtitle {
    font-family: var(--font-secondary);
    font-size: 18px;
    color: var(--brand-graphite-light);
    margin-bottom: 40px;
}

/* Barra estilo "EID" */
.eid-bar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto 48px auto;
}

.eid-pill {
    background: var(--brand-white);
    border: 1px solid var(--brand-fog-white);
    border-radius: 50px;
    padding: 8px 32px;
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--brand-data-graphite);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Sombra oficial */
}

.eid-pill strong {
    color: var(--brand-leaf-core); /* Leaf Core #8DC63F */
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    margin-right: 5px;
}

/* Flecha de fondo */
.eid-arrow-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 8px;
    /* Gradiente actualizado a colores de marca */
    background: linear-gradient(90deg, rgba(212, 237, 170, 0.4) 0%, rgba(141, 198, 63, 0.5) 100%);
    z-index: 1;
    margin-left: 20px;
}
.eid-arrow-bg::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid rgba(141, 198, 63, 0.5);
}

/* Workflow Container */
.eid-workflow-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

/* --- TARJETAS DE PASOS INDIVIDUALES --- */
.eid-step-card {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    text-align: center;
    padding: 24px 16px;
    
    /* Background Fog White (Página 14) */
    background: var(--brand-fog-white); 
    
    /* Border Radius 8px (Página 17) */
    border-radius: 8px;
    
    /* Sombra oficial */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
    
    transition: all 0.3s ease-in-out;
    cursor: default; 
    border: 1px solid transparent; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CONTENEDOR DE IMAGEN */
.eid-step-card .img-wrapper {
    width: 100px; /* Ajustado para consistencia */
    height: 100px;
    border-radius: 50%;
    background-color: var(--brand-white);
    margin: 0 auto 16px auto;
    overflow: hidden;
    border: 2px solid var(--brand-white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.eid-step-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

/* Textos de las tarjetas */
.eid-step-card h3 {
    font-family: var(--font-primary); /* Urbanist */
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--brand-data-graphite);
}

.eid-step-card p {
    font-family: var(--font-secondary); /* Inter */
    font-size: 14px;
    color: var(--brand-data-graphite);
    line-height: 1.5;
    margin: 0;
}

/* Flechas entre pasos */
.eid-arrow-separator {
    align-self: center;
    font-size: 20px;
    color: var(--brand-sky-motion); /* Azul Sky Motion para el flujo */
    font-weight: bold;
    opacity: 0.8;
}

/* --- ANIMACIONES HOVER --- */
.eid-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    background-color: var(--brand-white);
    /* Borde Leaf Core */
    border-color: var(--brand-leaf-core);
}

.eid-step-card:hover .img-wrapper img {
    transform: scale(1.08);
}

/* Footer Section */
.eid-footer {
    position: relative;
    padding-top: 24px;
}

.long-arrow-bottom {
    height: 4px;
    /* Gradiente Leaf Core */
    background: linear-gradient(90deg, var(--brand-fog-white) 0%, var(--brand-leaf-core) 100%);
    width: 100%;
    margin-bottom: 32px;
    position: relative;
    border-radius: 2px;
}
.long-arrow-bottom::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--brand-leaf-core);
}

.eid-footer h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-data-graphite);
    margin-bottom: 16px;
}

.eid-footer .green-text {
    color: var(--brand-leaf-core);
    font-weight: 700;
}

.eid-footer .description {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--brand-data-graphite);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .eid-arrow-separator, .eid-arrow-bg {
        display: none;
    }
    .eid-workflow-row {
        gap: 24px;
        flex-direction: column;
        align-items: center;
    }
    .eid-step-card {
        width: 100%;
        max-width: 320px;
    }
}