/* ========================================================================= */
/* SECCIÓN "CÓMO FUNCIONA" */
/* ========================================================================= */
.how-it-works-section {
    padding: 5rem 0;
    background-color: var(--card-bg);
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.how-it-works-section .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: var(--card-bg);
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    box-shadow: var(--shadow-light);
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================================================= */
/* SECCIÓN "PALABRAS CLAVE RELACIONADAS" */
/* ========================================================================= */
.palabras-clave-section {
    background-color: var(--light-bg);
    padding: 3rem 1rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.palabras-clave-section h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.keyword-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.keyword-column {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
}

.keyword-column h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.keyword-column li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.keyword-column li a {
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.keyword-column li a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

/* ========================================================================= */
/* RESPONSIVE */
/* ========================================================================= */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 3rem 0;
    }
    
    .how-it-works-section h2 {
        font-size: 1.8rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .palabras-clave-section {
        padding: 2rem 1rem;
    }
    
    .keyword-columns {
        flex-direction: column;
        align-items: center;
    }
    
    .keyword-column {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .how-it-works-section h2 {
        font-size: 1.6rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-card h3 {
        font-size: 1.1rem;
    }
}